/* ============================================================
   ВИД САЙТА «ДЕЛАЙ ДВИЖ ×2»
   Цвета, шрифты и размеры — в tokens.css (не менять значения).
   Здесь: фактуры, шапка, блоки, адаптив.
   Порядок: 1) основа  2) фактуры  3) шапка и дорожка  4) общие части блоков
            5) подвал, закреплённая кнопка, уведомления  6) компьютер
   ============================================================ */

/* ---------- 1. ОСНОВА ---------- */

/* Запасной шрифт заголовков, пока в папке fonts/ нет Sofia Sans Extra Condensed:
   под именем «Oswald» (оно уже стоит в tokens.css вторым) берём узкий жирный шрифт,
   который есть на компьютере. Никаких загрузок из сети. */
@font-face { font-family: "Oswald"; src: local("Oswald ExtraBold"), local("Oswald"), local("Impact"), local("Arial Narrow Bold"); font-weight: 100 900; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 20px); -webkit-text-size-adjust: 100%; }
:root { --top-h: 74px; --x-shadow: 3px 3px 0 var(--khaki); }
body { margin: 0; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; }
[hidden] { display: none !important; }

/* Видимый фокус для клавиатуры */
:focus-visible { outline: 3px solid var(--khaki); outline-offset: 3px; box-shadow: 0 0 0 6px var(--cream); border-radius: 6px; }

.skip { position: absolute; left: 8px; top: -80px; z-index: 200; background: var(--khaki); color: var(--paper-white); padding: 12px 16px; border-radius: 12px; }
.skip:focus { top: 8px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Акцентные слова в заголовках: оранжевые с жёсткой тенью вправо-вниз */
.acc { color: var(--orange); text-shadow: var(--x-shadow); }
[data-bg="khaki"] .acc { text-shadow: none; }

/* Иконка внутри строки (ножницы в «ДД✂2») */
.ic { display: inline-block; width: 1em; height: 1em; }
.ic svg { width: 100%; height: 100%; }
.ic--inline { width: .78em; height: .78em; vertical-align: -.04em; margin: 0 .02em; }

/* Жёлтая пометка «ответа пока нет» — видна только в режиме approval */
.need { background: #FFE27A; color: var(--khaki); font: 500 15px/1.35 var(--font-body); text-transform: none; letter-spacing: 0;
  padding: 2px 8px; border-radius: 8px; border: 1.5px dashed var(--khaki); display: inline-block; text-shadow: none; }
.mode-publish .need { display: none; }

/* Кнопки: добавки к tokens.css */
.btn { cursor: pointer; text-decoration: none; letter-spacing: .02em; white-space: nowrap; }
.btn--primary:hover { background: var(--orange-deep); }
.btn--dark:hover { background: var(--khaki-deep); }
.btn--outline:hover { background: var(--cream-shade); }
.btn--wide { width: 100%; max-width: 420px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
[data-bg="khaki"] .btn--primary { box-shadow: 0 6px 0 var(--ink); }

/* ---------- 2. ФАКТУРЫ (нарисованы кодом, без картинок) ---------- */

/* Мятая бумага: шум + боковой свет, плиткой; цвет подмешивается от фона блока */
:root {
  --paper: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='640' height='640'%3E%3Cfilter id='p' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.0055 0.007' numOctaves='3' seed='11' stitchTiles='stitch'/%3E%3CfeDiffuseLighting lighting-color='%23ffffff' surfaceScale='22' diffuseConstant='1.12'%3E%3CfeDistantLight azimuth='40' elevation='66'/%3E%3C/feDiffuseLighting%3E%3C/filter%3E%3Crect width='640' height='640' filter='url(%23p)'/%3E%3C/svg%3E");
  /* гофрокартон: вертикальные оранжево-красные полоски */
  --corr: repeating-linear-gradient(90deg, var(--orange-red) 0 3px, var(--orange) 3px 6px, #FC5401 6px 8px);
}
[data-bg="cream"] { background: var(--cream) var(--paper); background-blend-mode: multiply; color: var(--khaki); }
[data-bg="khaki"] { background: var(--khaki) var(--paper); background-blend-mode: multiply; color: var(--paper-white); }
[data-bg="corr"]  { background: var(--corr); color: var(--khaki); }
body { background: var(--cream) var(--paper); background-blend-mode: multiply; }

/* Рваный край бумаги между блоками (рисует main.js): белая кайма + цвет нижнего блока */
.tear { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 34px; transform: translateY(-96%); pointer-events: none; z-index: 2; }
.tear__fringe { fill: var(--paper-white); }
[data-bg="cream"] > .tear .tear__fill { fill: var(--cream); }
[data-bg="khaki"] > .tear .tear__fill { fill: var(--khaki); }

/* Тёмная полоса перед блоком (как в макете перед «Забери наши фишки» и ведущими) */
.band { position: absolute; left: 0; right: 0; top: 0; height: 64px; background: var(--khaki) var(--paper); background-blend-mode: multiply; }
.band .tear { top: auto; bottom: 0; transform: translateY(2px); }
.band .tear__fill { fill: var(--cream); }
[data-bg="corr"] > .band { border-bottom: 5px dotted var(--orange-deep); }
[data-bg="corr"] > .band .tear { display: none; }
.sec[data-band] { padding-top: 136px; }

/* Разделитель: оранжевый круг со стрелкой вниз */
.down { width: 48px; height: 48px; border-radius: 50%; background: var(--orange); color: var(--paper-white); display: grid; place-items: center;
  margin: 0 auto 56px; box-shadow: 0 4px 0 var(--orange-deep); }
.down svg { width: 26px; height: 26px; }
.sec[data-band] > .sec__in > .down { margin-top: -8px; }

/* ---------- 3. ШАПКА И ДОРОЖКА-ПРОГРЕСС ---------- */

.top { position: sticky; top: 0; z-index: 50; background: var(--cream); border-bottom: 1.5px solid rgba(69, 67, 53, .35); }
.top__in { display: flex; align-items: stretch; height: var(--top-h); max-width: var(--container); margin: 0 auto; }

.logo { display: flex; align-items: center; gap: 6px; padding: 0 8px 0 10px; text-decoration: none; flex: 0 0 auto; }
/* Временный знак (инь-янь из двух цветов) — [NEED: чистовой логотип от дизайнера] */
.logo__mark { width: 38px; height: 38px; border-radius: 50%; border: 2.5px solid var(--khaki); transform: rotate(-20deg);
  background: linear-gradient(90deg, var(--khaki) 50%, var(--orange) 50%); position: relative; flex: 0 0 auto; }
.logo__mark::before, .logo__mark::after { content: ""; position: absolute; left: 50%; width: 50%; height: 50%; border-radius: 50%; transform: translateX(-50%); }
.logo__mark::before { top: 0; background: var(--khaki); }
.logo__mark::after { bottom: 0; background: var(--orange); }
.logo__word { font: 800 18px/.92 var(--font-head); text-transform: uppercase; color: var(--khaki); letter-spacing: .01em; }

/* Вкладки на телефоне: иконка над подписью, ячейки с тонкими линиями */
.tabs { display: flex; flex: 1 1 auto; min-width: 0; }
.tab { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  text-decoration: none; color: var(--khaki); border-left: 1.5px solid rgba(69, 67, 53, .3); padding: 4px 2px; position: relative; }
.tab .ic { width: 24px; height: 24px; }
.tab__label { font: 800 10.5px/1 var(--font-head); text-transform: uppercase; letter-spacing: 0; }
.tab[aria-current="true"] { color: var(--orange-deep); background: var(--cream-shade); }
.tab[aria-current="true"]::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: 6px; height: 3px; border-radius: 3px; background: var(--orange); }
.tab:hover { background: var(--cream-shade); }
.top__cta { display: none; }

/* Дорожка: пешка едет к ферзю вместе с прокруткой (--p от 0 до 1 ставит main.js) */
.road { position: absolute; left: 0; right: 0; bottom: -7px; height: 6px; background: var(--stone); pointer-events: none; }
.road__fill { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, var(--orange) 0 18px, var(--khaki) 18px 36px);
  clip-path: inset(0 calc(100% - var(--p, 0) * 100%) 0 0); }
.road__pawn, .road__queen { position: absolute; top: 50%; width: 20px; height: 20px; color: var(--orange); filter: drop-shadow(0 1.5px 0 var(--khaki)); }
.road__pawn { left: clamp(2px, calc(var(--p, 0) * 100% - 10px), calc(100% - 46px)); transform: translateY(-58%); transition: left .12s linear; }
.road__queen { right: 3px; width: 22px; height: 22px; transform: translateY(-60%); }

/* Пометка «демо-версия для согласования» (режим approval) */
.demo-badge { position: fixed; z-index: 45; right: 8px; top: calc(var(--top-h) + 16px); font: 400 13px/1.2 var(--font-hand); color: var(--khaki);
  background: #FFE27A; border: 1.5px dashed var(--khaki); border-radius: var(--radius-pill); padding: 4px 10px; transform: rotate(2deg); opacity: .92; pointer-events: none; }

/* ---------- 4. ОБЩИЕ ЧАСТИ БЛОКОВ ---------- */

.sec { position: relative; padding: 72px var(--gutter) 80px; text-align: center; }
.sec__in { max-width: var(--container); margin: 0 auto; position: relative; }
.sec h2 { font-size: clamp(46px, 13.2vw, 72px); letter-spacing: .005em; }
.sec h3 { font-size: var(--fs-h3); }
.lead { font-size: clamp(19px, 5.4vw, 26px); line-height: 1.35; letter-spacing: .04em; max-width: 26ch; margin: 20px auto 0; }
.hand { font-family: var(--font-hand); font-size: var(--fs-hand); }
.cta-row { margin-top: 40px; display: flex; justify-content: center; }

/* Появление блоков при прокрутке (только если анимация разрешена) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .5s ease, transform .5s ease; }
  .js .reveal.is-in { opacity: 1; transform: none; }
}

/* Заглушка этапа сборки (исчезнет, когда блок будет свёрстан) */
.todo { margin: 28px auto 0; max-width: 520px; padding: 18px; border: 2px dashed currentColor; border-radius: var(--radius-card); font-size: 16px; opacity: .65; }
.mode-publish .todo { display: none; }

/* ---------- 5. ПОДВАЛ, ЗАКРЕПЛЁННАЯ КНОПКА, УВЕДОМЛЕНИЯ ---------- */

.foot { position: relative; padding: 56px var(--gutter) 120px; text-align: center; }
.foot .tear__fill { fill: var(--khaki); }

/* Кнопка «Оставить заявку» внизу экрана на телефоне */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(rgba(255, 249, 235, 0), var(--cream) 38%); display: flex; justify-content: center;
  transform: translateY(110%); transition: transform .25s ease; }
.sticky-cta.is-on { transform: none; }
.sticky-cta .btn { width: 100%; max-width: 420px; }

/* Всплывающие сообщения */
.toasts { position: fixed; z-index: 120; left: 50%; bottom: 92px; transform: translateX(-50%); width: min(92vw, 440px); display: grid; gap: 10px; pointer-events: none; }
.toast { background: var(--khaki); color: var(--paper-white); border: var(--border-w) solid var(--khaki); border-radius: 18px; box-shadow: 0 5px 0 var(--ink);
  padding: 14px 18px; font-size: 17px; line-height: 1.35; text-align: left; pointer-events: auto; animation: toast-in .25s ease; }
.toast--ok { background: var(--orange); color: var(--khaki); font-weight: 700; box-shadow: 0 5px 0 var(--khaki); }
.toast--err { background: var(--cream); color: var(--khaki); border-color: var(--orange-red); box-shadow: 0 5px 0 var(--orange-red); }
@keyframes toast-in { from { opacity: 0; transform: translateY(14px); } }

/* ---------- 6. КОМПЬЮТЕР (от 1024 px) ---------- */

@media (min-width: 1024px) {
  :root { --top-h: 84px; --gutter: 40px; --x-shadow: 5px 5px 0 var(--khaki); }

  .top__in { align-items: center; padding: 0 var(--gutter); gap: 24px; }
  .logo { padding: 0; }
  .logo__mark { width: 54px; height: 54px; }
  .logo__word { font-size: 27px; }
  .tabs { justify-content: flex-end; gap: 6px; align-self: stretch; }
  .tab { flex: 0 0 auto; flex-direction: row; gap: 8px; border-left: 0; padding: 0 16px; }
  .tab__label { font-size: 19px; }
  .tab .ic { width: 22px; height: 22px; }
  .tab[aria-current="true"] { background: none; }
  .tab[aria-current="true"]::after { bottom: 16px; left: 16px; right: 16px; }
  .tab[data-id="apply"] { display: none; }           /* на компьютере вместо вкладки — кнопка */
  .top__cta { display: inline-flex; flex: 0 0 auto; }

  /* Дорожка переезжает на левый край экрана и становится вертикальной */
  .road { position: fixed; left: 14px; right: auto; top: calc(var(--top-h) + 28px); bottom: 28px; width: 8px; height: auto; border-radius: 8px; }
  .road__fill { border-radius: 8px; background: repeating-linear-gradient(180deg, var(--orange) 0 22px, var(--khaki) 22px 44px);
    clip-path: inset(0 0 calc(100% - var(--p, 0) * 100%) 0); }
  .road__pawn, .road__queen { left: 50%; top: auto; width: 28px; height: 28px; }
  .road__pawn { top: clamp(0px, calc(var(--p, 0) * 100% - 14px), calc(100% - 62px)); transform: translateX(-50%); transition: top .12s linear; }
  .road__queen { right: auto; bottom: -4px; width: 30px; height: 30px; transform: translateX(-50%); }

  .sec { padding: 112px var(--gutter) 120px; }
  .sec h2 { font-size: var(--fs-h2); }
  .sec[data-band] { padding-top: 176px; }
  .band { height: 72px; }
  .tear { height: 46px; }
  .lead { font-size: 26px; max-width: 34ch; }
  .sticky-cta { display: none; }                      /* на компьютере кнопка есть в шапке */
  .toasts { bottom: 32px; left: auto; right: 32px; transform: none; }
  .demo-badge { font-size: 15px; right: 16px; }
  .foot { padding-bottom: 64px; }
}

/* Без анимации: всё на месте, пешка не «едет» плавно */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .road__pawn { transition: none; }
}

