/* ============================================================
   SYMMETRY WAY — v3, собирается по новому файлу Penpot.
   Борд 1440px, фон #f7f9fa, боковые поля 60px,
   контентная ширина 1320px.
   ============================================================ */

:root{
  --w: 1320px;                 /* ширина hero-карточки */
  --w-n: 1153px;               /* контентная ширина блоков */
  --pad: max(20px, calc((100vw - var(--w)) / 2));
  --pad-n: max(20px, calc((100vw - var(--w-n)) / 2));
  --gap-head: 75px;            /* от подзаголовка секции до её контента */

  --accent: #608fff;
  --accent-dark: #4a72e0;
  --accent-light: #6f9aff;     /* ховер: кнопки чуть светлеют */

  --ink: #0f172a;
  --muted: #858697;
  --slate: #657084;
  --offwhite: #fcfdfe;
  --cream: #fffefb;
  --line: #cfd6e2;
  --bg: #f7f9fa;
  --navy-a: #080c39;      /* тёмная карточка финального блока */
  --card-dark: #151842;   /* плашки внутри неё (аватар) */
  --ghost: rgba(72,94,146,.25);
  --ghost-line: #3a4476;
  --ghost-hover: rgba(72,94,146,.4);

  --r-hero: 50px;
  --r-card: 25px;
  --r-pill: 100px;

  --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*{box-sizing:border-box}
/* плавную прокрутку включаем только после загрузки: иначе браузер
   восстанавливает позицию скролла анимированно и страницу дёргает */
html{scroll-behavior:auto}
html.is-ready{scroll-behavior:smooth}
/* место под скроллбар резервируем всегда: иначе при открытии меню
   (body получает overflow:hidden) полоса пропадает и страница дёргается вширь */
html{scrollbar-gutter:stable}
/* страховка: одна незакрытая строка не должна разносить всю страницу вширь */
body{margin:0;font-family:var(--font);color:var(--ink);background:var(--bg);line-height:1.5;-webkit-font-smoothing:antialiased;overflow-x:hidden;overflow-x:clip}
body.menu-open{overflow:hidden}
a{color:inherit;text-decoration:none}
button{font:inherit;cursor:pointer;border:0;background:none}
img{max-width:100%;display:block}
h1,h2,h3,h4,p,ul{margin:0}
ul{padding:0;list-style:none}

/* ===== Трекинг из макета =====
   -0.32px — весь body-текст (17/15/14/24px)
   -0.374px — плашки «Latest work» / «Our work» 17px
   +0.196px — заголовки карточек 28px и подписи мини-карточки  */
.work-main-text,.wwd-main-text,.wwd-text,.step-text,.launch-text,
.team-text,.welcome-text,.today-text,
.wwd-stat-label,.work-tag,.chip,.tag--green,
.wwd-metric-old,.wwd-metric-arrow,.wwd-metric-new,.wwd-metric-cap,
.follow-title,.follow-mail{letter-spacing:-.32px}

.wwd-latest,.tag--glass{letter-spacing:-.374px}
.work-main-title,.work-side-title,.wwd-mini-title,.wwd-mini-link{letter-spacing:.196px}

/* ===== Кнопки (Frame 3722: h55, r25, #fffefb, текст 17px #000, пад. 34) ===== */
.btn{display:inline-flex;align-items:center;justify-content:center;font-family:var(--font);font-size:17px;font-weight:400;line-height:1.2;white-space:nowrap;transition:.2s ease}
.btn--light{height:55px;padding:0 34px;border-radius:var(--r-card);background:var(--cream);color:#000}
.btn--light:hover{background:#fff}
.btn--accent{height:55px;padding:0 34px;border-radius:var(--r-card);background:var(--accent);color:#fff}
.btn--accent:hover{background:var(--accent-light)}
/* вторичная кнопка: только обводка, чтобы не спорить с основной */
.btn--outline{height:55px;padding:0 34px;border-radius:var(--r-card);background:transparent;border:1px solid rgba(255,255,255,.45);color:var(--cream)}
.btn--outline:hover{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.7)}
/* прозрачная кнопка на тёмном фоне — размеры новые (55px, r25) */
.btn--ghost{height:55px;padding:0 34px;border-radius:var(--r-card);background:var(--ghost);border:1px solid var(--ghost-line);color:var(--offwhite)}
.btn--ghost:hover{background:var(--ghost-hover)}

/* ============================================================
   Hero — Blok 1 (x60 y22, 1320x720, r50, фоновая картинка)
   Шапка лежит поверх картинки, текст белый.
   ============================================================ */
.hero{padding:22px var(--pad) 0}
.hero-card{
  position:relative;overflow:hidden;
  max-width:var(--w);margin:0 auto;
  aspect-ratio:1320/720;
  border-radius:var(--r-hero);
  background:linear-gradient(150deg,#0b1230,#233a72 55%,#3a5db0);
  color:var(--cream);
  /* шапка выведена из потока, поэтому текстовый блок центрируется
     по всей карточке, а не по остатку под шапкой */
  display:flex;flex-direction:column;justify-content:center;
}
.hero-canvas{position:absolute;inset:0;display:block;width:100%;height:100%;z-index:0}
.hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:1}
/* Шапку исключаем из общего z-index:2. Иначе она создаёт свой контекст
   наложения на уровне 2, и выпадающее меню внутри неё (z-index:90) не может
   перекрыть .hero-copy — тот идёт следом в DOM с тем же z-index. */
.hero-card > *:not(.hero-bg):not(.hero-canvas):not(.site-header){position:relative;z-index:2}
.hero-card > .site-header{position:absolute;top:0;left:0;right:0;z-index:60}

/* шапка: лого x47/центр y59.5, меню gap 55, пилюля справа 44 */
.site-header{
  display:flex;align-items:center;gap:35px;
  padding:32px 44px 0 47px;
}
.logo{font-size:25px;font-weight:400;letter-spacing:.01em;text-transform:lowercase;color:var(--cream);white-space:nowrap}
/* Оптическое выравнивание. Шапка центрует боксы, но у лого 25px и у пунктов
   меню 15px базовые линии оказываются на разной высоте, а строчные с хвостами
   («y» в symmetry way) тянут видимый центр букв ещё ниже. Замер показал
   расхождение центров в 3px — на них лого и поднимаем. */
.site-header .logo{transform:translateY(-3px)}

/* gap уменьшен на удвоенный горизонтальный padding ссылок,
   чтобы визуальное расстояние между пунктами осталось прежним */
.nav{display:flex;align-items:center;gap:27px;margin-right:auto}
.nav a{
  font-size:15px;font-weight:400;color:var(--cream);white-space:nowrap;
  padding:9px 14px;border-radius:var(--r-pill);
  transition:background-color .25s ease;
}
.nav a:hover{background:rgba(255,255,255,.14)}
.nav-cta{display:none}

.header-cta{flex:none;height:55px;padding:0 34px;border-radius:var(--r-card);background:var(--cream);color:#000;font-size:17px;line-height:1.2;display:inline-flex;align-items:center;transition:.2s ease}
.header-cta:hover{background:#fff}

/* backdrop-filter убран намеренно: на iOS слой размытия не перерисовывался,
   когда у средней полоски менялась прозрачность, и поверх крестика
   оставалась висеть горизонтальная черта от бургера */
.menu-toggle{display:none;width:44px;height:44px;align-items:center;justify-content:center;flex-direction:column;gap:5px;border-radius:14px;background:rgba(255,255,255,.18)}
.menu-toggle span{display:block;width:20px;height:2px;border-radius:2px;background:var(--cream);transition:transform .3s cubic-bezier(.16,1,.3,1),opacity .2s ease}
.menu-toggle.is-active span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.menu-toggle.is-active span:nth-child(2){opacity:0;transform:scaleX(0)}
.menu-toggle.is-active span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* содержимое героя: h1 y269 (247 от карточки), lead +19, кнопки +55 */
.hero-copy{text-align:center;padding:0 40px}
.hero-title{font-size:45px;line-height:1.2;font-weight:400;color:var(--offwhite);max-width:793px;margin:0 auto 19px}
/* max-width не ставим: строки разбиты вручную через <br>, а 793px из макета
   не хватает на первую строку — она переносилась ещё раз и выходило четыре */
.hero-lead{font-size:22px;line-height:1.2;font-weight:400;color:var(--offwhite);max-width:none;margin:0 auto 55px}
.hero-actions{display:flex;align-items:center;justify-content:center;gap:26.8px;flex-wrap:wrap}

@media(max-width:1320px){
  .hero-title{font-size:clamp(30px,3.4vw,45px)}
  .hero-lead{font-size:clamp(17px,1.67vw,22px)}
}
/* ниже 1180 первая строка уже не помещается целиком — снимаем ручной перенос,
   иначе получится «полторы строки + обрывок» */
@media(max-width:1180px){
  .hero-lead{max-width:793px}
  .hero-lead br{display:none}
}

@media(max-width:1100px){
  .site-header{padding:28px 28px 0}
  .header-cta{display:none}
  .menu-toggle{display:inline-flex;margin-left:auto}

  /* fixed, а не absolute: иначе панель обрезается overflow:hidden у hero-карточки.
     top:74 = точный низ капсулы (14 + 60), чтобы при стыковке не было шва */
  .nav{
    position:fixed;left:12px;right:12px;top:74px;z-index:90;
    margin-right:0;
    flex-direction:column;align-items:stretch;gap:4px;
    padding:14px;border-radius:22px;background:#fff;
    box-shadow:0 24px 48px rgba(15,23,42,.2);
    opacity:0;visibility:hidden;transform:translateY(-8px);
    transition:opacity .25s ease,transform .25s ease,visibility .25s,border-radius .2s ease;
  }
  .nav.is-open{opacity:1;visibility:visible;transform:translateY(0)}
  /* когда открыто из капсулы — углы стыкуются с ней */
  .nav.is-connected{border-top-left-radius:0;border-top-right-radius:0}
  .nav a{padding:12px 14px;border-radius:14px;font-size:16px;color:var(--ink)}
  .nav a:hover{color:var(--accent);background:rgba(12,23,41,.05)}
  .nav-cta{display:inline-flex;align-items:center;justify-content:center;min-height:46px;margin-top:6px;border-radius:var(--r-pill);background:var(--accent);color:#fff!important;font-weight:500}
  .nav a.nav-cta:hover{background:var(--accent-light)}
}
@media(max-width:1000px){
  /* высота по контенту: сверху резервируем место под абсолютную шапку */
  .hero-card{aspect-ratio:auto;padding:132px 0 72px;min-height:560px}
}

@media(max-width:760px){
  .hero{padding:12px 12px 0}
  /* высота от экрана, с потолком: на широких телефонах блок не разъезжается,
     на низких не выталкивает второй блок за пределы вида */
  .hero-card{border-radius:32px;padding:118px 0 56px;min-height:520px;min-height:min(76svh,620px)}
  .hero-copy{padding:0 22px}
  .hero-title{margin-bottom:16px}
  .hero-lead{margin-bottom:32px}
  .hero-actions{flex-direction:column;gap:12px}
  .hero-actions .btn{width:100%}
}

/* ============================================================
   ПЛАВАЮЩЕЕ МЕНЮ — капсула, выезжает после 420px скролла
   ============================================================ */
.floating-nav{
  position:fixed;top:20px;left:50%;z-index:100;
  display:flex;align-items:center;gap:28px;
  padding:10px 10px 10px 28px;border-radius:var(--r-pill);
  background:#fff;box-shadow:0 16px 40px rgba(12,23,41,.16);
  opacity:0;pointer-events:none;transform:translate(-50%,-140%);
  transition:transform .4s cubic-bezier(.16,1,.3,1),opacity .4s ease,border-radius .2s ease,box-shadow .2s ease;
}
.floating-nav.is-visible{opacity:1;pointer-events:auto;transform:translate(-50%,0)}
.floating-nav a{font-size:15px;color:var(--ink);white-space:nowrap;transition:color .25s ease}
.floating-nav a:hover{color:var(--accent)}
.floating-nav-brand{display:none;font-size:17px;font-weight:500;letter-spacing:.04em}
.floating-nav-cta{
  display:inline-flex;align-items:center;justify-content:center;
  height:44px;padding:0 22px;border-radius:var(--r-pill);
  background:var(--accent);color:#fff!important;font-weight:500;
  transition:background-color .2s ease;
}
.floating-nav-cta:hover{background:var(--accent-light);color:#fff!important}
.floating-nav .menu-toggle{background:#eef2f8}
.floating-nav .menu-toggle span{background:var(--ink)}

/* мобильные правила капсулы должны идти ПОСЛЕ базовых: специфичность
   одинаковая, поэтому решает порядок в файле */
@media(max-width:1100px){
  .floating-nav{left:12px;right:12px;top:14px;transform:translate(0,-140%);justify-content:space-between;gap:10px;padding:8px 8px 8px 18px;border-radius:22px}
  .floating-nav.is-visible{transform:translate(0,0)}
  .floating-nav.menu-is-open{border-bottom-left-radius:0;border-bottom-right-radius:0;box-shadow:none}
  .floating-nav-brand{display:inline-flex}
  .floating-nav > a:not(.floating-nav-brand){display:none}
}

/* ============================================================
   WORK — Group 2357 (y796..1332)
   Слева Group 2370 751x500, справа Group 2371 372x500, gap 30
   ============================================================ */
.work{padding:85px var(--pad-n) 0}
.work-row{display:grid;grid-template-columns:751fr 372fr;gap:30px;align-items:start;max-width:var(--w-n);margin:0 auto}

.tag{display:inline-flex;align-items:center;justify-content:center;border-radius:var(--r-pill);white-space:nowrap;font-weight:400}
.tag--green{background:#def4cd;color:#000}
.tag--glass{background:rgba(245,245,247,.5);color:#0f172a}

/* ---- левая карточка ---- */
.work-main{
  position:relative;overflow:hidden;
  border-radius:var(--r-card);background:#fcfdfe;
  aspect-ratio:751/500;
  container-type:inline-size;
  --s:calc(100cqw / 751);
}
.work-main > *{position:absolute;margin:0}

.work-main .tag--green{left:4.26%;top:5.40%;width:13.85%;height:6.00%;font-size:calc(14 * var(--s))}
.work-main-title{left:4.26%;top:13.60%;width:auto;white-space:nowrap;font-size:calc(28 * var(--s));font-weight:500;line-height:1.1429;color:#0f172a}
.work-main-text{left:4.26%;top:31.40%;width:auto;white-space:nowrap;font-size:calc(17 * var(--s));font-weight:400;line-height:1.5059;color:#0f172a}
/* bottom отрицательный: у png снизу пустые ряды плюс размытая кромка джинсов,
   из-за них между фото и краем карточки оставалась белая полоса ~8px.
   Процент считается от высоты карточки, поэтому сдвиг масштабируется вместе с ней. */
.work-main-photo{left:54.87%;bottom:-3.2%;top:auto;width:auto;height:96.60%;object-fit:contain}

/* плашки-теги: высота 55, радиус 25, фон #f4f6f9, боковые отступы 25 */
/* прижаты к низу: нижний край совпадает с кнопкой More (85.6% + 10% = 95.6%) */
.work-tags{left:4.79%;top:auto;bottom:4.40%;width:53.79%;display:flex;flex-wrap:wrap;gap:calc(15 * var(--s))}
.work-tag{
  display:inline-flex;align-items:center;white-space:nowrap;
  height:calc(55 * var(--s));padding:0 calc(25 * var(--s));
  border-radius:calc(25 * var(--s));background:#f4f6f9;
  font-size:calc(15 * var(--s));line-height:1.2;letter-spacing:-.32px;color:var(--ink);
}

.work-more{left:80.29%;top:85.60%;width:16.38%;height:10.00%;display:flex;align-items:center;justify-content:center;border-radius:calc(25 * var(--s));background:#5887f8;color:var(--cream);font-size:calc(17 * var(--s));transition:.2s ease}
.work-more:hover{background:#6b95fa}
/* только для мобильной раскладки */
.work-all{display:none}

/* ---- правая карточка ---- */
.work-side{position:relative;aspect-ratio:372/500;container-type:inline-size;--s:calc(100cqw / 372)}
/* Подложки-карточки. Стопка раскрывается вверх-вправо, поэтому поворот
   положительный: при вращении по часовой правый верхний угол уходит вправо,
   а левый подбирается внутрь — как в макете.
   Размытия нет: в макете у подложек чёткий край, мягкость даёт только тень. */
.work-ghost{position:absolute;display:block;width:100%;height:100%;
  border-radius:var(--r-card);box-shadow:0 8px 24px rgba(15,23,42,.08);
  transition:transform .45s cubic-bezier(.16,1,.3,1)}
.work-ghost--1{left:2%;top:-1.5%;background:#e6e4e2;z-index:2;transform:translate(0,0) rotate(2.6deg)}
.work-ghost--2{left:4%;top:-2.9%;background:#cbccd1;z-index:1;transform:translate(0,0) rotate(5.2deg)}

/* при наведении стопка чуть разъезжается — движение мелкое, чтобы читалось
   как отклик, а не как анимация ради анимации */
@media (hover:hover){
  .work-side:hover .work-ghost--1{transform:translate(1.6%,-1%) rotate(3.7deg)}
  .work-side:hover .work-ghost--2{transform:translate(3.2%,-2%) rotate(7.2deg)}
}
@media (prefers-reduced-motion:reduce){
  .work-ghost{transition:none}
}

.work-side-card{position:absolute;inset:0;z-index:3;overflow:hidden;border-radius:var(--r-card);background:linear-gradient(180deg,#ada59c,#f3f3ed);box-shadow:0 0 25px rgba(0,0,0,.25)}
.work-side-card > *{position:absolute;margin:0}
.work-side-photo{left:0;bottom:0;top:auto;width:100%;height:auto;object-fit:contain}
.work-side .tag--glass{left:8.60%;top:5.40%;width:25.81%;height:6.00%;font-size:calc(17 * var(--s))}
.work-side-title{left:8.60%;top:13.40%;width:82.53%;font-size:calc(28 * var(--s));font-weight:400;line-height:1.1429;color:#f5f5f7}
.work-side-cta{left:28.23%;top:85.60%;width:41.13%;height:10.00%;display:flex;align-items:center;justify-content:center;border-radius:calc(25 * var(--s));background:var(--cream);color:#000;font-size:calc(17 * var(--s));transition:.2s ease}
/* «All portfolio» лежит на фото — там светлеть некуда, поэтому чуть темнеет */
.work-side-cta:hover{background:#f1f3f7}

/* ============================================================
   WHAT WE DO — Blok3 (y1430..2067), контент 1155
   ============================================================ */
.section-head{max-width:var(--w-n);margin:0 auto;text-align:center}
.section-head h2{font-size:35px;font-weight:500;line-height:1.2;color:var(--ink)}
/* ручной перенос в заголовке нужен только на мобильной; правило обязано стоять
   ВЫШЕ медиа-блока, иначе при равной специфичности победит оно, а не переопределение */
.section-head h2 br{display:none}
.section-head p{max-width:523px;margin:25px auto 0;font-size:25px;font-weight:400;line-height:1.5;color:var(--muted)}

.card{position:relative;overflow:hidden;border-radius:var(--r-card);background:#fcfdfe}

.wwd{padding:103px var(--pad-n) 0}
.wwd-cards{display:flex;gap:37px;align-items:stretch;max-width:var(--w-n);margin:var(--gap-head) auto 0}
.wwd-col{flex:742 1 0;display:flex;flex-direction:column;gap:25px;min-width:0}
.wwd-row{display:flex;gap:25px;flex:1;min-width:0}

.wwd-title{font-size:25px;font-weight:400;line-height:1.2;color:var(--ink)}
.wwd-text{font-size:17px;font-weight:400;line-height:1.5059;color:var(--ink)}

/* --- левая карточка 376x433 --- */
.wwd-main{flex:376 1 0;min-width:0;padding:29px 0 0 30px}
.wwd-main-title{font-size:25px;font-weight:400;line-height:1.2;color:var(--ink)}
.wwd-main-text{margin-top:25px;max-width:282px;font-size:17px;font-weight:400;line-height:1.5059;color:var(--ink)}

.wwd-stat{display:flex;align-items:flex-start;gap:3px;width:222px;height:34px;margin-top:25px}
/* колонка с числом не фиксированная: «100%» не влезало в 71px и наезжало на подпись */
.wwd-stat-num{flex:0 0 auto;min-width:71px;margin-top:2px;font-size:35px;font-weight:400;line-height:.857;color:var(--ink)}
.wwd-stat-label{flex:1 1 auto;min-width:0;font-size:14px;font-weight:400;line-height:1.214;color:#000}

.wwd-latest{margin-top:32px;font-size:17px;font-weight:500;line-height:1.2353;color:var(--ink)}
.wwd-mini{position:relative;display:block;width:345px;height:68px;margin:11px 0 0 -15px;padding:7px 0 0 11px;border:1px solid #f4f4f4;border-radius:var(--r-card);background:#fcfdfe}
.wwd-mini-thumb{position:absolute;left:11px;top:7px;width:56px;height:56px;border-radius:15px;object-fit:cover}
/* right вместо фиксированной ширины — иначе на узкой карточке текст вылезает */
.wwd-mini-title{position:absolute;left:82px;right:11px;top:17px;font-size:14px;line-height:1.2;color:#000;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wwd-mini-link{position:absolute;left:82px;top:34px;display:inline-flex;align-items:center;gap:4px;
  font-size:15px;line-height:1.2;color:#5887f8;
  text-decoration-color:transparent;text-underline-offset:3px;
  transition:text-decoration-color .2s ease,color .2s ease}
.wwd-mini-link:hover{text-decoration:underline;text-decoration-color:currentColor}
.wwd-mini-link:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:4px}
.wwd-mini-arrow{font-size:13px;line-height:1}

/* --- Social Media Management 742x204 --- */
.wwd-social{padding:30px 0 0 27px;min-height:204px}
.wwd-social .wwd-title{width:230px}
.wwd-social .wwd-text{margin-top:32px;width:230px}
/* стопка из 3 фото (Rectangle 404/405/406) — единый PNG,
   габарит группы в макете: x505.2 y6.8, 275.8x217.2 */
.wwd-shot{position:absolute;left:auto;top:auto;right:0;bottom:0;width:auto;height:auto;max-width:none}

/* --- Hosting & Care 358x204 --- */
.wwd-hosting{flex:358 1 0;min-width:0;padding:30.5px 0 0 25px;min-height:204px}
.wwd-hosting .wwd-text{margin-top:15px;width:230px;max-width:100%}
.wwd-metric{display:flex;align-items:baseline;margin-top:20px;height:26px}
.wwd-metric-old{width:36px;font-size:17px;line-height:1.5059;color:var(--muted);text-decoration:line-through}
.wwd-metric-arrow{width:17px;margin-left:5px;font-size:17px;line-height:1.5059;color:var(--muted)}
.wwd-metric-new{width:45px;margin-left:5px;font-size:24px;font-weight:500;line-height:1.0667;color:var(--ink)}
.wwd-metric-cap{margin-left:15px;font-size:17px;line-height:1.5059;color:var(--ink)}

/* --- Lead system 359x204 --- */
/* верх выровнен с соседней карточкой: в макете заголовок был поднят на 15px,
   потому что текст там верстался в 3 строки — у нас он в 2 и место есть */
.wwd-lead{flex:359 1 0;min-width:0;padding:30.5px 0 0 25px;min-height:204px}
.wwd-lead .wwd-text{margin-top:15px;width:232px;max-width:100%}
.wwd-chips{display:flex;gap:2px;margin-top:20px}
.chip{display:inline-flex;align-items:center;justify-content:center;height:31px;border-radius:var(--r-pill);background:#f4f6f9;color:#000;font-size:14px;line-height:1.8286;white-space:nowrap}
.wwd-chips .chip:nth-child(1){width:70px}
.wwd-chips .chip:nth-child(2){width:93px}
.wwd-chips .chip:nth-child(3){width:53px}
.wwd-chips .chip:nth-child(4){width:65px}
.chip--green{background:#def4cd}

@media(max-width:1200px){
  .wwd-cards{flex-wrap:wrap}
  .wwd-main{flex:1 1 340px}
  .wwd-col{flex:1 1 560px}
  .wwd-shot{display:none}
}
@media(max-width:1100px){
  .wwd{padding:64px 20px 0}
  .section-head h2{font-size:28px}
  .section-head p{font-size:18px;margin-top:16px}
  /* br НЕ прячем: display:none склеивает соседние слова в «moneywith».
     Перенос он и на мобильной ставит корректно. */
  .wwd-cards{margin-top:32px;gap:20px}
  .wwd-main,.wwd-col{flex:1 1 100%}
  .wwd-row{flex-wrap:wrap}
  .wwd-hosting,.wwd-lead{flex:1 1 100%}
  .wwd-main{padding:24px}
  .wwd-mini{margin-left:0;width:100%;max-width:none}
  .wwd-social,.wwd-hosting,.wwd-lead{padding:24px;min-height:0;padding-bottom:24px}
  .wwd-title{font-size:22px}
}

/* ---- мобильная раскладка ---- */
/* ============================================================
   WORK на мобильной — по борду «iPhone 17» (402x813, карточка 391x751):
   фото сверху во всю ширину, ниже плашка, заголовок, текст,
   теги в два ряда и две кнопки на всю ширину.
   ============================================================ */
@media(max-width:1100px){
  /* в макете карточка отступает от края на 6px, но остальные секции идут
     с 20px — держим общий ритм страницы */
  .work{padding:56px 20px 0}
  .work-row{grid-template-columns:1fr;gap:20px}

  .work-main{
    aspect-ratio:auto;container-type:normal;--s:1px;
    display:flex;flex-direction:column;align-items:flex-start;
    padding:0 32px 31px;
  }
  .work-main > *{position:static;width:auto;height:auto}

  /* Отдельный мобильный файл не используем: он всего 440px и на планшете мылил.
     Берём крупный десктопный кадр и режем его под горизонтальный слот через
     object-fit, соотношение 440/243 оставлено из макета. */
  .work-main-photo{
    display:block;order:-1;position:static;
    margin:10px -32px 0;width:calc(100% + 64px);max-width:none;
    aspect-ratio:440/243;height:auto;
    object-fit:cover;object-position:50% 0%;
    /* растушёвка низа: без неё кадр обрывается прямой линией поперёк торсов.
       Маска гасит альфу, поэтому фото уходит в фон карточки, а не в белый
       прямоугольник — на любом фоне будет выглядеть одинаково. */
    -webkit-mask-image:linear-gradient(to bottom,#000 70%,rgba(0,0,0,.6) 86%,transparent 100%);
    mask-image:linear-gradient(to bottom,#000 70%,rgba(0,0,0,.6) 86%,transparent 100%);
  }

  .work-main .tag--green{display:inline-flex;width:auto;height:30px;padding:0 15px;font-size:14px}
  .work-main-title{margin:21px 0 0;font-size:28px;font-weight:500;line-height:1.1429;white-space:normal}
  .work-main-text{margin:21px 0 0;max-width:305px;font-size:17px;line-height:1.5059;white-space:normal}
  /* десктопные переносы на узкой колонке дают лишние строки */
  .work-main-text br{display:none}

  /* сетка вместо переноса по ширине: «Automated checkout» шире соседей и
     при обычном flex-wrap выталкивалась в свой ряд — получалось 2 + 1 + 1 */
  .work-tags{display:grid;grid-template-columns:1fr 1fr;margin:31px 0 0;gap:12px 10px;width:100%}
  .work-tag{height:35px;padding:0 12px;border-radius:25px;font-size:15px;line-height:1.2;letter-spacing:0;justify-content:center;text-align:center}
  .section-head h2 br{display:inline}

  .work-more,.work-all{
    display:flex;align-items:center;justify-content:center;
    width:100%;height:50px;border-radius:25px;font-size:17px;line-height:1.2;
  }
  .work-more{margin:47px 0 0}
  .work-all{margin:21px 0 0;background:#f4f6f9;color:var(--ink);transition:.2s ease}
  .work-all:hover{background:#eaeef5}

  /* третий блок на мобильной не показываем — кнопка переехала во второй */
  .work-side{display:none}
}

/* ============================================================
   PROCESS — Blok5 (y2211..2778)
   ============================================================ */
.section-head--wide h2{line-height:1}
.section-head--wide p{max-width:523px}
/* строки разбиты вручную — снимаем ограничение ширины, чтобы не переносило */
.section-head p.keep-lines{max-width:none;white-space:nowrap}

.process{padding:144px var(--pad-n) 0}
.steps{display:flex;gap:25px;max-width:var(--w-n);margin:var(--gap-head) auto 0}
.step{flex:1 1 0;min-width:0;min-height:215px;padding:28px 25px 0}
.step-num{font-size:15px;font-weight:400;line-height:2;color:var(--accent)}
.step-num strong{font-weight:600}
.launch-badge strong{font-weight:600}
.step-title{margin-top:12px;font-size:25px;font-weight:400;line-height:1.2;white-space:nowrap;color:var(--ink)}
.step-text{margin-top:25px;font-size:17px;font-weight:400;line-height:1.5059;color:var(--ink)}

.launch{display:flex;align-items:flex-start;justify-content:space-between;gap:32px;max-width:var(--w-n);margin:25px auto 0;min-height:127px;padding:36px 25px 9px 43px}
.launch-num{display:none}
.launch-title{font-size:20px;font-weight:500;line-height:1.5;color:var(--ink)}
.launch-text{margin-top:0;font-size:17px;font-weight:400;line-height:1.5059;white-space:nowrap;color:var(--ink)}
/* на десктопе это широкий баннер и текст идёт одной строкой — ручной перенос гасим */
.launch-text br{display:none}
.launch-badge{flex:none;display:inline-flex;align-items:center;gap:10px;width:208px;height:60px;margin-top:-2px;padding-left:34px;border-radius:var(--r-pill);background:#f4f6f9;font-size:17px;line-height:1.7647;color:var(--ink)}
.launch-dot{width:18px;height:18px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:var(--ink)}
.launch-dot svg{width:8px;height:6px}

/* ============================================================
   SMALL BY DESIGN — Group 2370 (y3052..3344)
   ============================================================ */
.about{padding:91px var(--pad-n) 0}
.team{position:relative;max-width:var(--w-n);margin:var(--gap-head) auto 0}
.team-card{min-height:292px;padding:37px 32px 34px;display:flex;flex-direction:column;justify-content:space-between}
.team-title{max-width:640px;font-size:25px;font-weight:400;line-height:1.2;color:var(--ink)}
.team-text{margin-top:16px;font-size:17px;font-weight:400;line-height:1.5059;color:var(--ink)}

/* полоса статистики во всю ширину карточки */
.team-stats{display:grid;grid-template-columns:repeat(3,1fr);margin-top:44px;padding-top:28px;border-top:1px solid #eef1f5}
.team-stat{position:relative;padding-right:28px}
.team-stat + .team-stat{padding-left:44px}
.team-stat + .team-stat::before{content:"";position:absolute;left:0;top:2px;bottom:2px;width:1px;background:#eef1f5}
.team-stat-num{display:block;font-size:36px;font-weight:400;line-height:1.1;color:var(--ink)}
.team-stat-label{display:block;margin-top:10px;font-size:15px;font-weight:400;line-height:1.4;letter-spacing:-.32px;color:var(--muted)}

/* ============================================================
   WELCOME — Group 2390 (y3637) + Group 2389 (y3924)
   ============================================================ */
.welcome{padding:91px var(--pad-n) 0}
.welcome-card{max-width:var(--w-n);margin:var(--gap-head) auto 0;min-height:262px;padding:48px 32px 0}
.welcome-title{font-size:25px;font-weight:400;line-height:1.5;color:var(--ink)}
.welcome-text{margin-top:25px;max-width:487px;font-size:17px;font-weight:400;line-height:1.5059;color:var(--ink)}
/* кольца — готовая картинка под высоту карточки, прижата к правому краю */
.welcome-rings{position:absolute;right:0;top:0;height:100%;width:auto;max-width:none;pointer-events:none}

.closing{display:flex;gap:25px;max-width:var(--w-n);margin:25px auto 0}
.follow,.today{flex:1 1 0;min-width:0;min-height:300px}

.follow{position:relative}

/* --- медленная орбита фотографий за белым кругом --- */
.follow-orbit{position:absolute;left:50%;top:50%;width:0;height:0;pointer-events:none}
.orbit-ring{position:absolute;left:0;top:0;width:0;height:0;transform-origin:0 0}
.orbit-ring--a{animation:orbit-cw 180s linear infinite}
/* радиус задан на кольцо, а не на плитку — окружности строго ровные */
.orbit-ring i{
  position:absolute;left:0;top:0;width:0;height:0;display:block;
  /* -1 * --a гасит доворот от раскладки по кругу, --t задаёт крен к центру */
  transform:rotate(var(--a)) translateX(var(--r)) rotate(calc(-1 * var(--a) + var(--t)));
}
.orbit-ring i.t-o{--r:210px}
.orbit-ring i.t-i{--r:118px}
/* max-width:none обязателен: контейнер нулевой ширины, иначе картинка схлопнется */
.orbit-ring i img{
  display:block;width:auto;max-width:none;border-radius:12px;
  transform:translate(-50%,-50%);
  box-shadow:0 8px 22px rgba(15,23,42,.10);
}
/* Кольцо вращается, а вместе с ним кувыркались и плитки: за один оборот каждая
   успевала перевернуться. Встречная анимация той же длительности это гасит —
   плитка едет по кругу, но угол на экране держит постоянным. */
.orbit-ring--a i img{animation:orbit-untumble 180s linear infinite}
@keyframes orbit-untumble{
  from{transform:translate(-50%,-50%) rotate(0)}
  to  {transform:translate(-50%,-50%) rotate(-360deg)}
}
/* файлы выгружены в двойном размере под ретину, поэтому экранный размер
   задаём явно — иначе плитки отрисуются по натуральной ширине и кольца
   разъедутся вдвое */
.orbit-ring i.t-o img{width:58px;height:72px}
.orbit-ring i.t-i img{width:44px;height:56px}
/* внутреннее кольцо мельче и глубже — уходит в белую дымку */
.orbit-ring i.t-i img{border-radius:9px;opacity:.85;box-shadow:0 6px 16px rgba(15,23,42,.08)}

@keyframes orbit-cw{from{transform:rotate(0)}to{transform:rotate(360deg)}}

/* белый круг с размытым краем: плотный центр под текст, мягкое растворение к фото */
.follow-halo{
  position:absolute;left:50%;top:50%;
  width:460px;height:460px;margin:-230px 0 0 -230px;
  /* closest-side обязателен: без него 100% = расстояние до УГЛА,
     градиент не успевает дойти до нуля и обрезается краем блока — видна жёсткая граница.
     Круг увеличен, плотное ядро укорочено, а растворение растянуто почти на сто
     пикселей и разбито на шесть остановок — так переход не читается ступенькой. */
  background:radial-gradient(circle closest-side,
    #fcfdfe 0%,
    #fcfdfe 52%,
    rgba(252,253,254,.94) 62%,
    rgba(252,253,254,.78) 71%,
    rgba(252,253,254,.52) 80%,
    rgba(252,253,254,.26) 89%,
    rgba(252,253,254,.08) 95%,
    rgba(252,253,254,0) 100%);
  /* лёгкое размытие снимает остатки полос на градиенте */
  filter:blur(6px);
}
.follow > :not(.follow-orbit):not(.follow-halo){position:absolute}
.follow-title{left:234px;top:85px;font-size:25px;font-weight:400;line-height:1.024;color:#000}
.follow-icons{left:211px;top:136px;display:flex;gap:13px}
.follow-icons a{width:39px;height:39px;display:inline-flex;align-items:center;justify-content:center;border-radius:15px;background:#fcfdfe;box-shadow:0 4px 14px rgba(15,23,42,.08);transition:.2s ease}
.follow-icons a:hover{transform:translateY(-2px)}
.follow-icons svg{width:24px;height:24px}
.follow-mail{left:197px;top:190px;font-size:15px;line-height:1.7067;color:var(--accent)}

.today{padding:39px 25px 0}
.today-title{font-size:25px;font-weight:400;line-height:1.5;color:var(--ink)}
.today-text{margin-top:25px;max-width:515px;font-size:17px;font-weight:400;line-height:1.5059;text-align:justify;color:var(--ink)}

/* ============================================================
   ПЛАНШЕТ И МОБИЛЬНАЯ — общий порог 1100px, совпадает с меню.
   До него сетки десктопные и на 1024 всё сжимается в кашу.
   ============================================================ */
@media(max-width:1100px){
  .process{padding:64px 20px 0}
  .welcome{padding:64px 20px 0}

  .steps{flex-direction:column;gap:20px;margin-top:32px}
  /* flex:1 1 0 задан для строки. В колонке basis:0 становится ВЫСОТОЙ,
     а min-height:0 снимает защиту по контенту — карточка схлопывалась. */
  .step{flex:0 0 auto;min-height:0;padding:24px}
  .step-title{white-space:normal}

  .launch{flex-direction:column;align-items:flex-start;gap:20px;padding:24px;min-height:0}
  /* Launch and grow становится четвёртым шагом: те же отступы и типографика,
     что у .step, чтобы карточка не выпадала из ряда */
  .launch-num{display:block}
  .launch-title{margin-top:12px;font-size:22px;font-weight:400;line-height:1.2}
  .launch-text{margin-top:25px;white-space:normal}
  .launch-text br{display:inline}
  .launch-badge{width:auto;padding:0 26px 0 30px}

  .welcome-card{margin-top:32px;padding:24px;min-height:0}
  /* кольца на узкой карточке наезжают на текст */
  .welcome-rings{display:none}
  .welcome-text{max-width:none}
  .welcome-text br{display:none}

  .closing{flex-direction:column;gap:20px}
  /* та же ловушка, что и у .step: колонка + flex-basis:0 = схлопывание */
  .today{flex:0 0 auto;min-height:0;padding:24px}
  /* «Follow us» на узком экране не показываем — соцсети есть в футере */
  .follow{display:none}
  /* выключка по ширине на узкой колонке рвёт строки пробелами */
  .today-text{text-align:left;max-width:none}

  .step-title,.welcome-title,.today-title{font-size:22px}

  /* сброс nowrap должен стоять НИЖЕ базового правила .keep-lines */
  .section-head p.keep-lines{white-space:normal;max-width:523px}

  /* чипы с фиксированными ширинами не влезают в узкую карточку */
  .wwd-chips{flex-wrap:wrap;gap:6px}
  .wwd-chips .chip{width:auto;padding:0 14px}
  .wwd-metric{flex-wrap:wrap}
  .wwd-metric-old,.wwd-metric-arrow,.wwd-metric-new{width:auto}
  .wwd-stat{width:auto}
  .wwd-stat-label{width:auto;flex:1 1 auto}
}

@media(max-width:420px){
  .work-tag{height:40px;padding:0 14px;font-size:13px}
  .work-tags{gap:6px}
  .hero-copy{padding:0 16px}
}

/* ============================================================
   CONTACT — по борду «Карточка» 1156x657:
   светлая подложка #eaf0f5, по центру белая панель 521x543
   ============================================================ */
.lead{padding:110px var(--pad-n) 120px}
.lead-card{
  max-width:var(--w-n);margin:0 auto;min-height:657px;
  padding:64px 20px 50px;border-radius:var(--r-card);
  background:#eaf0f5;
  display:flex;justify-content:center;
}
.lead-panel{
  width:521px;max-width:100%;
  padding:42px 48px 35px;border-radius:var(--r-card);
  background:var(--offwhite);text-align:center;
}
.lead-title{font-size:30px;font-weight:500;line-height:1.25;color:var(--ink)}
.lead-note{margin:15px auto 0;max-width:285px;font-size:17px;font-weight:400;line-height:1.4706;color:var(--muted)}

.lead-form{margin-top:40px;display:flex;flex-direction:column;gap:25px;text-align:left}
/* :not(чекбокс) — иначе галочка согласия получает высоту 55 и падинг 20 */
.lead-form input:not([type="checkbox"]),
.lead-form textarea{
  width:100%;height:55px;padding:0 20px;
  font-family:var(--font);font-size:14px;font-weight:400;color:var(--ink);
  background:#f4f6f9;border:1px solid transparent;border-radius:var(--r-card);
  transition:border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.lead-form textarea{height:98px;padding:16px 20px;line-height:1.45;resize:vertical}
.lead-form input:not([type="checkbox"])::placeholder,
.lead-form textarea::placeholder{color:var(--muted)}
.lead-form input:not([type="checkbox"]):hover,
.lead-form textarea:hover{background:#eef1f6}
.lead-form input:not([type="checkbox"]):focus,
.lead-form textarea:focus{outline:none;background:#fff;border-color:var(--accent);box-shadow:0 0 0 4px rgba(96,143,255,.18)}

/* строка согласия и кнопки */
.lead-actions{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}

/* нативный чекбокс оставляем и перекрашиваем через appearance:none —
   так сохраняются фокус, клавиатура и required-валидация браузера */
.lead-consent{flex:1 1 220px;min-width:0;display:flex;align-items:flex-start;gap:10px;cursor:pointer;font-size:13px;line-height:1.4;color:var(--muted)}
.lead-consent input{
  appearance:none;-webkit-appearance:none;
  flex:none;width:18px;height:18px;padding:0;margin:1px 0 0;
  border:1px solid var(--line);border-radius:6px;background:#fff;cursor:pointer;
  transition:background-color .2s ease,border-color .2s ease;
}
.lead-consent input:hover{border-color:#b9c3d4}
.lead-consent input:checked{
  border-color:var(--accent);background:var(--accent)
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8' fill='none'><path d='M1 4l2.8 2.6L9 1.4' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>")
    center / 10px 8px no-repeat;
}
.lead-consent input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.lead-consent a{color:var(--accent);text-decoration:underline;text-underline-offset:2px}

/* размеры как у кнопки More во втором блоке: 50px, r25, 17px */
.lead-submit{
  flex:none;height:50px;padding:0 32px;
  display:inline-flex;align-items:center;justify-content:center;
  border-radius:var(--r-card);background:#5887f8;
  color:var(--cream);font-family:var(--font);font-size:17px;font-weight:400;line-height:1.2;
  transition:background-color .2s ease;
}
.lead-submit:hover{background:#6b95fa}

/* ловушка для ботов: убираем из потока, но не через display:none —
   часть автозаполнялок такие поля игнорирует */
.lead-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

.lead-submit:disabled{opacity:.7;cursor:default}
/* пустой статус не должен занимать место и добавлять gap колонки */
.lead-status:empty{display:none}
.lead-status{margin:0;font-size:14px;line-height:1.4;letter-spacing:-.32px;color:var(--muted)}
.lead-status.is-error{color:#d9534f}

@media(max-width:760px){
  .lead{padding:64px 20px 80px}
  .lead-card{min-height:0;padding:24px 16px}
  .lead-panel{padding:28px 20px}
  .lead-title{font-size:26px}
  .lead-note{font-size:16px}
  .lead-form{margin-top:28px;gap:16px}
  .lead-actions{flex-direction:column;align-items:stretch;gap:16px}
  /* та же ловушка, что у .step: в колонке flex-basis задаёт ВЫСОТУ,
     и 220px из flex:1 1 220px раздували согласие до пустой полосы */
  .lead-consent{flex:0 0 auto}
  .lead-submit{width:100%}
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer{border-top:1px solid #e8ecf1;padding:36px var(--pad-n) 40px}
.site-footer-inner{max-width:var(--w-n);margin:0 auto}
.footer-top{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.footer-brand{display:inline-flex;align-items:center;font-size:22px;font-weight:500;text-transform:lowercase;color:var(--ink)}
.footer-social{display:flex;align-items:center;gap:10px}
.footer-social a{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;border:1px solid var(--line);color:var(--muted);transition:color .2s ease,border-color .2s ease,background-color .2s ease}
.footer-social a:hover{color:var(--accent);border-color:var(--accent);background:rgba(96,143,255,.06)}
.footer-social svg{width:19px;height:19px;display:block}
.footer-bottom{margin-top:24px;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
.footer-copy{font-size:14px;letter-spacing:-.32px;color:var(--muted);opacity:.75}
.footer-nav{display:flex;align-items:center;gap:28px;flex-wrap:wrap}
.footer-nav a{font-size:15px;letter-spacing:-.32px;color:var(--muted);transition:color .25s ease}
.footer-nav a:hover{color:var(--accent)}

@media(max-width:760px){
  .site-footer{padding:28px 16px 32px}
  /* лого и иконки держим в одной строке, чтобы футер не набирал лишнюю */
  .footer-top{flex-direction:row;gap:12px}
  .footer-brand{font-size:20px}
  .footer-social{gap:8px}
  .footer-social a{width:36px;height:36px}
  .footer-social svg{width:17px;height:17px}
  .footer-nav{gap:18px}
  .footer-bottom{flex-direction:column;align-items:flex-start;gap:14px}
}
@media(max-width:420px){
  .footer-nav{gap:14px}
  .footer-nav a,.footer-copy{font-size:13px}
}

/* ============================================================
   Юридические страницы
   ============================================================ */
.legal-page{max-width:760px;margin:0 auto;padding:0 20px 72px}
/* .logo в v3 белый (лежит на тёмной hero-карточке) — на светлой странице возвращаем тёмный */
.legal-header .logo,.footer-brand{color:var(--ink)}
.legal-header{display:flex;align-items:center;justify-content:space-between;gap:20px;height:89px}
.legal-header .logo{font-size:22px}
.legal-back{color:var(--muted);font-size:15px;transition:color .25s ease}
.legal-back:hover{color:var(--accent)}

.legal-intro h1{font-size:clamp(28px,5vw,35px);line-height:1.15;font-weight:500;color:var(--ink)}
.legal-updated{margin-top:10px;color:var(--muted);font-size:15px}

.legal-content{margin-top:40px}
.legal-content h2{margin-top:40px;font-size:25px;font-weight:500;line-height:1.2;color:var(--ink)}
.legal-content h2:first-child{margin-top:0}
.legal-content p{margin-top:14px;font-size:17px;line-height:1.6;color:var(--ink);opacity:.75}
.legal-content ul{margin-top:14px;padding-left:22px;list-style:disc;font-size:17px;line-height:1.6;color:var(--ink);opacity:.75}
.legal-content li{margin-top:8px}
.legal-content strong{font-weight:500}
.legal-content a{color:var(--accent);font-weight:500}
.legal-content a:hover{color:var(--accent-dark)}

.legal-table{width:100%;margin-top:16px;border-collapse:collapse;font-size:17px}
.legal-table th,.legal-table td{text-align:left;padding:12px 14px;border-bottom:1px solid var(--line);line-height:1.5}
.legal-table th{color:var(--ink);font-weight:500}
.legal-table td{color:var(--ink);opacity:.75}


@media(max-width:760px){
  .legal-page{padding:0 16px 56px}
  .legal-header{height:72px}
  .legal-content h2{font-size:22px;margin-top:32px}
  .legal-table{font-size:15px}
  .legal-table th,.legal-table td{padding:10px}
}

/* ============================================================
   Появление при скролле
   Затухание + подъём + микро-масштаб + расфокус.
   Кривая .16/1/.3/1 — резкий старт, длинный мягкий выкат.
   Скрываем только при html.js, иначе без JS контент пропадёт.
   ============================================================ */
html.js [data-reveal]{
  opacity:0;
  transform:translate3d(0,26px,0) scale(.986);
}
html.js [data-reveal].is-in{
  animation:reveal .85s cubic-bezier(.16,1,.3,1) var(--rd,0ms) both;
}

/* Резкость возвращается к 30% анимации, дальше элемент просто доезжает —
   размытие работает как короткий акцент на входе, а не как состояние. */
@keyframes reveal{
  from{opacity:0;transform:translate3d(0,26px,0) scale(.986);filter:blur(3px)}
  30% {opacity:.85;filter:blur(0)}
  to  {opacity:1;transform:none;filter:blur(0)}
}

/* Без блюра:
   — текст, потому что на глифах размытие читается как дефект рендера;
   — тёмная карточка формы, потому что размытие её краёв на светлом фоне
     даёт ореол, а в момент снятия фильтра край щёлкает и это видно как моргание. */
html.js .section-head[data-reveal],
html.js .hero-title[data-reveal],
html.js .hero-lead[data-reveal],
html.js .lead-card[data-reveal]{transform:translate3d(0,32px,0)}
html.js .section-head[data-reveal].is-in,
html.js .hero-title[data-reveal].is-in,
html.js .hero-lead[data-reveal].is-in,
html.js .lead-card[data-reveal].is-in{
  animation:reveal-text .85s cubic-bezier(.16,1,.3,1) var(--rd,0ms) both;
}
@keyframes reveal-text{
  from{opacity:0;transform:translate3d(0,32px,0)}
  to  {opacity:1;transform:none}
}

/* после анимации фиксируем конечное состояние и снимаем фильтр,
   чтобы не держать слой композитора */
html.js [data-reveal].is-done{animation:none;opacity:1;transform:none;filter:none}

@media(prefers-reduced-motion:reduce){
  html.js [data-reveal]{opacity:1;transform:none;filter:none;animation:none!important}
  .orbit-ring{animation:none!important}
  *,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}
  html{scroll-behavior:auto}
}
