/* css/base/tokens.css */
/* Design tokens (Platform AI) — exact from Figma Main_v1 */
:root {
  --font: 'Inter', 'Inter Fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  --brand: #fc580d;
  --brand-glow: #ec6324;
  --brand-light: #ed8c5c;
  --ink: #0a0a0a;
  --white: #ffffff;
  --cta: #f2f3f5;
  --muted: #8a8f98;
  --surface: #f5f5f5;
  --border: rgba(0, 0, 0, 0.14);
  --border-on-brand: rgba(255, 255, 255, 0.6);


  /* Type scale — роли, а не произвольные px. Значения из Figma. */
  --fs-caption: 13px;   /* теги, метки, мелкие кнопки */
  --fs-sm: 15px;        /* вторичный текст */
  --fs-body: 17px;      /* базовый текст и кнопки */
  --fs-lg: 20px;        /* подзаголовок карточки */
  --fs-xl: 24px;        /* заголовок карточки */
  --fs-h2: 40px;        /* заголовок секции */
  --fs-h1: 48px;        /* крупный заголовок секции */
  --fs-hero: 64px;      /* заголовок первого экрана */

  /* Тёмные подложки и линии */
  --panel: #121212;
  --panel-deep: #08090a;
  --brand-deep: #c43c1c;
  --surface-2: #fafafa;
  --line: #e5e5e5;
  /* вторичный текст на светлом: подписи карточек, лиды, мелкие пояснения */
  --text-muted: #62666d;
  /* тёплая светлая плашка: чипы, теги, «плюс/минус» аккордеона */
  --surface-3: #f4f3f1;
  /* линия на страницах с фоном --surface-2 (холоднее общесайтовой --line) */
  --line-2: #d1d6e0;
  /* ховер сплошных тёмных кнопок */
  --ink-hover: #1f1f1f;
  /* «хорошо»: статус в демо-чате, столбик экономии на графике */
  --ok: #5fd07e;

  /* «снап» для схлопывания шапки в капсулу: быстрый старт, мягкий доезд */
  --ease-cap: cubic-bezier(.32, .72, 0, 1);
  /* мягкий вход для появления элементов: быстрый разгон, длинный доезд */
  --ease-soft: cubic-bezier(.22, .61, .36, 1);
  /* лёгкий перелёт — для «пружинящего» появления пузырей чата */
  --ease-pop: cubic-bezier(.34, 1.35, .64, 1);
  /* стандартный ease-out для быстрых смен контента */
  --ease-out: cubic-bezier(.33, 1, .68, 1);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-pill: 100px;

  /* ---- Тёмная тема страниц модулей (макет Mix, node 1409:1162) ----
     Значения сняты с макета: подложка секций #08090a (часть секций #050505),
     карточка #121212 при радиусе 20 и поле 24, обводка значка
     rgba(255,255,255,.14), заголовок белый, текст — белый на половину.
     Держим их ролями здесь, а не в каждом блоке: тёмными становятся
     сразу несколько блоков, и разъехавшийся оттенок подложки виден стыком. */
  --dk-bg: #08090a;
  --dk-bg-deep: #050505;
  --dk-card: #121212;
  --dk-line: rgba(255, 255, 255, .14);
  --dk-line-soft: rgba(255, 255, 255, .08);
  --dk-title: #ffffff;
  --dk-text: rgba(255, 255, 255, .5);

  --stage-w: 1440px;
  --content-w: 1248px;
  /* единый контейнер контента: 1248 макс, с боковыми полями 24px на узких экранах */
  --wrap: min(1248px, 100% - 48px);
}

/* Широкие мониторы. Макет нарисован на сцене 1440 с колонкой 1248, и на 1920+
   контент читался маленьким островом посреди пустого фона: поля по 336px с каждой
   стороны, на 2560 — по 656. Лечится ступенью: контейнер подрастает на широком
   экране, а не тянется бесконечно. У нас одна ступень — колонка 1248 → 1440
   (потолок = сцена макета), поля 160.
   Растёт вся страница разом, иначе левый край первого экрана разъезжался бы
   с секциями ниже. Слайды блоков 2 и 4 нарисованы в 1248px и подгоняются
   множителем --fit-scale (js/app.js), поэтому тянутся вместе с колонкой. */
@media (min-width: 1600px) {
  :root {
    --wrap: min(1440px, 100% - 160px);
    --fs-hero: 76px;
  }
}

/* Ступени кегля заголовков. Раньше каждый блок ужимал свой заголовок сам, и одни и те же
   38/30px были переписаны в двух десятках файлов: новый блок про это правило не знал,
   а карточные заголовки (--fs-xl) не ужимались вовсе и на 344px ломались на две строки.
   Держим ступени здесь — блоки берут токен и на всех ширинах.
   Значения те же, что были расставлены руками; h2 сведён к одному числу (было 28 и 30). */
@media (max-width: 1023px) {
  :root {
    --fs-hero: 52px;
    --fs-h1: 38px;
    --fs-h2: 34px;
    --fs-xl: 22px;
  }
}
@media (max-width: 767px) {
  :root {
    --fs-hero: 38px;
    --fs-h1: 30px;
    --fs-h2: 28px;
    --fs-xl: 20px;
  }
}

/* css/base/fonts.css */
/* ============ ШРИФТЫ ============
   Раздаём сами, без запроса к fonts.googleapis.com: там CSS грузится вторым запросом,
   и только после него начинается загрузка woff2 — из-за этой цепочки и была видна подмена.
   Файл latin предзагружается из <head>, начертания 300–700 лежат в одном переменном woff2. */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Кириллица — для русского лендинга. Браузер качает подмножество, только
   когда на странице встретился символ из его unicode-range, поэтому
   английскому сайту эти файлы ничего не стоят. На лендинге файл
   предзагружается из <head> (поле preload у локали, src/targets.mjs). */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/inter-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Roboto Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/roboto-mono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Roboto Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/roboto-mono-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Roboto Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/roboto-mono-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* Метрический двойник Inter на системном Arial: пока Inter едет, текст рисуется им —
   с той же высотой строки и той же средней шириной символа, поэтому подмена не двигает
   вёрстку и почти не читается глазом.
   Коэффициенты посчитаны из самих шрифтов: средняя ширина буквы (по частотам английских
   букв) Inter 0.4742em против Arial 0.4416em → size-adjust 107.38%;
   ascent 1984/2048 и descent 494/2048 поделены на тот же коэффициент. */
@font-face {
  font-family: 'Inter Fallback';
  src: local('Arial'), local('Helvetica Neue'), local('Liberation Sans');
  size-adjust: 107.38%;
  ascent-override: 90.21%;
  descent-override: 22.46%;
  line-gap-override: 0%;
}

/* css/components/header.css */
/* ============ HEADER ============
   Перенесена с основного сайта (v2, components/header.css) без изменений
   в раскладке и поведении; выпадающего меню у лендинга нет, его раздел опущен.
   Знак логотипа здесь — инлайновый svg, а не <img>: в капсуле и в открытом
   меню он перекрашивается заливкой, а не подменой файла (см. .brand__mark).

   Закреплена сверху и после 75px скролла собирается в две матовые капсулы —
   логотип слева, меню справа. На скролле шапка получает класс, а строка меню
   превращается в стеклянную «пилюлю»
   (blur 12px, полупрозрачный белый, рамка, радиус 120px, переход .4–.5s ease). */
/* разрешает анимировать переход к width: fit-content у капсулы (Chrome 129+).
   На основном сайте это правило в base.css, лендинг его не подключает */
:root { interpolate-size: allow-keywords; }
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 10; }
.header__inner { position: relative;
    height: 72px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  border: 1px solid transparent; border-radius: 120px;
  transition: width .38s var(--ease-cap), padding .38s var(--ease-cap),
              margin-top .38s var(--ease-cap), gap .38s var(--ease-cap); }
/* Стекло капсулы вынесено в псевдоэлемент, а не на сам .header__inner.
   Изначально ради backdrop-filter: он делает элемент containing block'ом для
   position: fixed потомков, и панель меню (fixed, во весь экран) оказалась бы
   заперта в капсуле. Размытие отсюда с тех пор убрано (см. ниже), но разделение
   осталось: отдельный слой удобно гасить и анимировать независимо от строки.
   Слои строки: панель меню (-1) → стекло капсулы (0) → логотип и кнопки (1). */
.header__inner::before {
  content: ''; position: absolute; inset: -1px; z-index: 0;
  border: 1px solid transparent; border-radius: inherit; background-color: transparent;
  /* уход из капсулы: фон снимается сразу, форма разъезжается следом */
  transition: background-color .14s linear, border-color .14s linear, box-shadow .14s linear;
}
/* правая группа: ссылки, CTA и кнопка «Menu». margin-left:auto прижимает её вправо,
   а в капсуле (width: fit-content) свободного места нет и отступ схлопывается сам */
.header__nav { margin-left: auto; display: flex; align-items: center; }
.header__menu { display: flex; align-items: center; gap: 24px; }
.header__actions { display: flex; align-items: center; }
.header__burger { display: none; }
/* содержимое строки — над стеклом капсулы (иначе матовая подложка перекрывает пункты) */
.brand, .header__nav, .header__actions, .header__burger { position: relative; z-index: 1; }
/* закреплённое состояние: логотип и меню собираются в одну матовую капсулу по центру.
   Ширина едет к fit-content — плавно там, где поддерживается interpolate-size (см. base.css),
   в остальных браузерах меняется сразу, фон при этом всё равно проявляется переходом. */
.header.is-pinned .header__inner {
  width: fit-content; max-width: var(--wrap); height: auto; margin-top: 14px;
  justify-content: center; gap: 24px; padding: 6px 6px 6px 14px;
  /* появление: стекло приходит первым и быстро, ширина догоняет — края «схлопываются»
     раньше, чем доедет форма, поэтому движение читается как одно, а не как ползущий фон */
  transition: width .42s var(--ease-cap), padding .42s var(--ease-cap),
              margin-top .42s var(--ease-cap), gap .42s var(--ease-cap);
}
/* Стекло капсулы БЕЗ backdrop-filter — намеренно.
   Размытие подложки у шапки складывалось с таким же размытием у панелей
   ассистента, и на стыке плиток композитора шёл вертикальный шов: он же
   «залипал» при прокрутке, потому что плитки кешируются. Проверено сравнением
   полных страниц — шов исчезал ровно там, где у шапки снимали blur.
   Ощущение стекла даёт не размытие, а блик по верхней кромке: заливка светлее,
   зато сверху светлая внутренняя обводка, край ловит свет. */
.header.is-pinned .header__inner::before {
  background-color: rgba(255,255,255,.80);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), inset 0 0 0 1px rgba(255,255,255,.5);
  border-color: rgba(0,0,0,.08);
  transition: background-color .16s ease-out, border-color .16s ease-out,
              box-shadow .16s ease-out;
}
/* в капсуле от логотипа остаётся только знак, в брендовом оранжевом.
   Название не выключаем разом, а сжимаем — иначе ширина дёргается в начале перехода */
.brand__name { max-width: 200px; overflow: hidden; white-space: nowrap;
  transition: max-width .38s var(--ease-cap), opacity .16s ease-out, margin-left .38s var(--ease-cap); }
