/* Банкрот39 · сайт-визитка. Тёплый травертин, жёсткое солнце, бумага и тушь.
   Объём даёт свет и слои (тени в три слоя, карточки поверх фото), а не движение. */

@font-face { font-family: "Cormorant"; font-style: normal; font-weight: 500 600; font-display: swap;
  src: url(/fonts/CormorantGaramond-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant"; font-style: normal; font-weight: 500 600; font-display: swap;
  src: url(/fonts/CormorantGaramond-latin.woff2) format("woff2"); 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+20BD, U+2122, U+2190-2199, U+2212, U+2215; }
@font-face { font-family: "Cormorant"; font-style: italic; font-weight: 500; font-display: swap;
  src: url(/fonts/CormorantGaramond-i-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant"; font-style: italic; font-weight: 500; font-display: swap;
  src: url(/fonts/CormorantGaramond-i-latin.woff2) format("woff2"); 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+20BD, U+2122, U+2190-2199, U+2212, U+2215; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(/fonts/Onest-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(/fonts/Onest-latin.woff2) format("woff2"); 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+20BD, U+2122, U+2190-2199, U+2212, U+2215; }

:root {
  --sand: #E4C8A4;      /* стена на фото */
  --page: #EFE5D6;      /* фон страницы: светлый травертин */
  --page-2: #E7DAC6;
  --paper: #FCF8F1;     /* бумага: карточки */
  --white: #FFFDF9;
  --ink: #1C150F;
  --ink-2: #54473A;
  --ink-3: #8A7A68;
  --seal: #9A3A1F;
  --line: rgba(28, 21, 15, .1);
  --warm: 72 46 22;     /* цвет теней: тёплый, не серый */

  --sh-s: inset 0 1px 0 rgb(255 255 255 / .75), 0 0 0 1px rgb(var(--warm) / .07), 0 1px 2px rgb(var(--warm) / .10), 0 3px 8px -2px rgb(var(--warm) / .10);
  --sh-m: inset 0 1px 0 rgb(255 255 255 / .85), 0 0 0 1px rgb(var(--warm) / .06), 0 2px 4px rgb(var(--warm) / .08), 0 14px 28px -10px rgb(var(--warm) / .22);
  --sh-l: inset 0 1px 0 rgb(255 255 255 / .9), 0 0 0 1px rgb(var(--warm) / .06), 0 4px 10px rgb(var(--warm) / .08), 0 40px 80px -28px rgb(var(--warm) / .45);
  --well: inset 0 2px 3px rgb(var(--warm) / .10), inset 0 0 0 1px rgb(var(--warm) / .10), inset 0 -1px 0 rgb(255 255 255 / .9);

  --display: "Cormorant", "Times New Roman", serif;
  --text: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gut: clamp(16px, 4.2vw, 64px);
  --max: 1280px;
  --ease: cubic-bezier(.23, 1, .32, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 17px/1.6 var(--text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--seal); outline-offset: 3px; }

.eyebrow { font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.h1, .h2 { font-family: var(--display); font-weight: 500; letter-spacing: -.015em; text-wrap: balance; }
.h1 em, .h2 em { font-style: italic; font-weight: 500; }
.h1 { font-size: clamp(52px, 6.6vw, 104px); line-height: .94; }
.h2 { font-size: clamp(40px, 4.6vw, 72px); line-height: 1; }
.body { font-size: clamp(16px, 1.25vw, 18px); color: var(--ink-2); max-width: 46ch; }
.muted { color: var(--ink-3); }
.show-s { display: none; }
.card { background: var(--paper); border-radius: 22px; box-shadow: var(--sh-m); }
.sec-head { display: grid; gap: 16px; margin-bottom: clamp(32px, 5vw, 64px); }

/* ---------- шапка: прозрачная над фото, бумажная после прокрутки */
.top {
  position: fixed; inset: 0 0 auto; z-index: 40; height: 72px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gut); transition: background-color .2s ease, box-shadow .2s ease;
}
.top.solid { background: var(--paper); box-shadow: 0 1px 0 var(--line), 0 6px 20px -12px rgb(var(--warm) / .25); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 600 23px/1 var(--display); letter-spacing: .01em; }
.brand svg { width: 26px; height: 26px; }
.top-phone { font-size: 15px; font-weight: 500; text-decoration: none; font-variant-numeric: tabular-nums; padding: 10px 16px; border-radius: 999px; background: rgb(255 253 249 / .55); box-shadow: inset 0 0 0 1px rgb(var(--warm) / .12); }
.top-phone:hover { background: var(--white); }

/* ---------- первый экран: фото на всю ширину, квиз карточкой поверх */
.hero { position: relative; min-height: max(100svh, 760px); isolation: isolate; overflow: clip; }

/* сцена из слоёв: стена с тенью, луч, пылинки, статуя, блик. Кадр ведёт себя как object-fit: cover */
.scene { position: absolute; inset: 0; z-index: -2; container-type: size; overflow: hidden; }
.frame {
  --ar: 2752 / 1536; --fx: 72%; --fy: 40%;
  position: absolute; left: var(--fx); top: var(--fy); translate: calc(-1 * var(--fx)) calc(-1 * var(--fy));
  width: max(100cqw, 100cqh * 2752 / 1536); aspect-ratio: var(--ar); will-change: transform;
}
.layer, .layer img { position: absolute; inset: 0; width: 100%; height: 100%; }
.dust { position: absolute; }
.statue { transform-origin: 79% 88%; will-change: transform; }
.plate { will-change: transform; }
.beam {
  position: absolute; inset: -20% -10%; pointer-events: none; opacity: .9; will-change: transform;
  background: linear-gradient(112deg, transparent 36%, rgb(255 240 214 / .22) 46%, transparent 57%);
}
.dust { pointer-events: none; left: 28%; top: 6%; width: 50%; height: 74%; inset: auto; }
.hero-copy { will-change: transform, opacity; }
.glint { opacity: 0; filter: brightness(1.55) saturate(.6); transform-origin: 79% 88%;
  -webkit-mask-image: linear-gradient(105deg, transparent 40%, #000 50%, transparent 60%); mask-image: linear-gradient(105deg, transparent 40%, #000 50%, transparent 60%);
  -webkit-mask-size: 300% 100%; mask-size: 300% 100%; -webkit-mask-position: 100% 0; mask-position: 100% 0; }
.scene::after { /* свет для текста слева и мягкий переход в страницу снизу: едет вместе со сценой */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgb(239 229 214 / .78) 0%, rgb(239 229 214 / .45) 34%, rgb(239 229 214 / 0) 58%),
    linear-gradient(180deg, rgb(239 229 214 / 0) 70%, var(--page) 100%);
}
.hero-in {
  max-width: var(--max); margin: 0 auto; padding: 108px var(--gut) 56px; min-height: inherit;
  display: grid; grid-template-columns: minmax(0, 700px); align-content: center; gap: 28px;
}
.hero-copy { display: grid; gap: 18px; }
.lead { font-size: clamp(17px, 1.35vw, 20px); color: var(--ink-2); max-width: 30ch; }

/* появление первого экрана: один раз, коротко */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-copy > *, .js .quiz { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
  .js .hero-copy > :nth-child(2) { transition-delay: .08s; }
  .js .hero-copy > :nth-child(3) { transition-delay: .16s; }
  .js .quiz { transition-delay: .28s; }
  .ready .hero-copy > *, .ready .quiz { opacity: 1; transform: none; }
  .js .statue { opacity: 0; }
  .js .plate { opacity: 0; transition: opacity 1.2s ease; }
  .ready .plate { opacity: 1; }

  /* слова заголовков выезжают из-под строки один раз, когда до них доходит прокрутка */
  .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
  .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 45ms); }
  .in .w > span { transform: none; }
  .rise { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
  .rise.in { opacity: 1; transform: none; }
}

/* ---------- квиз */
.quiz { padding: 26px 26px 22px; box-shadow: var(--sh-l); display: grid; max-width: 540px; width: 100%; }
.quiz-head { display: flex; justify-content: space-between; align-items: baseline; }
.quiz-kicker { font-weight: 600; font-size: 15px; }
.quiz-step { font-size: 14px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.bar { height: 4px; border-radius: 4px; background: var(--page-2); box-shadow: inset 0 1px 1px rgb(var(--warm) / .12); margin: 14px 0 22px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 20%; border-radius: inherit; background: var(--ink); transition: width .45s var(--ease); }
.quiz-body { min-height: 300px; display: grid; align-content: start; }
.q-title { font: 500 clamp(28px, 2.4vw, 34px)/1.08 var(--display); margin-bottom: 18px; letter-spacing: -.01em; }
.q-hint { color: var(--ink-3); font-size: 15px; margin: -10px 0 16px; }
.opts { display: grid; gap: 10px; }
.opt {
  appearance: none; border: 0; cursor: pointer; text-align: left; font-size: 16px; font-weight: 500;
  display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 52px; padding: 12px 16px 12px 18px;
  background: var(--white); border-radius: 14px; box-shadow: var(--sh-s);
  transition: box-shadow .18s ease, transform .12s var(--ease), background-color .18s ease;
}
.opt::after { /* кружок выбора */
  content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; box-shadow: var(--well); background: var(--page);
  transition: box-shadow .18s ease, background-color .18s ease;
}
.opt:hover { box-shadow: var(--sh-m); }
.opt:active { transform: scale(.985); }
.opt[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.opt[aria-pressed="true"]::after { background: var(--paper); box-shadow: inset 0 0 0 6px var(--ink), 0 0 0 1px var(--paper); }
.swap { animation: swap .32s var(--ease) both; }
@keyframes swap { from { opacity: 0; transform: translateX(10px); } }

.form { display: grid; gap: 12px; }
.field { display: grid; gap: 6px; font-size: 14px; color: var(--ink-2); font-weight: 500; }
.field input {
  font: 500 17px/1.2 var(--text); color: var(--ink); background: var(--page); border: 0; border-radius: 12px;
  padding: 15px 16px; box-shadow: var(--well); transition: box-shadow .18s ease, background-color .18s ease;
}
.field input::placeholder { color: var(--ink-3); opacity: .7; }
.field input:focus { outline: none; background: var(--white); box-shadow: var(--well), 0 0 0 1.5px rgb(28 21 15 / .75); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-3); line-height: 1.45; }
.consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--ink); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.err { color: var(--seal); min-height: 1.3em; font-size: 14px; }
.back { justify-self: start; margin-top: 14px; background: none; border: 0; color: var(--ink-3); cursor: pointer; padding: 6px 0; font-size: 14px; }
.back:hover { color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 28px; border: 0; cursor: pointer;
  border-radius: 14px; font-weight: 600; font-size: 16px; text-decoration: none;
  transition: transform .12s var(--ease), box-shadow .18s ease, background-color .18s ease;
}
.btn:active { transform: scale(.98); }
.btn-ink {
  background: linear-gradient(180deg, #2E241B, var(--ink)); color: var(--paper);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .14), 0 1px 2px rgb(var(--warm) / .3), 0 10px 22px -8px rgb(var(--warm) / .55);
}
.btn-ink:hover { background: linear-gradient(180deg, #3A2E23, #241B13); }
.btn-light { background: var(--paper); color: var(--ink); box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgb(0 0 0 / .3), 0 14px 30px -10px rgb(0 0 0 / .6); }
.btn-light:hover { background: var(--white); }
.btn[disabled] { opacity: .65; cursor: progress; }
.form .btn { width: 100%; margin-top: 2px; }

.done { display: grid; gap: 14px; justify-items: start; }
.seal { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--paper); box-shadow: var(--sh-m); }
.seal svg { width: 28px; height: 28px; }
.done p { color: var(--ink-2); }
.alt { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.alt a { padding: 11px 16px; border-radius: 12px; background: var(--white); box-shadow: var(--sh-s); text-decoration: none; font-weight: 500; font-size: 15px; transition: box-shadow .18s ease; }
.alt a:hover { box-shadow: var(--sh-m); }

/* ---------- полоса фактов */
.proof { padding: 0 var(--gut); }
.proof-in {
  max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
}
.proof p { padding: 30px 28px 30px 0; display: grid; gap: 4px; }
.proof p + p { padding-left: 28px; border-left: 1px solid var(--line); }
.proof b { font: 500 clamp(32px, 3vw, 44px)/1 var(--display); }
.proof span { color: var(--ink-2); font-size: 15px; }

/* ---------- деньги: кадры 3D-рендера, которые проматываются прокруткой */
.money {
  max-width: var(--max); margin: 0 auto; padding: clamp(56px, 8vw, 120px) var(--gut);
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(24px, 5vw, 80px);
}
.money-stage { position: relative; aspect-ratio: 1; width: 100%; }
.money-seq, .money-seq img, .money-seq canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.money-seq {
  -webkit-mask-image: linear-gradient(transparent, #000 12%, #000 84%, transparent), linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(transparent, #000 12%, #000 84%, transparent), linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-composite: intersect;
}
.money-seq.live .money-still { visibility: hidden; }
.money-copy { display: grid; gap: 20px; }
.ticks { display: grid; gap: 10px; margin-top: 6px; }
.ticks li { display: flex; gap: 12px; align-items: center; font-weight: 500; }
.ticks li::before { content: ""; width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%231C150F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; box-shadow: var(--sh-s); }

/* ---------- шаги */
.steps, .cases, .faq { max-width: var(--max); margin: 0 auto; padding: clamp(64px, 9vw, 130px) var(--gut); }
.steps { padding-top: 0; }
.step-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { padding: 26px 24px 30px; display: grid; gap: 12px; align-content: start; box-shadow: var(--sh-s); }
.step i { font: italic 500 44px/1 var(--display); color: var(--seal); margin-bottom: 18px; }
.step h3 { font-size: 18px; font-weight: 600; line-height: 1.3; }
.step p { color: var(--ink-2); font-size: 15.5px; }

/* ---------- дела: как листы определений суда */
.cases { max-width: none; padding-inline: 0; background: linear-gradient(var(--page), var(--page-2) 30%, var(--page-2) 70%, var(--page)); }
.cases .sec-head { max-width: var(--max); margin-inline: auto; padding: 0 var(--gut); }
.case-row {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
  padding: 10px max(var(--gut), calc((100vw - var(--max)) / 2 + var(--gut))) 46px; scroll-padding-inline: max(var(--gut), calc((100vw - var(--max)) / 2 + var(--gut)));
}
.case-row::-webkit-scrollbar { display: none; }
.case { flex: 0 0 min(80vw, 330px); scroll-snap-align: start; padding: 26px 26px 24px; display: grid; gap: 18px; background: var(--white); }
.case-court { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); line-height: 1.4; }
.case-sum { font: 500 44px/1 var(--display); letter-spacing: -.01em; }
.case-meta { display: grid; gap: 2px; padding-top: 16px; border-top: 1px dashed rgb(var(--warm) / .22); }
.case-meta b { font-weight: 600; font-variant-numeric: tabular-nums; }
.case-meta span { font-size: 14px; color: var(--ink-3); }

/* ---------- вопросы */
.faq { max-width: 1000px; }
.faq-list { padding: 6px 28px; box-shadow: var(--sh-s); }
.faq details + details { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-size: clamp(17px, 1.4vw, 19px); font-weight: 500; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 0; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%;
  background: var(--page) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%231C150F' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat;
  box-shadow: var(--well); transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 44px 24px 0; color: var(--ink-2); max-width: 66ch; }

/* ---------- финал */
.final { padding: 0 var(--gut) clamp(64px, 8vw, 110px); }
.final-in {
  max-width: var(--max); margin: 0 auto; border-radius: 28px; padding: clamp(48px, 7vw, 96px) clamp(24px, 6vw, 88px);
  background: radial-gradient(120% 140% at 85% 0%, #3A2C20 0%, var(--ink) 55%); color: var(--paper);
  display: grid; justify-items: start; gap: 24px; box-shadow: 0 30px 60px -30px rgb(var(--warm) / .6);
  position: relative; overflow: hidden; isolation: isolate;
}
.final-in::after { /* та же тень Фемиды, что на фото, тихим водяным знаком */
  content: ""; position: absolute; z-index: -1; right: -2%; bottom: -6%; width: 44%; height: 120%; opacity: .06;
  background: url(/assets/plate-m-720.webp) 20% 100% / cover; mix-blend-mode: screen; filter: grayscale(1) invert(1) contrast(1.6);
  transform: translateY(calc(var(--fp, 0) * 1px));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%); mask-image: linear-gradient(90deg, transparent, #000 40%);
}
.final .h2 { max-width: 14ch; }
.final .body { color: rgb(252 248 241 / .72); }
.contacts { display: flex; flex-wrap: wrap; gap: 8px 24px; font-weight: 500; font-size: 15px; color: rgb(252 248 241 / .85); }
.contacts a { text-underline-offset: 5px; text-decoration-color: rgb(252 248 241 / .3); }

.foot { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut) calc(56px + env(safe-area-inset-bottom)); display: grid; gap: 14px; color: var(--ink-3); }
.main-site { font: 500 clamp(26px, 2.6vw, 34px)/1.1 var(--display); text-decoration: none; color: var(--ink); justify-self: start; }
.main-site:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.fine { font-size: 13px; max-width: 92ch; line-height: 1.55; }

.dock {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 45; display: none;
  text-align: center; padding: 17px; border-radius: 16px; font-weight: 600; text-decoration: none; color: var(--paper);
  background: linear-gradient(180deg, #2E241B, var(--ink));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .14), 0 16px 32px -10px rgb(var(--warm) / .6);
  transform: translateY(calc(100% + 24px)); transition: transform .3s var(--ease);
}
.dock.on { transform: none; }


/* ---------- планшет и телефон */
@media (max-width: 1080px) {
  .step-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .hide-s { display: none; }
  .top { height: 64px; }
  .brand { font-size: 21px; }
  .top-phone { font-size: 14px; padding: 8px 12px; }
  .hero { min-height: 0; }
  .scene { bottom: auto; height: 104svh; }
  .frame { --ar: 1536 / 2752; --fx: 50%; --fy: 100%; width: max(100cqw, 100cqh * 1536 / 2752); }
  .statue, .glint { transform-origin: 66% 85%; }
  .scene::after { background: linear-gradient(180deg, rgb(239 229 214 / .82) 0%, rgb(239 229 214 / .6) 30%, rgb(239 229 214 / 0) 50%, rgb(239 229 214 / 0) 76%, var(--page) 100%); }
  .hero-in { padding: 92px var(--gut) 40px; align-content: start; gap: 0; }
  .hero-copy { min-height: calc(100svh - 92px - 20svh); align-content: start; gap: 14px; }
  .show-s { display: inline; }
  .h1 { font-size: clamp(46px, 13.2vw, 64px); }
  .lead { max-width: 22ch; font-size: 17px; }
  .quiz { padding: 22px 18px 18px; border-radius: 20px; }
  .quiz-body { min-height: 0; }
  .proof-in { grid-template-columns: 1fr; }
  .proof p, .proof p + p { padding: 20px 0; border-left: 0; }
  .proof p + p { border-top: 1px solid var(--line); }
  .money { grid-template-columns: 1fr; }
  .money-stage { order: 2; margin: 0 calc(-1 * var(--gut)); width: auto; }
  .step-list { grid-template-columns: 1fr; }
  .step { grid-template-columns: 52px 1fr; column-gap: 8px; }
  .step i { grid-row: span 2; font-size: 36px; margin: 0; }
  .faq-list { padding: 4px 18px; }
  .final-in { border-radius: 22px; }
  .final-in::after { width: 80%; }
  .dock { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* невысокие экраны ноутбуков: квиз целиком на первом экране */
@media (min-width: 761px) and (max-height: 820px) {
  .hero-in { padding-top: 88px; padding-bottom: 32px; gap: 20px; }
  .hero-copy { gap: 12px; }
  .h1 { font-size: clamp(52px, 5.4vw, 76px); }
  .quiz { padding: 20px 22px 16px; }
  .bar { margin: 10px 0 14px; }
  .quiz-body { min-height: 0; }
  .q-title { font-size: 27px; margin-bottom: 12px; }
  .opts { gap: 8px; }
  .opt { min-height: 46px; padding-block: 9px; }
}

/* нижний край первого экрана всегда растворяется в странице, даже когда сцена уехала при прокрутке */
.hero::before { content: ""; position: absolute; inset: auto 0 0; height: 22%; z-index: -1; pointer-events: none; background: linear-gradient(rgb(239 229 214 / 0), var(--page)); }
