/* Лэндинг Landing Studio.
   Язык — кит самого сайта (design-system.css): бумага с узором LE, Unbounded,
   Lora, Roboto Mono, кромка из двух черт, плинт под кнопкой, растр шагом 6,
   рукописные пометки. Терракота одна на экран.

   Хиро собран из V5 (Gate 4): заголовок во всю ширину, а поверх него, как
   брошенные рукой, лежат четыре настоящие страницы. На широком экране всё
   хиро меряется одной единицей --u, поэтому композиция масштабируется целиком,
   как плакат, а не разъезжается. Уже 900 — стопка карточек и промпт под ней.

   Ниже хиро у страницы одна сетка на два столбца (--split): второй столбец
   начинается на одном и том же x в шагах, в «что нужно» и в покупке. */

:root {
  --gutter: clamp(20px, 4.4vw, 80px);
  --u: 1vw;
  --bar-h: 64px;
  --pad: clamp(88px, 9vw, 150px);
  --split: minmax(0, 5fr) minmax(0, 7fr);
  --split-gap: clamp(28px, 4vw, 80px);
  --ink: #000;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + 16px); }
body {
  margin: 0;
  color: var(--ink-body);
  background: var(--paper) var(--le-soft) 0 0 / var(--le-tile);
  font: 400 19px/1.6 var(--font-serif);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
code { font-family: var(--font-mono); }
:focus-visible { outline: 3px solid var(--terra-deep); outline-offset: 4px; }

/* Unbounded с отрицательной разрядкой съедает пробелы: «becomea page».
   Слову возвращается воздух, буквы остаются плотными. */
.hero__title, .sec__title, .step__title, .tile__name { word-spacing: 0.12em; }

/* ── кадр: страница как есть ──────────────────────────────────────────────
   Скруглённый угол и мягкая тень, без черт кромки. Так владелец решил для
   хиро, и так же показан каждый кадр ниже: одна подача на всю страницу. */
.frame { position: relative; display: block; border-radius: 12px; }
.frame > img, .frame > video, .hero__card img {
  display: block; width: 100%; border-radius: inherit; background: var(--paper-deep);
  box-shadow: 0 1px 2px rgba(40, 30, 20, 0.10), 0 14px 36px rgba(40, 30, 20, 0.16);
}

/* ── кнопка на плинте ─────────────────────────────────────────────────────
   Та же геометрия, что у .cta-button в design-system.css: Г-образная грань
   одним псевдоэлементом, правая светлее нижней. */
.btn {
  position: relative; z-index: 0; display: inline-block;
  padding: 16px 26px; border: 0; background: var(--ink); color: #fff;
  font: 700 15px/1.2 var(--font-display); letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer;
  transition: transform var(--transition-press);
}
.btn::before {
  content: ""; position: absolute; z-index: -1; top: 0; left: 0;
  width: calc(100% + var(--plinth-depth)); height: calc(100% + var(--plinth-depth));
  transition: inherit;
  background: conic-gradient(from 135deg at calc(100% - var(--plinth-depth)) calc(100% - var(--plinth-depth)),
    var(--terra-deep) 0deg 180deg, var(--terra) 180deg 360deg);
  clip-path: polygon(calc(100% - var(--plinth-depth)) 0, 100% var(--plinth-depth), 100% 100%,
    var(--plinth-depth) 100%, 0 calc(100% - var(--plinth-depth)),
    calc(100% - var(--plinth-depth)) calc(100% - var(--plinth-depth)));
}
.btn:hover { --plinth-depth: 11px; }
.btn:active { --plinth-depth: 2px; transform: translate(6px, 6px); }
.btn--big { padding: 20px 34px; font-size: 18px; }
.btn[aria-busy="true"] { cursor: progress; opacity: 0.7; }

/* ── шапка ────────────────────────────────────────────────────────────────── */
.bar {
  position: sticky; top: 0; z-index: 50; height: var(--bar-h);
  display: flex; align-items: center; gap: 28px; padding-inline: var(--gutter);
  background: var(--paper-veil);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(169, 158, 136, 0.45);
}
.bar__logo { font: 800 18px var(--font-display); letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
.bar__nav { display: flex; gap: 26px; margin-left: auto; }
.bar__nav a, .bar__back {
  font: 500 11px var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-neutral-500); text-decoration: none; transition: color var(--transition-fast);
}
.bar__nav a:hover, .bar__back:hover { color: var(--ink); }
.bar__back { padding: 8px 0; white-space: nowrap; }

/* ── хиро ─────────────────────────────────────────────────────────────────── */
.hero { position: relative; height: calc(69 * var(--u)); padding: calc(3 * var(--u)) var(--gutter) 0; overflow-x: clip; }
.hero__title {
  position: relative; z-index: 1; margin: 0; max-width: 11em;
  font: 800 calc(9.2 * var(--u))/0.9 var(--font-display); letter-spacing: -0.05em; color: var(--ink);
}
.hero__rest {
  display: block; max-width: calc(33 * var(--u)); margin-top: calc(2.1 * var(--u));
  font: italic 400 max(28px, calc(3.2 * var(--u)))/1.16 var(--font-serif);
  letter-spacing: 0; word-spacing: 0; color: var(--ink-body); text-wrap: balance;
}
/* Сцена стоит между полями страницы: карточки не вылезают за правый край. */
.hero__stage { position: absolute; inset: 0 var(--gutter); }

/* Настоящие страницы лежат поверх шрифта, куда их бросила рука. */
.hero__card {
  position: absolute; z-index: 2; display: block; padding: 0; border: 0;
  background: none; cursor: pointer; font: inherit;
  transition: scale 0.25s ease;
}
/* Сами страницы, без оформления: скруглённый угол и мягкая тень, чтобы
   лежащие друг на друге листы не сливались. */
.hero__card { border-radius: 12px; }
.hero__card--1 { width: 44%; left: 35.8%; top: calc(19.6 * var(--u)); rotate: -4deg; z-index: 2; }
.hero__card--2 { width: 37%; right: 0.6%; top: calc(26.1 * var(--u)); rotate: 3.2deg; z-index: 3; }
.hero__card--3 { width: 33%; left: 43.4%; top: calc(42.1 * var(--u)); rotate: 2.2deg; z-index: 4; }
.hero__card--4 { width: 30.7%; right: 1.4%; top: calc(47.2 * var(--u)); rotate: -2.6deg; z-index: 5; }
/* Выбранная страница ложится наверх стопки: её промпт сейчас напечатан.
   Только после первого касания — до него стопка лежит так, как в V5. */
.hero__stage[data-touched] .hero__card[aria-pressed="true"] { z-index: 6; }
.hero__card:hover { z-index: 7; scale: 1.015; }

.hero__raster {
  position: absolute; z-index: 1; left: 31.4%; top: calc(38.9 * var(--u));
  width: 28.5%; height: calc(20.8 * var(--u)); rotate: 2deg;
  background: radial-gradient(var(--terra) 2.3px, transparent 2.45px) 0 0 / var(--raster-step) var(--raster-step);
}

.hero__side { position: absolute; z-index: 8; left: 0; top: calc(39.4 * var(--u)); width: calc(32.6 * var(--u)); }
.prompt {
  position: relative; display: block; rotate: -1.2deg;
  padding: 20px 24px; background: #fff; box-shadow: inset 0 0 0 1px var(--ink);
  font: 400 clamp(14px, calc(1.18 * var(--u)), 20px)/1.55 var(--font-mono); color: var(--ink);
}
.prompt__who {
  display: block; margin-bottom: 8px;
  font: 500 11px var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-neutral-500);
}
/* Живая строка и невидимые копии всех четырёх промптов в одной клетке сетки:
   коробка всегда высотой с самый длинный, и кнопка под ней не прыгает. */
.prompt__body { display: grid; }
.prompt__body > * { grid-area: 1 / 1; }
.prompt__ghost { visibility: hidden; }
.prompt .cmd, .say .cmd { color: var(--terra); }
.prompt code { font: inherit; background: var(--paper-deep); padding: 0 4px; overflow-wrap: anywhere; }
.caret {
  display: inline-block; width: 0.6em; height: 1.1em; margin-left: 2px; vertical-align: -0.2em;
  background: var(--terra); animation: caret 1.05s steps(1) infinite;
}
.prompt[data-typing] .caret { animation: none; }
@keyframes caret { 50% { opacity: 0; } }

.hero__arrow {
  position: absolute; left: calc(100% - 1.6 * var(--u)); top: calc(-5 * var(--u));
  width: calc(9.7 * var(--u)); height: auto; overflow: visible; pointer-events: none;
}
.hero__arrow path {
  fill: none; stroke: var(--terra-deep); stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round;
}
.hero__buy { display: flex; align-items: center; gap: 22px; margin-top: calc(2.8 * var(--u)); padding-left: 4px; }
.hero__note { font: 400 12px/1.5 var(--font-mono); color: var(--text-neutral-500); }

/* ── секции ───────────────────────────────────────────────────────────────── */
.sec { padding: var(--pad) var(--gutter) 0; }
.sec__title {
  margin: 0 0 clamp(36px, 3.8vw, 64px); max-width: 17em;
  font: 800 clamp(34px, calc(4.2 * var(--u)), 76px)/1.02 var(--font-display);
  letter-spacing: -0.035em; color: var(--ink); text-wrap: balance;
}
.need__lead, .buy__lead { margin: 0; max-width: 24em; font-size: clamp(19px, calc(1.6 * var(--u)), 26px); line-height: 1.45; color: var(--ink); text-wrap: pretty; }

/* ── для кого: четыре человека, сеткой два на два ──────────────────────── */
.for { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--split-gap); }
.for__item { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: clamp(16px, 1.8vw, 28px);
  align-items: start; padding: clamp(22px, 2.4vw, 36px) 0; background: var(--dot-rule) 0 0 / 9px 3px repeat-x; }