/* Мелкие акценты в тексте (например «×2» в подзаголовке): тень тоньше */
.lead .acc { text-shadow: 1.5px 1.5px 0 var(--khaki); font-family: var(--font-head); font-size: 1.25em; }

/* ============================================================
   7. ШРИФТЫ: латиница, цифры и знак ₽ (добавка к tokens.css)
   Файлы из Google Fonts разрезаны по наборам знаков: кириллица
   подключена в tokens.css, здесь — латиница и расширенная латиница.
   ============================================================ */
@font-face { font-family: "Sofia Sans Extra Condensed"; src: url("../fonts/SofiaSansExtraCondensed-ExtraBold-latin.woff2") format("woff2"); font-weight: 800; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Sofia Sans Extra Condensed"; src: url("../fonts/SofiaSansExtraCondensed-ExtraBold-latinext.woff2") format("woff2"); font-weight: 800; font-display: swap;
  unicode-range: U+0100-02BA, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2113; }
@font-face { font-family: "Jura"; src: url("../fonts/Jura-latin.woff2") format("woff2"); font-weight: 500; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Jura"; src: url("../fonts/Jura-latin.woff2") format("woff2"); font-weight: 700; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Jura"; src: url("../fonts/Jura-latinext.woff2") format("woff2"); font-weight: 500; font-display: swap;
  unicode-range: U+0100-02BA, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2113; }
@font-face { font-family: "Jura"; src: url("../fonts/Jura-latinext.woff2") format("woff2"); font-weight: 700; font-display: swap;
  unicode-range: U+0100-02BA, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2113; }
@font-face { font-family: "Pangolin"; src: url("../fonts/Pangolin-latin.woff2") format("woff2"); font-weight: 400; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Pangolin"; src: url("../fonts/Pangolin-latinext.woff2") format("woff2"); font-weight: 400; font-display: swap;
  unicode-range: U+0100-02BA, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2113; }

/* ============================================================
   8. ОБЩИЕ ДЕТАЛИ: окно, заглушка фото, плашки, круглые кнопки
   ============================================================ */

/* Всплывающее окно (видео, оплата позже, заявка) */
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(42, 33, 24, .82); display: grid; place-items: center; padding: 16px; overflow-y: auto; animation: fade-in .2s ease; }
.modal__box { position: relative; width: min(100%, 520px); background: var(--cream) var(--paper); background-blend-mode: multiply; color: var(--khaki);
  border: var(--border-w) solid var(--khaki); border-radius: var(--radius-card); box-shadow: 0 8px 0 var(--ink); padding: 44px 22px 28px; text-align: center; }
