/* SynthReply, этап 0. Один фон, один цвет текста, один акцент (электрический синий); светлая и тёмная тема. */
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('/fonts/jost-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('/fonts/jost-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+2122, U+2212; }

:root {
  --bg: #ffffff; --surface: #f1f2f4; --surface-2: #e3e5e9; --ink: #111317; --muted: #4f5561;
  --accent: #1f4fff; --accent-ink: #ffffff;
  --field-dark: #111317; --field-dark-ink: #f1f2f4; --field-dark-muted: #b3b8c2;
  --ui-bg: #ffffff; --ui-line: #dcdfe5; --ui-soft: #f4f5f7; --ui-ink: #111317; --ui-muted: #5a606b;
  --ui-ok: #127a3c; --ui-need: #a14a00; --ui-bad: #b3261e;
  --bar: #cfd3da;
  --m: clamp(20px, 2.8vw, 40px); --gap: clamp(12px, 1.6vw, 24px);
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-display: clamp(2.75rem, 1rem + 5.6vw, 6.5rem);
  --r: 4px; --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121316; --surface: #1b1d21; --surface-2: #272a30; --ink: #f1f2f4; --muted: #a9aeb8;
    --accent: #5b84ff; --accent-ink: #0b0d12;
    --field-dark: #08090b; --field-dark-ink: #f1f2f4; --field-dark-muted: #a9aeb8;
    --ui-bg: #1b1d21; --ui-line: #30333a; --ui-soft: #23262b; --ui-ink: #f1f2f4; --ui-muted: #a9aeb8;
    --ui-ok: #4cc27a; --ui-need: #f0a35c; --ui-bad: #ff8a80; --bar: #33373e;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #121316; --surface: #1b1d21; --surface-2: #272a30; --ink: #f1f2f4; --muted: #a9aeb8;
  --accent: #5b84ff; --accent-ink: #0b0d12;
  --field-dark: #08090b; --field-dark-ink: #f1f2f4; --field-dark-muted: #a9aeb8;
  --ui-bg: #1b1d21; --ui-line: #30333a; --ui-soft: #23262b; --ui-ink: #f1f2f4; --ui-muted: #a9aeb8;
  --ui-ok: #4cc27a; --ui-need: #f0a35c; --ui-bad: #ff8a80; --bar: #33373e;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--step-body)/1.5 'Jost', system-ui, sans-serif; overflow-x: hidden; }
h1, h2, h3, p, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--m); top: -60px; background: var(--ink); color: var(--bg); padding: 10px 14px; z-index: 10; }
.skip:focus { top: 10px; }
.wrap { padding-inline: var(--m); }

/* кнопки и ссылки: одна форма на всю страницу */
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; background: var(--accent); color: var(--accent-ink);
  border-radius: var(--r); text-decoration: none; font-weight: 500; transition: transform .2s var(--ease), background-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-s { min-height: 44px; padding: 0 18px; }
.link { font-weight: 500; text-decoration: none; display: inline-flex; gap: .4em; align-items: center; }
.link::after { content: '→'; transition: transform .2s var(--ease); }
.link:hover::after { transform: translateX(4px); }

/* верхняя строка */
.top { display: flex; align-items: center; gap: 28px; padding-block: 28px; position: relative; z-index: 3; }
.wordmark { font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; text-decoration: none; margin-right: auto; }
.nav { display: flex; gap: 28px; font-size: 0.9375rem; }
.nav a { text-decoration: none; color: var(--ink); transition: color .2s; }
.nav a:hover { color: var(--accent); }
.theme { width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: var(--surface); border-radius: var(--r); cursor: pointer; transition: transform .2s var(--ease); }
.theme:hover { transform: rotate(-12deg); }
.theme svg { fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; }
.theme .i-moon { display: none; }
:root[data-theme="dark"] .theme .i-sun { display: none; }
:root[data-theme="dark"] .theme .i-moon { display: inline; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme .i-sun { display: none; } :root:not([data-theme="light"]) .theme .i-moon { display: inline; } }