/* Иконка — крупно и терракотой, как раньше номер: четыре человека, а не
   четыре пункта сноски. Ширина у всех одна, и текст справа стоит по одной линии. */
.for__icon { display: block; width: clamp(44px, calc(4.2 * var(--u)), 76px); height: auto;
  fill: none; stroke: var(--terra); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.for__t { margin: 0; max-width: 22em; font-size: clamp(19px, calc(1.6 * var(--u)), 26px); line-height: 1.4;
  color: var(--ink); text-wrap: pretty; }
@media (max-width: 760px) { .for { grid-template-columns: minmax(0, 1fr); } }

/* ── ролик: во всю колонку, подпись под ним ────────────────────────────── */
.film { margin: 0; }
.film video { aspect-ratio: 1440 / 900; }
.film__cap { margin-top: 20px; max-width: 60em; font: 400 13px/1.6 var(--font-mono); color: var(--text-neutral-600); }

/* ── пять шагов ───────────────────────────────────────────────────────────── */
.steps { list-style: none; margin: 0; padding: 0; }
.step {
  display: grid; grid-template-columns: var(--split); column-gap: var(--split-gap); row-gap: 28px;
  padding: clamp(44px, 4.8vw, 84px) 0;
  background: var(--dot-rule) 0 0 / 9px 3px repeat-x;
}
.step:first-child { padding-top: 0; background: none; }
.step:last-child { padding-bottom: 0; }
.step__words { max-width: 30em; }
.step__title {
  margin: 0; font: 700 clamp(26px, calc(2.3 * var(--u)), 40px)/1.12 var(--font-display);
  letter-spacing: -0.025em; color: var(--ink); text-wrap: balance;
}
.step__text { margin: 18px 0 0; font-size: clamp(17px, calc(1.3 * var(--u)), 21px); line-height: 1.6; text-wrap: pretty; }
.step__media { position: relative; min-width: 0; }
.step--wide .step__media { grid-column: 1 / -1; }

/* Общий вид списков: моно, изометрический маркер кита, пунктир под строкой. */
.tools, .need__list, .files {
  list-style: none; margin: 0; padding: 0;
  font: 400 clamp(15px, calc(1.22 * var(--u)), 20px)/1.4 var(--font-mono); color: var(--ink);
}
.tools li, .need__list li, .files li {
  break-inside: avoid; display: flex; align-items: center; gap: 14px; padding: 14px 0;
  background: var(--dot-rule) 0 100% / 9px 3px repeat-x;
}

/* 1 · what you can hand over */
/* Первый шаг — само сообщение, которое человек напишет: один моноширинный
   блок, команда в начале той же строки. Рамка и брызги из кита отделяют его
   от заголовка раздела, чтобы два крупных куска не спорили. */
.step--say { grid-template-columns: minmax(0, 1fr); }
.step--say .step__media { grid-column: 1 / -1; }
.say {
  position: relative; rotate: -0.5deg; margin: 0 0 clamp(36px, 4.4vw, 64px);
  padding: clamp(20px, 2.4vw, 34px) clamp(22px, 2.8vw, 40px);
  background: #fff; box-shadow: inset 0 0 0 1px var(--ink);
}
.say__line {
  margin: 0; text-wrap: pretty; overflow-wrap: anywhere;
  font: 400 clamp(15px, calc(1.5 * var(--u)), 24px)/1.6 var(--font-mono);
  letter-spacing: -0.01em; color: var(--ink);
}
/* Брызги кита: пять чёрточек, разлетающихся от угла рамки. */
.say::before, .say::after {
  content: ""; position: absolute; width: 96px; height: 96px; pointer-events: none;
  background-repeat: no-repeat;
  background-size: 22px 22px, 19px 19px, 22px 22px, 20px 20px, 17px 17px;
  background-position: 4% 6%, 36% 0%, 66% 10%, 2% 44%, 92% 30%;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Crect x='10.8' y='6' width='2.4' height='12' fill='%23e8460a' transform='rotate(-45 12 12)'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Crect x='10.8' y='6' width='2.4' height='12' fill='%23e8460a'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Crect x='10.8' y='6' width='2.4' height='12' fill='%23e8460a' transform='rotate(45 12 12)'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Crect x='10.8' y='6' width='2.4' height='12' fill='%23e8460a' transform='rotate(90 12 12)'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Crect x='10.8' y='6' width='2.4' height='12' fill='%23e8460a' transform='rotate(45 12 12)'/%3E%3C/svg%3E");
}
.say::before { left: -58px; top: -46px; }
.say::after { right: -58px; bottom: -46px; rotate: 180deg; }
/* Правые брызги вылезают за поле страницы, пока поле уже их разлёта. */
@media (max-width: 1239px) { .say::after { display: none; } }
@media (max-width: 720px) { .say::before { display: none; } }

/* Во всю ширину иконки становятся огромными — здесь они идут тихой строкой. */
.step--say .icons { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px clamp(12px, 2vw, 28px); }
.step--say .icons img { width: clamp(44px, calc(3.4 * var(--u)), 64px); margin-left: -4%; }
@media (max-width: 720px) { .step--say .icons { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.icons { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 2.8vw, 44px) clamp(12px, 2vw, 32px); }
.icons li { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.icons img { width: clamp(72px, calc(7.6 * var(--u)), 128px); margin-left: -6%; }
.icons span { font: 500 11px var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-neutral-500); }

/* 2 · the interview */
.questions { counter-reset: q; list-style: none; margin: 0; padding: 0; }
.questions li {
  counter-increment: q; display: grid; grid-template-columns: 2.6em minmax(0, 1fr); align-items: baseline;
  padding: 14px 0; font: italic 400 clamp(19px, calc(1.6 * var(--u)), 27px)/1.35 var(--font-serif); color: var(--ink);
  background: var(--dot-rule) 0 100% / 9px 3px repeat-x;
}
.questions li:first-child { padding-top: 0; }
.questions li::before { content: counter(q, decimal-leading-zero); font: normal 500 12px var(--font-mono); letter-spacing: 0.1em; color: var(--text-neutral-500); }

/* 3 · pick a hero, approve the shots: a flat diagram */
.schema { display: block; width: 100%; height: auto; overflow: visible; }

/* 4 · the same page at five widths, drawn to one scale */
.widths { display: flex; align-items: flex-end; gap: clamp(8px, 1.1vw, 18px); }
.width { margin: 0; min-width: 0; }
.width--1728 { flex: 1728 1 0; } .width--1440 { flex: 1440 1 0; } .width--1100 { flex: 1100 1 0; }
.width--820 { flex: 820 1 0; } .width--390 { flex: 390 1 0; }
.width .frame { border-radius: 6px; }
.width .frame > img { box-shadow: 0 1px 2px rgba(40, 30, 20, 0.10), 0 8px 20px rgba(40, 30, 20, 0.14); }
.width figcaption { margin-top: 12px; font: 500 11px var(--font-mono); letter-spacing: 0.1em; color: var(--text-neutral-500); }

/* 5 · the scripts that stay with you */
.tools { columns: 2; column-gap: clamp(24px, 3vw, 48px); }

/* ── четыре страницы, каждая сверху донизу ───────────────────────────────── */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(20px, 2.6vw, 44px); }
.tile { display: grid; grid-row: span 4; grid-template-rows: subgrid; align-content: start; margin-bottom: 48px; text-decoration: none; color: var(--ink-body); }
.tile__open { justify-self: start; align-self: start; }
.tile .frame > img { transition: translate 0.25s ease; }
.tile__name { display: block; margin-top: 28px; font: 800 clamp(20px, calc(1.7 * var(--u)), 30px)/1.1 var(--font-display); letter-spacing: -0.03em; color: var(--ink); }
.tile__made { display: block; margin-top: 8px; font-size: clamp(16px, calc(1.2 * var(--u)), 19px); line-height: 1.45; }
.tile__open {
  display: inline-block; margin-top: 14px; font: 500 12px var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink); text-decoration: underline; text-decoration-color: var(--terra-line); text-underline-offset: 5px; text-decoration-thickness: 2px;
}
.tile:hover .tile__open { text-decoration-color: var(--terra); }
.tile:hover .frame > img { translate: -3px -3px; }

