/* ArtEasy: внутренние страницы (/about, /how-arteasy-works, /contact-us, /terms-of-service, /privacy-policy, 404).
   Значения — из Webflow-CSS источника (классы-прототипы в комментариях), токены — base.css. Дробные числа не округлять.
   Разделы: 1 обёртка секции · 2 hero · 3 «Developed by» · 4 сплиты A/B/C · 5 миссия · 6 технологии · 7 путь ·
   8 блок с карточками · 9 шаги How · 10 contact · 11 legal · 12 404 */

/* 1. Обёртка секции (hero-heading-*, pricing-overview): у Webflow на 480–767 даёт отступ 60/15, на ≤479 снова 0 */
.ae-pgsec{position:relative;padding:0;background:transparent}
.ae-pgsec--white{background:var(--ae-bg)}
.ae-pgsec--tint{background:var(--ae-bg-tint)}
.ae-pgsec--fade{background:var(--ae-bg) linear-gradient(#fffafe,#fff0)}
@media (max-width:767px){ .ae-pgsec{padding:60px 15px} }
@media (max-width:479px){ .ae-pgsec{padding:0} }

/* Малая подпись над заголовком («Problem», «Tutorial»): tri-6.option2 */
.ae-tag{margin:0;width:100%;font-size:16px;line-height:28px;font-weight:500;color:var(--ae-ink)}
@media (max-width:991px){ .ae-tag{text-align:center} }
@media (max-width:479px){ .ae-tag{line-height:24px} }

/* 2. Hero внутренних страниц: hero-v1-3 > container-26 */
.ae-ihero{display:flex;flex-direction:column;justify-content:flex-start;align-items:center;gap:40px;width:100%;min-height:612px;padding:80px 24px 40px;overflow:hidden;
  background-image:url("../images/pages/hero-v1.avif"),linear-gradient(#fffafe,#fffafe 71%,#fffafe00);background-position:50%,0 0;background-repeat:no-repeat,repeat;background-size:cover,auto}
.ae-ihero__row{display:flex;justify-content:space-between;align-items:center;gap:100px;width:100%;max-width:1106px}
.ae-ihero__text{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:24px;width:100%}
.ae-ihero__title{width:100%}
.ae-ihero__lead{width:100%}
.ae-ihero__actions{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:28px;padding:16px 0}
.ae-ihero__media{display:flex;flex-direction:column;justify-content:center;align-items:center;width:513px;min-width:513px;max-width:100%;border-radius:40px;overflow:hidden}
.ae-ihero__media img{width:100%;max-width:100%;height:auto;border-radius:var(--ae-r-img)}
.ae-ihero__side{display:flex;justify-content:flex-start;align-items:flex-start}
@media (max-width:991px){
  .ae-ihero__row{flex-direction:column;align-items:center}
  .ae-ihero__text{justify-content:flex-start;align-items:center;max-width:513px}
}
@media (max-width:479px){
  .ae-ihero{min-height:auto;padding-top:28px;padding-bottom:40px}
  .ae-ihero__row{gap:24px}
  .ae-ihero__text{gap:16px;justify-content:flex-start;align-items:center}
  .ae-ihero__actions{gap:18px;align-items:center;padding:20px 0 16px}
  .ae-ihero__side{width:100%}
  .ae-ihero__media{width:100%;min-width:0}
  .ae-ihero__media img{width:100%}
}

/* 3. «Developed by»: stats-v3-6 > columns-26 */
.ae-devby{display:flex;flex-direction:column;justify-content:flex-start;align-items:center;gap:40px;width:100%;padding:20px 24px;border-radius:8px;overflow:hidden}
.ae-devby__card{display:flex;justify-content:center;align-items:flex-start;gap:120px;width:100%;max-width:1106px;padding:40px 90px;border-radius:var(--ae-r-panel);background:var(--ae-bg);box-shadow:0 4px 20px #2b3a5526}
.ae-devby__in{display:flex;flex-direction:column;justify-content:flex-start;align-items:center;gap:42px;width:100%;max-width:768px}
.ae-devby__lines{display:flex;flex-direction:column;justify-content:flex-start;align-items:center;gap:12px;width:100%}
.ae-devby__label{margin:0;width:100%;font-size:16px;line-height:24px;font-weight:500;color:#000c;text-align:center}
.ae-devby__name{margin:0;width:100%;font-size:24px;line-height:32px;font-weight:600;color:#000;text-align:center}
.ae-devby__since{margin:0;width:100%;font-size:18px;line-height:20px;font-weight:500;color:#000;text-align:center}
@media (max-width:767px){ .ae-devby__card{flex-direction:column;align-items:center} }
@media (max-width:479px){
  .ae-devby__card{width:auto;max-width:none}
  .ae-devby__in{max-width:none}
  .ae-devby__lines,.ae-devby__label,.ae-devby__name,.ae-devby__since{width:auto}
}

/* 4a. Сплит A — картинка слева, текст справа (content-sectionsn-v1 > container-6): «Problem», «Our vision», «Watch the full walkthrough» */
.ae-spa{display:flex;justify-content:center;align-items:flex-start;gap:80px;width:100%;padding:20px 24px 80px;overflow:hidden}
.ae-spa__row{display:flex;justify-content:flex-start;align-items:center;gap:80px;width:100%;max-width:1106px}
.ae-spa__media{display:flex;justify-content:flex-start;align-items:flex-start;gap:10px;width:100%;overflow:hidden}
.ae-spa__img{display:flex;flex-direction:column;justify-content:center;align-items:center;min-width:0;width:100%}
.ae-spa__img img{flex:0 auto;max-width:100%;height:auto;object-fit:cover}
.ae-spa__text{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:24px;width:100%}
.ae-spa__head{display:flex;flex-direction:column;gap:10px}
.ae-spa__text .ae-body{width:100%}
@media (max-width:991px){
  .ae-spa__row{flex-direction:column;align-items:center;gap:30px}
  .ae-spa__media{justify-content:center;align-items:flex-start}
  .ae-spa__img{width:auto}
  .ae-spa__text{justify-content:center;align-items:center}
  .ae-spa__text .ae-h2{max-width:474px}
}
@media (max-width:479px){
  .ae-spa{padding-bottom:40px}
  .ae-spa__img img{width:auto;height:auto}
}

/* 4b. Сплит B — текст слева, картинка справа (content-sectionsn-v1-6 > container-13): шаги 1 и 3 */
.ae-spb{display:flex;justify-content:center;align-items:center;gap:80px;width:100%;height:612px;padding:64px 24px 64px 94px;background:var(--ae-bg);overflow:hidden}
.ae-spb__row{display:flex;justify-content:flex-start;align-items:center;gap:60px;width:100%;max-width:1106px}
.ae-spb__text{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:30px;width:100%;max-width:486px}
.ae-spb__copy{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:24px;width:100%}
.ae-spb__media{display:flex;justify-content:flex-start;align-items:center;gap:10px;flex:0 auto;width:100%;overflow:hidden}
.ae-spb__img{display:flex;flex-direction:column;justify-content:center;align-items:center;min-width:0}
.ae-spb__img img{flex:0 auto;max-width:100%;height:auto;object-fit:cover}
.ae-spb__actions{display:flex;justify-content:flex-start;align-items:flex-start;gap:16px}
@media (max-width:991px){
  .ae-spb{height:auto;padding-left:24px}
  .ae-spb__row{flex-direction:column;align-items:center;gap:30px}
  .ae-spb__text,.ae-spb__copy{justify-content:flex-start;align-items:center}
  .ae-spb__media{justify-content:center;align-items:center}
}
@media (max-width:479px){
  .ae-spb{gap:30px;padding:40px 24px 40px 24px}
  .ae-spb__row{gap:30px}
  .ae-spb__media{height:auto}
}

/* 4c. Сплит C — картинка слева, текст до 474 (content-sectionsn-v1-5 > container-12): шаги 2 и 4 */
.ae-spc{display:flex;justify-content:center;align-items:flex-start;gap:80px;width:100%;height:612px;padding:80px 24px 40px;overflow:hidden}
.ae-spc__row{display:flex;justify-content:space-between;align-items:center;gap:60px;width:100%;max-width:1106px}
.ae-spc__media{display:flex;justify-content:flex-start;align-items:flex-start;gap:10px;width:100%;max-width:none;overflow:hidden}
.ae-spc__img{display:flex;flex-direction:column;justify-content:center;align-items:center;min-width:0}
.ae-spc__img img{flex:0 auto;max-width:100%;height:auto;object-fit:cover}
.ae-spc__text{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:30px;width:100%;max-width:474px}
.ae-spc__copy{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:24px;width:100%;max-width:474px}
@media (max-width:991px){
  .ae-spc{height:auto}
  .ae-spc__row{flex-direction:column;align-items:center;gap:30px}
  .ae-spc__media{justify-content:center;align-items:flex-start}
  .ae-spc__text,.ae-spc__copy{justify-content:flex-start;align-items:center}
}
@media (max-width:479px){
  .ae-spc{padding-top:40px;padding-bottom:40px}
  .ae-spc__row{gap:30px}
  .ae-spc__media{gap:30px}
  .ae-spc__text{text-align:center}
}
/* Цифра шага (mask-group-4) и заголовок шага: 36/40 700, ≤479 28/32 */
.ae-step-num{display:block;width:38.5735px;height:61px;object-fit:cover}
.ae-step-title{margin:0;width:100%;font-size:36px;line-height:40px;font-weight:700;color:var(--ae-ink)}
/* Заголовки сплитов на 480–991 остаются слева (у Webflow комбо-класс .features/.feutures перебивает центрирование), на ≤479 — по центру */
@media (max-width:991px){ .ae-spa .ae-h2,.ae-step-title{text-align:left} }
@media (max-width:479px){ .ae-spa .ae-h2,.ae-step-title{text-align:center} .ae-step-title{font-size:28px;line-height:32px} }
.ae-spb .ae-body,.ae-spc .ae-body{width:100%}

/* 5. Миссия: stats-v3-5 > columns-28 */
.ae-mission{display:flex;flex-direction:column;justify-content:flex-start;align-items:center;gap:40px;width:100%;padding:80px 24px 120px;border-radius:8px;background:var(--ae-bg-tint) linear-gradient(0deg,#fffafe 0%,#fff 100%);overflow:hidden}
.ae-mission__card{display:flex;flex-direction:column;justify-content:flex-start;align-items:center;gap:30px;width:100%;max-width:1106px;padding:64px 90px;border-radius:var(--ae-r-panel);background:var(--ae-bg);box-shadow:0 4px 20px #2b3a5526}
.ae-mission__icon{object-fit:cover;overflow:hidden}
.ae-mission__in{display:flex;flex-direction:column;justify-content:flex-start;align-items:center;gap:32px;width:100%;max-width:768px}
.ae-mission__title{margin:0;width:100%;font-size:36px;line-height:40px;font-weight:600;color:var(--ae-ink);text-align:center}
.ae-mission__text{margin:0;width:100%;font-size:18px;line-height:24px;font-weight:500;color:var(--ae-ink);text-align:center}
@media (max-width:767px){ .ae-mission__card{align-items:center} }
@media (max-width:479px){
  .ae-mission{padding-top:60px;padding-bottom:60px}
  .ae-mission__card{width:auto;max-width:none;padding:40px}
  .ae-mission__in{width:auto;max-width:none}
  .ae-mission__title,.ae-mission__text{width:auto}
}

/* 6. Технологии на розовом узоре: pricing-v2 > container-42 */
.ae-tech{display:flex;flex-direction:column;justify-content:flex-start;align-items:center;gap:40px;width:100%;padding:64px 40px 80px;overflow:hidden;
  background-color:var(--ae-pink);background-image:url("../images/pages/pricing-v2.avif");background-position:50%;background-repeat:no-repeat;background-size:cover}
.ae-tech__in{display:flex;flex-direction:column;justify-content:flex-start;align-items:center;gap:40px;width:100%;max-width:1106px}
.ae-tech__head{display:flex;flex-direction:column;justify-content:flex-start;align-items:center;gap:42px;width:100%;max-width:530px}
.ae-tech__titles{display:flex;flex-direction:column;justify-content:flex-start;align-items:center;gap:16px;width:100%}
.ae-tech__kicker{margin:0;width:100%;font-size:16px;line-height:24px;font-weight:500;color:#fff;text-align:center}
.ae-tech__title{margin:0;font-size:36px;line-height:48px;font-weight:700;color:#fff;text-align:center}
.ae-tech__sub{display:flex;justify-content:flex-start;align-items:center;gap:24px;width:100%;max-width:279px;margin:0;font-size:20px;line-height:24px;font-weight:500;color:#fff;text-align:center}
.ae-tech__cards{display:flex;flex-direction:column;gap:32px;width:100%}
.ae-tech__row{display:flex;justify-content:center;align-items:flex-start;gap:22px;width:100%}
.ae-tech__card{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;width:100%;border-radius:var(--ae-r-card);background:var(--ae-bg);box-shadow:0 4px 20px #2b3a551a;overflow:hidden}
.ae-tech__card-in{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:24px;width:100%;padding:24px}
.ae-tech__card-in img{object-fit:cover;overflow:hidden}
.ae-tech__card-text{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:16px;width:100%}
.ae-tech__card-title{margin:0;width:100%;font-size:24px;line-height:28px;font-weight:600;color:var(--ae-ink-strong)}
.ae-tech__card-desc{margin:0;width:100%;font-size:16px;line-height:24px;font-weight:500;color:var(--ae-ink-muted)}
@media (max-width:991px){ .ae-tech__row{flex-direction:column;align-items:center;gap:0} }
@media (max-width:479px){ .ae-tech{padding:40px 24px} .ae-tech__row{gap:22px} }

/* 7. «How ArtEasy came to life»: content-sectionsn-v1-8 > container-15 */
.ae-journey{display:flex;justify-content:center;align-items:center;gap:80px;width:100%;padding:64px 24px 64px 94px;overflow:hidden}
.ae-journey__row{display:flex;justify-content:space-between;align-items:center;gap:60px;width:100%;max-width:1106px}
.ae-journey__text{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:40px;width:100%;max-width:460px}
.ae-journey__head{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:20px;width:100%}
.ae-journey__tagline{margin:0;font-size:16px;line-height:150%;font-weight:400;color:#020b06}
.ae-journey__title{margin:0;width:100%;font-size:36px;line-height:40px;font-weight:700;color:var(--ae-ink)}
.ae-timeline{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:16px;width:100%;margin:0;padding:0;list-style:none}
.ae-timeline__item{display:flex;justify-content:flex-start;align-items:flex-start;gap:40px;width:100%}
.ae-timeline__mark{display:flex;flex-direction:column;justify-content:flex-start;align-items:center;gap:16px}
.ae-timeline__mark img{object-fit:cover}
.ae-timeline__flag{flex:0 0 auto;object-fit:cover}
.ae-timeline__body{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:8px;width:100%}
.ae-timeline__year{margin:0;width:100%;font-size:20px;line-height:140%;font-weight:600;letter-spacing:-.01em;color:#020b06}
.ae-timeline__text{margin:0;width:100%;font-size:16px;line-height:150%;font-weight:400;color:#020b06}
.ae-journey__media{display:flex;justify-content:flex-start;align-items:flex-start;flex:0 auto;width:100%;border-radius:180px;overflow:hidden}
.ae-journey__img{display:flex;flex-direction:column;justify-content:center;align-items:center;overflow:hidden}
.ae-journey__img img{max-width:100%;height:auto;object-fit:cover}
@media (max-width:991px){
  .ae-journey{padding-left:24px}
  .ae-journey__row{flex-direction:column;align-items:center;gap:30px}
  .ae-journey__title{text-align:left}
  .ae-journey__media{justify-content:center;align-items:flex-start}
}
@media (max-width:479px){
  .ae-journey{padding-top:40px;padding-bottom:40px}
  .ae-journey__head{justify-content:flex-start;align-items:center}
  .ae-journey__title{text-align:center}
  .ae-journey__media,.ae-journey__img{height:auto}
  .ae-journey__img img{width:100%;max-width:none}
}

/* 8. Блок с шапкой и карточками (stats-v3-3 > component-1): команда, «What You Need», «Draw on anything», «User Showcase», «Process» */
.ae-pgblock{display:flex;flex-direction:column;justify-content:flex-start;align-items:center;gap:32px;width:100%;padding:64px 24px;border-radius:8px;background:var(--ae-bg);overflow:hidden}
.ae-pgblock__in{display:flex;flex-direction:column;justify-content:flex-start;align-items:center;gap:60px;width:100%;max-width:1146px}
.ae-pgblock__in--process{gap:20px}
.ae-pgblock__head{display:flex;flex-direction:column;justify-content:flex-start;align-items:center;gap:42px;width:100%}
.ae-pgblock .ae-h2{width:100%}
@media (max-width:479px){
  .ae-pgblock{padding:40px 24px 20px}
  .ae-pgblock__in{gap:20px}
}
.ae-process__kicker{margin:0;width:100%;font-size:16px;line-height:24px;font-weight:500;color:var(--ae-ink);text-align:center}
.ae-process__titles{display:flex;flex-direction:column;justify-content:flex-start;align-items:center;gap:16px;width:100%}
.ae-process__title{margin:0;font-size:36px;line-height:48px;font-weight:700;color:var(--ae-ink);text-align:center}
.ae-process__sub{margin:0;width:100%;font-size:20px;line-height:24px;font-weight:500;color:var(--ae-ink);text-align:center}
.ae-cards{display:flex;justify-content:center;align-items:flex-start;gap:22px;width:100%;margin:0;padding:0;list-style:none}
.ae-cards>li{display:flex;flex:1 1 0;min-width:0}
.ae-pgcard{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;width:100%;height:auto;border-radius:var(--ae-r-card);background:var(--ae-bg);box-shadow:0 4px 20px #2b3a551a;overflow:hidden}
.ae-pgcard__photo{width:100%;height:210px;border-top-left-radius:8px;border-top-right-radius:8px;background:var(--ae-pink-blush);object-fit:cover;object-position:0 0}
.ae-pgcard__photo--c{object-position:50% 0}
.ae-pgcard__info{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:12px;width:100%;padding:24px 24px 32px}
.ae-pgcard__wrap{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:12px;width:100%}
.ae-pgcard__name{margin:0;width:100%;font-size:24px;line-height:28px;font-weight:700;color:var(--ae-ink-strong)}
.ae-pgcard__desc{margin:0;font-size:16px;line-height:24px;font-weight:500;color:var(--ae-ink-muted)}
@media (max-width:991px){ .ae-cards{flex-direction:column;align-items:center;gap:0} .ae-cards>li{width:100%;flex:0 0 auto} }
@media (max-width:479px){ .ae-cards{gap:22px} }

/* 10. /contact-us: hero-stack > hero-v2 > small-container */
.ae-contact{position:relative;padding:0;border-bottom:1px solid #e4ebf3;background:var(--ae-bg-gray)}
.ae-contact__in{display:flex;flex-direction:column;justify-content:flex-start;align-items:center;gap:80px;width:100%;padding:80px 24px;background:var(--ae-bg);overflow:hidden}
.ae-contact__box{display:flex;flex-direction:column;justify-content:flex-start;align-items:center;gap:40px;width:100%;max-width:960px}
.ae-contact__head{display:flex;justify-content:center;align-items:flex-start;gap:40px;width:100%;max-width:960px}
.ae-contact__titles{display:flex;flex-direction:column;justify-content:flex-start;align-items:center;gap:16px;width:100%;max-width:959px}
.ae-contact__titles-in{display:flex;flex-direction:column;justify-content:flex-start;align-items:center;gap:16px;width:100%}
.ae-contact__title{margin:0;width:100%;font-size:48px;line-height:48px;font-weight:700;color:var(--ae-ink)}
.ae-contact__row{display:flex;justify-content:flex-start;align-items:center;gap:100px;width:100%}
.ae-contact__text{margin:0;width:100%;font-size:16px;line-height:24px;font-weight:400;color:var(--ae-ink)}
.ae-contact__text-main{font-size:18px;line-height:24px;font-weight:500;color:#000}
.ae-contact__text-mail{font-size:18px;line-height:24px;font-weight:700;color:var(--ae-ink)}
.ae-contact__address{margin:0;font-size:18px;line-height:24px;font-weight:400;color:var(--ae-ink)}
.ae-contact__address-label{font-size:16px;line-height:24px;font-weight:700;color:var(--ae-ink)}
.ae-contact__address-text{font-size:16px;line-height:24px;font-weight:500;color:#000}
.ae-contact__map{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;border-radius:var(--ae-r-featured);overflow:hidden}
.ae-contact__embed{width:100%;font-size:14px;line-height:20px}
.ae-contact__embed iframe{width:962px;max-width:100%;height:262px;border:0}
@media (max-width:767px){ .ae-contact{padding:60px 15px} }
@media (max-width:479px){
  .ae-contact{padding:0;background:var(--ae-bg)}
  .ae-contact__in{padding-top:40px;padding-bottom:40px}
  .ae-contact__title{font-size:36px;line-height:46px;text-align:center}
  .ae-contact__row{flex-flow:column;justify-content:flex-start;align-items:flex-start;gap:20px}
  .ae-contact__text{text-align:left;line-height:22px}
  .ae-contact__text-main,.ae-contact__text-mail{font-size:16px;line-height:22px}
  .ae-contact__address{font-size:16px;line-height:22px}
}

/* 11. Legal (/terms-of-service, /privacy-policy): contact-v1-2 > container-35 > column-31 */
.ae-legal{display:flex;flex-direction:column;justify-content:flex-start;align-items:center;gap:40px;width:100%;padding:64px 24px 16px;background:var(--ae-bg);overflow:hidden}
.ae-legal__in{display:flex;justify-content:center;align-items:flex-start;gap:40px;width:100%;max-width:1106px}
.ae-legal__col{display:flex;flex-direction:column;justify-content:flex-start;align-items:center;gap:24px;width:100%;max-width:716px;padding-bottom:32px}
.ae-legal__head{display:flex;flex-direction:column;justify-content:flex-start;align-items:center;gap:16px;width:100%}
.ae-legal__title{margin:0;width:100%;font-size:36px;line-height:100%;font-weight:700;color:var(--ae-ink);text-align:left}
.ae-prose--legal{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:16px;width:100%;color:var(--ae-ink);text-align:left}
.ae-prose--legal p{margin:0;width:100%;font-size:18px;line-height:24px;font-weight:400}
.ae-prose--legal h2{margin:0;width:100%;font-size:28px;line-height:34px;font-weight:700}
.ae-prose--legal h3{margin:0;width:100%;font-size:24px;line-height:32px;font-weight:600}
.ae-prose--legal strong{font-weight:inherit}
.ae-prose--late{gap:24px;align-items:center}
.ae-legal__intro{margin:0;width:100%;font-size:18px;line-height:24px;font-weight:400;color:var(--ae-ink)}
@media (max-width:991px){ .ae-legal__in{flex-direction:column;align-items:center} }
@media (max-width:479px){ .ae-prose--legal p,.ae-legal__intro{font-size:16px;line-height:22px} }

/* 12. 404: utility-page-wrap */
.ae-404{display:flex;flex-flow:column;justify-content:center;align-items:center;gap:40px;width:100%;min-height:100vh;padding:0 30px}
.ae-404__code{margin:0;font-size:200px;line-height:120px;font-weight:600;color:var(--ae-pink-tag)}
.ae-404__content{display:flex;flex-direction:column;justify-content:flex-start;align-items:center;width:100%;text-align:center}
.ae-404__title{margin:20px 0 10px;font-size:48px;line-height:64px;font-weight:700;color:var(--ae-ink)}
.ae-404__text{margin:0;font-size:18px;line-height:24px;font-weight:500;color:var(--ae-ink)}
@media (max-width:479px){
  .ae-404{gap:30px}
  .ae-404__code{font-size:140px}
  .ae-404__title{font-size:38px;line-height:48px}
  .ae-404__text{font-size:16px;line-height:22px}
}

/* Видео в сплите A (image-wrapper-9): на всех ширинах занимает колонку целиком */
.ae-spa__img--video{width:100%}

/* Видео (слайдер User Showcase, walkthrough): у источника .video{height:314px} при padding-top 75% — блок не ниже 314 */
.ae-pgblock .ae-slider .ae-video,.ae-spa__img--video .ae-video{min-height:314px}

/* Слайдер User Showcase: у источника стрелки лежат поверх маски (absolute), точки ниже на 30 — запас под слайдером добирает высоту блока */
.ae-pgblock .ae-slider{padding-bottom:0} /* ряд стрелок/точек каркаса уже стоит на 30px ниже трека (2026-10-07) */
@media (max-width:479px){ .ae-pgblock .ae-slider{padding-bottom:29px} }

/* RTL (арабский): зеркало физических отступов и text-align:left выше. Остальное (flex-ряды, колонки) зеркалится само, dir="rtl" ставит inc/i18n-seo.php. */
[dir=rtl] .ae-spb,[dir=rtl] .ae-journey{padding:64px 94px 64px 24px}
[dir=rtl] .ae-legal__title,[dir=rtl] .ae-prose--legal{text-align:right}
@media (max-width:991px){
  [dir=rtl] .ae-spb,[dir=rtl] .ae-journey{padding-right:24px}
  [dir=rtl] .ae-spa .ae-h2,[dir=rtl] .ae-step-title,[dir=rtl] .ae-journey__title{text-align:right}
}
@media (max-width:479px){
  [dir=rtl] .ae-spb{padding:40px 24px}
  [dir=rtl] .ae-journey{padding-block:40px}
  [dir=rtl] .ae-spa .ae-h2,[dir=rtl] .ae-step-title,[dir=rtl] .ae-journey__title{text-align:center}
  [dir=rtl] .ae-contact__text{text-align:right}
}

/* Локали: длинное слово в заголовке юридической страницы (de «Nutzungsbedingungen» 380 px, «Datenschutzerklärung», ru «конфиденциальности») шире колонки 342 px на 390 —
   .ae-legal с overflow:hidden срезал край слова. Не-EN на ≤479: кегль 28 и перенос слова как запасной вариант. */
@media (max-width:479px){ html:not(:lang(en)) .ae-legal__title{font-size:28px;overflow-wrap:anywhere} }