/* первый экран */
.hero { position: relative; min-height: 100svh; padding-bottom: 0; }
.hero-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); padding-top: clamp(40px, 8vh, 96px); }
.hero-copy { grid-column: 1 / 13; }
.hero h1 { font-size: var(--step-display); font-weight: 700; line-height: .95; letter-spacing: -0.03em; }
.hero h1 span { display: block; }
.hero .lead { grid-column: 1 / 5; max-width: 40ch; margin-top: 40px; font-size: var(--step-body); }
.hero-copy .lead { width: min(40ch, calc((100vw - 2 * var(--m)) * 4 / 12 + 40px)); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 32px; }
.stage { --cut: 96px; position: relative; margin-left: calc(var(--m) + (100vw - 2 * var(--m)) * 4 / 12); margin-top: calc(-1 * clamp(150px, 22vh, 260px));
  background: var(--accent); clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut)); padding: 56px clamp(24px, 4vw, 72px) 48px 56px; }
.stage-note { max-width: 62ch; margin-top: 20px; color: var(--accent-ink); font-size: var(--step-small); }

/* рабочий фрагмент: вопрос и черновик */
.qa { width: min(640px, 100%); background: var(--ui-bg); color: var(--ui-ink); border-radius: 10px; font-size: 15px; line-height: 1.45; overflow: hidden; }
[data-ui] .qa-tabs { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--ui-soft); border-bottom: 1px solid var(--ui-line); }
.qa-tabs button { text-align: left; border: 0; background: transparent; padding: 12px 14px; cursor: pointer; display: grid; gap: 2px; border-bottom: 2px solid transparent; transition: background-color .2s, border-color .2s; }
.qa-tabs button b { font-weight: 500; font-size: 13px; }
.qa-tabs button span { font-size: 13px; color: var(--ui-muted); }
.qa-tabs button:hover { background: var(--ui-bg); }
.qa-tabs button[aria-selected="true"] { background: var(--ui-bg); border-bottom-color: var(--accent); }
.qa-body { padding: 18px 20px 20px; display: grid; gap: 14px; transition: opacity .8s var(--ease); }
.qa-body.fading { opacity: 0; }
.qa-product { font-size: 13px; color: var(--ui-muted); }
.qa-q { background: var(--ui-soft); border-radius: 8px; padding: 10px 12px; }
.qa-who, .qa-head span:first-child { font-size: 13px; color: var(--ui-muted); display: block; margin-bottom: 2px; }
[data-ui] .qa-draft { border: 1px solid var(--ui-line); border-radius: 8px; padding: 12px; }
.qa-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.qa-status { font-size: 13px; font-weight: 500; color: var(--ui-ok); }
.qa-status.need { color: var(--ui-need); }
.qa-a { margin-top: 4px; }
.qa-src { margin-top: 10px; font-size: 13px; color: var(--ui-muted); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.qa-src a, .qa-src i { font-style: normal; color: var(--ui-ink); background: var(--ui-soft); border-radius: 4px; padding: 2px 8px; text-decoration: none; }
.qa-src a:hover { color: var(--accent); }
.qa-cmp { display: flex; gap: 8px; align-items: center; font-size: 14px; cursor: pointer; }
.qa-cmp input { width: 18px; height: 18px; accent-color: var(--accent); }
.qa-bot { border-left: 3px solid var(--ui-bad); padding: 4px 0 4px 12px; font-size: 14px; }
.qa-bot-a { color: var(--ui-muted); }
.qa-bot-v { color: var(--ui-bad); font-weight: 500; margin-top: 4px; }
.qa-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.qa-send, .qa-edit { min-height: 40px; padding: 0 16px; border-radius: 6px; cursor: pointer; font-weight: 500; font-size: 14px; transition: transform .15s var(--ease); }
.qa-send { background: var(--accent); color: var(--accent-ink); border: 0; }
[data-ui] .qa-edit { background: transparent; border: 1px solid var(--ui-line); }
.qa-send:active, .qa-edit:active { transform: scale(.97); }
.qa-note { font-size: 13px; color: var(--ui-muted); }

/* статистика: столбики на краю */
.stats { position: relative; min-height: 90svh; background: var(--surface); margin-top: clamp(120px, 14vw, 200px); display: flex; flex-direction: column; overflow: hidden; }
.stats-head { padding-top: clamp(48px, 7vw, 96px); display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: end; }
.stats h2 { grid-column: 1 / 8; display: grid; }
.stats .fig { font-size: var(--step-display); font-weight: 700; letter-spacing: -0.03em; line-height: .9; font-variant-numeric: tabular-nums; }
.stats .claim { font-size: var(--step-lead); font-weight: 500; margin-top: 14px; }
.stats-head p { grid-column: 8 / 13; max-width: 40ch; }
.bars { margin-top: auto; display: grid; grid-template-columns: repeat(12, 1fr); gap: 8px; align-items: end; height: 58vh; padding-top: 48px; }
.bar { position: relative; height: calc(var(--v) / 33 * 100%); background: var(--bar); border: 0; border-radius: 0; padding: 0; cursor: default;
  transform-origin: bottom; transform: scaleY(var(--grow, 1)); transition: transform 1.1s var(--ease), background-color .2s; }
.bar.is-now { background: var(--accent); }
.bar span { position: absolute; left: 0; right: 0; bottom: 100%; padding-bottom: 8px; font-size: var(--step-lead); font-weight: 500; font-variant-numeric: tabular-nums; text-align: center; opacity: 0; transition: opacity .2s; }
.bar.lbl span, .bar:hover span, .bar:focus-visible span { opacity: 1; }
.bar:hover::after, .bar:focus-visible::after { content: attr(data-l); position: absolute; left: 50%; top: 8px; transform: translateX(-50%); white-space: nowrap; background: var(--ink); color: var(--bg); font-size: 13px; padding: 4px 8px; border-radius: 4px; z-index: 2; }
.bar:hover { background: var(--surface-2); }
.bar.is-now:hover { background: var(--accent); }
.bars-cap { position: absolute; left: 0; bottom: 0; font-size: var(--step-small); color: var(--muted); padding-bottom: 12px; display: none; }

/* витрина */
.show { background: var(--field-dark); color: var(--field-dark-ink); min-height: 96svh; padding-block: clamp(56px, 8vw, 112px); display: flex; flex-direction: column; justify-content: center; gap: 40px; }
.show-title { grid-column: 1 / 5; font-size: var(--step-head); font-weight: 700; line-height: 1; letter-spacing: -0.03em; }
.show-desc { grid-column: 5 / 11; }
.show-row { display: flex; gap: 6vw; overflow-x: auto; scroll-snap-type: x mandatory; padding-inline: calc(50vw - 210px); scrollbar-width: none; align-items: center; outline-offset: -3px; }
.show-row::-webkit-scrollbar { display: none; }
.panel { flex: 0 0 420px; scroll-snap-align: center; background: var(--ui-bg); color: var(--ui-ink); border-radius: 10px; padding: 18px; font-size: 14px; line-height: 1.45; transform: scale(.9); transition: transform .5s var(--ease); }
.panel.on { transform: scale(1); }
.p-head { display: flex; justify-content: space-between; font-weight: 500; font-size: 15px; margin-bottom: 12px; }
.p-head em { font-style: normal; font-weight: 400; color: var(--ui-muted); font-size: 13px; }
.feed li { display: grid; grid-template-columns: 10px 1fr auto; gap: 10px; align-items: center; padding: 10px 8px; border-radius: 6px; }
.feed li.sel { background: var(--ui-soft); }
.feed b { font-weight: 500; display: block; font-size: 14px; }
.feed span, .feed small { color: var(--ui-muted); font-size: 13px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ui-ok); }
.dot.need { background: var(--ui-need); }
.dot.done { background: var(--ui-muted); }
.p-text { background: var(--ui-soft); border-radius: 8px; padding: 10px 12px; }
.p-src { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
[data-ui] .p-src span { font-size: 13px; background: var(--ui-soft); border: 1px solid var(--ui-line); border-radius: 4px; padding: 2px 8px; }
.p-btns, .tg-b { display: flex; gap: 8px; margin-top: 14px; }
.b1, .b2 { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 6px; font-weight: 500; font-size: 14px; }
.b1 { background: var(--accent); color: var(--accent-ink); }
[data-ui] .b2 { border: 1px solid var(--ui-line); }
[data-ui] .memo li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--ui-line); }
.memo li:last-child { border-bottom: 0; }
.memo li.warn { color: var(--ui-need); }
.chk { width: 18px; height: 18px; border: 1.5px solid var(--ui-line); border-radius: 4px; margin-top: 2px; }
.chk.on { background: var(--accent); border-color: var(--accent); }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--ui-soft); border-radius: 6px; padding: 3px; }
.seg span { text-align: center; padding: 6px 0; border-radius: 4px; font-size: 13px; }
.seg .on { background: var(--ui-bg); font-weight: 500; }
[data-ui] .opts div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--ui-line); font-size: 13px; }
.opts div:last-child { border-bottom: 0; }
.opts dt { color: var(--ui-muted); }
.opts dd { text-align: right; }
.topics li { display: grid; grid-template-columns: 1fr 90px 40px; gap: 10px; align-items: center; padding: 7px 0; font-size: 13px; }
.topics i { display: block; position: relative; height: 8px; border-radius: 4px; background: var(--ui-soft); overflow: hidden; }
.topics i::before { content: ''; position: absolute; inset: 0 auto 0 0; width: calc(var(--w) / 45 * 100%); background: var(--accent); border-radius: 4px; }
.topics b { font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }
.p-tip { margin-top: 10px; background: var(--ui-soft); border-radius: 8px; padding: 10px 12px; font-size: 13px; }
.show-cap { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); }
.show-name { font-size: var(--step-lead); font-weight: 500; }
.show-text { color: var(--field-dark-muted); margin-top: 6px; max-width: 48ch; }