/* ── что нужно ───────────────────────────────────────────────────────────── */
.need { display: grid; grid-template-columns: var(--split); column-gap: var(--split-gap); row-gap: 32px; align-items: start; }
.need__lead { grid-column: 1; }
.need__list { grid-column: 2; grid-row: 1 / span 2; }
.need__list li:first-child { padding-top: 4px; }
.need__limits { grid-column: 1; }
.need__limits p { margin: 0; max-width: 30em; font-size: clamp(16px, calc(1.2 * var(--u)), 19px); line-height: 1.6; color: var(--text-neutral-600); }
.need__limits p + p { margin-top: 12px; }

/* ── покупка ─────────────────────────────────────────────────────────────── */
.sec--buy { padding-bottom: var(--pad); }
.buy { display: grid; grid-template-columns: var(--split); column-gap: var(--split-gap); row-gap: 32px; align-items: start; }
.buy__what { grid-column: 2; grid-row: 1; }
.files { margin-top: clamp(24px, 2.6vw, 40px); max-width: 26em; }
/* Форма — кульминация: единственная выноска на растре на всей странице. */
.checkout {
  grid-column: 1; grid-row: 1; display: grid; gap: 22px; margin: 0; max-width: 560px;
  padding: clamp(22px, 2.2vw, 34px); border: 14px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, radial-gradient(var(--terra) 1.6px, transparent 1.7px) 0 0 / var(--raster-step) var(--raster-step) border-box;
}
.checkout fieldset { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.checkout legend, .field > span {
  display: block; width: 100%; padding: 0; margin-bottom: 10px;
  font: 500 11px var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-neutral-500);
}
.checkout fieldset label { position: relative; flex: 1 1 0; min-width: max-content; }
.checkout fieldset label[hidden] { display: none; }
.checkout fieldset input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.checkout fieldset span {
  display: block; padding: 12px 14px; text-align: center; white-space: nowrap;
  box-shadow: inset 0 0 0 1px var(--ink); background: #fff;
  font: 500 14px var(--font-mono); color: var(--ink); transition: background var(--transition-fast), color var(--transition-fast);
}
.checkout fieldset input:checked + span { background: var(--ink); color: #fff; }
.checkout fieldset input:focus-visible + span { outline: 3px solid var(--terra-deep); outline-offset: 3px; }
.field { display: block; }
.field input {
  width: 100%; padding: 14px 16px; border: 0; border-radius: 0; background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--ink); font: 400 16px var(--font-mono); color: var(--ink);
}
.field input:focus { outline: 3px solid var(--terra-deep); outline-offset: 2px; }
.field input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--terra-deep); }
.checkout .btn { justify-self: start; margin-top: 6px; }
.checkout__note { margin: 0; font: 400 12px/1.6 var(--font-mono); color: var(--text-neutral-500); }
.checkout__note[data-error] { color: var(--terra-deep); }