.modal__box:focus { outline: none; }
.modal__box h2 { font-size: clamp(40px, 11vw, 56px); }
.modal__box p { margin-top: 14px; }
.modal__x { position: absolute; right: 10px; top: 10px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: var(--khaki); }
.modal__x:hover { background: var(--cream-shade); }
.modal__x svg { width: 24px; height: 24px; }
.is-locked { overflow: hidden; }
@keyframes fade-in { from { opacity: 0; } }

/* Заглушка вместо фото, если файла нет: силуэт в растре на «гофрокартоне» */
.ph { position: relative; background: var(--corr); border: var(--border-w) solid var(--khaki); border-radius: var(--radius-card); min-height: 260px; display: grid; place-items: center; overflow: hidden; }
.ph::before { content: ""; width: 46%; aspect-ratio: 1 / 1.5; background: radial-gradient(circle at 50% 22%, var(--khaki) 0 21%, transparent 22%), radial-gradient(ellipse at 50% 100%, var(--khaki) 0 62%, transparent 63%);
  -webkit-mask: radial-gradient(circle, #000 1.6px, transparent 2px) 0 0 / 5px 5px; mask: radial-gradient(circle, #000 1.6px, transparent 2px) 0 0 / 5px 5px; }
.ph__label { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%) rotate(-2deg); background: var(--cream); border: 1.5px dashed var(--khaki); border-radius: var(--radius-pill); padding: 2px 14px; font: 400 18px var(--font-hand); white-space: nowrap; }

/* Тёмная плашка с крупной надписью */
.plate { background: var(--khaki) var(--paper); background-blend-mode: multiply; color: var(--paper-white); border-radius: 18px; padding: 20px 18px; margin: 26px auto 0; max-width: 520px;
  font: 800 clamp(30px, 8.6vw, 40px)/1 var(--font-head); text-transform: uppercase; box-shadow: 0 5px 0 var(--stone); }
.plate .acc { text-shadow: none; }

/* Круглая кнопка со стрелкой */
.round { width: 52px; height: 52px; border-radius: 50%; background: var(--cream); border: var(--border-w) solid var(--khaki); box-shadow: 0 4px 0 var(--khaki); display: grid; place-items: center; flex: 0 0 auto; }
.round svg { width: 24px; height: 24px; }
.round:hover { background: var(--cream-shade); }
.round:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--khaki); }
.dots { display: flex; gap: 4px; align-items: center; justify-content: center; }
.dot { width: 28px; height: 44px; display: grid; place-items: center; }
.dot::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--stone); transition: transform .15s; }
.dot[aria-current="true"]::before { background: var(--orange); transform: scale(1.5); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 28px; }
.btn--sm { min-height: 50px; padding: 0 22px; font-size: 19px; gap: 8px; }
.btn--sm .ic { width: 20px; height: 20px; }
.note { font-size: 17px; line-height: 1.45; max-width: 46ch; margin: 22px auto 0; }

/* ============================================================
   9. БЛОКИ 1–9
   ============================================================ */