/* как работает */
.how { padding-block: clamp(120px, 14vw, 200px) clamp(60px, 8vw, 120px); }
.how-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); }
.how-steps { grid-column: 1 / 6; grid-row: 2; }
.how h2 { grid-column: 1 / 13; font-size: var(--step-head); font-weight: 700; line-height: 1; letter-spacing: -0.03em; }
.step { min-height: 70vh; padding-top: 12vh; color: var(--muted); transition: color .4s; }
.step:first-of-type { padding-top: 6vh; }
.step.is-on { color: var(--ink); }
.step-t { font-size: var(--step-lead); font-weight: 500; line-height: 1.25; margin-bottom: 10px; }
.how-stage { grid-column: 7 / 13; grid-row: 2; position: relative; }
.how-ui { position: sticky; top: 14vh; height: min(520px, 72vh); background: var(--surface); border-radius: 0; display: grid; place-items: center; padding: 32px; }
.st { grid-area: 1 / 1; width: min(420px, 100%); background: var(--ui-bg); color: var(--ui-ink); border-radius: 10px; padding: 20px; font-size: 14px; display: grid; gap: 12px; opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); pointer-events: none; }
.how-ui[data-state="0"] .st0, .how-ui[data-state="1"] .st1, .how-ui[data-state="2"] .st2 { opacity: 1; transform: none; }
.st-title { font-weight: 500; font-size: 15px; }
.st-sub { color: var(--ui-muted); font-size: 13px; }
.fld { display: grid; gap: 4px; font-size: 13px; color: var(--ui-muted); }
[data-ui] .fld input { font: inherit; font-size: 14px; color: var(--ui-ink); background: var(--ui-soft); border: 1px solid var(--ui-line); border-radius: 6px; padding: 8px 10px; }
.checks li { padding: 4px 0 4px 24px; position: relative; }
.checks li::before { content: ''; position: absolute; left: 0; top: 9px; width: 12px; height: 7px; border-left: 2px solid var(--ui-ok); border-bottom: 2px solid var(--ui-ok); transform: rotate(-45deg); }
.st1 .b1 { justify-self: start; }
.tg { background: var(--ui-soft); border-radius: 10px; padding: 12px; display: grid; gap: 4px; }
.tg b { font-weight: 500; }
.tg > span { color: var(--ui-muted); }
.toast { justify-self: start; background: var(--ui-ink); color: var(--ui-bg); border-radius: 6px; padding: 6px 12px; font-size: 13px; }