/* ── подвал ──────────────────────────────────────────────────────────────── */
.foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px;
  margin: 0 var(--gutter); padding: 28px 0 40px; background: var(--dot-rule) 0 0 / 9px 3px repeat-x;
  font: 500 11px var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-neutral-500);
}
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }

/* ── ширины ───────────────────────────────────────────────────────────────── */
@media (min-width: 1921px) { :root { --u: 19.2px; } }

/* Уже 900 — стопка страниц, под ней промпт и кнопка. Единица стопки — ширина
   колонки, поэтому карточки ложатся одинаково на любом телефоне. */
@media (max-width: 900px) {
  :root { --sw: calc(100vw - 2 * var(--gutter)); }
  .bar__nav { display: none; }
  .bar__back { margin-left: auto; }
  .hero { height: auto; padding: 28px var(--gutter) 0; }
  .hero__title { font-size: clamp(44px, 10.8vw, 88px); }
  .hero__rest { max-width: none; margin-top: 22px; font-size: clamp(26px, 5vw, 38px); }
  .hero__stage { position: relative; inset: auto; margin-top: 44px; padding-top: calc(var(--sw) * 0.7); }
  .hero__card--1 { width: 52%; left: 0; top: 0; }
  .hero__card--2 { width: 48%; left: auto; right: 0; top: calc(var(--sw) * 0.06); }
  .hero__card--3 { width: 46%; left: 6%; top: calc(var(--sw) * 0.3); }
  .hero__card--4 { width: 44%; right: 0; top: calc(var(--sw) * 0.36); }
  .hero__raster { left: 20%; top: calc(var(--sw) * 0.26); width: 56%; height: calc(var(--sw) * 0.4); }
  .hero__side { position: relative; left: auto; top: auto; width: auto; max-width: 560px; margin-top: 44px; }
  .prompt { font-size: 15px; }
  .hero__arrow { display: none; }
  .hero__buy { margin-top: 32px; }

  .step, .need, .buy { grid-template-columns: minmax(0, 1fr); }
  .step__words { max-width: 36em; }
  .need__lead, .need__list, .need__limits, .buy__what, .checkout { grid-column: 1; grid-row: auto; }
  .buy__what { grid-row: 1; }
  .checkout { grid-row: 2; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Телефон: промпт и кнопка сразу под заголовком, стопка страниц — под ними.
   Карточки лежат в одной клетке сетки и расходятся отступами, поэтому высота
   стопки считается сама. */
@media (max-width: 600px) {
  .hero__title { font-size: clamp(44px, 14.4vw, 64px); }
  .hero__stage { display: grid; margin-top: 32px; padding-top: 0; }
  .hero__side { grid-area: 1 / 1; margin-top: 0; }
  .hero__card, .hero__raster { position: relative; grid-area: 2 / 1; left: auto; right: auto; top: auto; align-self: start; }
  .hero__card--1 { width: 74%; justify-self: start; margin-top: 48px; }
  .hero__card--2 { width: 70%; justify-self: end; margin-top: calc(48px + var(--sw) * 0.24); }
  .hero__card--3 { width: 70%; justify-self: start; margin: calc(48px + var(--sw) * 0.56) 0 0 2%; }
  .hero__card--4 { width: 66%; justify-self: end; margin-top: calc(48px + var(--sw) * 0.8); }
  .hero__raster { justify-self: start; margin: calc(48px + var(--sw) * 0.46) 0 0 10%; width: 76%; height: calc(var(--sw) * 0.62); }
  .icons { gap: 22px 8px; }
  .icons img { width: 68px; }
  .questions li { grid-template-columns: 2.2em minmax(0, 1fr); }
  .widths { gap: 6px; }
  .width figcaption { font-size: 9px; letter-spacing: 0; }
  .tools { columns: 1; }
  .tiles { column-gap: 16px; }
  .tile { margin-bottom: 36px; }
  .tile__name { margin-top: 20px; }
  .tile__open { font-size: 11px; letter-spacing: 0.08em; }
  .checkout { border-width: 10px; padding: 20px; }
  .checkout fieldset label { min-width: 0; }
  .checkout fieldset span { padding-inline: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .caret { animation: none; }
  .btn, .btn::before, .hero__card, .tile .frame > img { transition: none; }
  .btn:active { transform: none; }
  .hero__card:hover { scale: none; }
  .tile:hover .frame > img { translate: none; }
}