.header.is-pinned .brand__name { max-width: 0; opacity: 0; margin-left: -10px; }
.brand__mark [fill="#fff"] { transition: fill .2s ease; }
.brand__mark [stroke="#fff"] { transition: stroke .2s ease; }
.header.is-pinned .brand__mark [fill="#fff"], .header.is-menu-open .brand__mark [fill="#fff"] { fill: var(--orange, #ff6529); }
.header.is-pinned .brand__mark [stroke="#fff"], .header.is-menu-open .brand__mark [stroke="#fff"] { stroke: var(--orange, #ff6529); }
.header.is-pinned .header__link { color: var(--ink); }
.header.is-pinned .header__link:hover { color: rgba(10,10,10,.6); }
.header.is-pinned .header__cta { background: var(--ink); color: var(--white); border-color: transparent; }
.header.is-pinned .header__cta:hover { background: var(--ink-hover); }
/* пока тянут край окна — никаких переходов ширины: капсула должна идти
   за окном след в след, а не догонять его через 0.4с (класс ставит header.js) */
.header.is-resizing .header__inner,
.header.is-resizing .header__inner::before,
.header.is-resizing .brand__name { transition: none; }

@media (prefers-reduced-motion: reduce) {
  .header__inner, .header__inner::before, .brand__name { transition: none; }
}
.header__link { font-size: var(--fs-sm); color: var(--white); transition: color .15s ease; }
.header__link:hover { color: rgba(255,255,255,.75); }
.header__cta {
  display: inline-flex; align-items: center; padding: 9px 17px; font-size: var(--fs-sm); font-weight: 600;
  color: var(--ink); background: var(--cta); border-radius: 21px;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, opacity .15s ease;
}
.header__cta:hover { background: var(--white); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--white); transition: opacity .15s ease, color .45s ease; }
.brand:hover { opacity: .8; }
.brand__mark { width: 29px; height: 23px; }
.brand__name { font-size: var(--fs-body); font-weight: 600; }

/* светлый вариант шапки — страницы со светлым первым экраном (node 1531:25908) */
.header--light .brand { color: var(--ink); }
/* белый знак на светлой странице не виден — берём брендовый оранжевый, как в капсуле
   (у основного сайта тут подменяется файл logo-mark-dark.svg) */
.header--light .brand__mark [fill="#fff"] { fill: var(--orange, #ff6529); }
.header--light .brand__mark [stroke="#fff"] { stroke: var(--orange, #ff6529); }
.header--light .header__link { color: var(--ink); }
.header--light .header__link:hover { color: rgba(10,10,10,.6); }
/* в Figma рамка #f0f0f0 — берём общесайтовую линию */
.header--light .header__cta { background: var(--white); border: 1px solid var(--line); }
.header--light .header__cta:hover { background: var(--cta); }

/* ============ Меню для узких экранов (≤1023) ============
   Вместо иконки-гамбургера — пилюля с надписью Menu / Close, а само меню
   уезжает во весь экран панелью справа
   (translateX, .5s, blur за фоном, свой скролл, замок прокрутки страницы).
   Порог у нас 1023 — та же ширина, на которой перестраиваются остальные блоки.

   Язык состояний свой: светлая сплошная кнопка светлеет до #fff,
   а soft на белом — до rgba(0,0,0,.08).
   Двойная обводка пилюли сделана box-shadow'ом, а не вторым слоем с падингом:
   так высота остаётся ровно как у .header__cta (40.5px) и строка шапки не растёт. */
.header__burger {
  align-items: center; gap: 9px;
  padding: 9px 17px 9px 14px; border: 0; border-radius: 21px;
  font-size: var(--fs-sm); font-weight: 600; line-height: 1.5; color: var(--ink);
  background: rgba(255,255,255,.72);
  box-shadow: 0 0 0 4px rgba(255,255,255,.2);
  transition: background-color .15s ease, box-shadow .15s ease, color .15s ease;
}
/* иконка: две линии, которые складываются в крестик при открытии.
   Толщина 1.5px — та же, что у стрелок и разделителей сайта */
.header__burger-ic { position: relative; flex: 0 0 auto; width: 16px; height: 10px; }
.header__burger-ic span {
  position: absolute; left: 0; width: 100%; height: 1.5px; border-radius: 1px;
  background: currentColor;
  transition: top .22s var(--ease-cap), transform .22s var(--ease-cap);
}
.header__burger-ic span:first-child { top: 0; }
.header__burger-ic span:last-child { top: 8.5px; }
.header.is-menu-open .header__burger-ic span { top: 4.25px; }
.header.is-menu-open .header__burger-ic span:first-child { transform: rotate(45deg); }
.header.is-menu-open .header__burger-ic span:last-child { transform: rotate(-45deg); }
@media (prefers-reduced-motion: reduce) {
  .header__burger-ic span { transition: none; }
}
.header__burger:hover { background: var(--white); }
/* на светлых страницах белая обводка не читается — берём рамку, как у светлого CTA */
.header--light .header__burger,
.header.is-menu-open .header__burger {
  background: var(--white); box-shadow: 0 0 0 1px var(--line);
}
.header--light .header__burger:hover,
.header.is-menu-open .header__burger:hover { background: var(--cta); }
/* внутри капсулы шапки пилюля становится «мягкой» — как soft-кнопки на белом */
.header.is-pinned:not(.is-menu-open) .header__burger {
  background: rgba(0,0,0,.05); box-shadow: none;
}
.header.is-pinned:not(.is-menu-open) .header__burger:hover { background: rgba(0,0,0,.08); }

/* открытое меню: шапка ложится на светлое стекло панели, поэтому логотип и текст
   переводим в тёмные — так же, как в закреплённой капсуле */
.header.is-menu-open .brand { color: var(--ink); }

@media (max-width: 1023px) {
  .header__burger { display: inline-flex; }
  /* кнопка «Menu» — по центру строки. Сетка 1fr / auto / 1fr даёт ровный центр
     вьюпорта независимо от того, что стоит по краям: слева логотип, справа CTA
     (на ≤767 он уезжает в панель, и колонка становится пустой).
     Панель .header__nav из потока выпадает (position: fixed) и ячейку не занимает.
     Строка указана явно: кнопка стоит в разметке после CTA, и без grid-row
     автопотоковый курсор уводил бы её во второй ряд. */
  .header__inner { display: grid; grid-template-columns: 1fr auto 1fr; }
  .brand { grid-area: 1 / 1; justify-self: start; }
  .header__burger { grid-area: 1 / 2; justify-self: center; }
  .header__actions { grid-area: 1 / 3; justify-self: end; }
  /* на скролле капсула не сжимается в fit-content, как на десктопе: кнопка «Menu»
     должна оставаться ровно по центру строки, а не уезжать вместе с контейнером.
     Стекло приходит полосой во всю ширину контента */
  .header.is-pinned .header__inner { width: var(--wrap); margin-top: 10px; padding: 8px 16px; }
  /* Панель во весь экран под шапкой. Размытия подложки здесь тоже нет — по той же
     причине, что и у капсулы: наложенные backdrop-filter дают шов на стыке плиток
     композитора. Заливка взамен заметно плотнее (.78 → .94): под капсулой лежит
     фон страницы, а под панелью — текст и картинки. Без размытия даже .94 не хватало:
     сквозь панель читались абзацы и скриншот, пункты меню налезали на чужой текст. Слева — светлая кромка: панель
     въезжает справа, и этот край единственный видимый. */
  .header__nav {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: -1;
    margin: 0; display: block; box-sizing: border-box;
    padding: 96px 24px 40px;
    overflow-y: auto; overscroll-behavior: contain;
    background: rgba(255,255,255,.975);
    box-shadow: inset 1px 0 0 rgba(255,255,255,.9), -18px 0 40px rgba(0,0,0,.06);
    transform: translateX(100%); visibility: hidden;
    transition: transform .5s var(--ease-cap), visibility .5s;
  }
  .header.is-menu-open .header__nav { transform: none; visibility: visible; }
  /* колонка контента во всю ширину панели: при ограничении 690/510 по центру
     линии-разделители обрывались бы на 690
     и правая половина панели оставалась пустой */
  .header__menu { flex-direction: column; align-items: stretch; gap: 0;
    width: 100%; margin: 0; }
  .header__link, .header--light .header__link, .header.is-pinned .header__link {
    padding: 18px 2px; font-size: var(--fs-lg); font-weight: 500; color: var(--ink);
    border-bottom: 1px solid rgba(0,0,0,.1);
  }
  .header__link:first-child { border-top: 1px solid rgba(0,0,0,.1); }
  .header__link:hover, .header--light .header__link:hover { color: rgba(10,10,10,.55); }
  /* панель закрыта — её содержимое не должно ловить фокус с клавиатуры */
  .header:not(.is-menu-open) .header__nav { pointer-events: none; }
}
/* на телефонах CTA уезжает из строки шапки в самый низ панели, во всю ширину

   Переносит его JS, чтобы кнопка в разметке осталась одна */
@media (max-width: 767px) {
  .header__nav { padding: 88px 24px 40px; }
  .header__nav .header__cta,
  .header--light .header__nav .header__cta,
  .header.is-pinned .header__nav .header__cta {
    display: flex; justify-content: center; width: 100%;
    height: 48px; padding: 0 24px; margin: 40px 0 0;
    border: 0; border-radius: 24px; background: var(--ink); color: var(--white);
  }
  .header__nav .header__cta:hover { background: var(--ink-hover); }
  /* место освободилось — но в строке остаётся знак логотипа без названия.
     Знак при этом НЕ перекрашиваем: на главной он лежит на оранжевом первом экране
     и должен оставаться белым. В брендовый оранжевый его переводят только капсула
     на скролле (.is-pinned) и открытая панель (.is-menu-open) — там подложка светлая. */
  .brand__name { max-width: 0; opacity: 0; margin-left: -10px; }
}
@media (prefers-reduced-motion: reduce) {
  .header__nav { transition: visibility .01s; }
}
/* прокрутка страницы на время открытого меню */
body.is-menu-locked { position: fixed; left: 0; right: 0; width: 100%; }
/* куки-бабл (z-index 30) выше шапки — под панелью его быть не должно */
body.is-menu-locked .cookies { opacity: 0; pointer-events: none; }

/* css/components/cookies.css */
/* ============ Согласие на куки ============
   Строка-капсула в правом нижнем углу: значок, одна фраза со ссылкой и две
   кнопки. Показывается один раз, выбор живёт в localStorage.

   Раньше это была карточка в столбец — заголовок, абзац и кнопки под ними.
   Заменено на строку: согласие не читают, его закрывают, и полоса в одну
   строку отнимает у страницы меньше места и внимания.

   Кнопка «наверх» стоит в том же углу и на время полосы уходит под неё
   (z-index 20 против 30); выбор сделан, полоса исчезла, кнопка на месте. */
.cookies {
  position: fixed; right: 24px; bottom: 24px; z-index: 30;
  max-width: calc(100% - 48px);
  display: flex; align-items: center; gap: 12px;
  /* справа поле меньше: там кнопки, и у них своё поле внутри */
  padding: 8px 8px 8px 20px;
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 5px 15px -3px rgba(0, 0, 0, .2);
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity .25s ease-out, transform .32s var(--ease-cap);
}
.cookies.is-on { opacity: 1; transform: none; pointer-events: auto; }

.cookies__icon { flex: 0 0 auto; width: 20px; height: 20px; }
.cookies__text {
  margin: 0; font-size: var(--fs-caption); line-height: 1.4; color: var(--ink);
  white-space: nowrap;   /* полоса рассчитана на одну фразу */
}
.cookies__link { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; transition: color .15s ease; }
.cookies__link:hover { color: var(--brand); }

.cookies__actions { display: flex; gap: 6px; flex: 0 0 auto; }
.cookies__btn {
  height: 40px; padding: 0 18px; border: 0; border-radius: 20px;
  font-size: var(--fs-caption); font-weight: 600; line-height: 1;
  transition: background-color .15s ease, color .15s ease;
}
.cookies__btn--accept { background: var(--ink); color: var(--white); }
.cookies__btn--accept:hover { background: var(--ink-hover); }
.cookies__btn--decline { background: rgba(0, 0, 0, .06); color: var(--ink); }
.cookies__btn--decline:hover { background: rgba(0, 0, 0, .08); }

@media (max-width: 767px) {
  /* в строку фраза и две кнопки уже не помещаются: разворачиваем в две строки,
     полосу растягиваем по ширине экрана */
  .cookies {
    left: 16px; right: 16px; bottom: 16px; max-width: none;
    flex-wrap: wrap; padding: 16px; border-radius: 20px; gap: 10px;
  }
  /* auto, а не 100%: иначе текст уходит на свою строку и значок остаётся
     висеть один над ним */
  .cookies__text { white-space: normal; flex: 1 1 0; min-width: 0; }
  .cookies__actions { flex: 1 1 100%; }
  .cookies__btn { flex: 1 1 0; }
}
@media (prefers-reduced-motion: reduce) {
  .cookies { transition: none; }
}

/* css/pages/landing.css */
/* Лендинг (цель landing, templates/pages/landing.mjs) — исходный html
   «Platform AI — лендинг», перенесённый как есть: та же раскладка, тексты
   и анимации. Отличия от исходника только технические:
     · картинки вынесены из base64 в img/landing-*;
     · шрифт — сайтовый: var(--font) из css/base/tokens.css (Inter, раздаём сами);
       в исходнике был Manrope с Google Fonts.
   Страница «голая» (bare в base.mjs): общие стили сайта, шапка и подвал
   на неё не подключаются, поэтому селекторы ниже ни с чем не сталкиваются. */
:root{
  /* картинка левой половины форм заявки и заказа стенда: плашка «Платформа Б3» */
  --img-lead:url('../img/landing-lead.webp');
  --img-bga:url('../img/landing-bga.webp');
  --img-bgb:url('../img/landing-bgb.webp');
  --img-bgc:url('../img/landing-bgc.webp');
  --img-perm:url('../img/landing-perm.webp');
  --img-cta:url('../img/landing-cta.jpg');
  --img-hero:url('../img/landing-hero.webp');
  --orange:#ff6529; --orange-d:#d34a17; --peach:#ffede5;
  --ink:#171717; --muted:#999; --line:#ebebeb; --canvas:#fafafa;
  --ui:var(--font);
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
html,body{background:#ee6a2c}
body{font-family:var(--font);color:#fff;-webkit-font-smoothing:antialiased;overflow-x:hidden}
a{color:inherit;text-decoration:none}
button{font:inherit;border:0;background:none;color:inherit;cursor:pointer}
:focus-visible{outline:2px solid #fff;outline-offset:3px;border-radius:8px}

/* ---------- Background ---------- */
.hero{position:relative;min-height:100vh;overflow:hidden;isolation:isolate;padding-bottom:64px}
.bg{position:absolute;inset:0;z-index:-1;pointer-events:none;background:#f0702f}
.bg .photo{position:absolute;inset:0;background:var(--img-hero) center top/cover no-repeat}
.bg .tint{position:absolute;inset:0;
  background:
    linear-gradient(90deg,rgba(252,88,13,.24) 0%,rgba(252,88,13,0) 33%),
    radial-gradient(70% 60% at 0% 15%,rgba(236,99,36,.85) 0%,rgba(236,99,36,.3) 55%,rgba(236,99,36,0) 100%),
    linear-gradient(148deg,rgba(237,140,92,.3) 0%,rgba(252,88,13,.3) 71%)}

.wrap{width:min(1248px,calc(100% - 48px));margin:0 auto}

/* ---------- Nav ----------
   Шапка — общая с основным сайтом: css/components/header.css,
   js/behaviors/header.js и menu.js. Здесь только кнопки первого экрана. */
.cta{display:inline-flex;align-items:center;height:48px;padding:0 24px;border-radius:24px;background:#fff;color:#0a0a0a;font-weight:600;font-size:15px;line-height:1;white-space:nowrap;transition:transform .2s,background .2s}
.cta:hover{transform:translateY(-1px);background:#fff7f3}
/* место под шапкой: она закреплена и из потока выпала */
.hero{padding-top:72px}

/* ---------- Hero copy ---------- */
.hero-top{display:flex;align-items:flex-end;gap:80px;margin-top:55px;padding-left:0}
.hero-left{display:flex;flex-direction:column;gap:20px;flex:none}
.eyebrow{font-weight:500;font-size:15px;line-height:1.5;color:rgba(255,255,255,.75)}
.title{font-weight:600;font-size:clamp(38px,4.6vw,60px);line-height:1.05;letter-spacing:-1.28px;
  background-image:linear-gradient(111deg,#fff 0%,#fff 32%,#ffd693 58%,#ffe6bd 74%,#fff 100%);
  background-size:220% 100%;background-position:0% 50%;
  -webkit-background-clip:text;background-clip:text;color:transparent;
  animation:shimmer 7s ease-in-out infinite alternate}
@keyframes shimmer{to{background-position:100% 50%}}
.hero-right{flex:1;min-width:0;display:flex;flex-direction:column;gap:30px}
.lead{font-weight:500;font-size:16px;line-height:1.5;color:rgba(255,255,255,.8);max-width:46ch}
.actions{display:flex;gap:10px;flex-wrap:wrap}
.cta,.ghost{height:48px;padding:0 24px;border-radius:24px;display:inline-flex;align-items:center;font-weight:600;font-size:15px;transition:transform .2s,background .2s}
.cta{background:#fff;color:#0a0a0a}
.ghost{border:1px solid rgba(255,255,255,.6);color:#fff}
.ghost:hover{background:rgba(255,255,255,.1)}

/* ---------- Demo shell ---------- */
.shell{margin-top:80px;padding:16px;border-radius:40px;border:1px solid rgba(255,255,255,.2);
  background:rgba(184,200,232,.12);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}
.screen{position:relative;aspect-ratio:1210/753;border-radius:28px;overflow:hidden;border:1px solid rgba(255,255,255,.2);background:#fff}
.app{position:absolute;left:0;top:0;width:1210px;height:753px;transform-origin:0 0;transform:scale(var(--s,1));
  font-family:var(--ui);color:var(--ink);background:#fff;display:flex}
.ico{display:inline-flex;flex:none}
.ico svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* Canvas pane */
.pane{position:relative;width:906px;height:100%;border-right:1px solid var(--line);background:var(--canvas)}
.pane-h{height:48px;display:flex;align-items:center;justify-content:space-between;padding:0 16px 0 19px;background:#fff}
.pane-h b{font-weight:700;font-size:15px}
.pane-h .tools{display:flex;gap:12px;color:#555}
.ruler-t{position:absolute;left:0;right:0;top:48px;height:17px;background:#fff;border-bottom:1px solid var(--line);border-top:1px solid var(--line)}
.ruler-l{position:absolute;left:0;top:65px;bottom:0;width:16px;background:#fff;border-right:1px solid var(--line)}
.ruler-t svg,.ruler-l svg{position:absolute;inset:0}
.area{position:absolute;left:16px;top:65px;right:0;bottom:0;overflow:hidden;
  background-image:radial-gradient(circle,#d6d6d6 1px,transparent 1.2px);background-size:21px 21px;background-position:6px 6px}
.layer{position:absolute;inset:0;transition:opacity .6s}
.layer.fade{opacity:0}
.noanim,.noanim *{transition:none!important;animation:none!important}

.toolbar{position:absolute;left:50%;bottom:16px;transform:translateX(-50%);display:flex;align-items:center;gap:2px;padding:5px;
  background:#fff;border-radius:12px;box-shadow:0 4px 16px rgba(0,0,0,.08),0 0 0 1px rgba(0,0,0,.03)}
.tb{width:34px;height:34px;border-radius:8px;display:grid;place-items:center;color:#333;border:1px solid transparent}
.tb .ico{width:17px;height:17px}
.tb.on{background:var(--peach);border-color:#ffa47f;color:var(--orange)}
.tb-sep{width:1px;height:20px;background:var(--line);margin:0 4px}

/* Scene (canvas content, Figma coords at 84% zoom) */
.scene{position:absolute;left:45px;top:6px;width:968px;height:811px;transform:scale(.84);transform-origin:0 0}
.card{position:absolute;background:#fff;border:1px solid var(--line);box-shadow:0 4px 16px rgba(0,0,0,.06);opacity:0;transform:translateY(12px) scale(.98);
  transition:opacity .45s,transform .55s cubic-bezier(.2,.8,.3,1),left .8s cubic-bezier(.65,0,.25,1)}
.card.on{opacity:1;transform:none}
.card.out{opacity:0;transform:scale(.97)}
.bit{opacity:0;transform:translateY(6px);transition:opacity .35s,transform .45s cubic-bezier(.2,.8,.3,1)}
.on>.bit:not(.late),.bit.on{opacity:1;transform:none}

/* Ход работы */
.work{left:40px;top:32px;width:264px;padding:16px;border-radius:12px;display:flex;flex-direction:column;gap:12px}
.w-head{display:flex;align-items:center;gap:8px;font-weight:700;font-size:14px;line-height:20px}
.circ{width:24px;height:24px;border-radius:50%;background:var(--peach);color:var(--orange);display:grid;place-items:center;flex:none}
.circ .ico{width:14px;height:14px}
.w-step{display:flex;gap:8px;align-items:flex-start;font-weight:500;font-size:13px;line-height:18px;color:var(--muted);transition:color .25s}
.w-step .ico{width:16px;height:16px;margin-top:1px;color:#c9c9c9}
.w-step.run{color:var(--ink);font-weight:600}
.w-step.run .ico{color:var(--orange);animation:spin 1s linear infinite}
.w-step.done{color:var(--ink)}
.w-step.done .ico{color:#1f8a4c}
.w-step.warn{color:#8a5a00}
.w-step.warn .ico{color:#d08a00}

/* Карточка уточнения */
.ask{left:352px;top:32px;width:560px;padding:28px;border-radius:16px;display:flex;flex-direction:column;gap:16px}
.tag{align-self:flex-start;display:flex;align-items:center;gap:6px;background:var(--peach);color:var(--orange-d);border-radius:6px;padding:4px 10px 4px 8px;font-weight:600;font-size:12px;line-height:16px}
.tag .ico{width:14px;height:14px}
.ask h4{font-weight:700;font-size:20px;line-height:28px}
.ask .lead2{font-weight:500;font-size:14px;line-height:20px;color:#525252}
.q{display:flex;flex-direction:column;gap:8px}
.q b{font-weight:700;font-size:13px;line-height:18px}
.q small{font-weight:500;font-size:12px;line-height:16px;color:var(--muted)}
.opt{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:#fff;font-weight:500;font-size:13px;line-height:18px;transition:background .25s,border-color .25s}
.opt i{width:18px;height:18px;border-radius:50%;border:1.5px solid #c9c9c9;flex:none;position:relative;transition:border-color .25s}
.opt i::after{content:"";position:absolute;inset:3.5px;border-radius:50%;background:var(--orange);transform:scale(0);transition:transform .25s cubic-bezier(.2,.9,.3,1.4)}
.opt.sel{background:#fff7f3;border-color:var(--orange);font-weight:600}
.opt.sel i{border-color:var(--orange)}
.opt.sel i::after{transform:scale(1)}
.ta{height:64px;border:1px solid var(--line);border-radius:10px;padding:10px 12px;font-weight:500;font-size:13px;line-height:18px;color:var(--muted)}
.btn-or{align-self:flex-start;height:40px;padding:0 18px;border-radius:8px;background:var(--orange);color:#fff;display:flex;align-items:center;font-weight:600;font-size:14px;transition:transform .15s,filter .15s}
.btn-or.press{transform:scale(.95);filter:brightness(.9)}

/* Предпросмотр карточки рейса */
.pop{left:56px;top:32px;width:480px;border-radius:14px;display:flex;flex-direction:column;overflow:hidden}
.pop-h{display:flex;align-items:center;gap:10px;padding:16px 20px;border-bottom:1px solid var(--line);font-weight:700;font-size:16px;line-height:24px}
.pop-h span{flex:1}
.pop-h .ico{width:18px;height:18px;color:#666}
.pop-b{display:flex;flex-direction:column;gap:14px;padding:16px 20px}
.blk{display:flex;flex-direction:column;gap:8px}
.blk-h{display:flex;align-items:center;gap:6px;font-weight:700;font-size:12px;line-height:16px;color:#666}
.blk-h span{flex:1}
.ro{font-style:normal;display:flex;align-items:center;gap:4px;font-weight:500;font-size:11px;line-height:14px;color:var(--muted)}
.ro .ico{width:12px;height:12px}
.pill{align-self:flex-start;display:flex;align-items:center;gap:8px;background:#fff7e0;color:#8a5a00;border-radius:999px;padding:6px 10px;font-weight:600;font-size:12px;line-height:16px}
.pill::before{content:"";width:8px;height:8px;border-radius:50%;background:#f0a500}
.row{display:flex;gap:10px}
.fld{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
.fld label{font-weight:600;font-size:11px;line-height:14px;color:var(--muted);display:flex;align-items:center;gap:8px}
.val{height:34px;display:flex;align-items:center;gap:6px;padding:0 10px;border-radius:8px;font-weight:500;font-size:13px;line-height:18px;background:#f5f5f5;white-space:nowrap}
.val span{flex:1;overflow:hidden;text-overflow:ellipsis}
.val.ed{background:#fff;border:1px solid #e5e5e5}
.val .ico{width:14px;height:14px;color:#999}
.val.new{height:56px;align-items:flex-start;padding-top:8px;border:1.5px solid var(--orange);color:var(--muted);background:#fff;white-space:normal}
.badge{display:inline-flex;align-items:center;gap:4px;background:var(--orange);color:#fff;border-radius:6px;padding:2px 8px 2px 6px;font-weight:700;font-size:11px;line-height:14px}
.badge .ico{width:11px;height:11px}
.pop-f{display:flex;justify-content:flex-end;gap:10px;padding:14px 20px 16px;border-top:1px solid var(--line)}
.pop-f span{height:36px;display:flex;align-items:center;padding:0 16px;border-radius:8px;font-weight:600;font-size:13px;border:1px solid var(--line)}
.pop-f span:last-child{background:var(--ink);border-color:var(--ink);color:#fff}

/* Итог работы */
.sum{left:572px;top:32px;width:384px;padding:20px;border-radius:14px;display:flex;flex-direction:column;gap:14px}
.sum-h{display:flex;align-items:center;gap:10px}
.sum-h .ok{width:28px;height:28px;border-radius:50%;background:#e7f5ec;color:#1f8a4c;display:grid;place-items:center;flex:none}
.sum-h .ok .ico{width:16px;height:16px}
.sum-h b{display:block;font-weight:700;font-size:15px;line-height:20px}
.sum-h small{display:block;font-weight:500;font-size:12px;line-height:16px;color:var(--muted)}
.chg{display:flex;gap:10px;align-items:flex-start}
.chg>.ico{width:16px;height:16px;margin-top:2px;color:#1f8a4c}
.chg b{display:block;font-weight:700;font-size:13px;line-height:18px}
.chg small{display:block;font-weight:500;font-size:12px;line-height:16px;color:#666}
.chk{display:flex;gap:10px;padding:12px;border-radius:10px;background:#fff7e0;color:#8a5a00}
.chk>.ico{width:16px;height:16px;margin-top:1px;color:#d08a00}
.chk b{display:block;font-weight:700;font-size:13px;line-height:18px}
.chk small{display:block;font-weight:500;font-size:12px;line-height:16px}
.graph{display:flex;align-items:center;gap:8px;height:44px;padding:0 14px;border:1px solid var(--line);border-radius:10px;font-weight:600;font-size:13px}
.graph span{flex:1}
.graph .ico{width:16px;height:16px}
.graph em{font-style:normal;width:22px;height:22px;border-radius:50%;background:var(--ink);color:#fff;display:grid;place-items:center;font-weight:700;font-size:12px}
.sum.on .bit:nth-child(2){transition-delay:.15s}.sum.on .bit:nth-child(3){transition-delay:.3s}
.sum.on .bit:nth-child(4){transition-delay:.45s}.sum.on .bit:nth-child(5){transition-delay:.6s}.sum.on .bit:nth-child(6){transition-delay:.75s}

/* Cursors (counter-scaled to the 84% zoom) */
.cur{position:absolute;left:0;top:0;opacity:0;pointer-events:none;z-index:5;transition:transform .8s cubic-bezier(.45,0,.2,1),opacity .3s}
.cur.on{opacity:1}
.cur svg{display:block;width:21px;height:21px;transition:transform .15s}
.cur.click svg{transform:scale(.8)}
.cur em{position:absolute;left:18px;top:19px;font-style:normal;color:#fff;border-radius:7px;padding:3px 9px;font-weight:600;font-size:13px;line-height:17px;white-space:nowrap}
.cur.ai em{background:var(--orange)}
.cur.user em{background:#2f5bd3}
@keyframes spin{to{transform:rotate(360deg)}}

/* Chat pane */
.chat{position:relative;flex:1;height:100%;background:#fff}
.chat-h{height:64px;display:flex;align-items:center;justify-content:space-between;padding:0 14px 0 21px;border-bottom:1px solid var(--line)}
.chat-h .t{position:relative;height:36px}
.chat-h .t b{display:block;max-width:200px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:600;font-size:15px;line-height:20px;transition:opacity .3s}
.chat-h .t span{display:block;font-weight:500;font-size:11px;line-height:16px;color:var(--muted)}
.chat-h .r{display:flex;align-items:center;gap:10px}
.chat-h .pnl{width:26px;height:26px;border-radius:7px;background:var(--peach);color:var(--orange);display:grid;place-items:center}
.chat-h .pnl .ico{width:14px;height:14px}
.chat-h .dots{width:16px;height:16px;color:#555}

.empty{position:absolute;left:21px;right:21px;top:184px;text-align:center;transition:opacity .35s,transform .35s}
.empty.out{opacity:0;transform:translateY(-8px);pointer-events:none}
.e-logo{width:40px;height:40px;border-radius:50%;background:var(--peach);display:grid;place-items:center;margin:0 auto 16px}
.empty h3{font-weight:700;font-size:16px;line-height:22px;margin-bottom:8px}
.empty p{font-weight:500;font-size:11.5px;line-height:16px;color:#666;margin-bottom:20px}
.sug{white-space:nowrap;display:flex;align-items:center;justify-content:space-between;height:37px;padding:0 12px;border:1px solid var(--line);border-radius:10px;margin-bottom:7px;font-weight:600;font-size:12px;text-align:left}
.sug .ico{width:13px;height:13px;color:#aaa}

.log{position:absolute;left:0;right:0;top:64px;bottom:162px;overflow:hidden;padding:20px 21px 16px;display:flex;flex-direction:column;gap:14px}
.log.fade{opacity:0;transition:opacity .6s}
.msg{opacity:0;transform:translateY(10px);transition:opacity .4s,transform .4s cubic-bezier(.2,.8,.3,1)}
.msg.on{opacity:1;transform:none}
.u-msg{align-self:flex-end;max-width:236px;background:var(--peach);border-radius:14px;padding:10px 14px;font-weight:500;font-size:13px;line-height:19px}
.a-msg{display:flex;flex-direction:column;gap:10px}
.author{display:flex;align-items:center;gap:8px;font-weight:600;font-size:11.5px;color:var(--muted)}
.author i{width:22px;height:22px;border-radius:50%;background:var(--peach);color:var(--orange);display:grid;place-items:center}
.author i .ico{width:12px;height:12px}
.typing{display:flex;gap:4px;padding:6px 0 2px}
.typing span{width:6px;height:6px;border-radius:50%;background:#ccc;animation:bob 1s infinite ease-in-out}
.typing span:nth-child(2){animation-delay:.15s}.typing span:nth-child(3){animation-delay:.3s}
@keyframes bob{0%,80%,100%{transform:translateY(0);opacity:.5}40%{transform:translateY(-4px);opacity:1}}
.steps{background:var(--canvas);border:1px solid var(--line);border-radius:12px;padding:11px 12px;display:flex;flex-direction:column;gap:8px}
.step{display:flex;align-items:center;gap:8px;font-weight:500;font-size:12.5px;line-height:18px;color:var(--muted);transition:color .25s}
.step .ico{width:15px;height:15px;color:#cfcfcf}
.step.run{color:var(--ink);font-weight:600}
.step.run .ico{color:var(--orange);animation:spin 1s linear infinite}
.step.done{color:var(--ink)}
.step.done .ico{color:var(--ink)}
@keyframes spin{to{transform:rotate(360deg)}}
.fin p{font-weight:500;font-size:13px;line-height:19px}
.bul{display:flex;gap:8px;font-weight:500;font-size:12.5px;line-height:18px;color:#525252;margin-top:6px}
.bul::before{content:"";width:4px;height:4px;border-radius:50%;background:var(--orange);margin-top:7px;flex:none}
.acts{display:flex;gap:6px;margin-top:12px}
.acts span{white-space:nowrap;height:30px;display:inline-flex;align-items:center;gap:6px;padding:0 11px 0 9px;border-radius:8px;font-weight:600;font-size:12px;color:#666}
.acts span:first-child{border:1px solid var(--line);color:var(--ink)}
.acts .ico{width:13px;height:13px}

.input{position:absolute;left:21px;right:21px;bottom:11px;height:140px;border:1px solid var(--line);border-radius:12px;background:#fff;padding:11px 10px;transition:border-color .25s,box-shadow .25s}
.input.focus{border-color:#ffb08f;box-shadow:0 0 0 3px rgba(255,101,41,.1)}
.input .ph{position:absolute;left:10px;top:11px;font-weight:500;font-size:12.5px;color:var(--muted);transition:opacity .15s}
.input.has .ph{opacity:0}
.input .txt{font-weight:500;font-size:13px;line-height:19px;color:var(--ink);min-height:19px}
.caret{display:inline-block;width:1.5px;height:15px;background:var(--orange);vertical-align:-2px;margin-left:1px;opacity:0}
.input.focus .caret{opacity:1;animation:blink 1s steps(1) infinite}
@keyframes blink{50%{opacity:0}}
.input .bar{position:absolute;left:12px;right:10px;bottom:10px;display:flex;align-items:center;justify-content:space-between}
.input .plus{width:15px;height:15px;color:#666}
.send{width:26px;height:26px;border-radius:50%;background:var(--peach);color:var(--orange);display:grid;place-items:center;position:relative;transition:background .25s,color .25s,transform .15s}
.send .ico{width:13px;height:13px;position:absolute;transition:opacity .2s,transform .2s}
.send .i-up{opacity:0;transform:translateY(4px)}
.input.has .send{background:var(--orange);color:#fff}
.input.has .send .i-mic{opacity:0}
.input.has .send .i-up{opacity:1;transform:none}
.send.press{transform:scale(.85)}

.log>*{flex:none}
.ts{font-weight:500;font-size:11px;line-height:14px;color:var(--muted);margin-top:-6px}
.u-msg{margin-left:24px}
.a-msg .main{font-weight:500;font-size:13px;line-height:19px;color:var(--ink)}
.a-msg .sec{font-weight:500;font-size:13px;line-height:19px;color:#525252}
.wait{display:flex;align-items:center;gap:10px;padding:11px;background:var(--canvas);border:1px solid var(--line);border-radius:12px}
.wait .c{width:28px;height:28px;border-radius:50%;background:var(--peach);color:var(--orange);display:grid;place-items:center;flex:none}
.wait .c .ico{width:16px;height:16px}
.wait div{flex:1}
.wait b{display:block;font-weight:700;font-size:12.5px;line-height:17px}
.wait small{display:block;font-weight:500;font-size:11.5px;line-height:15px;color:var(--muted)}
.wait>.ico{width:15px;height:15px;color:var(--orange);transition:transform .3s}
.wait.ok .c{background:#e7f5ec;color:#1f8a4c}
.quote{display:flex;background:#f5f5f5;border-radius:10px;overflow:hidden}
.quote::before{content:"";width:3px;background:var(--orange);flex:none}
.quote div{padding:9px 12px}
.quote b{display:block;font-weight:700;font-size:11.5px;line-height:16px}
.quote span{display:block;font-weight:500;font-size:12.5px;line-height:17px;color:#525252}
.tbl{border:1px solid var(--line);border-radius:10px;overflow:hidden;font-size:11px;line-height:14px}
.tbl>div{display:grid;grid-template-columns:84px 84px 1fr;border-top:1px solid var(--line)}
.tbl>div:first-child{border-top:0;background:var(--canvas)}
.tbl span{padding:6px 7px;font-weight:500;hyphens:auto;-webkit-hyphens:auto;overflow-wrap:break-word}
.tbl span:first-child,.tbl>div:first-child span{font-weight:700}
.tbl span:nth-child(2){color:var(--muted)}
.tbl>div:first-child span{color:var(--ink)}
.next{display:flex;align-items:center;gap:8px;padding:9px 12px;background:#fff7f3;border:1px solid var(--orange);border-radius:10px;font-weight:600;font-size:12.5px;line-height:17px}
.next span{flex:1}
.next .ico{width:13px;height:13px;color:var(--orange)}

/* ---------- Responsive ---------- */
@media (max-width:1180px){
  .hero-top{flex-direction:column;align-items:flex-start;gap:28px}
  .shell{margin-top:48px}
}
@media (max-width:640px){
  .shell{padding:8px;border-radius:22px}
  .screen{border-radius:16px}
}
@media (prefers-reduced-motion:reduce){
  .title{animation:none}
}

/* =====================================================================
   Content below the first screen
   ===================================================================== */
.page{--ring-w:12px;--card-gap:24px;--blk-gap:160px;--sec-pad:120px;background:#f4f4f4;color:#0a0a0a;font-family:var(--font)}
.page .ico svg{stroke-width:1.6}
.h2x{font-weight:500;font-size:clamp(34px,3.35vw,48px);line-height:1.1;letter-spacing:-.02em;color:#0a0a0a;text-wrap:balance}
.h3x{font-weight:500;font-size:clamp(28px,2.8vw,40px);line-height:1.1;letter-spacing:-.02em;color:#0a0a0a}
.muted{font-weight:400;font-size:15px;line-height:1.5;color:rgba(0,0,0,.55);text-wrap:pretty}
.head-row{display:flex;gap:80px;align-items:flex-end}
.head-row .h2x{flex:none;width:min(710px,100%)}
.head-row .muted{flex:1;min-width:0}
.blk-gap{margin-top:var(--blk-gap)}
/* +48 к прежним отступам — под закреплённую капсулу шапки (14 + 60px) */
.anchor{scroll-margin-top:96px}
.anchor.rv:not(.in){scroll-margin-top:124px}
#contacts{scroll-margin-top:0}
.rv{opacity:0;transform:translateY(28px);transition:opacity .8s ease,transform .9s cubic-bezier(.2,.8,.2,1)}
.rv.in{opacity:1;transform:none}

/* ---------- 01 · Одна система ---------- */
.s-system{padding:var(--blk-gap) 0 var(--sec-pad)}
/* ---- «Одна система»: текст слева, кадр справа (Figma 54:38910) ----
   Разметка — templates/pages/landing-os.mjs. Колонки равные, высоту ряда
   задаёт кадр (584×565 в макете), текст растянут на неё: заголовок со списком
   сверху, кнопка снизу. */
.os{display:flex;gap:80px;align-items:stretch}
.os-copy{flex:1 1 0;min-width:0;display:flex;flex-direction:column;justify-content:space-between;gap:40px}
.os-top{display:flex;flex-direction:column;gap:44px}
.os-head{display:flex;flex-direction:column;gap:40px}
.os-title{font-weight:500;font-size:clamp(34px,3.35vw,48px);line-height:1.1;letter-spacing:-.02em;color:#0a0a0a;text-wrap:balance}
/* список — как галочки блока shift основного сайта */
.os-list{list-style:none;display:flex;flex-direction:column;gap:16px}
.os-list li{display:flex;align-items:center;gap:12px;font-size:15px;font-weight:500;line-height:1.5;color:#0a0a0a}
.os-list svg{flex:none;width:16px;height:16px}
.os-cta{align-self:flex-start;height:48px;display:inline-flex;align-items:center;padding:0 24px;border-radius:24px;background:#121212;color:#fff;
  font-weight:600;font-size:15px;transition:transform .2s,background .2s}
.os-cta:hover{transform:translateY(-1px);background:#000}

/* кадр: фон-клавиши во всю панель, поверх — прозрачный png с окном чата;
   картинка стоит по центру и занимает ту же долю панели, что в макете */
.os-panel{flex:1 1 0;min-width:0;aspect-ratio:584/565;position:relative;border-radius:24px;overflow:hidden;background:#f0703a;container-type:inline-size}
.os-bg,.os-bg picture{position:absolute;inset:0;display:block}
.os-bg img{width:100%;height:100%;object-fit:cover;object-position:0 0}
/* Сцена — кадр макета 584×565 в долях ширины панели (cqw = 5.84px макета),
   поэтому композиция одинаково масштабируется на любом экране. Если панель
   выше кадра (текст слева длиннее), сцена стоит по вертикали в центре.
   Окно чата в svg — 731×660 в левом верхнем углу; в макете оно 461px шириной
   с левым верхним углом в (63, 76). Рамка — на 12px шире окна со всех сторон. */
.os-stage{position:absolute;left:0;right:0;top:50%;height:96.747cqw;margin-top:-48.374cqw}
.os-glass{position:absolute;left:8.733cqw;top:10.959cqw;width:83.048cqw;height:75.34cqw;border-radius:3.425cqw;
  background:rgba(255,255,255,.18);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);box-shadow:inset 0 0 0 1px rgba(255,255,255,.22)}
.os-shot{position:absolute;left:10.788cqw;top:13.014cqw;width:91.03cqw;height:auto;display:block}

@media (max-width:1023px){
  .os{flex-direction:column;gap:48px}
  .os-copy{gap:32px}
  .os-top{gap:32px}
  .os-head{gap:20px}
  .os-panel{flex:none;width:100%}
}
@media (max-width:640px){
  .os{gap:32px}
  .os-list li{align-items:flex-start}
  .os-list svg{margin-top:4px}
  .os-cta{align-self:stretch;justify-content:center}
  .os-panel{border-radius:20px}
}

/* ---------- Агенты ---------- */
.ag-visual{position:relative;height:560px;border-radius:24px;overflow:hidden;margin-top:64px;
  background:linear-gradient(180deg,rgba(255,101,41,0) 0%,rgba(255,101,41,.08) 100%),var(--img-hero) center 35%/cover no-repeat;}
.ag-visual::after{content:"";position:absolute;left:0;right:0;bottom:0;height:123px;background:linear-gradient(180deg,rgba(236,99,36,0),rgba(236,99,36,.35))}
.glass{position:absolute;left:50%;top:28px;width:527px;height:505px;margin-left:-263.5px;border-radius:24px;background:rgba(255,255,255,.14);
  -webkit-backdrop-filter:blur(32px);backdrop-filter:blur(32px);border:1px solid rgba(255,255,255,.22);z-index:1;transform-origin:50% 0;transform:scale(var(--fs,1))}
.diag{position:absolute;inset:0}
.diag svg.wires{position:absolute;inset:0;overflow:visible}
.diag svg.wdots{z-index:2;pointer-events:none}
.diag circle{filter:drop-shadow(0 0 2px rgba(255,255,255,.9))}
.wires path{fill:none;stroke-width:1.15}
.wires .flow{stroke-width:2.2;stroke-linecap:round;stroke-dasharray:3 140;animation:flow 2.8s linear infinite}
.wires .flow.up{animation-name:flowUp}
@keyframes flow{from{stroke-dashoffset:143}to{stroke-dashoffset:0}}
@keyframes flowUp{from{stroke-dashoffset:0}to{stroke-dashoffset:143}}
.gpill{position:absolute;height:30px;display:flex;align-items:center;gap:6px;padding:0 14px 0 16px;border-radius:26px;background:rgba(255,255,255,.82);border:1px solid rgba(0,0,0,.08);font-size:11.4px;color:#0a0a0a;white-space:nowrap;box-shadow:0 2px 8px rgba(120,40,0,.08)}
.gpill .ico{width:14px;height:14px}
.pcard{position:absolute;left:173px;top:186px;width:182px;height:143px;border-radius:23px;background:rgba(255,255,255,.82);border:1px solid rgba(0,0,0,.12);display:flex;flex-direction:column;align-items:center;text-align:center;padding-top:14px;box-shadow:0 10px 30px rgba(140,40,0,.15)}
.pcard b{font-weight:600;font-size:13px;margin-top:4px}
.pcard small{font-size:9.1px;line-height:1.5;color:rgba(10,10,10,.6);margin-top:4px}
.llm{position:absolute;top:380px;width:84px;height:84px;border-radius:50%;background:rgba(255,255,255,.82);border:1px solid rgba(0,0,0,.08);display:grid;place-items:center;font-weight:500;font-size:10.8px;color:#0a0a0a;box-shadow:0 6px 18px rgba(140,40,0,.12);transition:transform .3s}
.llm:hover{transform:translateY(-3px)}
.llm span{display:flex;align-items:center;gap:5px}
.llm i{width:8px;height:8px;border-radius:50%}
.dark3{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--card-gap);margin-top:var(--card-gap)}
.dcard{background:#121212;border-radius:24px;padding:24px;min-height:280px;color:#fff;display:flex;flex-direction:column;transition:background .3s}
.dcard:hover{background:#171717}
.ibox{width:40px;height:40px;border-radius:10px;border:1px solid rgba(255,255,255,.16);display:grid;place-items:center;flex:none}
.ibox .ico{width:18px;height:18px}
.dcard h3{font-weight:400;font-size:17px;line-height:1.5;margin-top:38px}
.dcard p{font-size:17px;line-height:1.5;color:rgba(255,255,255,.5);margin-top:12px}

/* ---------- BPMN ---------- */
.bpmn-t{text-align:center;font-weight:500;font-size:32px;line-height:1.1;letter-spacing:-.02em}
/* подводка: блок продолжает рассказ об агентах — один из них, агент процессов */
.bpmn-lead{text-align:center;max-width:680px;margin:16px auto 0}
.bp4{display:grid;grid-template-columns:repeat(4,1fr);gap:var(--card-gap);margin-top:60px}
.bcard{background:#fff;border-radius:20px;padding:24px;min-height:208px;display:flex;flex-direction:column;transition:transform .35s cubic-bezier(.2,.8,.2,1),box-shadow .35s}
.bcard:hover{transform:translateY(-3px);box-shadow:0 18px 36px rgba(0,0,0,.06)}
.bcard .ibox{border-color:#e6e6e6;color:#0a0a0a}
.bcard h3{font-weight:400;font-size:16.6px;line-height:24.6px;margin-top:auto}
.bcard p{font-weight:300;font-size:16.9px;line-height:24.6px;color:rgba(0,0,0,.5)}

/* ---------- Референт ---------- */
.ref{position:relative;height:540px;border-radius:24px;background:#fff;overflow:hidden;display:flex;align-items:center}
.ref-copy{position:relative;z-index:2;padding-left:80px;width:646px}
.ref-copy .ey{font-size:13px;color:#999;margin-bottom:18px}
.ref-copy h2{font-weight:600;font-size:clamp(34px,3.2vw,44px);line-height:1.15;letter-spacing:-.02em}
.ref-copy h2 span{color:#ff6529}
.ref-copy p{font-size:15px;line-height:1.5;color:#0a0a0a;max-width:424px;margin-top:40px}
.swirl{position:absolute;right:-150px;top:-170px;width:780px;height:780px;z-index:0;pointer-events:none;
  background:url('../img/landing-sphere.webp') center/contain no-repeat;
  filter:drop-shadow(0 40px 60px rgba(200,60,10,.18));animation:swirl 180s linear infinite;will-change:transform}
@keyframes swirl{to{transform:rotate(360deg)}}
.ref::before{content:"";position:absolute;left:380px;top:-40px;width:520px;height:640px;z-index:1;pointer-events:none;
  background:linear-gradient(110deg,rgba(255,255,255,1) 20%,rgba(255,255,255,.6) 55%,rgba(255,255,255,0) 85%);transform:rotate(18deg)}
.ctable{position:absolute;left:683px;top:85px;width:533px;height:325px;border-radius:22px;border:3px solid rgba(255,255,255,.95);z-index:2;
  background:linear-gradient(135deg,rgba(220,90,50,.62),rgba(190,70,40,.55));-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);
  padding:22px 26px;color:#fff;font-family:var(--ui);box-shadow:0 30px 60px rgba(150,40,0,.18)}
.ct-h,.ct-r{display:grid;grid-template-columns:1.3fr 1fr 1.2fr .95fr;align-items:center}
.ct-h{font-weight:600;font-size:8.5px;letter-spacing:.8px;color:rgba(255,255,255,.75);text-transform:uppercase;margin-bottom:8px}
.ct-r{height:46px;font-weight:500;font-size:10.5px}
.ct-r .cp{display:flex;align-items:center;gap:10px}
.ct-r .lg{width:24px;height:24px;border-radius:6px;display:grid;place-items:center;font-weight:700;font-size:7.5px;color:#fff}
.ct-r .lg .ico{width:13px;height:13px}
.ct-r .ow{display:flex;align-items:center;gap:6px}
.ct-r .ow .ico{width:10px;height:10px}
.ct-r .dt{color:rgba(255,255,255,.85);display:flex;align-items:center;gap:5px}
.ct-r .dt .ico{width:10px;height:10px}
.avatar{position:absolute;left:562px;top:310px;width:145px;height:145px;border-radius:50%;z-index:3;overflow:hidden;
  background:radial-gradient(circle at 50% 38%,#f6d6c2 0 22%,transparent 23%),radial-gradient(ellipse at 50% 92%,#e8e3dd 0 40%,transparent 41%),linear-gradient(160deg,#cfd8de,#9fb0ba);
  box-shadow:0 0 0 6px #fff,0 20px 40px rgba(0,0,0,.12);display:grid;place-items:center}
.avatar img{width:100%;height:100%;object-fit:cover}
.bubble{position:absolute;left:697px;top:361px;width:460px;min-height:97px;border-radius:50px;background:#111;color:#fff;z-index:2;
  display:flex;align-items:center;gap:16px;padding:18px 40px 18px 58px;box-shadow:0 20px 40px rgba(0,0,0,.18)}
.bubble .ico{width:24px;height:24px;flex:none;color:#fff}
.bubble b{display:block;font-weight:600;font-size:20px;line-height:1.25}
.bubble small{display:block;font-size:12.5px;line-height:1.4;color:rgba(255,255,255,.85);margin-top:6px}
.typer::after{content:"";display:inline-block;width:2px;height:1em;background:#ff6529;margin-left:2px;vertical-align:-2px;animation:blink 1s steps(1) infinite}

.ref-art{position:absolute;inset:0;z-index:1}

/* ---------- Безопасность ---------- */
.sec-t{text-align:center;max-width:720px;margin:0 auto}
.sec-t p{font-size:16px;line-height:1.6;color:rgba(0,0,0,.5);margin-top:16px}
.sg{display:grid;grid-template-columns:1fr 1fr;gap:56px var(--card-gap);margin-top:56px}
.scard{background:#0a0a0a;border-radius:24px;overflow:hidden;color:#fff;display:flex;flex-direction:column;min-height:442px}
.scard .vis{position:relative;height:280px;overflow:hidden}
.scard .txt{padding:0 24px 32px}
.scard h3{font-weight:400;font-size:20px;line-height:1.3}
.scard p{font-size:16px;line-height:1.55;color:rgba(255,255,255,.5);margin-top:12px}
.stage5>svg{position:absolute;inset:0;width:100%;height:100%}
.stage5{position:absolute;left:50%;top:0;width:576px;height:280px;margin-left:-288px}
.node{position:absolute;padding:9px 12px;border-radius:7px;background:#17181a;border:1px solid #26282b;font-family:var(--ui);font-size:10.5px;line-height:1.35;color:#eee;box-shadow:0 6px 18px rgba(0,0,0,.5)}
.node small{display:block;color:#7c7f84;font-size:9px}
.node::after{content:"";position:absolute;right:6px;top:6px;width:4px;height:4px;border-radius:50%;background:#555}
.node.hot{border-color:#4caf50;background:#141a13;box-shadow:0 0 0 1px rgba(76,175,80,.25),0 0 40px rgba(76,175,80,.18)}
.node.hot::after{background:#ff8a3d;box-shadow:0 0 8px #ff8a3d;width:6px;height:6px;right:7px;top:7px}
.node.hot small{color:#c9d6c5}
.tg-panel{position:absolute;left:16%;right:16%;top:50px;height:260px;border-radius:12px;background:#121315;border:1px solid rgba(255,101,41,.55);font-family:var(--ui);padding:0 0 0 0;
  -webkit-mask:linear-gradient(#000 70%,transparent 96%);mask:linear-gradient(#000 70%,transparent 96%)}
.tg-panel .h{display:flex;justify-content:space-between;align-items:center;padding:20px 16px;border-bottom:1px solid #222;font-weight:600;font-size:12px}
.tg-panel .h .ico{width:12px;height:12px;color:#777}
.tg-panel .it{margin:14px 14px;border:1px solid #26282b;border-radius:8px;padding:10px;display:flex;gap:10px;align-items:center;background:#17181a}
.tg-panel .it span{width:26px;height:26px;border-radius:6px;background:#2a1b14;color:#ff6529;display:grid;place-items:center}
.tg-panel .it span .ico{width:13px;height:13px}
.tg-panel .it b{display:block;font-weight:600;font-size:10px}
.tg-panel .it small{display:block;font-size:8.5px;color:#777}
.tg-panel .row{display:flex;justify-content:space-between;align-items:center;margin:0 14px;padding:8px 0;border-bottom:1px solid #222;font-size:8.5px;color:#888}
.tg-panel .row em{font-style:normal;color:#ff6529;background:#2a1b14;border-radius:4px;padding:2px 5px;font-size:8px}
.tg-panel .lab{margin:12px 14px 0;font-size:8px;color:#777}
.tg-panel .val{margin:4px 14px 0;font-size:10px;color:#ddd;height:auto;padding:0;background:none;display:block}
.vlabel{position:absolute;font-family:var(--ui);font-size:11px;color:#9a9a9a}
.vlabel.g{color:#4caf50}
.okc{position:absolute;width:22px;height:22px;border-radius:50%;background:#ff6529;display:grid;place-items:center;color:#fff;box-shadow:0 0 0 6px rgba(255,101,41,.18),0 0 26px rgba(255,101,41,.7)}
.okc .ico{width:13px;height:13px}
.okc svg{stroke-width:2.6!important}
.ver{position:absolute;font-family:var(--ui);font-size:12px;line-height:1.3;color:#8a8a8a}
.ver b{display:block;font-weight:600;color:#fff}
.ver small{display:block;font-size:10.5px}
.ver.v4 small{color:#9a9a9a}
.ver.rb b{color:#fff}.ver.rb small{color:#4caf50}
.rbi{position:absolute;color:#4caf50;width:16px;height:16px;animation:spinBack 3s cubic-bezier(.6,0,.2,1) infinite}
@keyframes spinBack{0%,60%{transform:rotate(0)}100%{transform:rotate(-360deg)}}
.pulse{animation:pulse 2.4s ease-in-out infinite}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.45}}

/* ---------- Что можно создать ---------- */
.s-build{background:#fff;padding:var(--sec-pad) 0 0;overflow:hidden}
.s-build .muted{font-size:16px;color:#666;max-width:720px;margin-top:16px;line-height:1.6}
/* лента — общая карусель сайта (components/carousel.css, behaviors/carousel.js),
   как у блока build в английской версии: закольцована и тянется мышью */
.build-cards{margin-top:48px}
.bcard2{flex:none;width:min(864px,86vw);aspect-ratio:864/500;border-radius:20px;overflow:hidden;position:relative;user-select:none;scroll-snap-align:start;
  background:linear-gradient(139.23deg,#f9b98b 20.96%,#ca4818 78.19%)}
.bcard2 .inner{position:absolute;left:0;top:0;width:864px;height:500px;transform-origin:0 0;transform:scale(var(--cs,1))}
.bcard2 .inner>h3{position:absolute;left:40px;top:40px;font-weight:500;font-size:24px;line-height:30px;color:#030404}
/* стеклянный лист уходит за нижний край карточки, окно приложения — в нём */
.bcard2 .sheet{position:absolute;left:28px;top:100px;width:808px;height:430px;background:#fff;border:1.5px solid #e5e5e5;border-radius:24px;box-shadow:0 24px 64px rgba(0,0,0,.08)}
.bcard2 .win{position:absolute;left:10.5px;top:10.5px;width:784px;height:418px;background:#fff;border:1px solid #ebebeb;border-radius:18px;overflow:hidden;
  font-family:var(--ui);color:#171717}
.page :focus-visible{outline:2px solid #ff6529;outline-offset:3px}

/* ---------- CTA ---------- */
.s-cta{background:#fff;padding:var(--blk-gap) 0 0}
.cta-card{position:relative;min-height:727px;border-radius:32px;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:48px;padding:80px 128px 80px 125px;
  background:linear-gradient(90deg,rgba(190,70,25,.35) 0%,rgba(190,70,25,0) 45%),var(--img-cta) center/cover no-repeat;background-color:#e0652e;color:#fff}
.cta-orb{position:absolute;border-radius:50%;background:radial-gradient(circle at 35% 30%,#ffc2a0,#ff8a52 45%,#e85c26 80%);filter:blur(1px);opacity:.9;animation:float 9s ease-in-out infinite}
@keyframes float{50%{transform:translateY(-14px)}}
.cta-copy{position:relative;z-index:1;max-width:420px;align-self:flex-start;margin-top:36px}
.cta-copy .ey{font-weight:600;font-size:13px}
.cta-copy h2{font-weight:500;font-size:clamp(36px,3.4vw,44px);line-height:1.1;letter-spacing:-.02em;margin-top:18px}
.cta-copy p{font-size:18px;line-height:1.5;color:rgba(255,255,255,.88);margin-top:28px}
.price{position:relative;z-index:1;width:472px;flex:none;background:#08090a;border-radius:24px;padding:40px;box-shadow:0 40px 80px rgba(80,20,0,.3)}
.pbox{background:#242424;border-radius:8px;padding:30px 20px 24px;text-align:center}
.pbox div{display:flex;align-items:center;justify-content:center;gap:12px}
.pbox b{font-weight:500;font-size:40px;letter-spacing:-.02em;color:#ff6529}
.pbox em{font-style:normal;font-size:12px;color:#ff8a5c;background:rgba(255,101,41,.15);border-radius:6px;padding:4px 8px}
.pbox small{display:block;font-size:12px;color:#8a8a8a;margin-top:14px}
.price hr{border:0;border-top:1px solid #1d1e20;margin:24px -40px}
.plist{list-style:none;display:flex;flex-direction:column;gap:14px}
.plist li{display:flex;gap:12px;align-items:flex-start;font-size:15px;line-height:1.45;color:#eee}
.plist .ico{width:16px;height:16px;color:#8a8a8a;margin-top:3px}
.pbtn{display:flex;align-items:center;justify-content:center;height:46px;border-radius:999px;background:#fff;color:#0a0a0a;font-weight:500;font-size:15px;margin-top:28px;transition:transform .2s,background .2s}
.pbtn:hover{background:#ffede5;transform:translateY(-1px)}
.perks{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:8px;padding:12px 0;flex-wrap:wrap}
.perks div{display:flex;align-items:center;gap:8px;font-size:13px;line-height:1.5;white-space:nowrap}
.perks b{font-weight:500}
.perks span{color:rgba(10,10,10,.5)}
.perks .ico{width:16px;height:16px;color:#ff6529}
.perks hr{width:1px;height:14px;border:0;background:rgba(10,10,10,.12)}

/* ---------- Хлебные крошки внутренних страниц (landing-shell.mjs, crumbs) ----------
   Как у страниц кейсов основного сайта (v2, css/pages/cases.css). Тёмный
   вариант — в css/pages/landing-price.css. */
.crumbs{display:flex;flex-wrap:wrap;gap:10px;font-size:var(--fs-sm);line-height:1.5}
.crumbs a{color:var(--text-muted);transition:color .15s ease}
.crumbs a:hover{color:var(--ink)}
.crumbs__sep{color:rgba(0,0,0,.25)}
.crumbs__cur{font-weight:500;color:var(--ink)}

/* ---------- Тарифы ----------
   Карточки по умолчанию чёрные; при наведении проявляется фон-картинка
   с затемнением 30 %. Кадрирование — как в Figma (149:4684): размер
   и положение фона пересчитаны из рамки картинки внутри карточки. */
.s-tariffs{background:#fff;padding:var(--sec-pad) 0 0}
.tf-head{display:flex;align-items:flex-end;justify-content:space-between;gap:48px}
.tf-head>div{max-width:780px}
.tf-head .muted{font-size:17px;color:rgba(0,0,0,.5);margin-top:16px}
.tf-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:60px}
.tf-card{position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;gap:24px;padding:32px;border-radius:24px;
  background:#08090a;border:1px solid rgba(10,10,10,.07);color:#fff}
.tf-card::before{content:"";position:absolute;inset:0;z-index:-1;opacity:0;transform:scale(1.03);
  background:linear-gradient(rgba(0,0,0,.3),rgba(0,0,0,.3)),var(--tf-img) var(--tf-pos)/var(--tf-size) no-repeat;
  transition:opacity .5s ease,transform .8s cubic-bezier(.2,.8,.2,1)}
.tf-card:hover::before,.tf-card:focus-within::before{opacity:1;transform:none}
.tf-card--accounts{--tf-img:url('../img/landing-tariff-accounts.webp');--tf-size:165% auto;--tf-pos:14% 21%}
.tf-card--tokens{--tf-img:url('../img/landing-tariff-tokens.webp');--tf-size:162% auto;--tf-pos:88% 36%}
.tf-card--compute{grid-column:1/-1;--tf-img:url('../img/landing-tariff-compute.webp');--tf-size:100% auto;--tf-pos:0 29%}
.tf-card h3{font-weight:600;font-size:24px;line-height:1.25;letter-spacing:-.01em}
.tf-card ul{list-style:none}
.tf-card li{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:8px 0 20px}
.tf-name{min-width:0;line-height:1.5}
.tf-name b{display:block;font-weight:500;font-size:18px}
.tf-name span{display:block;font-size:15px;color:rgba(255,255,255,.65)}
.tf-price{display:flex;align-items:baseline;gap:8px;padding-top:14px;white-space:nowrap}
.tf-price b{font-weight:500;font-size:30px;line-height:1.1;letter-spacing:-.02em}
.tf-price span{font-size:14px;line-height:1.5}
.tf-note{font-size:14px;line-height:1.5;color:rgba(0,0,0,.5);margin-top:24px}
.tf-foot{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-top:40px}
.tf-reg{display:flex;flex-direction:column;gap:4px;font-size:14px;line-height:1.5;color:rgba(0,0,0,.5)}
.tf-reg nav{display:flex;flex-wrap:wrap;column-gap:24px}
.tf-reg a{transition:color .2s}
.tf-reg a:hover{color:#0a0a0a;text-decoration:underline;text-underline-offset:3px}
.tf-btns{display:flex;gap:12px;flex:none}
.tf-btn{display:inline-flex;align-items:center;height:48px;padding:0 24px;border-radius:24px;background:#fff;border:1px solid #dbdbdb;color:#0a0a0a;
  font-weight:600;font-size:15px;white-space:nowrap;transition:transform .2s,background .2s}
.tf-btn:hover{transform:translateY(-1px);background:#f4f4f4}
.s-tariffs .perks{margin-top:40px;padding:24px 0 0;border-top:1px solid rgba(10,10,10,.1)}
@media (prefers-reduced-motion:reduce){.tf-card::before{transition:none;transform:none}}
/* до 1023 px две карточки в ряд уже тесные — ставим все плашки друг под другом */
@media (max-width:1023px){
  .tf-grid{grid-template-columns:1fr}
  .tf-card,.tf-card--compute{--tf-size:cover;--tf-pos:center}
}

/* ---------- Подвал (ru) — Figma 132:88494, шаблон templates/pages/landing-footer.mjs ----------
   Колонки 420 / 280 / 420 с зазором 64 — ровно ширина .wrap (1248). Линия
   в верхней строке тянется между заголовком и кнопкой и прорисовывается
   при появлении строки (.rv → .in), как было в подвале исходного лендинга. */
/* сверху — тот же шаг, что между блоками лендинга (--blk-gap): от строки
   преимуществ до подвала столько же, сколько от карусели до карточки тарифа */
.rfoot{background:#fff;padding:var(--blk-gap) 0 40px}
/* у общего подвала (английская версия) — тот же шаг сверху вместо его 96px */
.page .footer__main .footer__inner{padding-top:var(--blk-gap)}
/* блок build основного сайта (английская версия) несёт свой нижний отступ 120px —
   на лендинге его съедает шаг до карточки тарифа, иначе вышло бы 280 вместо 160 */
.page .build__inner{padding-bottom:0}
.rfoot-in{display:flex;flex-direction:column;gap:80px}
.rfoot-main{display:flex;flex-direction:column;gap:64px}
.rfoot-top{display:flex;align-items:center;gap:40px}
.rfoot-top h2{font-weight:600;font-size:clamp(28px,2.8vw,40px);line-height:1.08;letter-spacing:-.02em;color:#0a0a0a;white-space:nowrap}
.rfoot-line{flex:1;min-width:48px;height:12px;position:relative}
.rfoot-line::before{content:"";position:absolute;left:0;right:1px;top:50%;height:1.5px;margin-top:-.75px;background:rgba(0,0,0,.3);transform-origin:0 50%;transform:scaleX(0);transition:transform 1.4s cubic-bezier(.65,0,.25,1)}
.rfoot-line::after{content:"";position:absolute;right:0;top:0;width:7px;height:12px;opacity:0;transition:opacity .4s 1.2s;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 12'%3E%3Cpath d='M.75.75 6 6 .75 11.25' fill='none' stroke='%23000' stroke-opacity='.3' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat}
.rfoot-top.in .rfoot-line::before{transform:scaleX(1)}
.rfoot-top.in .rfoot-line::after{opacity:1}
.rfoot-cta{flex:none;display:inline-flex;align-items:center;padding:10px 24px;border-radius:23px;background:linear-gradient(to left,#ff6529 5.5%,#f49b35 148%);
  color:#fff;font-weight:500;font-size:15px;line-height:1.5;white-space:nowrap;box-shadow:0 8px 20px rgba(255,101,41,.22);transition:transform .2s,box-shadow .2s}
.rfoot-cta:hover{transform:translateY(-1px);box-shadow:0 12px 26px rgba(255,101,41,.34)}
.rfoot-cols{display:grid;grid-template-columns:minmax(0,420fr) minmax(0,280fr) minmax(0,420fr);gap:64px}
.rfoot-col{display:flex;flex-direction:column;align-items:flex-start;gap:16px}
.rfoot-h{font-weight:600;font-size:14px;line-height:1.5;color:#0a0a0a}
.rfoot-link{font-size:13px;line-height:1.5;color:rgba(10,10,10,.75);transition:color .15s}
.rfoot-link:hover{color:#0a0a0a}
.rfoot-co{gap:24px}
.rfoot-cohead{display:flex;flex-direction:column;gap:16px}
.rfoot-coname{display:inline-flex;align-items:center;gap:8px;transition:color .15s}
.rfoot-coname:hover{color:#ff6529}
.rfoot-coname svg{width:9px;height:9px;flex:none}
.rfoot-lines{display:flex;flex-direction:column;gap:12px;font-size:14px;line-height:1.5;color:#0a0a0a}
.rfoot-lines a{transition:color .15s}
.rfoot-lines a:hover{color:#ff6529}
.rfoot-btn{display:inline-flex;align-items:center;justify-content:center;padding:12px 24px;border-radius:24px;border:1px solid #e7e7e7;background:#fff;
  color:#171717;font-weight:600;font-size:13px;line-height:1.5;white-space:nowrap;transition:border-color .15s,background-color .15s}
.rfoot-btn:hover{border-color:#cfcfcf;background:#fafafa}
.rfoot-meta{display:flex;align-items:flex-end;justify-content:space-between;gap:24px 40px;padding-top:32px;border-top:1px solid rgba(10,10,10,.1)}
.rfoot-it{display:flex;flex-direction:column;gap:4px;font-size:13px;line-height:1.5;color:#0a0a0a}
.rfoot-it span:first-child{color:rgba(10,10,10,.75)}
.rfoot-legal{display:flex;flex-wrap:wrap;gap:8px 24px}
.rfoot-legallink{font-size:13px;line-height:1.5;color:rgba(10,10,10,.7);white-space:nowrap;transition:color .15s}
.rfoot-legallink:hover{color:#0a0a0a}
@media (max-width:1023px){
  .rfoot-in{gap:56px}
  .rfoot-top h2{white-space:normal}
  /* компания уходит под «Ресурсы» и «Платформу Б3» на всю ширину */
  .rfoot-cols{grid-template-columns:repeat(2,minmax(0,1fr));gap:40px 48px}
  .rfoot-co{grid-column:1/-1}
}
@media (max-width:767px){
  .rfoot{padding-bottom:32px}
  .rfoot-main{gap:48px}
  .rfoot-top{flex-direction:column;align-items:stretch;gap:20px}
  .rfoot-line{display:none}
  .rfoot-cta{justify-content:center;padding:13px 24px}
  .rfoot-cols{grid-template-columns:minmax(0,1fr);gap:36px}
  .rfoot-btn{align-self:stretch}
  .rfoot-meta{flex-direction:column;align-items:flex-start}
}
@media (prefers-reduced-motion:reduce){
  .rfoot-line::before{transform:none;transition:none}.rfoot-line::after{opacity:1;transition:none}
}

/* ---------- Footer ---------- */
.gbtn{height:43px;padding:0 24px;border-radius:999px;display:inline-flex;align-items:center;font-size:15px;color:#fff;background:linear-gradient(90deg,#ff8f3f,#ff5a1f);box-shadow:0 8px 20px rgba(255,101,41,.28);transition:transform .2s,box-shadow .2s;white-space:nowrap}
.gbtn:hover{transform:translateY(-1px);box-shadow:0 12px 26px rgba(255,101,41,.38)}

/* ---------- Responsive ---------- */
@media (max-width:1180px){
  .page{--blk-gap:128px;--sec-pad:100px}
  .head-row{flex-direction:column;align-items:flex-start;gap:20px}
  .bp4{grid-template-columns:1fr 1fr}
  .dark3{grid-template-columns:1fr}
  .dcard{min-height:0}.dcard h3{margin-top:28px}
  .ref{height:auto;flex-direction:column;align-items:stretch;padding-bottom:0}
  .ref-copy{padding:56px 40px 0;width:auto}
  .ref-art{position:relative;width:640px;height:480px;margin-top:24px;transform-origin:0 0;transform:scale(var(--rs,1));margin-bottom:calc(480px * (var(--rs,1) - 1))}
  .ref::before{display:none}
  .ctable{left:80px;top:24px}.avatar{left:12px;top:250px}.bubble{left:150px;top:300px}
  .swirl{right:-260px;top:-120px}
  .cta-card{flex-direction:column;align-items:flex-start;padding:56px 40px}
  .cta-copy{margin-top:0}
  .price{width:100%}
  .perks{justify-content:flex-start}.perks hr{display:none}
  .tf-head{flex-direction:column;align-items:flex-start;gap:24px}
  .tf-foot{flex-direction:column}
}
@media (max-width:760px){
  .page{--blk-gap:72px;--sec-pad:64px}
  .bp4,.sg{grid-template-columns:1fr}
  .ag-visual{height:calc(505px * var(--fs,1) + 56px)}
  .scard{min-height:0}
  .sg{row-gap:40px}
  .cta-card{padding:40px 20px 20px;gap:32px;min-height:0;background-size:auto,cover;background-position:0 0,62% 50%}
  .price{padding:24px}.price hr{margin:22px -24px}
  .pbox{padding:24px 12px 20px}.pbox div{flex-wrap:wrap;gap:8px}.pbox b{font-size:34px}
  .perks div{white-space:normal;flex-wrap:wrap;column-gap:6px;row-gap:0}
  .tf-grid{margin-top:40px;gap:16px}
  .tf-card{padding:24px;gap:16px;border-radius:20px}
  .tf-card h3{font-size:22px}
  .tf-card li{flex-direction:column;gap:4px;padding:8px 0 16px}
  .tf-card li+li{border-top:1px solid rgba(255,255,255,.08);padding-top:16px}
  .tf-price{padding-top:0}.tf-price b{font-size:26px}
  .tf-reg nav{flex-direction:column;row-gap:6px;margin-top:8px}
  .tf-btns{width:100%}.tf-btn{flex:1;justify-content:center;padding:0 16px}
}
@media (prefers-reduced-motion:reduce){
  .rv{opacity:1;transform:none}
  .wires .flow,.swirl,.cta-orb,.rbi,.pulse{animation:none}
}

/* ---------- Откат в один клик (живая карточка) ---------- */
.scard.light{background:none;border-radius:0;overflow:visible;color:#0a0a0a;min-height:0;gap:24px}
.rb-vis{position:relative;aspect-ratio:612/350;border-radius:20px;overflow:hidden;
  background:radial-gradient(95% 105% at 34% -6%,#f4f3f1 0%,#f7c799 24%,#eb8c59 48%,#e1662f 68%,#c43c1c 100%),#ec6324}
.rb-glass{position:absolute;left:10.3%;top:6.3%;width:79.25%;height:87.7%;border-radius:26px;padding:var(--ring-w);background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.38);-webkit-backdrop-filter:blur(18px) saturate(1.2);backdrop-filter:blur(18px) saturate(1.2);box-shadow:0 30px 60px rgba(0,0,0,.35)}
.rb-screen{position:relative;width:100%;height:100%;border-radius:14px;overflow:hidden;background:#fff}
.rb-app{position:absolute;left:0;top:0;width:760px;height:473px;transform-origin:0 0;transform:scale(var(--k,.6));display:flex;font-family:var(--ui);color:#171717;background:#fff}
.scard.light .txt{padding:0}
.scard.light h3{font-weight:500;font-size:18px;line-height:1.3}
.scard.light p{font-size:14px;line-height:1.5;color:#62666d;margin-top:12px}

/* canvas */
.rb-pane{position:relative;width:532px;height:100%;border-right:1px solid #ebebeb;background:#fafafa;overflow:hidden}
.rb-ph{height:40px;display:flex;align-items:center;justify-content:space-between;padding:0 12px 0 16px;background:#fff;border-bottom:1px solid #ebebeb}
.rb-ph b{font-weight:700;font-size:14px}
.rb-ph span{display:flex;gap:6px;align-items:center;color:#555}
.rb-ib{width:28px;height:28px;border-radius:8px;display:grid;place-items:center;border:1px solid transparent;transition:background .25s,border-color .25s,color .25s}
.rb-ib .ico{width:15px;height:15px}
.rb-ib.on{background:#ffede5;border-color:#ffa47f;color:#ff6529}
.rb-area{position:absolute;left:0;right:0;top:40px;bottom:0;background-image:radial-gradient(circle,#d9d9d9 1px,transparent 1.2px);background-size:18px 18px}
.rb-form{position:absolute;left:28px;top:20px;width:300px;background:#fff;border:1px solid #ebebeb;border-radius:12px;box-shadow:0 4px 16px rgba(0,0,0,.06);overflow:hidden}
.rb-fh{display:flex;align-items:center;gap:8px;padding:11px 14px;border-bottom:1px solid #f0f0f0;font-weight:700;font-size:13px}
.rb-fh span{flex:1}
.rb-ver{font-weight:700;font-size:10px;color:#d34a17;background:#ffede5;border-radius:5px;padding:2px 7px;transition:background .3s,color .3s}
.rb-ver.rb-okv{background:#e7f5ec;color:#1f8a4c}
.rb-fb{padding:10px 14px 12px;display:flex;flex-direction:column;gap:9px}
.rb-blk{display:flex;flex-direction:column;gap:6px}
.rb-bl{font-weight:700;font-size:10px;color:#777;display:flex;align-items:center;gap:6px}
.rb-row{display:flex;gap:8px}
.rb-f{flex:1;min-width:0}
.rb-f label{display:block;font-weight:600;font-size:9px;color:#999;margin-bottom:3px}
.rb-f div{height:26px;border:1px solid #e8e8e8;border-radius:6px;display:flex;align-items:center;padding:0 8px;font-weight:500;font-size:11px;white-space:nowrap;overflow:hidden}
.rb-f label em{font-style:normal;color:#ff6529}
.rb-c{display:grid;grid-template-rows:0fr;transition:grid-template-rows .7s cubic-bezier(.65,0,.25,1)}
.rb-c>div{overflow:hidden;min-height:0}
.rb-c .rb-blk{border-radius:8px;padding:0;transition:opacity .4s,outline-color .4s,background .4s;outline:1.5px dashed transparent;outline-offset:3px;opacity:0}
.rb-c.rb-show{grid-template-rows:1fr}
.rb-c.rb-ghost .rb-blk{opacity:.5;outline-color:#9aa0a8}
.rb-c.rb-solid .rb-blk{opacity:1}
.rb-c.rb-flash .rb-blk{outline:1.5px solid #3aa64f;background:#f4fbf4}
.rb-tag{position:absolute;right:0;top:0;font-weight:600;font-size:9px;border-radius:5px;padding:2px 7px;opacity:0;transform:translateY(3px);transition:opacity .3s,transform .3s}
.rb-tag.on{opacity:1;transform:none}
.rb-tag.rb-pv{background:#fff;border:1px solid #c9cdd3;color:#555}
.rb-tag.rb-okt{background:#3aa64f;color:#fff}
.rb-ff{display:flex;justify-content:flex-end;gap:6px;padding:10px 14px;border-top:1px solid #f0f0f0}
.rb-ff span{height:24px;display:flex;align-items:center;padding:0 10px;border-radius:6px;font-weight:600;font-size:10px;border:1px solid #e8e8e8}
.rb-ff span:last-child{background:#171717;color:#fff;border-color:#171717}

/* versions panel */
.rb-hist{position:absolute;right:12px;top:52px;width:184px;background:#fff;border:1px solid #ebebeb;border-radius:12px;box-shadow:0 12px 30px rgba(0,0,0,.12);
  padding:12px 12px 6px;opacity:0;transform:translateX(16px);transition:opacity .35s,transform .45s cubic-bezier(.2,.8,.2,1);pointer-events:none}
.rb-hist.on{opacity:1;transform:none}
.rb-hh{display:flex;justify-content:space-between;align-items:center;font-weight:700;font-size:12px;margin-bottom:8px}
.rb-hh .ico{width:12px;height:12px;color:#999}
.rb-list{position:relative}
.rb-list::before{content:"";position:absolute;left:5px;top:8px;bottom:14px;width:1.5px;background:#ececec}
.rb-v{position:relative;display:grid;grid-template-columns:12px 1fr;gap:8px;padding:6px 6px 6px 0;border-radius:8px;transition:background .25s,opacity .4s,max-height .5s;max-height:80px}
.rb-v i{width:11px;height:11px;border-radius:50%;background:#fff;border:2px solid #c8c8c8;margin-top:2px;position:relative;z-index:1;transition:all .3s}
.rb-v b{display:flex;align-items:center;gap:6px;font-weight:700;font-size:11px}
.rb-v small{display:block;font-weight:500;font-size:9.5px;color:#888;line-height:1.35;margin-top:1px}
.rb-v em{font-style:normal;font-weight:700;font-size:8.5px;color:#d34a17;background:#ffede5;border-radius:4px;padding:1px 5px}
.rb-v.rb-now i{background:#ff6529;border-color:#ff6529}
.rb-v.hov{background:#f6f7f8}
.rb-v .rb-back{display:none;margin-top:6px;height:22px;align-items:center;justify-content:center;gap:5px;border-radius:6px;background:#171717;color:#fff;font-weight:600;font-size:10px;transition:transform .15s}
.rb-v .rb-back .ico{width:11px;height:11px}
.rb-v.hov .rb-back{display:flex}
.rb-back.press{transform:scale(.94)}
.rb-v.new{max-height:0;opacity:0;padding-top:0;padding-bottom:0;overflow:hidden}
.rb-v.new.on{max-height:80px;opacity:1;padding-top:6px;padding-bottom:6px}
.rb-v.new i{background:#3aa64f;border-color:#3aa64f}
.rb-v.new em{background:#e7f5ec;color:#1f8a4c}

/* toolbar */
.rb-tb{position:absolute;left:50%;bottom:12px;transform:translateX(-50%);display:flex;gap:2px;padding:4px;background:#fff;border-radius:10px;box-shadow:0 4px 14px rgba(0,0,0,.08)}
.rb-tb span{width:26px;height:26px;border-radius:7px;display:grid;place-items:center;color:#444}
.rb-tb span.on{background:#ffede5;color:#ff6529}
.rb-tb .ico{width:13px;height:13px}

/* chat */
.rb-chat{position:relative;flex:1;display:flex;flex-direction:column;min-width:0}
.rb-chh{height:48px;padding:0 14px;display:flex;flex-direction:column;justify-content:center;border-bottom:1px solid #ebebeb}
.rb-chh b{font-weight:700;font-size:13px}
.rb-chh small{font-weight:500;font-size:9.5px;color:#999}
.rb-log{flex:1;overflow:hidden;padding:12px 14px;display:flex;flex-direction:column;gap:9px}
.rb-log>*{flex:none}
.rb-u{align-self:flex-end;max-width:88%;background:#ffede5;border-radius:11px 11px 3px 11px;padding:7px 10px;font-weight:500;font-size:10.5px;line-height:1.4}
.rb-a{font-weight:500;font-size:10.5px;line-height:1.45;color:#333;display:flex;gap:7px;align-items:flex-start}
.rb-a>i{width:18px;height:18px;border-radius:50%;background:#ffede5;color:#ff6529;display:grid;place-items:center;flex:none}
.rb-a>i .ico{width:10px;height:10px}
.rb-a em{font-style:normal;font-weight:700;font-size:8.5px;color:#d34a17;background:#ffede5;border-radius:4px;padding:1px 5px;margin-left:4px;white-space:nowrap}
.rb-a.rb-oka em{background:#e7f5ec;color:#1f8a4c}
.rb-a.rb-oka>i{background:#e7f5ec;color:#1f8a4c}
.rb-new{opacity:0;transform:translateY(8px);transition:opacity .4s,transform .45s cubic-bezier(.2,.8,.2,1)}
.rb-new.on{opacity:1;transform:none}
.rb-in{position:relative;margin:0 12px 12px;height:62px;border:1px solid #ebebeb;border-radius:10px;padding:8px 36px 8px 10px;font-weight:500;font-size:10.5px;line-height:1.4;color:#171717;transition:border-color .25s,box-shadow .25s}
.rb-in.focus{border-color:#ffb08f;box-shadow:0 0 0 3px rgba(255,101,41,.1)}
.rb-ph2{position:absolute;left:10px;top:8px;color:#aaa}
.rb-in.has .rb-ph2{display:none}
.rb-caret{display:none;width:1.5px;height:11px;background:#ff6529;vertical-align:-1px;margin-left:1px}
.rb-in.focus .rb-caret{display:inline-block;animation:blink 1s steps(1) infinite}
.rb-send{position:absolute;right:8px;bottom:8px;width:22px;height:22px;border-radius:50%;background:#ffede5;color:#ff6529;display:grid;place-items:center;transition:background .2s,color .2s,transform .15s}
.rb-send .ico{width:11px;height:11px}
.rb-in.has .rb-send{background:#ff6529;color:#fff}
.rb-send.press{transform:scale(.85)}

/* cursor */
.rb-cur{position:absolute;left:0;top:0;z-index:9;pointer-events:none;opacity:0;transition:transform .85s cubic-bezier(.45,0,.2,1),opacity .3s}
.rb-cur.on{opacity:1}
.rb-cur svg{display:block;width:17px;height:17px;transition:transform .15s}
.rb-cur.click svg{transform:scale(.8)}
.rb-cur em{position:absolute;left:14px;top:15px;font-style:normal;background:#2f5bd3;color:#fff;border-radius:6px;padding:2px 7px;font-weight:600;font-size:10px;white-space:nowrap}
.rb-app.rb-reset,.rb-app.rb-reset *{transition:none!important}
.rb-fade{transition:opacity .5s}
.rb-app.rb-out .rb-fade{opacity:0}

/* ---------- Светлые карточки безопасности (интерфейс в рамке) ---------- */
.xs-app{position:absolute;left:0;top:0;width:760px;height:473px;transform-origin:0 0;transform:scale(var(--k,.6));font-family:var(--ui);color:#171717;background:#fff}
.xs-h{height:40px;display:flex;align-items:center;justify-content:space-between;padding:0 16px;border-bottom:1px solid #ebebeb;background:#fff}
.xs-h b{font-weight:700;font-size:14px}
.xs-h small{font-weight:600;font-size:10px;color:#999}
.xs-area{position:absolute;left:0;right:0;top:40px;bottom:0;background:#fafafa;background-image:radial-gradient(circle,#d9d9d9 1px,transparent 1.2px);background-size:18px 18px;overflow:hidden}
.xs-area>svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.xs-node{position:absolute;background:#fff;border:1px solid #e5e5e5;border-radius:10px;padding:11px 14px;font-size:12.5px;font-weight:600;line-height:1.35;box-shadow:0 4px 14px rgba(0,0,0,.05)}
.xs-node small{display:block;font-weight:500;font-size:10.5px;color:#999}
.xs-node::after{content:"";position:absolute;right:8px;top:8px;width:5px;height:5px;border-radius:50%;background:#cfcfcf}
.xs-node.hot{border:1.5px solid #3aa64f;background:#f6fbf6;box-shadow:0 0 0 5px rgba(58,166,79,.1),0 10px 30px rgba(58,166,79,.12);animation:xsHot 9s ease-in-out infinite}
.xs-node.hot small{color:#4f7d58}
.xs-node.hot::after{background:#ff6529;width:7px;height:7px;box-shadow:0 0 0 3px rgba(255,101,41,.18)}
@keyframes xsHot{0%,22%,92%,100%{transform:none}26%{transform:scale(.97)}30%{transform:none}}
.xs-pop{position:absolute;left:430px;top:250px;width:260px;background:#fff;border:1px solid #e5e5e5;border-radius:12px;box-shadow:0 14px 34px rgba(0,0,0,.12);padding:12px 14px;font-size:11px;opacity:0;transform:translateY(8px);animation:xsPop 9s ease-in-out infinite}
@keyframes xsPop{0%,28%{opacity:0;transform:translateY(8px)}34%,86%{opacity:1;transform:none}92%,100%{opacity:0;transform:translateY(8px)}}
.xs-pop b{display:block;font-weight:700;font-size:12px;margin-bottom:8px}
.xs-li{display:grid;grid-template-columns:38px 1fr;gap:6px;padding:6px 0;border-top:1px solid #f1f1f1;line-height:1.35}
.xs-li time{font-weight:600;color:#999}
.xs-li span em{font-style:normal;font-weight:700}
.xs-li span em.ai{color:#d34a17}
.xs-cur{position:absolute;left:0;top:0;z-index:5;pointer-events:none}
.xs-cur svg{display:block;width:17px;height:17px}
.xs-cur em{position:absolute;left:14px;top:15px;font-style:normal;background:#2f5bd3;color:#fff;border-radius:6px;padding:2px 7px;font-weight:600;font-size:10px;white-space:nowrap}
.xs-cur.g1{animation:xsCur1 9s cubic-bezier(.45,0,.2,1) infinite}
@keyframes xsCur1{0%{transform:translate(680px,420px);opacity:0}8%{opacity:1}22%,86%{transform:translate(560px,190px);opacity:1}94%,100%{transform:translate(680px,420px);opacity:0}}

/* permission */
.xs-panel{position:absolute;left:36px;top:28px;width:380px;height:380px;background:#fff;border:1px solid #e5e5e5;border-radius:12px;box-shadow:0 6px 20px rgba(0,0,0,.05);overflow:hidden;
  -webkit-mask:linear-gradient(#000 72%,transparent 98%);mask:linear-gradient(#000 72%,transparent 98%)}
.xs-panel .h{display:flex;justify-content:space-between;align-items:center;padding:16px;border-bottom:1px solid #f0f0f0;font-weight:700;font-size:13px}
.xs-panel .h .ico{width:13px;height:13px;color:#999}
.xs-panel .it{margin:14px;border:1px solid #ececec;border-radius:9px;padding:11px;display:flex;gap:10px;align-items:center}
.xs-panel .it>span{width:30px;height:30px;border-radius:7px;background:#ffede5;color:#ff6529;display:grid;place-items:center}
.xs-panel .it>span .ico{width:14px;height:14px}
.xs-panel .it b{display:block;font-weight:700;font-size:12px}
.xs-panel .it small{display:block;font-size:10px;color:#999}
.xs-panel .row{display:flex;justify-content:space-between;align-items:center;margin:0 14px;padding:10px 0;border-bottom:1px solid #f0f0f0;font-size:10.5px;color:#888}
.xs-panel .row em{font-style:normal;font-weight:700;color:#d34a17;background:#ffede5;border-radius:4px;padding:2px 6px;font-size:9.5px}
.xs-panel .lab{margin:14px 14px 0;font-size:9.5px;color:#999}
.xs-panel .val{margin:4px 14px 0;font-size:12px;font-weight:600;height:auto;padding:0;background:none;display:block;border-radius:0}
.xs-req{position:absolute;left:440px;top:72px;width:284px;background:#fff;border:1px solid #e5e5e5;border-radius:14px;box-shadow:0 18px 40px rgba(0,0,0,.12);padding:16px;font-size:11px;
  animation:xsReq 10s ease-in-out infinite}
@keyframes xsReq{0%,6%{opacity:0;transform:translateY(12px)}12%,90%{opacity:1;transform:none}96%,100%{opacity:0;transform:translateY(12px)}}
.xs-req .t{display:flex;align-items:center;gap:10px;font-weight:700;font-size:13px}
.xs-req .t>span{width:30px;height:30px;border-radius:50%;background:#ffede5;color:#ff6529;display:grid;place-items:center;flex:none}
.xs-req .t>span .ico{width:15px;height:15px}
.xs-req p{font-size:11px;line-height:1.5;color:#555;margin:10px 0 12px}
.xs-req p b{color:#171717}
.xs-who{display:flex;align-items:center;gap:8px;padding:9px 10px;border-radius:9px;background:#f7f7f7;font-weight:600;font-size:11px}
.xs-who i{width:22px;height:22px;border-radius:50%;background:#2f5bd3;color:#fff;display:grid;place-items:center;font-style:normal;font-weight:700;font-size:9px}
.xs-who small{margin-left:auto;font-weight:500;color:#999;font-size:10px}
.xs-st{position:relative;height:30px;margin-top:12px}
.xs-st>*{position:absolute;inset:0;display:flex;align-items:center;gap:6px}
.xs-btns span{height:30px;flex:1;border-radius:8px;display:grid;place-items:center;font-weight:600;font-size:11px;border:1px solid #e5e5e5}
.xs-btns span:first-child{background:#171717;color:#fff;border-color:#171717;animation:xsPress 10s infinite}
@keyframes xsPress{0%,52%,58%,100%{transform:none}55%{transform:scale(.95)}}
.xs-btns{animation:xsOut 10s infinite}
@keyframes xsOut{0%,56%{opacity:1}60%,100%{opacity:0}}
.xs-ok{justify-content:center;border-radius:8px;background:#e7f5ec;color:#1f8a4c;font-weight:700;font-size:11px;opacity:0;animation:xsIn 10s infinite}
.xs-ok .ico{width:13px;height:13px}
@keyframes xsIn{0%,58%{opacity:0}62%,100%{opacity:1}}
.xs-cur.g2{animation:xsCur2 10s cubic-bezier(.45,0,.2,1) infinite}
@keyframes xsCur2{0%,20%{transform:translate(700px,440px);opacity:0}26%{opacity:1}44%,56%{transform:translate(500px,283px);opacity:1}66%,100%{transform:translate(700px,440px);opacity:0}}

/* sandbox */
.xs-lbl{position:absolute;font-weight:600;font-size:12px;color:#888}
.xs-lbl.g{color:#2f8a3e}
.xs-chip{position:absolute;display:flex;align-items:center;gap:6px;background:#fff;border:1px solid #e5e5e5;border-radius:999px;padding:5px 11px 5px 8px;font-weight:600;font-size:11px;box-shadow:0 4px 12px rgba(0,0,0,.06);animation:xsChip 6s ease-in-out infinite}
.xs-chip .ico{width:13px;height:13px;color:#3aa64f}
@keyframes xsChip{0%,35%{opacity:0;transform:translateY(6px)}45%,90%{opacity:1;transform:none}100%{opacity:0}}
.xs-okc{position:absolute;width:30px;height:30px;border-radius:50%;background:#ff6529;color:#fff;display:grid;place-items:center;box-shadow:0 0 0 7px rgba(255,101,41,.15),0 0 26px rgba(255,101,41,.5)}
.xs-okc .ico{width:16px;height:16px}
.xs-okc svg{stroke-width:2.6!important}
@media (prefers-reduced-motion:reduce){
  .xs-node.hot,.xs-cur,.xs-btns,.xs-btns span,.xs-chip{animation:none!important}
  .xs-pop,.xs-req{animation:none!important;opacity:1;transform:none}
  .xs-ring{animation:none!important;opacity:1}
  .xs-cur{display:none}
  .xs-ok{animation:none;opacity:1}.xs-btns{opacity:0}
}

/* permission card on the 3D background */
.rb-vis.xs-permbg{background:var(--img-perm) center/cover no-repeat,#1a1214}
.xs-solo{position:absolute;left:0;top:0;width:612px;height:350px;transform-origin:0 0;transform:scale(var(--k,1));font-family:var(--ui);color:#171717}
.xs-solo .xs-ring{position:absolute;left:50%;top:50%;width:calc(300px + 2 * var(--ring-w) / var(--k,1));transform:translate(-50%,-50%);margin:0;padding:calc(var(--ring-w) / var(--k,1));border-radius:calc(26px / var(--k,1));
  background:rgba(255,255,255,.16);border:calc(1px / var(--k,1)) solid rgba(255,255,255,.38);-webkit-backdrop-filter:blur(18px) saturate(1.2);backdrop-filter:blur(18px) saturate(1.2);
  box-shadow:0 30px 60px rgba(0,0,0,.35);animation:xsRing 10s ease-in-out infinite}
@keyframes xsRing{0%,6%{opacity:0;transform:translate(-50%,calc(-50% + 12px))}12%,90%{opacity:1;transform:translate(-50%,-50%)}96%,100%{opacity:0;transform:translate(-50%,calc(-50% + 12px))}}
.xs-solo .xs-req{position:relative;left:auto;top:auto;width:auto;margin:0;animation:none;border:0;box-shadow:0 8px 24px rgba(0,0,0,.18)}
.xs-solo .xs-cur.g2{animation-name:xsCurSolo}
@keyframes xsCurSolo{0%,20%{transform:translate(560px,330px);opacity:0}26%{opacity:1}44%,56%{transform:translate(228px,266px);opacity:1}66%,100%{transform:translate(560px,330px);opacity:0}}

.rb-vis.bga{background:var(--img-bga) center/cover no-repeat,#0b0b0d}
.rb-vis.bgb{background:var(--img-bgb) center/cover no-repeat,#0b0b0d}
.rb-vis.bgc{background:var(--img-bgc) center/cover no-repeat,#0b0b0d}

/* ---------- Меньше промптов. Больше результата ---------- */
.s-tokens{position:relative;overflow:hidden;color:#fff;padding:120px 0;
  background:radial-gradient(70% 70% at 0% 10%,rgba(236,99,36,.85) 0%,rgba(236,99,36,.3) 55%,rgba(236,99,36,0) 100%),
    linear-gradient(90deg,rgba(237,140,92,.35),rgba(252,88,13,.35)),var(--img-hero) center/cover no-repeat,#08090a}
.tk{display:flex;gap:116px;align-items:flex-start;max-width:976px;margin:0 auto}
.tk-copy{flex:1;min-width:0;max-width:472px}
.tk-ey{font-size:13px;line-height:1.5;color:rgba(255,255,255,.88)}
.tk-copy h2{font-weight:400;font-size:clamp(34px,3.1vw,44px);line-height:1.1;letter-spacing:-.02em;margin-top:24px}
.tk-copy>p{font-size:15px;line-height:1.55;color:rgba(255,255,255,.88);margin-top:24px}
.tk-list{list-style:none;margin-top:48px}
.tk-list li{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 0;border-top:1px solid rgba(255,255,255,.35);font-size:16px;line-height:1.4}
.tk-list li .ico{width:12px;height:12px;flex:none;opacity:.9}
.tk-list li .ico svg{stroke-width:2.4}
.tk-act{display:flex;gap:16px;margin-top:24px;flex-wrap:wrap}
.tk-act a{height:42px;display:inline-flex;align-items:center;gap:6px;padding:0 20px;border-radius:999px;font-weight:500;font-size:14px;transition:transform .2s,background .2s}
.tk-act a:first-child{background:#fff;color:#0a0a0a}
.tk-act a:last-child{border:1px solid rgba(255,255,255,.75);color:#fff}
.tk-act a:last-child .ico{width:15px;height:15px}
.tk-act a:hover{transform:translateY(-1px)}
.tk-act a:last-child:hover{background:rgba(255,255,255,.12)}
.tk-card{position:relative;flex:none;width:388px;height:578px;border-radius:24px;background:#000;padding:40px;overflow:hidden;box-shadow:0 40px 80px rgba(80,20,0,.3)}
.tk-card small{display:block;font-size:13px;color:rgba(255,255,255,.55)}
.tk-card b{display:block;font-weight:600;font-size:44px;line-height:1.12;letter-spacing:-.02em;margin-top:12px}
.tk-chart{position:absolute;left:47px;right:22px;bottom:0;height:336px;display:flex;gap:28px;align-items:flex-end}
.tk-col{position:relative;width:96px;height:100%;display:flex;flex-direction:column;justify-content:flex-end}
.tk-lbl{font-size:12px;line-height:1.5;color:rgba(255,255,255,.6);margin-bottom:auto;padding-top:14px}
.tk-col.us .tk-lbl{color:#ff6529}
.tk-num{font-size:22px;font-weight:400;margin:6px 0 12px;font-variant-numeric:tabular-nums}
.tk-col.us .tk-num{color:#ff6529}
.tk-bar{border-radius:8px 8px 0 0;height:0;transition:height 1.6s cubic-bezier(.2,.8,.2,1)}
.tk-col.them .tk-bar{background:repeating-linear-gradient(135deg,rgba(255,255,255,.035) 0 2px,transparent 2px 5px),linear-gradient(180deg,#2c2d30,#18191b);border:1px solid rgba(255,255,255,.06);border-bottom:0}
.tk-col.us .tk-bar{background:linear-gradient(180deg,#ff8a4c,#ff6529);box-shadow:0 -6px 24px rgba(255,101,41,.45)}
.tk-col.us .tk-ghost{position:absolute;left:0;right:0;bottom:0;height:216px;border:1px solid rgba(255,255,255,.07);border-bottom:0;border-radius:8px 8px 0 0}
.tk-card.go .tk-col.them .tk-bar{height:216px}
.tk-card.go .tk-col.us .tk-bar{height:21.6px}
@media (max-width:1180px){
  .tk{flex-direction:column;gap:56px;max-width:640px}
  .tk-copy{max-width:none}
  .tk-card{width:100%;max-width:388px}
}
@media (max-width:760px){.s-tokens{padding:64px 0}.tk-card{height:540px;padding:32px}.tk-card b{font-size:38px}.tk-chart{left:32px}}
/* телефон: карточка во всю ширину колонки и выровнена по центру — заголовок, подписи и пара столбиков */
@media (max-width:760px){
  .tk-card{max-width:none;text-align:center}
  .tk-chart{left:0;right:0;justify-content:center;gap:32px}
  .tk-col{width:104px}
}
@media (prefers-reduced-motion:reduce){.tk-bar{transition:none}}

/* ---------- Форма обратной связи ---------- */
.lf-modal{position:fixed;inset:0;z-index:1000;display:grid;grid-template-columns:1fr 1fr;background:#fff;color:#0a0a0a;font-family:var(--font);
  visibility:hidden;opacity:0;transition:opacity .35s ease,visibility 0s linear .35s}
.lf-modal.open{visibility:visible;opacity:1;transition:opacity .35s ease}
.lead-art{position:relative;overflow:hidden;
  /* 48% по горизонтали — в узкую высокую половину экрана целиком попадает плашка со знаком и надписью */
  background:var(--img-lead) 48% 50%/cover no-repeat,#ec6324;
  transform:scale(1.04);transition:transform 1.2s cubic-bezier(.2,.8,.2,1)}
.lf-modal.open .lead-art{transform:none}
.lead-side{position:relative;overflow-y:auto;display:flex;flex-direction:column;padding:clamp(56px,8vh,157px) clamp(24px,7vw,133px) 40px}
.lead-in{max-width:713px;width:100%;opacity:0;transform:translateY(16px);transition:opacity .5s .1s,transform .6s .1s cubic-bezier(.2,.8,.2,1)}
.lf-modal.open .lead-in{opacity:1;transform:none}
.lead-x{position:absolute;right:clamp(16px,2.5vw,48px);top:clamp(16px,2.5vw,48px);width:48px;height:48px;border-radius:50%;display:grid;place-items:center;color:#212121;transition:background .2s}
.lead-x:hover{background:#f2f2f2}
.lead-x svg{width:16px;height:16px}
.lead-logo{width:clamp(60px,4.2vw,80px);aspect-ratio:1;border-radius:20px;background:#1f1e23;display:grid;place-items:center}
.lead-logo svg{width:60%;height:auto}
.lf-modal h2{font-weight:600;font-size:clamp(28px,2.5vw,48px);line-height:1.1;letter-spacing:-.02em;margin-top:32px;text-wrap:balance}
.lead-sub{font-size:clamp(15px,.9vw,17px);line-height:1.5;color:#171717;margin-top:24px}
.lead-f{margin-top:32px}
.lead-row{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.lead-fl label{display:block;font-size:12px;line-height:18px;color:#171717;margin-bottom:8px}
.lead-fl label em{font-style:normal;color:#ff6529}
.lead-fl input{width:100%;height:49px;border:1px solid rgba(0,0,0,.16);border-radius:8px;padding:0 20px;font:500 15px/1 var(--font);color:#0a0a0a;background:#fff;transition:border-color .2s,box-shadow .2s;outline:0}
.lead-fl input::placeholder{color:rgba(10,10,10,.35)}
.lead-fl input:focus{border-color:#ff6529;box-shadow:0 0 0 4px rgba(255,101,41,.12)}
.lead-fl.err input{border-color:#e5484d;box-shadow:0 0 0 4px rgba(229,72,77,.1)}
.lead-fl .lead-msg{display:block;min-height:18px;font-size:12px;line-height:18px;color:#e5484d;margin-top:4px}
.lead-btns{display:flex;gap:20px;margin-top:10px;flex-wrap:wrap}
.lead-btns button{height:56px;border-radius:80px;padding:0 40px;font:500 16px/1 var(--font);transition:transform .2s,box-shadow .2s,background .2s}
.lead-send{color:#fff;background:linear-gradient(90deg,#ff6529,#f49b35);box-shadow:0 10px 24px rgba(255,101,41,.28)}
.lead-send:hover{transform:translateY(-1px);box-shadow:0 14px 30px rgba(255,101,41,.36)}
.lead-send[disabled]{opacity:.7;pointer-events:none}
.lead-cancel{border:1px solid rgba(0,0,0,.16);color:#0a0a0a;background:#fff}
.lead-cancel:hover{background:#f6f6f6}
.lead-legal{margin-top:auto;padding-top:48px;max-width:700px;font-size:14px;line-height:1.5;color:rgba(23,23,23,.6)}
.lead-legal a{text-decoration:underline;text-underline-offset:3px}
.lead-ok{display:none;margin-top:32px;padding:24px;border-radius:16px;background:#f4fbf4;border:1px solid #d6eedb}
.lead-ok b{display:flex;align-items:center;gap:10px;font-weight:600;font-size:18px;color:#1f8a4c}
.lead-ok b svg{width:22px;height:22px}
.lead-ok p{margin-top:8px;font-size:15px;line-height:1.5;color:#333}
.lead-fallback{margin-top:16px;font-size:14px;line-height:1.5;color:#333}.lead-fallback a{color:inherit;text-decoration:underline}
.lf-modal.done .lead-f{display:none}.lf-modal.done .lead-ok{display:block}
body.lead-lock{overflow:hidden}
/* ---------- Заказ облачного стенда ---------- */
.cloud-modal .lead-in{max-width:760px}
.cloud-modal .lead-sub{margin-bottom:8px}
.cloud-modal .lead-f{margin-top:20px}
.cloud-modal .lead-fl{margin-bottom:12px}
.cloud-domain-field{display:flex;align-items:center;gap:8px}
.cloud-domain-field input{flex:1;min-width:0}
.cloud-domain-field span{font-size:13px;white-space:nowrap}
.cloud-fields{border:0;padding:0;margin:0;min-width:0}
.cloud-fields:disabled{opacity:.7}
.cloud-submit-spinner{display:inline-block;width:16px;height:16px;margin-left:10px;border:2px solid rgba(255,255,255,.45);border-top-color:#fff;border-radius:50%;vertical-align:-3px;animation:cloud-spin .7s linear infinite}
.cloud-submit-spinner[hidden]{display:none}
@keyframes cloud-spin{to{transform:rotate(360deg)}}
.cloud-error a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.cloud-check{display:block;font-size:13px;line-height:20px;margin:8px 0;color:#333}
.cloud-check input{margin-right:7px}
.cloud-check a{color:inherit;text-decoration:underline}
.cloud-error{color:#c33;font-size:13px;min-height:20px;margin-top:10px}
.cloud-progress,.cloud-final{display:none;margin-top:24px;padding:24px;border-radius:16px;background:#f7f8fb}
.cloud-modal.progress .lead-f,.cloud-modal.progress .lead-legal{display:none}
.cloud-modal.progress .cloud-progress{display:block}
.cloud-modal.final .lead-f,.cloud-modal.final .lead-legal,.cloud-modal.final .cloud-progress{display:none}
.cloud-modal.final .cloud-final{display:block}
.cloud-progress h3,.cloud-final h3{font-size:24px;margin:0 0 14px}
.cloud-bar{height:8px;border-radius:8px;background:#e4e7ee;overflow:hidden}
.cloud-bar i{display:block;height:100%;width:8%;background:#ff6529;transition:width .5s}
.cloud-stage-title{font-size:17px;font-weight:600;line-height:1.35;margin-top:20px;color:#222}
.cloud-stage-text{font-size:14px;line-height:1.5;margin-top:10px;color:#555}
.cloud-stage-elapsed{font-size:13px;margin-top:16px;color:#777}
#cloudProjectUrl{font-size:16px;line-height:1.45;overflow-wrap:anywhere;margin-bottom:16px}
.cloud-credentials{font-size:16px;line-height:1.45;margin:0 0 10px}
.cloud-final .lead-send{display:inline-flex;align-items:center;text-decoration:none;margin-top:14px;height:48px;padding:0 24px;border-radius:30px;color:#fff}
@media (max-width:960px){
  .lf-modal{grid-template-columns:1fr;grid-template-rows:1fr}
  .lead-art{display:none}
  .lead-side{padding:72px 24px 32px}
  .lead-x{position:fixed;right:12px;top:12px;background:#fff}
}
@media (max-width:560px){.lead-row{grid-template-columns:1fr;gap:4px}.lead-btns button{flex:1;padding:0 20px}}
@media (prefers-reduced-motion:reduce){.lf-modal,.lead-art,.lead-in{transition:none}}

/* =====================================================================
   Mobile typography & full-width buttons (≤760px, extra step ≤420px)
   ===================================================================== */
@media (max-width:760px){
  /* headings */
  .title{font-size:34px;line-height:1.08;letter-spacing:-.8px}
  .h2x,.os-title,.ref-copy h2,.tk-copy h2{font-size:28px;line-height:1.15;letter-spacing:-.01em}
  .h3x,.bpmn-t{font-size:26px;line-height:1.15}
  .cta-copy h2{font-size:30px;line-height:1.12}
  .lf-modal h2{font-size:26px;line-height:1.15;margin-top:24px}
  .tk-card b{font-size:34px}
  .scard.light h3{font-size:17px}
  .dcard h3{font-size:17px;margin-top:24px}
  .bcard h3{font-size:16px;line-height:1.45}
  /* body text — smaller but comfortable to read */
  .eyebrow,.tk-ey,.ref-copy .ey,.cta-copy .ey{font-size:13px}
  .lead,.muted,.sec-t p,.s-build .muted,.tk-copy>p,.ref-copy p{font-size:15px;line-height:1.55}
  .ref-copy p{margin-top:24px}
  .dcard p,.bcard p{font-size:15px;line-height:1.55;font-weight:400}
  .scard.light p{font-size:14px;line-height:1.55}
  .cta-copy p{font-size:16px;margin-top:20px}
  .tk-list{margin-top:32px}.tk-list li{font-size:15px;padding:14px 0}
  .plist li{font-size:14px}
  .lead-sub{font-size:15px;margin-top:16px}
  .lead-legal{font-size:12.5px;padding-top:32px}
  .head-row{gap:16px}
  .h2x br{display:none}
  .hero{min-height:0;padding-bottom:40px}
  .hero-top{margin-top:32px}
  .shell{margin-top:40px}
  .s-cta{padding-top:var(--blk-gap)}
  .cta-card{padding:32px 16px 16px;align-items:stretch}
  .cta-copy{max-width:none;text-align:center;align-self:stretch}
  .price{width:100%;padding:24px 20px}
  .price hr{margin:22px -20px}
  .plist{align-items:center}
  .plist li{display:block;text-align:center;max-width:300px}
  .plist .ico{display:inline-flex;vertical-align:-3px;margin:0 6px 0 0}
  .perks{justify-content:center;text-align:center}
  .perks div{justify-content:center}
  .ref-copy{padding:40px 24px 0}
  /* full-width buttons */
  .hero-right .actions{flex-direction:column;align-items:stretch;gap:12px;width:100%}
  .hero-right{width:100%}
  .cta,.ghost{width:100%;justify-content:center}
  .tk-act{flex-direction:column;gap:12px}
  .tk-act a{width:100%;justify-content:center;height:48px;font-size:15px}
  .pbtn{height:50px}
  .gbtn{width:100%;justify-content:center;height:50px}
  .lead-btns{flex-direction:column;gap:12px}
  .lead-btns button{width:100%;height:52px;flex:none}
}
@media (max-width:420px){
  .title{font-size:30px}
  .h2x,.os-title,.ref-copy h2,.tk-copy h2{font-size:26px}
  .h3x,.bpmn-t{font-size:24px}
  .cta-copy h2{font-size:28px}
  .lf-modal h2{font-size:24px}
  .tk-card b{font-size:30px}
}

/* css/pages/landing-price.css */
/* Тарифы русского лендинга (/price/) — templates/pages/landing-price.mjs,
   Figma xZqQRLCpQfGk5vT5yhe9F1, 161:4947 («Тарифы · страница · тёмная (RU)»).
   Подключается после css/pages/landing.css: оттуда .wrap, появление .rv
   и подвал .rfoot — здесь его тёмный вариант. Шапка — css/components/header.css
   (тёмный вариант по умолчанию: белый текст на фоне первого экрана). */
html,body{background:#08090a}
.pr{--mono:'Roboto Mono',ui-monospace,Menlo,Consolas,monospace;background:#08090a;color:#fff}

/* ---------- Первый экран: фон-картинка с лёгкими затемнениями (сверху — под меню, слева — под текст, снизу — переход в фон) ---------- */
.pr-hero{position:relative;isolation:isolate;
  background:
    linear-gradient(180deg,rgba(8,9,10,.45) 0,rgba(8,9,10,0) 180px),
    linear-gradient(180deg,rgba(8,9,10,0) calc(100% - 120px),rgba(8,9,10,.38) 100%),
    linear-gradient(90deg,rgba(8,9,10,.6) 0%,rgba(8,9,10,.25) 35%,rgba(8,9,10,0) 65%),
    url('../img/landing-price-hero.webp') center/cover no-repeat,#08090a}
/* сверху 72px — место под закреплённую шапку: она из потока выпала */
.pr-hero .wrap{display:flex;flex-direction:column;min-height:700px;padding-top:72px;padding-bottom:40px}
.pr-hero-in{display:flex;flex-direction:column;align-items:flex-start;gap:60px;max-width:640px;margin-top:64px}
/* хлебные крошки — на той же высоте, что у «Ресурсов» (72 шапка + 64 = 96 + 40);
   на тёмном первом экране они светлые */
.pr-hero .crumbs a{color:rgba(255,255,255,.65)}
.pr-hero .crumbs a:hover{color:#fff}
.pr-hero .crumbs__sep{color:rgba(255,255,255,.35)}
.pr-hero .crumbs__cur{color:#fff}
.pr-hero-copy{display:flex;flex-direction:column;align-items:flex-start;gap:24px}
.pr-tag{border:1px solid rgba(255,255,255,.55);border-radius:8px;padding:4px 10px;font-size:13px;line-height:1.2;margin-bottom:8px}
.pr-hero h1{font-weight:600;font-size:64px;line-height:1.05;letter-spacing:-.022em}
.pr-hero-copy p{font-size:18px;line-height:1.5;color:rgba(255,255,255,.85)}
.pr-hero-doc{margin-top:auto;padding-top:48px;font-size:15px;line-height:1.5}

/* Высота первого экрана на широких — как у первого экрана страниц модулей
   основного сайта (v2, css/blocks/intro.css, process-engine.html): в вилке
   1440–1919 во всю высоту окна, иначе снизу вылезает полоса следующей секции;
   с 1920 — 900px: на большом мониторе растяжка уводит текст к середине окна,
   а следующая секция уходит за сгиб целиком. До 1440 — прежние 700px. */
@media (min-width:1440px){
  .pr-hero .wrap{min-height:900px}
}
@media (min-width:1440px) and (max-width:1919px){
  .pr-hero .wrap{min-height:100vh;min-height:100svh}
}

/* ---------- Разделы ---------- */
.pr-sec{padding-top:120px}
.pr-sec--last{padding-bottom:120px}
.pr-head{display:flex;flex-direction:column;align-items:flex-start;gap:20px;max-width:860px;margin-bottom:48px}
.pr-kicker{border:1px solid rgba(255,255,255,.14);border-radius:8px;padding:6px 12px;font:13px/18px var(--mono);color:rgba(255,255,255,.62)}
.pr-head h2{font-weight:600;font-size:48px;line-height:1.1;letter-spacing:-.01em}
.pr-body{display:flex;flex-direction:column;gap:40px}
.pr-group{display:flex;flex-direction:column;gap:16px}
.pr-group h3{display:flex;align-items:baseline;gap:16px;font-weight:600;font-size:24px;line-height:1.25;letter-spacing:-.01em}
.pr-group h3 span{font:13px/30px var(--mono);letter-spacing:0;color:rgba(255,255,255,.45);flex:none}
.pr-row{display:grid;gap:12px}
.pr-row--2{grid-template-columns:repeat(2,minmax(0,1fr))}
.pr-row--3{grid-template-columns:repeat(3,minmax(0,1fr))}
/* 4.1 и 4.2: карточки одной высоты — левая (короче) тянется вниз до низа правой */
.pr-row--top .pr-card{flex:1}

.pr-card{display:flex;flex-direction:column;gap:24px;padding:32px;border-radius:20px;background:#121212;border:1px solid rgba(255,255,255,.08)}
.pr-card--split{flex-direction:row;gap:24px}
.pr-card--split>.pr-field{flex:1;min-width:0}
.pr-field{display:flex;flex-direction:column;gap:6px;min-width:0}
.pr-label{font:11.5px/16px var(--mono);letter-spacing:.06em;text-transform:uppercase;color:rgba(255,255,255,.45)}
.pr-val{font-size:16px;line-height:1.5;color:rgba(255,255,255,.9)}
.pr-field--title .pr-val{font-weight:600;font-size:24px;line-height:1.25;letter-spacing:-.01em;color:#fff}
/* цены и «Бесплатно» не переносятся («руб./мес» не отрывается от суммы) — вместо переноса
   кегль плавно уменьшается вместе с шириной карточки */
.pr-field--big .pr-val{font-weight:500;font-size:clamp(28px,3.6vw,40px);line-height:1.1;letter-spacing:-.02em;color:#fff;white-space:nowrap}
.pr-field--md .pr-val{font-size:clamp(24px,2.3vw,32px)}
.pr-field--accent .pr-val{color:#fc580d}
.pr-pair{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.pr-text{font-size:16px;line-height:1.6;color:rgba(255,255,255,.75)}
.pr-note{font-size:16px;line-height:1.6;color:rgba(255,255,255,.5)}
.pr-lead{font-size:16px;line-height:1.6;color:rgba(255,255,255,.6)}

/* 1. Общие положения — пункты с номером в моноширинной колонке */
.pr-clauses{gap:20px}
.pr-clause{display:flex}
.pr-clause>span{flex:none;width:56px;font:12px/26px var(--mono);color:rgba(255,255,255,.35)}
.pr-clause>div{flex:1;min-width:0;font-size:16px;line-height:1.6;color:rgba(255,255,255,.75)}
.pr-clause ul{list-style:none;display:flex;flex-direction:column;gap:8px;margin-top:12px}
.pr-clause li{display:flex;gap:12px}
.pr-clause li::before{content:"—";color:#fc580d;flex:none}
.pr-clause a{color:#fc580d;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}

/* 6. Пример расчёта */
.pr-calc{list-style:none;border-radius:20px;overflow:hidden;background:#121212;border:1px solid rgba(255,255,255,.08)}
.pr-calc li{display:flex;padding:20px 32px}
.pr-calc li+li{border-top:1px solid rgba(255,255,255,.08)}
.pr-calc span{flex:none;width:56px;font:12px/24px var(--mono);color:rgba(255,255,255,.35)}
.pr-calc p{flex:1;min-width:0;font-size:16px;line-height:1.5;color:rgba(255,255,255,.9)}
.pr-total{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:36px 32px;border-radius:20px;overflow:hidden;
  background:
    linear-gradient(90deg,rgba(6,7,9,.88) 0%,rgba(6,7,9,.55) 46%,rgba(6,7,9,.15) 72%,rgba(6,7,9,0) 100%),
    url('../img/landing-price-total.webp') center 97%/cover no-repeat,
    linear-gradient(90deg,#ff6529,#f49b35)}
.pr-total>div{display:flex;flex-direction:column;gap:8px;min-width:0}
.pr-total-h{font-weight:600;font-size:20px;line-height:1.25}
.pr-total-f{font:13px/20px var(--mono);color:rgba(255,255,255,.85)}
.pr-total-sum{font-weight:500;font-size:56px;line-height:1.05;letter-spacing:-.02em;white-space:nowrap}

/* ---------- Подвал: русский лендинга, тёмный вариант ---------- */
.rfoot--dark{background:#08090a;padding-top:40px}
.rfoot--dark .rfoot-top h2,.rfoot--dark .rfoot-h,.rfoot--dark .rfoot-lines,.rfoot--dark .rfoot-it{color:#fff}
.rfoot--dark .rfoot-line::before{background:rgba(255,255,255,.3)}
.rfoot--dark .rfoot-line::after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 12'%3E%3Cpath d='M.75.75 6 6 .75 11.25' fill='none' stroke='%23fff' stroke-opacity='.3' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.rfoot--dark .rfoot-link,.rfoot--dark .rfoot-it span:first-child{color:rgba(255,255,255,.75)}
.rfoot--dark .rfoot-link:hover,.rfoot--dark .rfoot-legallink:hover{color:#fff}
.rfoot--dark .rfoot-legallink{color:rgba(255,255,255,.7)}
.rfoot--dark .rfoot-btn{background:transparent;border-color:rgba(255,255,255,.18);color:#fff}
.rfoot--dark .rfoot-btn:hover{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.32)}
.rfoot--dark .rfoot-meta{border-top-color:rgba(255,255,255,.1)}

/* ---------- Адаптив ---------- */
@media (max-width:1023px){
  /* пакеты ресурсов: втроём в ряд уже тесно — каждая карточка во всю ширину,
     внутри две колонки: название | стоимость, конфигурация | нагрузка */
  .pr-row--3{grid-template-columns:minmax(0,1fr)}
  .pr-row--3 .pr-card{display:grid;grid-template-columns:1fr 1fr;gap:24px 32px;align-items:start}
  .pr-row--3 .pr-field--md .pr-val{font-size:32px}
  .pr-hero h1{font-size:56px}
  .pr-head h2{font-size:40px}
}
@media (max-width:760px){
  .pr-hero .wrap{min-height:600px}
  .pr-hero-in{margin-top:48px;gap:40px}
  .pr-hero h1{font-size:44px}
  .pr-hero-copy p{font-size:16px}
  .pr-hero-copy p br{display:none}
  .pr-hero-doc{font-size:13px}
  .pr-sec{padding-top:72px}
  .pr-sec--last{padding-bottom:72px}
  .pr-head{margin-bottom:32px;gap:16px}
  .pr-head h2{font-size:32px}
  .pr-body{gap:32px}
  .pr-group h3{font-size:20px;gap:12px}
  .pr-card{padding:24px;gap:20px}
  .pr-card--split{flex-direction:column}
  .pr-row--2{grid-template-columns:minmax(0,1fr)}
  .pr-row--3 .pr-card{display:flex}
  .pr-field--big .pr-val,.pr-row--3 .pr-field--md .pr-val{font-size:clamp(22px,7vw,32px)}
  .pr-clause>span,.pr-calc span{width:40px}
  .pr-calc li{padding:16px 20px}
  .pr-total{flex-direction:column;align-items:flex-start;padding:28px 24px}
  .pr-total-sum{font-size:40px}
  .pr-field--title .pr-val{font-size:clamp(20px,6vw,24px)}
}
/* самые узкие телефоны: пары полей («Количество | Срок») — друг под другом,
   иначе длинные слова («календарных») не помещаются в половину карточки */
@media (max-width:400px){
  .pr-pair{grid-template-columns:minmax(0,1fr);gap:20px}
}