/* возможности одним абзацем */
.feat { padding-block: clamp(120px, 14vw, 200px); }
.feat-p { font-size: clamp(1.5rem, 1rem + 1.6vw, 2.25rem); font-weight: 500; line-height: 1.25; max-width: 30em; }
.slot { display: inline-flex; align-items: center; height: 1.15em; vertical-align: -0.16em; border-radius: .18em; background: var(--surface); padding: 0 .3em; }
.slot > span { font-size: 15px; font-weight: 500; line-height: 1; white-space: nowrap; }
.s-need { color: var(--ui-need); }
.s-src { color: var(--accent); }
.s-edit s { color: var(--muted); margin-right: .3em; }
.feat-foot { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); margin-top: 72px; align-items: center; }
.feat-foot p { grid-column: 7 / 10; }
.feat-foot .btn { grid-column: 10 / 13; justify-self: end; white-space: nowrap; }

/* вопросы */
.faq { background: var(--surface); padding-block: clamp(96px, 12vw, 180px); }
.faq-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: start; }
.faq-list { grid-column: 1 / 6; }
.faq h2 { font-size: var(--step-head); font-weight: 700; line-height: 1; letter-spacing: -0.03em; margin-bottom: 32px; }
.faq-list li { margin-bottom: 18px; }
.faq-list button { width: 100%; display: flex; gap: 14px; align-items: baseline; text-align: left; background: none; border: 0; padding: 0; cursor: pointer; font-size: var(--step-body); color: var(--muted); transition: color .2s; }
.faq-list button::before { content: ''; flex: 0 0 8px; height: 8px; border-radius: 50%; background: var(--muted); transform: translateY(-2px); transition: background-color .2s, transform .2s var(--ease); }
.faq-list button[aria-expanded="true"] { color: var(--ink); }
.faq-list button[aria-expanded="true"]::before { background: var(--accent); transform: translateY(-2px) scale(1.25); }
.faq-list button:hover { color: var(--ink); }
.faq-a-m { display: none; }
.faq-pane { grid-column: 7 / 13; position: sticky; top: 120px; padding-top: calc(var(--step-head) + 32px); }
.faq-a { font-size: var(--step-lead); line-height: 1.3; max-width: 30ch; animation: fade .15s ease-out; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* призыв */
.cta { padding-top: 30svh; padding-bottom: 20svh; }
.cta p { font-size: var(--step-body); max-width: 34ch; margin-bottom: 24px; }

/* подвал плитками */
.foot { padding: 0 10px 10px; }
.tiles { display: grid; grid-template-columns: repeat(12, 1fr); gap: 8px; }
.tile { background: var(--surface); padding: 20px; min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; text-decoration: none; }
.t-state { grid-column: 1 / 5; }
.t-state p { font-size: var(--step-lead); line-height: 1.25; max-width: 22ch; }
.t-state small, .t-mail small { font-size: var(--step-small); color: var(--muted); }
.t-nav { grid-column: 5 / 8; justify-content: flex-start; gap: 6px; }
.t-nav a { text-decoration: none; width: fit-content; }
.t-nav a:hover { color: var(--accent); }
.t-time { grid-column: 8 / 10; }
.clock { font-size: var(--step-lead); font-variant-numeric: tabular-nums; }
.t-mail { grid-column: 10 / 13; }
.t-mail a { font-size: var(--step-body); text-decoration: none; }
.t-mail a:hover { color: var(--accent); }
.t-word { grid-column: 1 / 9; min-height: 320px; background: var(--ink); color: var(--bg); align-items: center; justify-content: center; }
.t-word span { font-size: var(--step-display); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.t-go { grid-column: 9 / 13; min-height: 320px; background: var(--accent); color: var(--accent-ink); }
.t-go span { font-size: var(--step-lead); font-weight: 500; max-width: 12ch; line-height: 1.2; }
.t-go svg { align-self: flex-end; transition: transform .3s var(--ease); }
.t-go:hover svg { transform: translate(6px, -6px); }

/* появление частей разделов */
.js [data-enter] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-enter].in { opacity: 1; transform: none; }
.js .bars:not(.in) .bar { --grow: 0; }
.js .bars .bar { transition-delay: calc(var(--i, 0) * 60ms); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  .js [data-enter] { opacity: 1; transform: none; }
  .js .bars:not(.in) .bar { --grow: 1; }
}

/* планшет */
@media (max-width: 1000px) {
  .nav { display: none; }
  .hero-copy { grid-column: 1 / 13; }
  .stage { margin-left: calc(var(--m) + (100vw - 2 * var(--m)) * 2 / 12); margin-top: 48px; }
  .how-steps { grid-column: 1 / 7; }
  .how-stage { grid-column: 7 / 13; }
  .faq-list { grid-column: 1 / 7; }
  .faq-pane { grid-column: 8 / 13; }
  .show-title, .show-desc { grid-column: 1 / 13; }
  .show-desc { margin-top: 20px; }
  .tiles { grid-template-columns: 1fr 1fr; grid-auto-flow: row dense; }
  .t-word, .t-go { grid-column: 1 / 3; }
  .feat-foot { display: block; }
  .feat-foot .btn { margin-top: 20px; }
  .t-word { order: -2; } .t-go { order: -1; }
  .t-nav, .t-mail, .t-time, .t-state { grid-column: auto; }
}

/* телефон */
@media (max-width: 700px) {
  .top { padding-block: 20px; }
  .hero h1 { font-size: 8.6vw; }
  .hero-copy .lead { width: auto; }
  .stage { --cut: 72px; margin-left: 0; margin-top: 40px; padding: 72px 16px 24px; }
  .qa { font-size: 14px; }
  [data-ui] .qa-tabs { grid-template-columns: repeat(2, 1fr); }
  .qa-tabs button { padding: 10px 12px; }
  .stats { min-height: 0; padding-bottom: 32px; }
  .stats-head { display: block; }
  .stats .fig { font-size: 26vw; }
  .stats .claim { font-size: var(--step-lead); }
  .stats-head p { margin-top: 16px; }
  .bars { height: auto; grid-template-columns: 1fr; gap: 6px; padding: 32px var(--m) 0; margin-top: 24px; }
  .bar { height: 28px; width: calc(var(--v) / 33 * 100%); transform-origin: left; transform: scaleX(var(--grow, 1)); }
  .bar:nth-child(-n+4) { display: none; }
  .bar span { bottom: auto; top: 0; left: auto; right: 8px; padding: 0; line-height: 28px; font-size: var(--step-body); text-align: right; color: var(--ink); }
  .bar.is-now span { color: var(--accent-ink); }
  .bar:hover::after, .bar:focus-visible::after { left: auto; right: 0; top: -32px; transform: none; }
  .bars-cap { position: static; display: block; padding: 12px var(--m) 0; }
  .show { min-height: 0; }
  .show-row { padding-inline: 7vw; gap: 4vw; }
  .panel { flex-basis: 86vw; }
  .show-title, .show-desc { grid-column: 1 / 13; }
  .show-desc { margin-top: 20px; }
  .how-grid { display: block; }
  .how-stage { margin: 28px calc(-1 * var(--m)) 0; }
  .how-ui { position: relative; top: 0; height: 400px; padding: 16px; }
  .step { min-height: 0; padding-top: 28px; }
  .step:first-of-type { padding-top: 28px; }
  .step-t { font-size: var(--step-lead); }
  .feat-p { font-size: var(--step-lead); }
  .feat-foot { display: block; margin-top: 40px; }
  .feat-foot .btn { margin-top: 20px; }
  .faq-grid { display: block; }
  .faq-pane { display: none; }
  .faq-a-m { display: block; padding: 10px 0 0 22px; font-size: var(--step-body); line-height: 1.4; }
  .faq-a-m:empty { display: none; }
  .cta { padding-top: 20svh; padding-bottom: 14svh; }
  .cta p { font-size: var(--step-body); }
  .tiles { grid-template-columns: 1fr 1fr; gap: 6px; }
  .foot { padding: 0 6px 6px; }
  .tile { min-height: 150px; }
  .t-word { grid-column: 1 / 3; order: -2; min-height: 160px; }
  .t-word span { font-size: 8.6vw; }
  .t-go { grid-column: 1 / 3; order: -1; min-height: 160px; }
  .t-nav, .t-mail, .t-time, .t-state { grid-column: auto; }
  .t-state p { font-size: var(--step-body); }
  .t-mail a { font-size: var(--step-body); overflow-wrap: anywhere; }
}

/* ---- посадочные страницы (build.py): журнальная раскладка — заголовок раздела слева, текст справа */
.lp .nav { gap: 22px; }
.lp-crumbs { font-size: var(--step-small); color: var(--muted); padding-top: 8px; }
.lp-crumbs a { color: var(--muted); }
.lp-hero { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: end; padding-top: clamp(32px, 6vh, 72px); padding-bottom: clamp(48px, 8vh, 96px); }
.lp-hero h1 { grid-column: 1 / 13; font-size: clamp(1.75rem, 0.9rem + 3.6vw, 4.25rem); font-weight: 700; line-height: 1; letter-spacing: -0.03em; max-width: 22ch; }
.lp-hero-side { grid-column: 1 / 8; margin-top: 28px; }
.lp-hero .lead { margin-bottom: 24px; }
.lp-hero .actions { margin-top: 0; }
.lp-fig { grid-column: 1 / -1; margin-top: clamp(40px, 6vh, 72px); display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: stretch; }
.lp-fig .qa { grid-column: 1 / 8; width: auto; }
.lp-fig figure { grid-column: 8 / 13; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.lp-fig img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; display: block; }
.lp-fig figcaption { font-size: var(--step-small); color: var(--muted); }
.lp-content { padding-bottom: clamp(48px, 8vw, 120px); }
.lp-sec { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); padding-block: clamp(36px, 5vw, 64px); }
.lp-sec + .lp-sec { background: none; }
.lp-sec h2 { grid-column: 1 / 5; font-size: var(--step-lead); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }
.lp-body { grid-column: 6 / 12; display: grid; gap: 14px; }
.lp-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.lp-steps li p { margin: 0; }
.lp-k { font-weight: 600; margin-bottom: 4px !important; }
.lp-faq details { padding: 14px 0; }
.lp-faq details + details { border-top: 0; }
.lp-faq summary { cursor: pointer; font-weight: 500; list-style: none; display: flex; gap: 12px; align-items: baseline; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::before { content: ''; flex: 0 0 8px; height: 8px; border-radius: 50%; background: var(--muted); transform: translateY(-2px); transition: background-color .2s; }
.lp-faq details[open] summary::before { background: var(--accent); }
.lp-faq details p { margin: 8px 0 0 20px; color: var(--ink); }
.lp-more { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.lp-more a { color: var(--ink); text-decoration-color: var(--accent); text-underline-offset: 4px; }
.lp-more a:hover { color: var(--accent); }
.lp-cta { padding-top: 10svh; padding-bottom: 12svh; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.lp-cta p { max-width: 46ch; margin: 0; font-size: var(--step-lead); line-height: 1.3; }
.lp-links { gap: 8px; }
.lp-links a { text-decoration: none; }
.lp-links a:hover { color: var(--accent); }
@media (max-width: 1000px) {
  .lp .nav { display: none; }
  .lp-hero h1, .lp-hero-side { grid-column: 1 / 13; }
  .lp-hero-side { margin-top: 24px; }
  .lp-fig .qa, .lp-fig figure { grid-column: 1 / 13; }
  .lp-fig figure { margin-top: 16px; }
  .lp-sec h2, .lp-body { grid-column: 1 / 13; }
  .lp-sec h2 { margin-bottom: 14px; }
}
@media (max-width: 700px) { .lp-more { grid-template-columns: 1fr; } .lp-cta p { font-size: var(--step-body); } }

.lp-fig2 { margin: clamp(24px, 4vw, 48px) 0; }
.lp-fig2 figure { grid-column: 1 / 6; }
.lp-fig2 .qa { grid-column: 6 / 13; align-self: center; }
.lp-fig .qa-body { gap: 12px; }
.lp-memo .memo li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; padding: 9px 0; font-size: 14px; }
.lp-memo .memo li.warn { color: var(--ui-need); }
.lp-memo .p-head { display: flex; justify-content: space-between; font-weight: 500; font-size: 15px; }
.lp-memo .p-head em { font-style: normal; color: var(--ui-muted); font-size: 13px; font-weight: 400; }
@media (max-width: 1000px) { .lp-fig2 figure, .lp-fig2 .qa { grid-column: 1 / 13; } .lp-fig2 .qa { margin-top: 16px; } }
.lp-fig .qa { border: 1px solid var(--ui-line); }
@media (max-width: 700px) { .lp-hero { padding-bottom: 24px; } .lp-fig { margin-top: 8px; } }