/* ---- 1. Первый экран ---- */
.sec--hero { padding-top: 40px; padding-bottom: 0; overflow: hidden; }
.hero__eyebrow { font-size: clamp(15px, 4.4vw, 21px); letter-spacing: .07em; }
.hero__title { margin-top: 8px; }
.hero__l1 { display: block; font-size: clamp(56px, 20vw, 112px); white-space: nowrap; }
.hero__l2 { display: block; font-size: clamp(42px, 15vw, 84px); white-space: nowrap; margin-top: .04em; }
.hero__x2 { margin-left: .08em; }
.hero__sub { margin-top: 16px; }
.chip { display: inline-block; margin-top: 16px; padding: 4px 18px; background: var(--cream); border: 2px dashed var(--khaki); border-radius: var(--radius-pill); rotate: -2deg; font-size: 20px; }
.price { margin-top: 20px; }
.price__old { display: block; width: max-content; margin: 0 auto; position: relative; font: 800 30px/1 var(--font-head); text-decoration: none; }
.price__old::after { content: ""; position: absolute; left: -6px; right: -6px; top: 46%; height: 4px; border-radius: 4px; background: var(--orange); rotate: -5deg; }
.price__now { font: 800 clamp(64px, 20vw, 104px)/1 var(--font-head); margin-top: 4px; }
.price__bonus { display: flex; gap: 12px; align-items: center; justify-content: center; margin-top: 8px; font: 800 28px/1 var(--font-head); }
/* Название компании текстом; логотип — только после согласия компании [NEED] */
.epica { font: 700 27px/.9 var(--font-body); letter-spacing: .1em; text-align: left; }
.epica small { display: block; font-size: 11px; letter-spacing: .22em; margin-top: 3px; }
.hero__stage { position: relative; margin: 14px calc(var(--gutter) * -1) 0; }
.hero__stage img { width: 100%; height: auto; -webkit-mask-image: linear-gradient(transparent, #000 6%); mask-image: linear-gradient(transparent, #000 6%); }
.hero__stage .ph { margin: 0 var(--gutter) 24px; min-height: 380px; }
.hero__tear { display: none; }

/* ---- 2. Манифест ---- */
.manifest h2 .acc { display: block; font-size: 1.32em; }
.manifest .lead { max-width: 20ch; }
/* доминошка и ножницы лежат на стыке светлого и тёмного блоков */
.duo { position: relative; z-index: 3; width: 190px; height: 210px; margin: 26px auto -178px; }
.duo .ic { position: absolute; }
.duo__domino { left: 10px; top: 8px; width: 150px; height: 190px; color: var(--orange); rotate: -14deg; filter: drop-shadow(4px 6px 0 rgba(42, 33, 24, .35)); }
.duo__sc { right: -4px; top: -14px; width: 150px; height: 220px; color: #9A988C; rotate: 14deg; filter: drop-shadow(2px 3px 0 var(--khaki)); }

/* ---- 3. Резюме ---- */
#about { padding-top: 130px; }
.about__big { font: 800 clamp(120px, 40vw, 230px)/.82 var(--font-head); color: var(--orange); }
#about h2 { font-size: clamp(40px, 11.5vw, 64px); margin-top: 6px; }
#about .lead { color: var(--paper-white); }

/* ---- 4. Кому подойдёт: карточки-кнопки с выбором роли ---- */
.roles { display: grid; gap: 22px; margin: 36px auto 0; max-width: 520px; }
.role { width: 100%; display: flex; align-items: center; gap: 18px; text-align: left; padding: 22px 20px; position: relative; box-shadow: 0 6px 0 var(--stone);
  transition: transform .12s, box-shadow .12s, background-color .12s; }
.roles li:nth-child(odd) .role { rotate: -1.2deg; }
.roles li:nth-child(even) .role { rotate: 1deg; }
.role__ic { width: 62px; height: 62px; flex: 0 0 auto; color: var(--khaki); }
.roles li:nth-child(odd) .role__ic, .roles li:nth-child(odd) .role__t { color: var(--orange); }
.roles li:nth-child(odd) .role__t { text-shadow: 2px 2px 0 var(--khaki); }
.role__t { display: block; font: 800 clamp(30px, 8.6vw, 38px)/1 var(--font-head); text-transform: uppercase; }
.role__d { display: block; font-size: 18px; line-height: 1.3; margin-top: 4px; letter-spacing: .03em; }
.role__ok { position: absolute; right: -8px; top: -12px; width: 40px; height: 40px; border-radius: 50%; background: var(--khaki); color: var(--orange); display: grid; place-items: center; scale: 0; transition: scale .15s; }
.role__ok svg { width: 22px; height: 22px; }
.role:hover { background: #FFF3DA; }
/* выбранная роль: карточка «зажата» */
.role[aria-pressed="true"] { transform: translateY(5px); box-shadow: 0 1px 0 var(--orange-deep); background: #FFE9C7; border-color: var(--orange-deep); }
.role[aria-pressed="true"] .role__ok { scale: 1; }

/* ---- 5. Даты, время, город, площадка ---- */
.facts { display: grid; gap: 22px; margin: 40px auto 0; max-width: 520px; }
.fact { display: flex; align-items: center; gap: 18px; text-align: left; padding: 20px 22px; border-radius: 20px; }
.fact .ic { width: 56px; height: 56px; flex: 0 0 auto; }
.fact__t { display: block; font: 800 clamp(36px, 10.4vw, 46px)/1 var(--font-head); text-transform: uppercase; }
.fact__d { display: block; font-size: 19px; line-height: 1.25; letter-spacing: .04em; margin-top: 2px; }
.fact--k { background: var(--khaki) var(--paper); background-blend-mode: multiply; color: var(--paper-white); box-shadow: 0 5px 0 var(--stone); margin-right: 22px; rotate: -1deg; }
.fact--k .acc { text-shadow: none; }
.fact--o { background: var(--orange); color: var(--khaki); box-shadow: 0 5px 0 var(--orange-deep); margin-left: 22px; rotate: 1deg; }
.fact--o .fact__d { font-weight: 700; font-size: 22px; }
.fact--c { background: var(--cream); border: var(--border-w) solid var(--khaki); box-shadow: 0 5px 0 var(--stone); margin-left: 22px; rotate: -1deg; }
.fact--c .ic { color: var(--orange); }
.fact--c .fact__t { font: 700 30px/1 var(--font-body); letter-spacing: .08em; text-transform: none; }
.fact--c .fact__d { margin: 0 0 4px; }

/* ---- 6. Как проходит + видео ---- */
.video { display: block; position: relative; width: 100%; max-width: 560px; margin: 44px auto 0; aspect-ratio: 16 / 9.4; border-radius: 22px; border: var(--border-w) solid var(--khaki);
  background: repeating-linear-gradient(135deg, var(--khaki) 0 14px, var(--khaki-deep) 14px 28px); color: var(--paper-white); box-shadow: 0 7px 0 var(--stone); rotate: -1.2deg; }
/* скотч */
.video::before { content: ""; position: absolute; left: 50%; top: -14px; width: 96px; height: 28px; translate: -50% 0; rotate: 2deg; background: rgba(232, 220, 180, .92); box-shadow: 0 1px 0 rgba(69, 67, 53, .25); }
.video__play { position: absolute; left: 50%; top: 46%; translate: -50% -50%; width: 88px; height: 88px; border-radius: 50%; background: var(--orange); border: 4px solid var(--orange-deep); display: grid; place-items: center; color: var(--paper-white); transition: scale .15s; }
.video__play svg { width: 46px; height: 46px; margin-left: 4px; }
.video:hover .video__play { scale: 1.08; }
.video__cap { position: absolute; left: 0; right: 0; bottom: 12%; font: 400 21px var(--font-hand); }
.video-frame { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 14px; background: var(--ink); margin-top: 8px; }

/* ---- 7. Программа: пилюли с пояснением ---- */
#program { padding-top: 8px; }
#program h2 { font-size: clamp(40px, 11vw, 56px); }
.pills { display: flex; flex-wrap: wrap; gap: 12px 10px; justify-content: center; margin: 22px auto 0; max-width: 560px; }
.pill { min-height: 48px; padding: 4px 20px; border-radius: var(--radius-pill); border: var(--border-w) solid var(--khaki); font: 800 23px/1 var(--font-head); text-transform: uppercase; letter-spacing: .02em;
  box-shadow: 0 4px 0 var(--stone); transition: transform .12s, box-shadow .12s; color: var(--khaki); }
.pill--orange { background: var(--orange); }
.pill--outline { background: var(--cream); }
.pills li:nth-child(odd) .pill { rotate: -2.5deg; }
.pills li:nth-child(even) .pill { rotate: 1.5deg; }
.pill[aria-expanded="true"] { transform: translateY(3px); box-shadow: 0 1px 0 var(--khaki); outline: 3px solid var(--khaki); outline-offset: 2px; }
.pill-more { max-width: 520px; margin: 22px auto 0; padding: 18px 20px; text-align: left; }
.pill-more b { display: block; font: 800 26px/1 var(--font-head); text-transform: uppercase; margin-bottom: 6px; }

/* ---- 8. Путь игры: шесть карт ---- */
.deck-head { position: relative; max-width: 640px; margin: 0 auto; padding: 34px 18px 30px; border-radius: 22px; background: var(--khaki) var(--paper); background-blend-mode: multiply; color: var(--paper-white); box-shadow: 0 6px 0 var(--stone); }
.deck-head h2 { font-size: clamp(38px, 11vw, 64px); }
.deck-head .acc { text-shadow: none; }
.dice { position: absolute; left: -6px; top: -40px; width: 72px; height: 72px; color: var(--orange); rotate: -14deg; border-radius: 16px; filter: drop-shadow(3px 5px 0 rgba(42, 33, 24, .35)); }
.dice svg { width: 100%; height: 100%; }
button.dice:hover { rotate: -4deg; }
.deck-hint { margin-top: 16px; font-size: 20px; }
.deck { margin: 26px calc(var(--gutter) * -1) 0; }
.deck__track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 16px calc(50% - 118px) 26px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.deck__track::-webkit-scrollbar { display: none; }
.pcard-wrap { flex: 0 0 236px; scroll-snap-align: center; perspective: 900px; }
.pcard { display: block; width: 100%; aspect-ratio: 5 / 7; border-radius: 18px; color: var(--khaki); }
.pcard-wrap:nth-child(odd) .pcard { rotate: -2.5deg; }
.pcard-wrap:nth-child(even) .pcard { rotate: 2.5deg; }
.pcard__in { display: block; position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .5s; }
.pcard[aria-pressed="true"] .pcard__in { transform: rotateY(180deg); }
.pcard__face { position: absolute; inset: 0; border-radius: 18px; border: var(--border-w) solid var(--khaki); background: var(--cream) var(--paper); background-blend-mode: multiply; box-shadow: 0 6px 0 var(--stone);
  -webkit-backface-visibility: hidden; backface-visibility: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 18px; }
.pcard__back { transform: rotateY(180deg); background: var(--khaki) var(--paper); color: var(--paper-white); font-size: 18px; line-height: 1.4; }
.pcard__n { font: 800 44px/1 var(--font-head); text-transform: uppercase; color: var(--orange); }
.pcard__ic { width: 92px; height: 92px; }
.pcard__t { font: 800 44px/1 var(--font-head); text-transform: uppercase; }
.pcard__t .acc { text-shadow: 2.5px 2.5px 0 var(--khaki); display: block; margin-bottom: 4px; }
.pcard__big { font: 800 104px/.9 var(--font-head); color: var(--orange); text-shadow: 4px 4px 0 var(--khaki); }
.pcard__corner { position: absolute; left: 12px; top: 10px; font: 800 22px/1 var(--font-head); display: grid; justify-items: center; gap: 2px; }
.pcard__corner .ic { width: 16px; height: 16px; }
.pcard__corner--b { left: auto; top: auto; right: 12px; bottom: 10px; rotate: 180deg; }
.pcard--o .pcard__corner, .pcard--o .pcard__ic { color: var(--orange); }
.pcard-wrap.is-cur .pcard__face { box-shadow: 0 6px 0 var(--orange-deep); }
.deck__nav { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 4px; }

/* ---- 9. Результаты: извилистая дорога 01–05 ---- */
.road-list { margin: 34px auto 0; max-width: 460px; }
.seg { position: relative; width: 80%; padding: 40px 18px 44px; margin-top: -14px; }
.seg:nth-child(odd) { margin-left: 2%; border-radius: 70px 30px 80px 36px; rotate: -1.5deg; }
.seg:nth-child(even) { margin-left: 18%; border-radius: 30px 76px 34px 84px; rotate: 1.5deg; }
.seg--k { background: var(--khaki); color: var(--paper-white); }
.seg--o { background: var(--orange); color: var(--khaki); }
.seg--start { background: var(--paper-white); border: 1.5px solid var(--cream-shade); box-shadow: 0 3px 0 var(--cream-shade); padding: 34px 18px 48px; display: flex; align-items: center; justify-content: center; gap: 10px; z-index: 1;
  clip-path: polygon(0 6%, 9% 3%, 17% 7%, 28% 2%, 39% 6%, 52% 1%, 63% 5%, 75% 2%, 88% 6%, 100% 3%, 100% 100%, 0 100%); }
.seg__pawn { width: 78px; height: 78px; color: var(--orange); filter: drop-shadow(0 4px 0 var(--orange-deep)); }
.seg__you { color: var(--orange); font-size: 30px; rotate: -8deg; text-align: left; line-height: 1; }
.seg__you svg { width: 56px; height: 26px; margin-top: 2px; }
.seg__btn { display: block; width: 100%; color: inherit; border-radius: 20px; padding: 4px; }
.seg__n { display: block; font: 800 68px/1 var(--font-head); }
.seg--k .seg__n { color: var(--orange); }
.seg--o .seg__n { color: var(--paper-white); text-shadow: 2px 2px 0 var(--orange-deep); }
.seg__t { display: block; font: 800 clamp(30px, 8.6vw, 36px)/1.02 var(--font-head); text-transform: uppercase; margin-top: 6px; }
.seg__note { display: inline-block; margin-top: 10px; font-size: 18px; line-height: 1.3; letter-spacing: .03em; }
/* мелкий текст на оранжевом не ставим — переносим на кремовую подложку */
.seg--o .seg__note { background: var(--cream); border-radius: 12px; padding: 4px 12px; }
.seg__plus { display: grid; place-items: center; width: 36px; height: 36px; margin: 12px auto 0; border-radius: 50%; border: 2px solid currentColor; transition: rotate .2s; }
.seg__plus svg { width: 18px; height: 18px; }
.seg__btn[aria-expanded="true"] .seg__plus { rotate: 45deg; }
.seg__more { margin: 12px auto 0; padding: 12px 14px; border-radius: 16px; background: var(--cream); color: var(--khaki); font-size: 18px; line-height: 1.4; text-align: left; }
.seg__lead { font: 800 46px/1 var(--font-head); text-transform: uppercase; color: var(--paper-white); text-shadow: 2px 2px 0 var(--orange-deep); }
.seg--bonus { padding-bottom: 96px; margin-bottom: -80px; }
#results { padding-bottom: 80px; overflow: hidden; }
#results .lead { font-family: var(--font-hand); letter-spacing: 0; font-size: clamp(22px, 6.4vw, 30px); max-width: 22ch; }

/* ---- Компьютер: блоки 1–9 ---- */
@media (min-width: 700px) {
  .roles { grid-template-columns: 1fr 1fr; max-width: 900px; }
  .facts { grid-template-columns: 1fr 1fr; max-width: 900px; }
  .fact--k, .fact--o, .fact--c { margin-left: 0; margin-right: 0; }
}
@media (min-width: 1024px) {
  .sec--hero { padding-top: 56px; }
  .hero { display: grid; grid-template-columns: minmax(0, 1fr) 470px; gap: 40px; align-items: end; }
  .hero__text { padding-bottom: 72px; }
  .hero__l1 { font-size: clamp(120px, 11.6vw, 168px); }
  .hero__l2 { font-size: clamp(94px, 9vw, 130px); }
  .hero__eyebrow { font-size: 24px; }
  .price { display: flex; align-items: center; justify-content: center; gap: 26px; flex-wrap: wrap; }
  .price__old { margin: 0; font-size: 40px; }
  .price__now { margin: 0; font-size: 112px; }
  .price__bonus { margin: 0; }
  .hero__stage { margin: 0; }
  /* «гофрокартон» продолжается от фото до правого края экрана */
  .hero__stage::before { content: ""; position: absolute; left: 96%; width: 100vw; top: 28.2%; bottom: 3.4%; background: var(--corr); border-top: 5px dotted var(--orange-deep); z-index: 0; }
  .hero__stage img { position: relative; z-index: 1; }
  .hero__tear { display: block; position: absolute; left: 96%; width: 100vw; bottom: 0; height: 5.5%; z-index: 1; }
  .hero__tear .tear { position: static; transform: none; height: 100%; }
  .hero__tear .tear__fill { fill: var(--cream); }

  .duo { scale: 1.2; margin-bottom: -200px; }
  #about { padding-top: 170px; }
  .roles { grid-template-columns: repeat(4, 1fr); max-width: none; gap: 26px; }
  .role { flex-direction: column; text-align: center; padding: 30px 18px; height: 100%; }
  .role__ic { width: 84px; height: 84px; }
  .role__t { font-size: 36px; }
  .facts { grid-template-columns: repeat(4, 1fr); max-width: none; gap: 26px; }
  .fact { flex-direction: column; text-align: center; padding: 30px 18px; height: 100%; justify-content: center; }
  .fact .ic { width: 68px; height: 68px; }
  .fact__t { font-size: 50px; }
  .video { max-width: 760px; }

  /* шесть карт видны сразу: сетка 3 × 2, без прокрутки */
  .deck { margin: 40px auto 0; max-width: 900px; }
  .deck__track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 40px; overflow: visible; padding: 0; }
  .deck__nav { display: none; }

  /* результаты: сетка 3 × 2 вместо дороги */
  .road-list { max-width: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
  .seg, .seg:nth-child(odd), .seg:nth-child(even) { width: auto; margin: 0; rotate: none; border-radius: 34px 60px 34px 60px; padding: 36px 24px; }
  .seg--start { grid-column: 1 / -1; justify-self: center; width: 420px; border-radius: 0; rotate: -2deg; }
  .seg--bonus { padding-bottom: 36px; margin-bottom: 0; }
  #results { padding-bottom: 120px; }
}

/* Без анимации: карта не крутится, а просто показывает оборот */
@media (prefers-reduced-motion: reduce) {
  .pcard__in { transition: none; }
}

/* Кубик крутится при броске */
.dice.is-rolling { animation: dice-roll .75s ease; }
@keyframes dice-roll { 0% { rotate: -14deg; scale: 1; } 50% { rotate: 380deg; scale: 1.25; } 100% { rotate: 706deg; scale: 1; } }
@media (prefers-reduced-motion: reduce) { .dice.is-rolling { animation: none; } }

/* Заголовок «Кому / ПОДОЙДЁТ / ДД✂2» — три строки, как в макете */
#for-whom h2 .acc { display: block; }

/* Наклонённые карточки не должны давать горизонтальную прокрутку */
.sec, .foot { overflow-x: clip; }
.acc { white-space: nowrap; }
#how h2 .acc { display: block; }

/* ============================================================
   10. БЛОКИ 10–16
   ============================================================ */

/* Карточка-перевёртыш (ведущие): обе стороны лежат в одной ячейке, высота — по большей */
.flip { display: block; width: 100%; perspective: 1000px; text-align: left; color: var(--khaki); border-radius: var(--radius-card); }
.flip__in { display: grid; transform-style: preserve-3d; transition: transform .5s; }
.flip[aria-pressed="true"] .flip__in { transform: rotateY(180deg); }
.flip__face { grid-area: 1 / 1; -webkit-backface-visibility: hidden; backface-visibility: hidden; background: var(--cream) var(--paper); background-blend-mode: multiply;
  border: var(--border-w) solid var(--khaki); border-radius: var(--radius-card); box-shadow: 0 7px 0 var(--khaki); padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.flip__back { transform: rotateY(180deg); }
@media (prefers-reduced-motion: reduce) { .flip__in { transition: none; } }

/* Подзаголовок под крупным заголовком */
.h-sub { font: 800 clamp(34px, 9.6vw, 52px)/1 var(--font-head); text-transform: uppercase; margin-top: 10px; }

/* ---- 10. Цель ---- */
#goal h2 { font-size: clamp(48px, 13.6vw, 84px); }
#goal h2 .acc { display: block; font-size: 1.28em; }
#goal h2 .acc + .acc, #goal h2 .acc:last-child { display: inline; font-size: 1em; }

/* ---- 11. Подойдёт ли мне: мини-тест + «Кому надо / не надо» ---- */
.quiz { max-width: 520px; margin: 0 auto; padding: 30px 22px 28px; text-align: center; rotate: -1deg; }
.quiz h2 { font-size: clamp(40px, 11.4vw, 60px); }
.quiz__lead { font-family: var(--font-hand); font-size: 22px; margin-top: 6px; }
.quiz__body { margin-top: 20px; min-height: 150px; display: grid; align-content: center; gap: 18px; }
.quiz__body:focus { outline: none; }
.quiz__q { font: 800 clamp(30px, 8.4vw, 38px)/1.05 var(--font-head); text-transform: uppercase; }
.quiz__prog { display: flex; gap: 8px; justify-content: center; }
.quiz__prog i { width: 44px; height: 10px; border-radius: 10px; background: var(--stone); border: 1.5px solid var(--khaki); }
.quiz__prog i.is-done { background: var(--orange); }
.quiz__prog i.is-now { background: var(--khaki); }
.quiz__yn { display: flex; gap: 14px; justify-content: center; }
.quiz__yn .btn { flex: 1 1 0; max-width: 170px; }
.quiz__res { font: 800 clamp(40px, 11vw, 56px)/1 var(--font-head); text-transform: uppercase; }
.quiz .cta-row { margin-top: 4px; }
.linkbtn { font: 500 17px var(--font-body); text-decoration: underline; text-underline-offset: 4px; min-height: 48px; padding: 0 12px; }

.fit { display: grid; gap: 64px; margin: 84px auto 0; max-width: 520px; }
.fit__card { position: relative; border-radius: 22px; padding: 30px 24px 26px; text-align: left; border: var(--border-w) solid var(--khaki); }
.fit__card h3 { font-size: clamp(52px, 15vw, 72px); text-align: center; margin-bottom: 12px; }
.fit__card li { display: flex; align-items: center; gap: 12px; font: 800 clamp(36px, 10.4vw, 46px)/1.12 var(--font-head); text-transform: uppercase; }
.fit__card li .ic { width: 38px; height: 38px; flex: 0 0 auto; }
.fit__yes { background: var(--orange); color: var(--paper-white); box-shadow: 0 7px 0 var(--khaki); rotate: -1deg; }
.fit__yes h3, .fit__yes li { text-shadow: 3px 3px 0 var(--khaki); }
.fit__yes li .ic { filter: drop-shadow(2px 2px 0 var(--khaki)); }
.fit__no { background: var(--stone) var(--paper); background-blend-mode: multiply; color: var(--khaki); border-color: #A9A594; box-shadow: 0 7px 0 #A9A594; rotate: 1deg; }
.fit__no li .ic { color: var(--orange); }
.fit__fig { position: absolute; top: -62px; width: 92px; height: 92px; }
.fit__yes .fit__fig { right: 14px; color: var(--orange); filter: drop-shadow(0 3px 0 var(--khaki)) drop-shadow(0 0 0 var(--khaki)); stroke: var(--khaki); }
.fit__yes .fit__fig svg { stroke: var(--khaki); stroke-width: 1.6; }
.fit__no .fit__fig { left: 14px; color: #A9A594; filter: drop-shadow(0 3px 0 #8E8A7A); }

/* ---- 12. Возражения: переключатель «Ждун ⇄ Движок» ---- */
#objections h2 { font-size: clamp(40px, 11.6vw, 64px); }
.sw { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 30px; font: 800 clamp(34px, 9.6vw, 52px)/1 var(--font-head); text-transform: uppercase; }
.sw__btn { position: relative; width: 92px; height: 52px; border-radius: 52px; background: var(--stone); border: var(--border-w) solid var(--khaki); box-shadow: 0 4px 0 var(--khaki); flex: 0 0 auto; transition: background-color .2s; }
.sw__knob { position: absolute; left: 4px; top: 4px; width: 39px; height: 39px; border-radius: 50%; background: var(--khaki); transition: translate .2s, background-color .2s; }
.sw__btn[aria-checked="true"] { background: var(--orange); }
.sw__btn[aria-checked="true"] .sw__knob { translate: 40px 0; }
.sw__l, .sw__r { transition: opacity .2s; }
.sw[data-on="true"] .sw__l, .sw[data-on="false"] .sw__r { opacity: .45; }
.objs { display: grid; gap: 30px; margin: 34px auto 0; max-width: 560px; }
.obj { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: center; width: 100%; border-radius: 26px; padding: 4px; }
.obj__cloud, .obj__st { font: 800 clamp(24px, 6.8vw, 32px)/1.05 var(--font-head); text-transform: uppercase; display: grid; place-items: center; min-height: 104px; padding: 14px 12px;
  transition: opacity .25s, scale .25s, rotate .25s, background-color .25s, box-shadow .25s; }
/* облачко мысли: мягкий овал с двумя пузырьками */
.obj__cloud { position: relative; background: var(--paper-white); border: var(--border-w) solid var(--khaki); border-radius: 58% 42% 55% 45% / 55% 60% 40% 45%; box-shadow: 0 4px 0 var(--stone); }
.obj__cloud::before, .obj__cloud::after { content: ""; position: absolute; background: var(--paper-white); border: var(--border-w) solid var(--khaki); border-radius: 50%; }
.obj__cloud::before { width: 18px; height: 18px; left: 10px; bottom: -8px; }
.obj__cloud::after { width: 10px; height: 10px; left: 0; bottom: -20px; }
/* стикер движка */
.obj__st { background: var(--stone); border: var(--border-w) solid var(--khaki); border-radius: 16px 20px 14px 22px; box-shadow: 0 5px 0 var(--khaki); opacity: .55; scale: .94; }
.obj[aria-pressed="true"] .obj__st { background: var(--orange); opacity: 1; scale: 1.04; rotate: 2.5deg; box-shadow: 0 6px 0 var(--orange-deep); }
.obj[aria-pressed="true"] .obj__cloud { opacity: .45; scale: .9; text-decoration: line-through; text-decoration-color: var(--orange); text-decoration-thickness: 3px; }

/* ---- 13. Места и цена ---- */
#price h2 { font-size: clamp(64px, 19vw, 110px); }
#price h2 .acc { font-size: 1.25em; }
#price h2.is-plain { font-size: clamp(46px, 13vw, 72px); }
.seats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 16px; max-width: 420px; margin: 34px auto 0; }
.seat { position: relative; display: block; width: 100%; aspect-ratio: 48 / 40; border-radius: 16px; }
.seat svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.seat .chair__body, .seat .chair__seat { fill: var(--paper-white); stroke: var(--khaki); stroke-width: 2.2; transition: fill .15s; }
.seat__n { position: absolute; left: 0; right: 0; top: 14%; font: 800 26px/1 var(--font-head); color: var(--khaki); }
.seat--taken .chair__body, .seat--taken .chair__seat { fill: var(--khaki); }
.seat--taken .seat__x { position: absolute; left: 50%; top: 8%; width: 38%; translate: -50% 0; color: var(--paper-white); }
.seat--taken .seat__x svg { position: static; }
button.seat:hover .chair__body { fill: #FFE9C7; }
button.seat[aria-pressed="true"] .chair__body, button.seat[aria-pressed="true"] .chair__seat { fill: var(--orange); }
button.seat[aria-pressed="true"] { translate: 0 3px; }
.seat-status { min-height: 30px; margin-top: 18px; font: 800 28px/1 var(--font-head); text-transform: uppercase; color: var(--orange-deep); }
.seat-help { font-size: 16px; margin-top: 6px; }
.book { font: 800 clamp(48px, 14vw, 76px)/1 var(--font-head); text-transform: uppercase; margin-top: 30px; }
#price .price { margin-top: 26px; }
/* купюра-билет: наклоняется при наведении */
.ticket { position: relative; width: min(100%, 360px); aspect-ratio: 2 / 1; margin: 12px auto 14px; background: var(--cream); border: var(--border-w) solid var(--khaki); border-radius: 12px; box-shadow: 0 6px 0 var(--orange-deep);
  outline: 1.5px solid var(--khaki); outline-offset: -9px; display: grid; place-items: center; align-content: center; gap: 4px; rotate: -3deg; transition: transform .25s, rotate .25s; }
.ticket:hover { transform: perspective(700px) rotateY(-14deg) rotateX(6deg); rotate: 1deg; }
.ticket__brand { font: 800 18px/1 var(--font-head); text-transform: uppercase; letter-spacing: .08em; }
.ticket__oval { background: var(--orange); border: var(--border-w) solid var(--khaki); border-radius: 50%; padding: 6px 30px 8px; font: 800 clamp(40px, 12vw, 52px)/1 var(--font-head); }
.ticket__line { font-size: 12px; letter-spacing: .06em; }
.ticket__c { position: absolute; font: 800 15px/1 var(--font-head); }
.ticket__c:nth-of-type(2) { left: 16px; top: 15px; } .ticket__c:nth-of-type(3) { right: 16px; top: 15px; }
.ticket__c:nth-of-type(4) { left: 16px; bottom: 15px; } .ticket__c:nth-of-type(5) { right: 16px; bottom: 15px; }

/* ---- 14. Ведущие ---- */
#hosts { padding-bottom: 72px; }
.paper { max-width: 560px; margin: 0 auto; padding: 34px 20px 30px; background: var(--cream) var(--paper); background-blend-mode: multiply; filter: drop-shadow(0 4px 0 rgba(42, 33, 24, .28));
  clip-path: polygon(0 4%, 6% 1%, 14% 3%, 25% 0, 37% 3%, 50% 1%, 61% 4%, 74% 1%, 86% 3%, 100% 0, 99% 22%, 100% 47%, 98% 70%, 100% 97%, 90% 100%, 78% 97%, 64% 100%, 51% 97%, 38% 100%, 24% 98%, 11% 100%, 0 97%, 2% 72%, 0 46%, 1% 21%); }
.paper h2 { font-size: clamp(64px, 19vw, 104px); }
.paper p { font-size: 18px; letter-spacing: .03em; margin: 12px auto 0; max-width: 30ch; }
.hosts__photo { margin: 6px calc(var(--gutter) * -1) 0; }
.hosts__photo img { width: 100%; height: auto; max-width: 620px; margin: 0 auto; }
.hosts__photo .ph { margin: 20px var(--gutter); min-height: 300px; }
.hosts__cards { position: relative; display: grid; gap: 22px; margin: -40px auto 0; max-width: 620px; }
.hosts__cards li:nth-child(1) { width: 88%; rotate: -1.5deg; }
.hosts__cards li:nth-child(2) { width: 88%; margin-left: 12%; rotate: 1.5deg; }
.host__top { display: flex; align-items: center; gap: 14px; }
.host__ava { width: 76px; height: 76px; border-radius: 50%; border: var(--border-w) solid var(--khaki); overflow: hidden; flex: 0 0 auto; background: var(--corr); }
.host__ava img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.host__name { font: 800 clamp(32px, 9vw, 40px)/.95 var(--font-head); text-transform: uppercase; }
.host__tag { font: 800 clamp(26px, 7.4vw, 32px)/1 var(--font-head); text-transform: uppercase; color: var(--orange); text-shadow: 2px 2px 0 var(--khaki); }
.host__hint { font-size: 18px; opacity: .8; }
.host__bio { font-size: 18px; line-height: 1.4; }
.host__quote { font-size: 20px; }

/* ---- 15. Цифры проекта: «змейка» ---- */
.snake { max-width: 420px; margin: 0 auto; }
.snake li { position: relative; width: 74%; margin-top: -12px; padding: 34px 16px; display: grid; place-items: center; }
.snake li:nth-child(odd) { margin-left: 2%; border-radius: 60px 26px 70px 30px; rotate: -3deg; }
.snake li:nth-child(even) { margin-left: 24%; border-radius: 26px 66px 30px 74px; rotate: 3deg; }
.snake__k { background: var(--khaki); color: var(--paper-white); }
.snake__o { background: var(--orange); min-height: 70px; }
.snake__c { background: var(--paper-white); border: 2px solid var(--khaki); }
.snake__c .ic { width: 74px; height: 74px; color: var(--orange); filter: drop-shadow(0 4px 0 var(--orange-deep)); }
.snake__v { font: 800 clamp(64px, 18vw, 84px)/1 var(--font-head); font-variant-numeric: tabular-nums; }
.snake__l { font: 800 clamp(26px, 7.4vw, 32px)/1 var(--font-head); text-transform: uppercase; }
.snake__l .x2 { color: var(--orange); }

/* ---- 16. Отзывы: карусель кружков ---- */
#reviews h2 { font-size: clamp(46px, 13vw, 72px); }
.revs { margin: 34px calc(var(--gutter) * -1) 0; }
.revs__track { display: flex; align-items: center; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 14px calc(50% - 100px); scrollbar-width: none; }
.revs__track::-webkit-scrollbar { display: none; }
.rev { flex: 0 0 200px; aspect-ratio: 1; scroll-snap-align: center; border-radius: 50%; border: 3px dashed #7B7968; background: var(--paper-white); display: grid; place-items: center; align-content: center; gap: 4px; padding: 20px;
  font: 400 22px var(--font-hand); text-transform: uppercase; color: #6B6959; scale: .62; transition: scale .25s, border-color .25s, color .25s; }
.rev.is-cur { scale: 1; border-color: var(--orange); color: var(--orange-deep); background: #FFF1DC; }
.rev small { font: 500 12px/1.25 var(--font-body); text-transform: none; color: var(--khaki); }
.revs__nav { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 8px; }
.revs-cap { font-family: var(--font-hand); font-size: 21px; max-width: 24ch; margin: 18px auto 0; line-height: 1.25; }

/* ---- Компьютер: блоки 10–16 ---- */
@media (min-width: 560px) {
  .hosts__cards { grid-template-columns: 1fr 1fr; align-items: start; }
  .hosts__cards li:nth-child(1), .hosts__cards li:nth-child(2) { width: auto; margin-left: 0; }
  .hosts__cards li:nth-child(2) { margin-top: 34px; }
}
@media (min-width: 1024px) {
  #goal h2 { font-size: 104px; }
  #goal h2 .acc { display: inline; font-size: 1em; }
  .fit { grid-template-columns: 1fr 1fr; max-width: 980px; gap: 44px; margin-top: 110px; }
  .objs { grid-template-columns: repeat(3, 1fr); max-width: none; gap: 30px; }
  .obj { grid-template-columns: 1fr; gap: 26px; }
  .obj__cloud, .obj__st { min-height: 130px; font-size: 36px; }

  /* места и цена — две колонки */
  .price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-top: 30px; }
  .seats { margin-top: 0; }
  .ticket { width: 420px; }

  /* ведущие: фото слева, карточки справа */
  .hosts-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 50px; align-items: center; margin-top: 30px; }
  .hosts__photo { margin: 0; }
  .hosts__cards { margin: 0; grid-template-columns: 1fr; gap: 30px; max-width: none; }
  .hosts__cards li:nth-child(2) { margin-top: 0; margin-left: 40px; }
  .hosts__cards li:nth-child(1) { margin-right: 40px; }
  .paper { max-width: 760px; }

  /* змейка — в строку */
  .snake { max-width: none; display: flex; align-items: center; justify-content: center; }
  .snake li, .snake li:nth-child(odd), .snake li:nth-child(even) { width: auto; flex: 1 1 0; margin: 0 -8px; min-height: 190px; padding: 26px 16px; }
  .snake li:nth-child(odd) { translate: 0 -18px; }
  .snake li:nth-child(even) { translate: 0 18px; }
  .snake__o { flex: 0 0 90px !important; }
  .snake__c { flex: 0 0 150px !important; }
  .rev { flex-basis: 240px; }
  .revs__track { padding: 14px calc(50% - 120px); }
}

/* Правки этапа 4 */
.paper .acc { white-space: normal; }
#price h2 { max-width: 4.3em; margin-inline: auto; }
#price h2.is-plain { max-width: none; }
.h-sub { word-spacing: .14em; }
.rev { margin: 0 -26px; }
@media (min-width: 620px) { .hosts__photo img { -webkit-mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent); } }

/* ============================================================
   11. ФОРМА ЗАЯВКИ, ВОПРОСЫ, ПОДВАЛ, COOKIE
   ============================================================ */

/* ---- 17. Форма «Оставь заявку» (в блоке и в окне) ---- */
#apply { padding-bottom: 96px; }
.apply { max-width: 560px; margin: 0 auto; padding: 34px 22px 30px; text-align: center; box-shadow: 0 8px 0 var(--ink); }
.apply h2, [data-formwrap] h2 { font-size: clamp(56px, 16vw, 88px); }
.apply h2 .acc, [data-formwrap] h2 .acc { display: block; }
.form-sub { font-size: clamp(18px, 5vw, 21px); letter-spacing: .03em; margin-top: 12px; }
.form { display: grid; gap: 16px; text-align: left; margin-top: 22px; }
.fld label { display: block; font-size: 19px; letter-spacing: .04em; margin: 0 0 6px 4px; }
.fld input, .ask textarea { width: 100%; min-height: 56px; padding: 10px 18px; font: 500 20px/1.3 var(--font-body); color: var(--khaki); background: var(--paper-white);
  border: var(--border-w) solid var(--khaki); border-radius: 18px; -webkit-appearance: none; appearance: none; }
.fld input:focus-visible, .ask textarea:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; box-shadow: none; border-radius: 18px; }
.fld input[aria-invalid="true"] { border-color: var(--orange-red); background: #FFF0E8; }
/* ошибка под полем: тёмный текст (читается), оранжево-красная метка слева */
.fld__e { margin: 6px 0 0 4px; padding-left: 12px; border-left: 4px solid var(--orange-red); font-size: 17px; font-weight: 700; line-height: 1.3; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }   /* поле-ловушка для роботов */
.chk { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; font-size: 17px; line-height: 1.35; cursor: pointer; min-height: 48px; padding: 4px 0; }
.chk input { width: 28px; height: 28px; margin: 0; accent-color: var(--orange); cursor: pointer; }
.picked { font-size: 17px; background: #FFE9C7; border: 1.5px dashed var(--khaki); border-radius: 14px; padding: 8px 14px; }
.form .btn { justify-self: center; margin-top: 4px; }
.form__hint { text-align: center; font-size: 16px; margin-top: -6px; }
.form__status { text-align: center; font-weight: 700; }
.thanks:focus { outline: none; }
.thanks h2 { font-size: clamp(44px, 12vw, 64px) !important; }
.thanks p { margin-top: 14px; }
.demo-note { display: inline-block; margin-top: 18px; font: 400 19px/1.25 var(--font-hand); background: #FFE27A; border: 1.5px dashed var(--khaki); border-radius: 16px; padding: 6px 16px; rotate: -1.5deg; }

/* ---- 18. Вопросы: аккордеон «один открыт» ---- */
#faq h2 .acc { display: block; }
.faq { max-width: 820px; margin: 34px auto 0; text-align: left; border-top: 2px solid var(--khaki); }
.faq__item { border-bottom: 2px solid var(--khaki); }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; min-height: 72px; padding: 14px 2px; text-align: left;
  font: 800 clamp(25px, 7vw, 34px)/1.05 var(--font-head); text-transform: uppercase; color: var(--khaki); }
.faq__ic { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; background: var(--khaki); color: var(--paper-white); display: grid; place-items: center; transition: background-color .15s; }
.faq__ic svg { width: 20px; height: 20px; }
.faq__ic .i-minus { display: none; }
.faq__q[aria-expanded="true"] .faq__ic { background: var(--orange); }
.faq__q[aria-expanded="true"] .i-plus { display: none; }
.faq__q[aria-expanded="true"] .i-minus { display: block; }
.faq__a { padding: 0 2px 22px; }
.faq__a p { max-width: 62ch; }
.faq__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 14px; font-size: 17px; }
.faq__tools .mini { min-width: 48px; min-height: 48px; padding: 0 12px; border-radius: 14px; border: 2px solid var(--khaki); background: var(--cream); font-size: 20px; }
.faq__tools .mini:hover { background: var(--cream-shade); }
.faq__tools .mini[aria-pressed="true"] { background: var(--orange); }
.faq__said { flex-basis: 100%; font-weight: 700; }
.ask { display: grid; gap: 12px; }
.ask label { font-size: 19px; }
.ask textarea { min-height: 120px; resize: vertical; }
.ask .btn { justify-self: start; }

/* ---- 19. Подвал ---- */
.foot__in { max-width: var(--container); margin: 0 auto; display: grid; gap: 26px; justify-items: center; }
.foot .logo__word { color: var(--paper-white); font-size: 30px; }
.foot .logo__mark { width: 56px; height: 56px; border-color: var(--paper-white); }
.foot__slogan { font: 400 24px var(--font-hand); }
.foot__links { display: grid; gap: 4px; }
.foot__links a, .foot__btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 10px; color: var(--paper-white); font-size: 18px; text-decoration: underline; text-underline-offset: 4px; }
.foot__links a:hover, .foot__btn:hover { color: var(--orange); }
.foot__small { font-size: 16px; opacity: .9; max-width: 46ch; }
.foot :focus-visible { outline-color: var(--orange); box-shadow: none; }
.foot__top { display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 22px; border-radius: var(--radius-pill); border: 2px solid var(--paper-white); color: var(--paper-white);
  font: 800 20px/1 var(--font-head); text-transform: uppercase; }
.foot__top .ic { width: 20px; height: 20px; }
.foot__top:hover { background: var(--khaki-deep); }

/* ---- Баннер cookie ---- */
.cookie { position: fixed; z-index: 60; left: 10px; right: 10px; bottom: 10px; max-width: 620px; margin: 0 auto; padding: 16px 18px; background: var(--cream); color: var(--khaki);
  border: var(--border-w) solid var(--khaki); border-radius: 22px; box-shadow: 0 6px 0 var(--khaki); font-size: 16px; line-height: 1.4; }
.cookie__btns { display: flex; gap: 10px; margin-top: 12px; }
.cookie__btns .btn { flex: 1 1 0; min-height: 48px; padding: 0 12px; font-size: 19px; }
.has-cookie .sticky-cta { display: none; }

@media (min-width: 1024px) {
  .apply { padding: 44px 44px 40px; }
  .foot__in { grid-template-columns: 1fr 1fr 1fr; align-items: start; justify-items: start; text-align: left; }
  .foot__links { justify-items: start; }
  .foot__links a, .foot__btn { padding: 0; justify-content: flex-start; }
  .foot__col:last-child { justify-self: end; text-align: right; display: grid; gap: 10px; justify-items: end; }
  .cookie { left: auto; right: 24px; bottom: 24px; margin: 0; width: 440px; }
}
.apply { color: var(--khaki); }
.dot { width: 40px; height: 48px; }
.dots { gap: 0; }
.logo { min-height: 48px; }

/* ============================================================
   12. ПРАВКИ ВЁРСТКИ (текст не выходит за рамки) И КРАСНЫЕ КРУЖКИ
   ============================================================ */

/* Красный кружок «здесь нужно уточнить» (вместо жёлтых пометок). Виден только в режиме approval. */
.need { display: inline-block; width: 15px; height: 15px; padding: 0; margin: 0 .2em; border: 0; border-radius: 50%; background: #E3261B; box-shadow: 0 0 0 2px var(--paper-white), 0 0 0 3.5px #E3261B;
  vertical-align: middle; cursor: pointer; font-size: 0; line-height: 0; flex: 0 0 auto; text-shadow: none; }
.need:hover { scale: 1.25; }
.mode-publish .need { display: none; }

/* Полоска «демо-версия» под шапкой — вместо наклейки, которая перекрывала текст */
.demo-badge { position: static; transform: none; rotate: none; opacity: 1; pointer-events: auto; border: 0; border-top: 1.5px dashed var(--khaki); border-radius: 0; background: #FFE27A;
  padding: 3px 10px 4px; text-align: center; font: 400 13px/1.35 var(--font-hand); color: var(--khaki); }
.demo-badge .need { width: 11px; height: 11px; cursor: default; margin: 0 .1em; }
.mode-approval { --strip: 28px; }
html { scroll-padding-top: calc(var(--top-h) + var(--strip, 0px) + 20px); }

/* Слова не разрываются там, где это ломает смысл; всё остальное переносится */
.nw { white-space: nowrap; }
.acc { white-space: normal; }
.hero__l2, .hero__l1, .price__now, .price__old, .seg__n, .snake__v, .ticket__oval { white-space: nowrap; }
.sec, .foot, .modal__box, .toast { overflow-wrap: break-word; }
.btn { max-width: 100%; }
.btn--sm { white-space: normal; text-align: center; padding-top: 8px; padding-bottom: 8px; line-height: 1.05; }

/* Первый экран: размер заголовка считается от ширины своей колонки, а не экрана */
.hero__text { container-type: inline-size; }
.hero__l1 { font-size: min(21.4cqw, 168px); }
.hero__l2 { font-size: min(15.6cqw, 124px); }
.price__now { font-size: min(21cqw, 112px); }

/* Плашка «на площадке компании …» и заголовок над картами — на узких экранах */
.fact--c .fact__t { font-size: clamp(21px, 6.4vw, 30px); letter-spacing: .05em; }
.fact > span { min-width: 0; }
.deck-head h2 { font-size: clamp(32px, 9.6vw, 64px); }
.role__txt, .host__top > .host__name { min-width: 0; }
.book { font-size: clamp(42px, 13vw, 76px); }
.quiz__yn .btn { padding: 0 12px; }
.cookie__btns .btn { white-space: normal; }

/* Экраны средней ширины (планшет, узкое окно): фото первого экрана не растягивается на всю ширину */
@media (min-width: 600px) and (max-width: 1023px) {
  .hero__stage::before { content: ""; position: absolute; left: 0; right: 0; top: 28.2%; bottom: 3.4%; background: var(--corr); border-top: 5px dotted var(--orange-deep); }
  .hero__stage img { position: relative; max-width: 480px; margin: 0 auto;
    -webkit-mask-image: linear-gradient(transparent, #000 6%), linear-gradient(to right, transparent, #000 9%, #000 91%, transparent); -webkit-mask-composite: source-in;
    mask-image: linear-gradient(transparent, #000 6%), linear-gradient(to right, transparent, #000 9%, #000 91%, transparent); mask-composite: intersect; }
  .hero__tear { display: block; position: absolute; left: 0; right: 0; bottom: 0; height: 5%; }
  .hero__tear .tear { position: static; transform: none; height: 100%; }
  .hero__tear .tear__fill { fill: var(--cream); }
  .hero__text { max-width: 620px; margin: 0 auto; }
  .road-list, .snake { max-width: 520px; }
}

@media (min-width: 1024px) {
  .demo-badge { font-size: 15px; }
  .mode-approval { --strip: 30px; }
  .road { top: calc(var(--top-h) + var(--strip, 0px) + 28px); }
  /* на небольших экранах компьютера колонка с фото уже, чтобы заголовку хватало места */
  .hero { grid-template-columns: minmax(0, 1fr) clamp(340px, 34vw, 470px); }
  .role__t { font-size: clamp(26px, 2.6vw, 36px); }
  .fact__t { font-size: clamp(34px, 3.5vw, 50px); }
  .obj__cloud, .obj__st { font-size: clamp(26px, 2.6vw, 36px); }
  .host__name { font-size: clamp(30px, 3vw, 40px); }
  .seg__t { font-size: clamp(26px, 2.5vw, 36px); }
}
