/* Классика askandanswer.ru — мир «Справочное окно» (docs/03 §3). Токены цвета — :root из сборки (derive движка + пины бренда).
   Цвет — «Светлая стена» (решение 41): страница — стена светлого малахита (--wall), на ней белые листы и окно тёмного малахита. */
/* Rubik — WOFF2 из папки бренда (~/ask/docs/brand/fonts): переменный файл на поднабор знаков, диапазоны — из README бренда.
   Весов два, как в бренде: у каждого поднабора записи 400 и 700 на одном файле — промежуточных начертаний браузер не рисует. */
@font-face { font-family: Rubik; src: url("fonts/rubik-cyrillic-variable.v1.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Rubik; src: url("fonts/rubik-cyrillic-variable.v1.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Rubik; src: url("fonts/rubik-latin-variable.v1.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+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Rubik; src: url("fonts/rubik-latin-variable.v1.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+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* запасной шрифт на время загрузки Rubik (SEO-ревью 01.12, п. 13): Arial, подогнанный под метрики Rubik — ширина строки и высота
   знаков те же, поэтому при подмене шрифта (font-display: swap) текст не переносится иначе и вёрстка не сдвигается (CLS).
   Числа — замер в Chromium 01.12.2026 на тексте страницы: ширина Rubik / Arial = 0,904 (400) и 0,867 (700); восходящие 0,935,
   нисходящие 0,25 em у Rubik; override делятся на size-adjust */
@font-face { font-family: "Rubik Fallback"; src: local("Arial"), local("ArialMT"), local("Helvetica"), local("Liberation Sans"); font-weight: 400; size-adjust: 90.4%; ascent-override: 103.4%; descent-override: 27.7%; line-gap-override: 0%; }
@font-face { font-family: "Rubik Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Bold"), local("Liberation Sans Bold"); font-weight: 700; size-adjust: 86.7%; ascent-override: 107.8%; descent-override: 28.8%; line-gap-override: 0%; }

:root {
  --rule: 2px solid var(--accent-raw); /* линейка — графика: сырой малахит, 2 px (1,5 px на обычном экране рисуется как 1 px и читается чёрным) */
  --wall-line: color-mix(in srgb, var(--accent) 30%, transparent); /* линии прямо на стене */
  --lift: 0 0 0 1px color-mix(in srgb, var(--accent) 22%, transparent), 0 14px 26px -16px rgba(0,72,49,.6); /* лист на стене: кромка и тень в тон */
  --r: 4px;
  --fs: 16px;
  --measure: 36rem;
  --gap: 20px;
  --press: 0 2px 0 var(--ink);
  --err: #B3261E; /* ошибка: 6,5 : 1 на белом листе; только с подписью словами */
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--wall); color: var(--ink);
  font: 400 var(--fs)/1.5 Rubik, "Rubik Fallback", Arial, Helvetica, sans-serif;
  font-feature-settings: "tnum";
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--accent-raw); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
/* ссылка в тексте — одна на всю страницу: малахит-текст, подчёркнута 1 px, при наведении подчёркивание 2 px. Ссылки-действия со стрелкой
   такие же, только жирные. У клавиш, чипов и окон входа в ASK наведение ничего не подчёркивает; пункт содержания меняет цвет. */
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: .15em; }
a:hover { text-decoration-thickness: 2px; }
/* стрелка ссылки-действия стоит вплотную к слову с отступом, без пробела: пробел был бы подчёркнут */
.lead-ok-plan a svg { margin-left: 4px; }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.15; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0; }
p + p, ul + p, p + ul { margin-top: .75em; }
ul, ol { margin: 0; padding: 0; }
svg { display: inline-block; vertical-align: -.15em; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -40px; background: var(--ink); color: var(--paper); padding: 6px 10px; border-radius: var(--r); z-index: 10; }
.skip:focus { top: 8px; }

/* подписи полей — капитель; единственная «бланковость» без гарнитуры */
.label, .sec-num, .toc-n, .slip-head, .step-who {
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1.2;
}

/* ─ Шапка ─ */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 16px 0; max-width: 1280px; margin: 0 auto; }
.home { display: inline-flex; color: var(--ink); flex: none; }
.lockup { height: 26px; width: auto; }
/* «часы работы» бюро — эмалевая табличка (тёмный малахит, как все таблички, белая капитель, светлый контур и кромка снизу), как «Принято» в заявке */
.top-note { margin: 0; padding: 3px 7px; border-radius: 3px; background: var(--accent); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1.3; text-align: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), 0 1px 0 rgba(0,0,0,.18); }
/* на узком экране текст в две строки — табличка по самому длинному слову, а не во всё место справа от знака */
@media (max-width: 559px) { .top-note { width: min-content; padding: 3px 6px; line-height: 1.25; } }

/* ─ Раскладка ─ */
.page { max-width: 1280px; margin: 0 auto; padding: 0 16px 48px; }
.body { display: grid; gap: var(--gap); }

/* ─ Первый экран: окно ─ */
.hero { padding: 28px 0 8px; }
.hero h1 { font-size: 32px; line-height: 36px; letter-spacing: -.02em; max-width: 14ch; }
.hero-lead { margin-top: 10px; max-width: var(--measure); color: var(--dim); }
.win {
  margin-top: 22px; position: relative; z-index: 2;
  background: var(--accent); border-radius: var(--r); padding: 6px; /* рама окна — самый тёмный зелёный предмет страницы */
  box-shadow: 0 1px 0 rgba(0,0,0,.2), 0 16px 28px -16px rgba(0,72,49,.75);
}
.slot {
  display: flex; align-items: center; gap: 8px; height: 56px; padding: 0 6px 0 14px; position: relative; /* опора каретки, едущей за текстом */
  background: var(--sheet); border-radius: 3px;
  box-shadow: inset 0 0 0 2px rgba(0,72,49,.3); /* кромка по периметру: белое в раме читается вырезом, а не эмалью (выбор автора 09.11.2026, доска ask-site-slot2) */
}
.slot:focus-within { box-shadow: inset 0 0 0 2px var(--accent); }
.win-cap { padding: 3px 4px 8px; } /* подпись на раме окна: что будет после вопроса */
.q { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; color: var(--ink); font: 700 18px/1 Rubik, "Rubik Fallback", Arial, sans-serif; outline: none; padding: 0; }
.q::placeholder { color: var(--dim); font-weight: 400; opacity: 1; }
.q:focus::placeholder { opacity: .35; }
.js .slot .q { caret-color: transparent; } /* родная каретка браузера скрыта — в строке одна каретка, фирменная (как в ASK-версии) */
.go { flex: none; width: 44px; height: 44px; border: 0; border-radius: 3px; background: var(--ink); color: var(--paper); display: grid; place-items: center; cursor: pointer; box-shadow: var(--press); transition: transform .08s, box-shadow .08s; }
.go:active { transform: translateY(2px); box-shadow: none; }
.chips { display: flex; gap: 8px; list-style: none; padding: 8px 2px 2px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  display: inline-block; white-space: nowrap; padding: 7px 12px; border-radius: 999px;
  background: var(--sheet); color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 700;
  box-shadow: 0 1px 0 rgba(0,0,0,.35); transition: transform .08s, box-shadow .08s;
}
.chip:hover { text-decoration: none; box-shadow: inset 0 0 0 1px var(--ink), 0 1px 0 rgba(0,0,0,.35); }
.chip:focus-visible { outline-color: #fff; } /* чипы стоят на тёмной раме */
.chip:active, .chip[aria-pressed="true"] { transform: translateY(1px); box-shadow: inset 0 0 0 1.5px var(--ink); }

/* каретка знака: стенка M × 4M — черта чернилами и полоска служебного цвета справа */
.caret { display: inline-flex; height: 22px; flex: none; }
.caret i, .caret b { display: block; width: 3px; height: 100%; }
.caret i { background: var(--ink); border-radius: 1px 0 0 1px; }
.caret b { background: var(--accent-raw); border-radius: 0 1px 1px 0; transform-origin: bottom; }
/* каретка в строке вопроса: пустая строка — стоит перед подсказкой; с текстом — выходит из потока и едет за курсором (сдвиг пишет site.js),
   текст начинается там, где она мигала; выделение и набранный текст без фокуса — скрыта; в фокусе мигает как курсор */
.slot .caret.at-text { position: absolute; left: 0; top: 50%; margin-top: -11px; }
.slot .caret.is-hidden { visibility: hidden; }
.slot .caret.is-focus { animation: blink 1.06s steps(1, end) infinite; }
.caret.is-live b { animation: pour .3s ease-out both; }
.caret.is-live { animation: blink 1.06s steps(1, end) .3s infinite; }
@keyframes pour { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes blink { 0%, 49.9% { opacity: 1; } 50%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .caret, .caret b { animation: none !important; } }

/* бланк ответа: выезжает из-под окна, перфорированный верх */
.slip {
  position: relative; z-index: 1; margin: -4px 10px 0; padding: 14px 16px 12px;
  border-radius: 0 0 var(--r) var(--r);
  box-shadow: var(--lift);
  /* перфорация: ряд целых отверстий на 10 px ниже верхнего края — видна и под рамой окна (она закрывает 4 px); в отверстиях видна стена */
  --holes: radial-gradient(circle at 6px 6px, var(--wall) 0 3px, transparent 3.4px) 4px 4px / 12px 12px space no-repeat;
  background: var(--holes), var(--sheet);
  padding-top: 24px;
}
.slip-head { display: flex; justify-content: space-between; gap: 12px; color: var(--dim); padding-top: 4px; }
.slip-state { color: var(--accent); }
.slip-state::before { content: ""; display: inline-block; width: 3px; height: .9em; background: var(--accent-raw); margin-right: 6px; vertical-align: -.1em; }
.slip-body { margin-top: 10px; border-top: 1px dashed var(--line); padding-top: 10px; }
.slip-q { font-weight: 700; }
.slip-q::before { content: "— "; color: var(--dim); }
.slip-a { margin-top: 8px; font-size: 15px; line-height: 1.5; }
.slip-foot { margin-top: 12px; font-size: 12px; color: var(--dim); border-top: 1px dashed var(--line); padding-top: 8px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 20px; }

/* кнопка чернилами, вдавливается */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: var(--r); font: 700 16px/1 Rubik, "Rubik Fallback", Arial, sans-serif; text-decoration: none; cursor: pointer; border: 0; transition: transform .08s, box-shadow .08s; }
.btn-ink { background: var(--ink); color: var(--paper); box-shadow: var(--press), 0 6px 14px -10px rgba(11,12,14,.6); }
.btn-ink:hover { text-decoration: none; }
.btn-ink:active { transform: translateY(2px); box-shadow: none; }
.hero .btn { flex: 1 1 auto; }
/* рядом с главной кнопкой — мелко одно обещание (Р21 specs/50): «Пока ASK не готов — ничего не платите» */
.hero-free { flex: 1 1 100%; font-size: 13px; line-height: 1.35; color: var(--dim); }

/* ─ Содержание: на телефоне — одна строка «Содержание» с раскрытием (Р13 specs/50), стрелка — пиктограмма, не знак ─ */
.toc { margin: 28px 0 20px; }
.toc-sum { display: flex; align-items: center; gap: 8px; padding: 11px 0; border-top: 1px solid var(--wall-line); border-bottom: 1px solid var(--wall-line); font-size: 14px; font-weight: 700; cursor: pointer; list-style: none; }
.toc-sum::-webkit-details-marker { display: none; }
.toc-chev { transition: transform .2s; }
.toc-d[open] .toc-chev { transform: rotate(180deg); }
.toc-d[open] .toc-sum { border-bottom: 0; }
.toc ol { list-style: none; columns: 2; column-gap: 20px; }
.toc li { break-inside: avoid; border-top: 1px solid var(--wall-line); }
.toc a { display: flex; gap: 10px; padding: 9px 0; color: var(--ink); text-decoration: none; font-size: 14px; line-height: 1.3; }
.toc a:hover { color: var(--accent); }
.toc-n { color: var(--dim); flex: none; width: 2.4em; padding-top: 2px; }

/* ─ Разделы: предметы ─ */
.sec { --pad: 18px; background: var(--sheet); border-radius: var(--r); padding: 22px var(--pad) 18px; box-shadow: var(--lift); scroll-margin-top: 12px; }
.sec-head { display: flex; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: var(--rule); }
/* под заголовком листа с вопросом к ASK — линия отрыва вместо линейки (слово автора 05.11.2026): ряд отверстий во всю ширину листа */
.sec[data-ask-q] .sec-head { position: relative; border-bottom: 0; padding-bottom: 26px; }
.sec[data-ask-q] .sec-head::after { content: ""; position: absolute; left: calc(-1 * var(--pad)); right: calc(-1 * var(--pad)); bottom: 2px; height: 12px;
  background: radial-gradient(circle at 6px 6px, var(--wall) 0 3px, transparent 3.4px) 0 0 / 12px 12px space no-repeat; }
.sec-num { color: var(--dim); }
.sec h2 { font-size: 24px; line-height: 1.15; }
/* ширину листа для раскладки предмета меряет содержимое листа, а не сам лист: лист на десктопе — часть сетки страницы (см. ниже),
   а мерный контейнер ею быть не может; ширины те же — содержимое занимает всю ширину листа внутри полей */
.sec-body { margin-top: 14px; container: sec / inline-size; }
.sec-body > p { max-width: var(--measure); }
.sec-body h3 { font-size: 17px; margin-top: 18px; }
.sec-body h3 + p, .sec-body h3 + ul { margin-top: 8px; }
.sec-body ul:not([class]) { list-style: none; }
.sec-body ul:not([class]) li { position: relative; padding-left: 18px; }
.sec-body ul:not([class]) li + li { margin-top: 8px; }
.sec-body ul:not([class]) li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 1.5px; background: var(--ink); }
.win-cap, .tocask-cap { display: block; margin: 0; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.note { color: var(--dim); }

/* 02 маршрутный бланк: три шага нумерованы плашкой; «до и после» — пунктирный и сплошной листок */
.route-steps ul { counter-reset: step; list-style: none; margin-top: 10px; }
.route-steps ul li { padding-left: 36px !important; }
.route-steps ul li::before { content: counter(step) !important; counter-increment: step; width: 24px !important; height: 24px !important; top: 0 !important; background: var(--accent) !important; color: #fff; border-radius: 3px; font: 700 12px/24px Rubik, "Rubik Fallback", Arial, sans-serif; text-align: center; }
.route-steps ul li + li { margin-top: 12px !important; }
.route-ba { margin-top: 22px; }
.route-ba h3 { margin-top: 0 !important; padding-bottom: 8px; border-bottom: var(--rule); }
.route-ba p { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--dim); }
.route-ba p strong { color: var(--ink); }
.route-ba p + p { color: var(--ink); border-bottom: 0; }
.route-ba p + p strong::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-raw); margin-right: 6px; vertical-align: 1px; }
@container sec (min-width: 760px) {
  .route:has(.route-ba) { display: grid; grid-template-columns: 1.15fr 1fr; column-gap: 36px; align-items: start; }
  .route-ba { margin-top: 0; }
  /* без «до и после» — три шага в ряд (Р21 specs/50) */
  .route:not(:has(.route-ba)) .route-steps ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 28px; margin-top: 16px; }
  .route:not(:has(.route-ba)) .route-steps ul li + li { margin-top: 0 !important; }
}

/* 03 путь клика: одна линия с отметками; главная строка — «с ASK», обычный сайт серым под ней, без зачёркивания (Р21 specs/50);
   на широком листе линия идёт слева направо (Р21: лист во всю ширину, горизонтально) */
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-raw); margin-right: 6px; vertical-align: 1px; }
.sec-body > .path-legend { margin-top: 14px; padding-bottom: 8px; border-bottom: var(--rule); display: flex; flex-wrap: wrap; gap: 4px 16px; max-width: none; color: var(--dim); }
.path-legend span { color: var(--ink); }
.path-legend .path-legend-plain { color: var(--dim); }
.path { list-style: none; margin-top: 14px; }
.path li { position: relative; padding: 0 0 16px 22px; }
.path li .label, .path-out .label { color: var(--dim); }
.path li::before { content: ""; position: absolute; left: 0; top: 17px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-raw); }
.path li::after { content: ""; position: absolute; left: 3.5px; top: 29px; bottom: -13px; width: 1px; background: var(--line); }
.path li:last-child::after { display: none; }
.path-ask { margin: 2px 0 0; font-size: 15px; line-height: 1.35; font-weight: 700; }
.path-plain { margin: 2px 0 0; font-size: 13px; line-height: 1.4; color: var(--dim); }
.path-out { padding-top: 12px; border-top: var(--rule); }
.path-out .path-ask { color: var(--accent); font-size: 17px; }
@container sec (min-width: 900px) {
  .path { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); column-gap: 24px; margin-top: 18px; }
  .path li { padding: 22px 0 0; }
  .path li::before { top: 0; }
  .path li::after { left: 14px; right: -18px; top: 3.5px; bottom: auto; width: auto; height: 1px; }
}

/* 04 памятка «Чем отличается от…»: три противопоставления под линейками. Заголовок пункта — две фразы в две строки:
   о привычном инструменте — тихо (400, подписью), об ASK — в полную силу; под ним по строке на сторону, у ASK — точка-отметка */
.cmp { list-style: none; margin-top: 16px; }
.cmp-item { padding: 12px 0 12px; border-top: var(--rule); }
.cmp-item:last-child { padding-bottom: 2px; }
.cmp-item .fold-b { padding-bottom: 4px; }
.sec-body .cmp-t { margin: 0; font-size: 20px; line-height: 1.2; }
.cmp-t span { display: block; }
.cmp-t-them { font-weight: 400; color: var(--dim); }
.cmp-them, .cmp-ask { margin-top: 8px; font-size: 14px; line-height: 1.45; max-width: var(--measure); }
.cmp-t + .cmp-them { margin-top: 10px; }
.cmp-them { color: var(--dim); }
.cmp-ask b::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-raw); margin-right: 6px; vertical-align: 1px; }
@container sec (min-width: 760px) {
  .cmp { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 32px; align-items: start; }
  .cmp-item { padding-bottom: 2px; }
}

/* раскрытие (Р13 specs/50): заголовок пункта в строке с плюсом, текст под ним; тот же плюс, что у журнала вопросов */
.fold > summary { display: flex; align-items: baseline; gap: 12px; cursor: pointer; list-style: none; }
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary > h3 { flex: 1; min-width: 0; }
.fold-b { padding-top: 4px; }
.sec-body > .fold { margin-top: 18px; padding-top: 14px; border-top: var(--rule); }
.sec-body > .fold > summary > h3 { font-size: 15px; margin-top: 0; }
.sec-body > .fold > .fold-b > ul { margin-top: 8px; }
/* блок под подзаголовком листа («Безопасность» в 07): линейка сверху, подзаголовок 15 px, список с тире */
.safety { margin-top: 18px; padding-top: 14px; border-top: var(--rule); }
.sec-body .safety h3 { font-size: 15px; margin-top: 0; }
.safety ul { margin-top: 8px !important; }

/* 05 таблички на стене: три группы; эмалевая табличка — только у названия группы, внутри строки без рамок */
.fgroups { display: grid; gap: 24px; margin-top: 16px; }
.sec-body .fgroup-t { display: inline-block; margin: 0; font-size: 14px; line-height: 1.25; padding: 5px 9px 6px; border-radius: 2px; background: var(--accent); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), 0 1px 0 rgba(0,0,0,.18); }
.fgroup-n { margin-top: 8px; font-size: 13px; line-height: 1.4; color: var(--dim); }
.frows { list-style: none; margin-top: 4px; }
.frows li { display: grid; gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.frows li:last-child { border-bottom: 0; padding-bottom: 0; }
.frows strong { font-size: 15px; line-height: 1.3; }
.frows span { font-size: 14px; line-height: 1.45; color: var(--dim); }
@container sec (min-width: 760px) { .fgroups { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); column-gap: 32px; } }

/* 07 витрина образцов: две отрасли вкладками (Р13 specs/50), у образца — кнопка на живой сайт */
.showcase { margin-top: 14px; }
.sample-live { margin-top: 16px; }
.sample-live .btn { width: 100%; min-height: 44px; font-size: 15px; }
@container sec (min-width: 520px) { .sample-live .btn { width: auto; } }
.pairs { list-style: none; margin-top: 2px; display: grid; gap: 10px; }
.pairs li { display: grid; gap: 2px; font-size: 14px; }
.pair-q { font-weight: 700; display: flex; align-items: baseline; gap: 7px; }
.pair-q .caret { height: 13px; align-self: center; }
.pair-q .caret i, .pair-q .caret b { width: 2px; }
.pair-a { color: var(--dim); padding-left: 14px; border-left: 1px solid var(--line); margin-left: 3px; }

/* вкладки без скрипта (пример счёта на листе 05, образцы на листе 07): подписи в строку над линией 1 px, выбранная — чернилами
   с отметкой 2 px сырым малахитом снизу; радиокнопки скрыты, фокус — кольцом на подписи. Правила — по номеру вкладки, до четырёх */
.tabs { border: 0; margin: 0; padding: 0; min-width: 0; }
.tabs > legend { padding: 0; }
.tab-bar { display: grid; grid-auto-flow: column; justify-content: start; gap: 0 16px; border-bottom: 1px solid var(--line); margin-top: 6px; }
.tab-bar label { display: flex; align-items: flex-end; padding: 8px 0 7px; font-size: 14px; line-height: 1.25; font-weight: 700; color: var(--dim); cursor: pointer; }
.tab-p { display: none; padding-top: 12px; }
.tab-r:nth-of-type(1):checked ~ .tab-p:nth-of-type(1), .tab-r:nth-of-type(2):checked ~ .tab-p:nth-of-type(2),
.tab-r:nth-of-type(3):checked ~ .tab-p:nth-of-type(3), .tab-r:nth-of-type(4):checked ~ .tab-p:nth-of-type(4) { display: block; }
.tab-r:nth-of-type(1):checked ~ .tab-bar label:nth-child(1), .tab-r:nth-of-type(2):checked ~ .tab-bar label:nth-child(2),
.tab-r:nth-of-type(3):checked ~ .tab-bar label:nth-child(3), .tab-r:nth-of-type(4):checked ~ .tab-bar label:nth-child(4) { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent-raw); }
.tab-r:nth-of-type(1):focus-visible ~ .tab-bar label:nth-child(1), .tab-r:nth-of-type(2):focus-visible ~ .tab-bar label:nth-child(2),
.tab-r:nth-of-type(3):focus-visible ~ .tab-bar label:nth-child(3), .tab-r:nth-of-type(4):focus-visible ~ .tab-bar label:nth-child(4) { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 559px) { .tab-bar { gap: 0 12px; } .tab-bar label { font-size: 13px; } }

/* 07 талон очереди */
.ticket { list-style: none; margin-top: 14px; border-top: 1px dashed var(--line); }
.step { display: grid; grid-template-columns: 40px 1fr; align-content: start; gap: 12px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.step-n { font-size: 28px; font-weight: 700; line-height: 1; color: var(--ink); }
/* метка «мы / вы / вместе» стоит в строке с заголовком шага, но вне его: в h3 — только название шага */
.step-head { font-size: 16px; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; text-wrap: balance; }
.sec-body .step-body h3 { display: inline; font-size: 16px; line-height: 1.3; margin-top: 0; }
.step-who { color: var(--dim); margin-left: 6px; vertical-align: 1px; white-space: nowrap; }
.step-who.is-you { color: var(--accent); }
.step-body p { margin-top: 4px; font-size: 14px; color: var(--dim); }
.step-body .step-head + p { margin-top: 8px; }
/* срок шага одной строкой: вторая цифра — только там, где для новой отрасли срок другой */
.step-body .step-dur { margin-top: 8px; font-size: 13px; color: var(--dim); }
.step-dur b { color: var(--ink); white-space: nowrap; }
/* «От вас потребуется» на талоне (08) — раскрытием под линейкой (.sec-body > .fold) */
.ticket .step:last-child { border-bottom: 0; }
@container sec (min-width: 760px) {
  .ticket { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 0 16px; border-top: 0; }
  .step { grid-template-columns: 1fr; gap: 8px; border-bottom: 0; border-top: var(--rule); padding-top: 12px; }
}

/* 05 прейскурант (до тарифа — схема без цифр: .pricelist) */
.pricelist { margin-top: 14px; }
.scheme { list-style: none; counter-reset: s; }
.scheme li { counter-increment: s; display: grid; grid-template-columns: 28px 1fr; gap: 8px; padding: 8px 0; border-bottom: 1px dotted var(--line); }
.scheme li::before { content: counter(s, decimal-leading-zero); font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--dim); padding-top: 4px; }
.prices { list-style: none; margin-top: 10px; }
.price-row { display: flex; align-items: baseline; gap: 8px; padding: 12px 0; border-top: var(--rule); font-weight: 700; }
.price-t { flex: none; }
.leader { flex: 1 1 24px; min-width: 24px; border-bottom: 2px dotted var(--line); transform: translateY(-4px); }
.price-v { color: var(--accent); white-space: nowrap; flex: none; }

/* 05 «Сколько стоит» по kb.pricing (specs/50 ~/ask, записка Ж54): слева прейскурант — позиции строкой с выноской, под ними
   свои слова; справа пример счёта вкладками и «Сначала ASK, потом деньги» с кнопкой эскиза; ниже — раскрытия ответов о цене */
.pl { margin-top: 14px; display: grid; gap: 26px; }
.pl-cap { color: var(--dim); margin: 0 0 2px; }
.pl-cap:not(:first-child) { margin-top: 18px; }
.pl-item { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.pl-item > p:not(.price-row) { font-size: 14px; line-height: 1.45; color: var(--dim); max-width: var(--measure); }
.pl .price-row { padding: 12px 0 6px; border-top: var(--rule); margin: 0; }
.pl-item + .pl-item .price-row { border-top: 0; }
.price-u { font-weight: 400; font-size: 14px; color: var(--dim); }
.pl .price-v { font-size: 17px; }
.tiers { width: 100%; border-collapse: collapse; margin: 2px 0 8px; font-size: 14px; }
.tiers th, .tiers td { padding: 5px 0; border-bottom: 1px dotted var(--line); text-align: left; font-weight: 400; }
.tiers th { font-weight: 700; width: 34%; }
.tiers td { color: var(--dim); }
.tiers .tiers-v { text-align: right; color: var(--ink); font-weight: 700; white-space: nowrap; }
.pl-note { margin-top: 10px; font-size: 13px; line-height: 1.4; color: var(--dim); }
.promises { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; font-weight: 700; font-size: 15px; }
.promises li { display: inline-flex; align-items: center; gap: 7px; }
.promises li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-raw); flex: none; }
.bill-if { font-size: 14px; color: var(--dim); }
.bill-rows { list-style: none; margin-top: 8px; }
.bill-rows li { display: flex; align-items: baseline; gap: 8px; padding: 7px 0; border-bottom: 1px dotted var(--line); }
.bill-k { font-weight: 700; flex: 0 1 auto; min-width: 0; }
.bill-sub { display: block; font-weight: 400; font-size: 13px; color: var(--dim); }
.bill-rows .leader { align-self: flex-start; margin-top: 1.05em; }
.bill-v { align-self: flex-start; flex: none; white-space: nowrap; }
.bill-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 10px; padding-top: 10px; border-top: var(--rule); font-weight: 700; font-size: 20px; }
.bill-total span:last-child { color: var(--accent); }
.order { margin-top: 26px; }
.sec-body .order h3 { font-size: 17px; margin-top: 0; }
.order-steps { list-style: none; margin-top: 8px; }
.order-steps li { padding: 8px 0; border-bottom: 1px dotted var(--line); font-size: 15px; }
.order-end { margin-top: 10px; }
.pl-cta { margin-top: 16px; }
.pl-cta .btn { width: 100%; }
.pl-more { margin-top: 22px; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.pl-more-col { display: contents; }
.pl-more-t { display: flex; flex-direction: column; gap: 2px; }
.pl-more-s { font-weight: 400; font-size: 13px; color: var(--dim); }
.pl-more .entry-a { padding-left: 0; }
.pq + .pq { margin-top: 12px; }
.pq-q { font-weight: 700; }
.pq p + p { margin-top: .35em; }
.extras { list-style: none; margin: 2px 0 12px; }
.extras .price-row { font-weight: 400; font-size: 15px; padding: 7px 0; border-top: 0; border-bottom: 1px dotted var(--line); }
.extras .price-t { flex: 0 1 auto; }
.extras .price-v { font-weight: 700; }
@container sec (min-width: 900px) {
  .pl { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); column-gap: 44px; }
  .pl-cta .btn { width: auto; }
  .pl-more { display: grid; grid-template-columns: 1fr 1fr; column-gap: 44px; align-items: start; border-top: 0; }
  .pl-more-col { display: block; border-top: 1px solid var(--line); }
}

/* 09 журнал вопросов */
/* на телефоне — один столбец по order, на широком листе — две независимые колонки (Р20 specs/50): раскрытый вопрос не раздвигает соседа */
.journal { margin-top: 12px; border-top: 1px solid var(--line); display: flex; flex-direction: column; }
.journal-col { display: contents; }
@container sec (min-width: 900px) {
  .journal { display: grid; grid-template-columns: 1fr 1fr; column-gap: 44px; align-items: start; border-top: 0; }
  .journal-col { display: block; border-top: 1px solid var(--line); }
}
.entry { border-bottom: 1px solid var(--line); }
.entry summary { display: flex; gap: 12px; align-items: baseline; padding: 12px 0; cursor: pointer; font-weight: 700; list-style: none; }
.entry summary::-webkit-details-marker { display: none; }
.entry summary::after, .fold > summary::after { content: ""; flex: none; align-self: center; margin-left: auto; width: 14px; height: 14px; color: var(--dim);
  background: linear-gradient(currentColor, currentColor) center / 14px 1.75px no-repeat, linear-gradient(currentColor, currentColor) center / 1.75px 14px no-repeat; }
.entry[open] summary::after, .fold[open] > summary::after { background: linear-gradient(currentColor, currentColor) center / 14px 1.75px no-repeat; }
.entry-n { color: var(--dim); min-width: 2.2ch; font-size: 14px; font-weight: 400; }
.entry-a { padding: 0 0 14px 34px; font-size: 15px; color: var(--ink); max-width: var(--measure); }

/* 11 «Кто делает» колонкой рядом с заявкой (Р19 specs/50): шаги после заявки, строка о разработке, табличка на двери */
.doorplate { margin-top: 14px; display: grid; grid-template-columns: max-content 1fr; gap: 10px 16px; padding: 14px; border: var(--rule); border-radius: var(--r); font-size: 14px; }
.doorplate dt { color: var(--dim); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding-top: 3px; }
.doorplate dd { margin: 0; }
.doorplate-ch { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.doorplate-inn { display: block; font-size: 13px; color: var(--dim); }
.sec-body .after h3 { font-size: 15px; margin-top: 0; }
.after-steps { list-style: none; counter-reset: a; margin-top: 6px; }
.after-steps li { counter-increment: a; position: relative; padding: 7px 0 7px 26px; border-bottom: 1px dotted var(--line); font-size: 15px; }
.after-steps li::before { content: counter(a); position: absolute; left: 2px; top: 7px; font-weight: 700; color: var(--accent); }
.about-lead { margin-top: 14px; font-size: 14px; color: var(--dim); }

/* 11 бланк заявки — подпись под предложением */
.lead { margin-top: 16px; }
.lead-grid { display: grid; gap: 16px; }
.field { display: grid; gap: 4px; align-content: start; }
.field .label { color: var(--dim); }
/* поле — прорезь в листе без линий (слово автора 05.11.2026: «очень много линий»): в ней светлая стена, как в отверстиях перфорации */
.field input, .field select, .field textarea { width: 100%; border: 0; border-radius: 3px; background-color: color-mix(in srgb, var(--wall) 60%, var(--sheet)); box-shadow: inset 0 1px 0 rgba(0,72,49,.14); padding: 11px 12px; font: 400 17px/1.3 Rubik, "Rubik Fallback", Arial, sans-serif; color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field-hint { font-size: 14px; line-height: 1.35; color: color-mix(in srgb, var(--ink) 82%, var(--sheet)); }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M5 8l5 5 5-5' fill='none' stroke='%230B0C0E' stroke-width='1.75'/></svg>"); background-position: right 12px center; background-size: 16px; background-repeat: no-repeat; padding-right: 40px; }
.field textarea { resize: vertical; min-height: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--accent); }
/* ошибка — подпись словами у поля, контур поля и галочка того же цвета; цвет не единственный знак */
.field-err { display: none; font-size: 13px; line-height: 1.35; color: var(--err); }
.field-err:not(:empty) { display: block; }
.field-err:not(:empty)::before { content: ""; display: inline-block; width: 3px; height: .9em; background: var(--err); margin-right: 6px; vertical-align: -.1em; }
.field input:user-invalid, .field [aria-invalid="true"], .field [aria-invalid="true"]:focus { box-shadow: inset 0 0 0 2px var(--err); }
.consent-row { margin-top: 18px; }
.consent-row .field-err { margin: 6px 0 0 28px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--dim); }
.consent input { margin: 3px 0 0; width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.consent input[aria-invalid="true"] { outline: 1.5px solid var(--err); outline-offset: 1px; }
.lead-send { margin-top: 20px; }
.lead .btn { width: 100%; }
.lead-after { margin-top: 10px; font-size: 13px; color: var(--dim); }
.lead.is-sending .btn { cursor: progress; opacity: .7; transform: translateY(2px); box-shadow: none; }

/* табличка состояния: малая эмалевая, как «Справки»; на ошибке — тем же приёмом, цветом ошибки */
.state-plate { display: inline-block; padding: 3px 7px; margin-right: 8px; border-radius: 2px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1.3; vertical-align: 1px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), 0 1px 0 rgba(0,0,0,.18); }
.state-plate.is-err { background: var(--err); }
.lead-fail { margin-top: 16px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 14px; }
.lead-fail .note { margin-top: 6px; font-size: 13px; }
/* без JS движок возвращает на /#lead-fail: строка сбоя по :target, поля после возврата пусты — «сохранены» не говорим */
.lead-fail:target { display: block; }
.lead-fail:target .lead-fail-keep { display: none; }
.lead-fail-ch { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 8px; font-weight: 700; }
.lead-ok { display: none; padding: 2px 0 0; font-size: 15px; }
.lead-ok:focus { outline: none; }
.lead-ok-line strong { font-weight: 700; }
.lead-ok-plan { margin-top: 10px; }
/* без JS движок возвращает на /#lead-sent — строка успеха показывается по :target */
.lead-ok:target, .lead-ok.is-on { display: block; }
.lead-ok.is-on .state-plate, .lead-ok:target .state-plate { animation: plate-in .3s ease-out both; }
@keyframes plate-in { from { transform: scaleX(.7); } to { transform: none; } }
/* после отправки лист — квитанция (слово автора 08.11): заголовок «Заявка у нас», без приглашения и полей; форма скрыта целиком
   (с JS — по классу, без JS — после возврата движка по :target) */
.sec--form.is-sent .h-ask, .sec--form:has(.lead-ok:target) .h-ask, .sec--form.is-sent .lead-intro, .sec--form:has(.lead-ok:target) .lead-intro { display: none; }
.sec--form.is-sent h2[data-done]::after, .sec--form:has(.lead-ok:target) h2[data-done]::after { content: attr(data-done); }
.sec--form:has(.lead-ok:target) .lead, .lead.is-sent > * { display: none; }

/* тема заявки — отметки на бланке «отметьте нужное» (решение 82): квадратик 18 px, как галочка согласия, подпись 15 px;
   выбранный — заливка малахитом с белой отметкой. Под отметками — фраза для партнёров */
.topic { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
.topic legend { padding: 0; margin-bottom: 8px; color: var(--dim); }
.topic-opts { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.topic-opt { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; cursor: pointer; }
.topic-opt input { appearance: none; -webkit-appearance: none; flex: none; width: 18px; height: 18px; margin: 0; border: 1px solid var(--dim); border-radius: 2px; background: var(--sheet) no-repeat center / 12px; cursor: pointer; }
.topic-opt input:checked { border-color: var(--accent); background-color: var(--accent); background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M2.5 6.2l2.4 2.4 4.6-5' fill='none' stroke='white' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/></svg>"); }
.topic-opt input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.topic-note { margin-top: 8px; font-size: 13px; line-height: 1.4; color: var(--dim); }

/* ─ Вход в ASK после первого экрана (решение 44): один на экран. Вопрос листа, который сейчас читают, подставляет site.js;
   на десктопе — окно под содержанием, на телефоне — табличка у правого нижнего края. ─ */
.toc .tocask { display: none; }
/* заявка (10) и «Кто делает» (11) — одной обёрткой: на телефоне друг под другом, на десктопе строкой 2/3 + 1/3 */
.leadrow { display: grid; gap: var(--gap); }
.ref { display: none; }
.js .ref {
  display: block; position: fixed; z-index: 30; right: 12px; bottom: calc(28px + env(safe-area-inset-bottom));
  max-width: calc(100% - 88px); padding: 11px 14px 12px; border-radius: 2px;
  background: var(--accent); color: #fff; text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22), 0 1px 0 rgba(0,0,0,.2), 0 12px 22px -12px rgba(0,72,49,.8);
  transform: translateX(calc(100% + 16px)); visibility: hidden;
  transition: transform .22s cubic-bezier(.2,.7,.2,1), visibility 0s .22s;
}
.js .ref.is-on { transform: none; visibility: visible; transition: transform .22s cubic-bezier(.2,.7,.2,1); }
.ref:hover { text-decoration: none; }
.js .ref.is-on:active { transform: translateY(2px); }
.ref-q { display: block; font: 700 15px/1.25 Rubik, "Rubik Fallback", Arial, sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.has-shutter .ref { display: none; }

/* ─ Строка партнёрам (решение 68): одна строка на стене после листа заявки, перед подвалом ─ */

/* ─ Строка уведомления: малая полоса у нижнего края, не модальная — белый лист, мелкий текст, клавиша «Понятно» и малый крестик
   в правом верхнем углу над ней (слово автора 05.11.2026: полоса намного меньше, крестик мелкий — нажимают «Понятно»; оба только
   убирают строку). Показывает site.js, пока её не приняли. Пока полоса на экране, табличка входа в ASK на телефоне стоит над ней. ─ */
.nstrip {
  position: fixed; z-index: 35; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom));
  display: flex; align-items: flex-end; gap: 10px; padding: 8px 8px 8px 11px;
  background: var(--sheet); border-radius: var(--r); font-size: 11px; line-height: 1.35; color: var(--dim);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 22%, transparent), 0 14px 26px -14px rgba(0,72,49,.75);
  opacity: 0; translate: 0 10px; transition: translate .22s cubic-bezier(.2,.7,.2,1), opacity .22s;
}
.nstrip[hidden] { display: none; }
.nstrip.is-on { opacity: 1; translate: 0 0; }
.nstrip-t { flex: 1; min-width: 0; }
.nstrip-ok { flex: none; height: 28px; margin-top: 16px; padding: 0 10px; border: 0; border-radius: 3px; background: var(--ink); color: var(--paper); font: 700 12px/1 Rubik, "Rubik Fallback", Arial, sans-serif; cursor: pointer; box-shadow: var(--press); transition: transform .08s, box-shadow .08s; }
.nstrip-ok:active { transform: translateY(2px); box-shadow: none; }
.nstrip-x { position: absolute; top: 2px; right: 2px; width: 18px; height: 18px; padding: 0; border: 0; background: none; color: var(--dim); display: grid; place-items: center; cursor: pointer; border-radius: 2px; }
.nstrip-x svg { width: 8px; height: 8px; }
body.has-shutter .nstrip { display: none; }
body.has-nstrip .ref { bottom: calc(var(--nstrip-h, 64px) + 20px + env(safe-area-inset-bottom)); }

/* ─ Подвал ─ */
.foot { max-width: 1280px; margin: 0 auto; padding: 24px 16px 24px; border-top: 1px solid var(--wall-line); font-size: 13px; color: var(--dim); }
.notice { max-width: 48rem; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; margin-top: 14px; align-items: center; }
.foot-brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 16px; }

/* ─ Десктоп от 1100: своя раскладка ─ */
@media (min-width: 1100px) {
  /* фон «чертёж сайта» — рисунок автора на стене (решение 89, вариант Б доски ask-site-bg): только десктоп, на телефоне и
     планшете листы закрывают стену. Закреплён на экране, листы едут поверх; линии — сырой малахит 30 %, прозрачный WebP ~22 КБ.
     Отверстия перфорации остаются цветом стены: узор сквозь них не виден, но при 30 % и 6 px разницы глазом нет */
  body { background: url("wallpaper-desktop.webp") center / cover no-repeat fixed, var(--wall); }
  /* приглушение под текстом на стене: размытое пятно цвета стены под заголовком, строкой под ним, знаком и содержанием —
     линии рисунка уходят из-под букв; пятно ниже текста (z-index −1 в своём слое), соседей не перекрывает */
  .page { isolation: isolate; }
  .top { z-index: 0; }
  .hero h1, .hero-lead, .toc ol { position: relative; }
  .home::before, .hero h1::before, .hero-lead::before, .toc ol::before { content: ""; position: absolute; inset: -6px -14px; z-index: -1; background: var(--wall); filter: blur(12px); pointer-events: none; }
  /* шапки строкой нет: знак с подписью крупно на одной высоте с заголовком первого экрана, у правого края; под ним табличка
     (вариант автора 05.11.2026; на телефоне — строка шапки) */
  .top { position: relative; height: 0; padding: 0 32px; }
  .top .home { position: absolute; right: 32px; top: 51px; } /* верх знака — по верху прописных заголовка */
  .lockup { height: 52px; }
  .top-note { position: absolute; right: 32px; top: 117px; padding: 4px 8px; font-size: 11px; }
  .hero h1 { max-width: calc(100% - 420px); }
  .foot { max-width: 1216px; padding: 24px 0 24px; }
  .page { padding: 0 32px 64px; display: grid; grid-template-columns: 220px 1fr; column-gap: 40px; grid-template-areas: "hero hero" "toc body"; align-items: start; }
  /* бланк ответа стоит ровно над правой колонкой листов (та же ширина и тот же промежуток 20 px), окно — над содержанием и левой колонкой:
     ширина колонки листов = (100% − содержание 220 − промежуток 40 − промежуток 20) / 2 */
  .hero { grid-area: hero; display: grid; grid-template-columns: minmax(0, 1fr) calc((100% - 280px) / 2); grid-template-rows: auto auto auto 1fr; grid-template-areas: "h1 h1" "lead lead" "win slip" "cta slip"; column-gap: var(--gap); padding: 44px 0 24px; }
  .hero h1 { grid-area: h1; font-size: 44px; line-height: 48px; } /* ширину держит правило выше: заголовок уступает знаку 420 px */
  .hero-lead { grid-area: lead; font-size: 18px; }
  .win { grid-area: win; align-self: start; margin-top: 28px; min-width: 0; }
  /* чипы на десктопе чуть мельче, чтобы четыре вставали в окно одной строкой; если окно уже — переносятся, а не обрезаются */
  .chips { flex-wrap: wrap; overflow: visible; gap: 6px; }
  .chip { font-size: 13px; padding: 7px 11px; }
  .slip { grid-area: slip; margin: 28px 0 0; border-radius: 0 var(--r) var(--r) 0; align-self: start;
    /* на десктопе бланк выезжает вправо — перфорация по левому краю, под рамой окна */
    --holes: radial-gradient(circle at 6px 6px, var(--wall) 0 3px, transparent 3.4px) 18px 0 / 12px 12px no-repeat space;
    padding: 16px 18px 12px 38px; }
  .hero-cta { grid-area: cta; align-self: start; }
  .hero .btn { flex: none; }
  .toc { grid-area: toc; position: sticky; top: 20px; margin: 0; }
  /* список содержания на десктопе всегда открыт (site.js ставит open по ширине): строки «Содержание» нет */
  .js .toc-sum { display: none; }
  .toc .tocask { display: block; margin-top: 22px; padding: 5px; background: var(--accent); border-radius: var(--r); box-shadow: 0 1px 0 rgba(0,0,0,.2), 0 12px 20px -14px rgba(0,72,49,.7); }
  .tocask-cap { padding: 2px 3px 6px; }
  .toc .tocask-slot { display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 9px 5px 9px 10px; background: var(--sheet); border-radius: 3px; color: var(--ink); text-decoration: none; font-size: 14px; }
  .toc .tocask-slot + .tocask-slot { margin-top: 5px; }
  .tocask-q { flex: 1; min-width: 0; font: 700 14px/1.3 Rubik, "Rubik Fallback", Arial, sans-serif; min-height: 1.3em; }
  .tocask-key { flex: none; width: 32px; height: 32px; border-radius: 3px; background: var(--ink); color: var(--paper); display: grid; place-items: center; box-shadow: var(--press); transition: transform .08s, box-shadow .08s; }
  .tocask-slot:active .tocask-key { transform: translateY(2px); box-shadow: none; }
  /* отметка листа, который читают, — только на десктопе: на телефоне содержание видно лишь наверху, а жирный перенос строк заставлял его «скакать» */
  .toc a[aria-current="true"] { font-weight: 700; box-shadow: inset 3px 0 0 var(--accent-raw); padding-left: 10px; margin-left: -10px; }
  .toc a[aria-current="true"] .toc-n { color: var(--accent); }
  .js .ref { display: none; }
  .toc ol { columns: 1; }
  .body { grid-area: body; grid-template-columns: 1fr 1fr; align-items: start; }
  .sec { --pad: 26px; padding: 28px var(--pad) 22px; }
  .sec h2 { font-size: 28px; }
  /* ритм рядов (specs/50: Р19–Р21, записка Ж54 §4): 02–06 по одному во всю ширину, 07|08 парой, 09 во всю ширину,
     10 и 11 одной строкой — форма 2/3, «Кто делает» 1/3 */
  .sec--route, .sec--ledger, .sec--compare, .sec--pricelist, .sec--plates, .sec--journal, .leadrow { grid-column: 1 / -1; }
  .sec--showcase { grid-column: 1; }
  .sec--ticket { grid-column: 2; }
  .leadrow { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: var(--gap); }
  /* табличка на двери в колонке 1/3 — подпись над значением, длинная почта переносится */
  .leadrow .doorplate { grid-template-columns: 1fr; row-gap: 2px; }
  .leadrow .doorplate dd { margin-bottom: 8px; overflow-wrap: anywhere; }
  .leadrow .doorplate dd:last-child { margin-bottom: 0; }
  .sec-body > p { max-width: 44rem; }
  /* листы пары одной высоты: свободное место — поле листа внизу. Шапки листов в паре тоже одной высоты: каждый лист занимает две строки
     сетки страницы — шапку и содержимое, — поэтому заголовок в две строки у одного листа опускает линию отрыва и у соседа (слово автора
     05.11.2026: «перфорация вровень»). */
  .body { align-items: stretch; }
  .sec { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
  .lead-grid { grid-template-columns: 1fr 1fr; column-gap: 28px; }
  .field--wide { grid-column: 1 / -1; }
  .lead-send { display: flex; align-items: center; gap: 20px; }
  .lead .btn { width: auto; min-width: 280px; }
  .lead-after { margin-top: 0; }
  /* по центру колонки листов (она сдвинута от центра страницы на 130 px: содержание 220 + промежуток 40), чтобы не накрывать содержание */
  .nstrip { left: calc(50% + 130px); right: auto; bottom: 16px; width: max-content; max-width: min(860px, calc(100vw - 348px)); align-items: center; gap: 14px; padding: 6px 26px 6px 14px; font-size: 12px; translate: -50% 10px; }
  .nstrip.is-on { translate: -50% 0; }
  .nstrip-ok { margin-top: 0; }
}

/* ─ Бланк: состояния и прибытие строк ─ */
.slip-state[data-state="waiting"], .slip-state[data-state="answering"] { color: var(--dim); }
.slip-state[data-state="waiting"]::before, .slip-state[data-state="answering"]::before { animation: blink 1.06s steps(1, end) infinite; }
.slip-state[data-state="owner"] { color: var(--ink); }
.slip-state[data-state="error"] { color: var(--err); }
.slip-state[data-state="error"]::before { background: var(--err); }
.slip[data-state="waiting"] .slip-body { min-height: 72px; }
.slip-a.is-new { opacity: 0; transform: translateY(6px); }
.slip-a { transition: opacity .32s ease-out, transform .32s ease-out; }
.js .slip.is-open { animation: slipout .32s cubic-bezier(.2,.7,.2,1) both; }
@keyframes slipout { from { transform: translateY(-16px); opacity: .4; } to { transform: none; opacity: 1; } }
.slip-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 14px; }
/* переход к разговору — полоса внизу бланка: та же рама тёмным малахитом, прорезь и клавиша 32 px, что у окна под содержанием (решение 83) */
.slip-go { display: block; margin-top: 12px; padding: 5px; background: var(--accent); border-radius: var(--r); box-shadow: 0 1px 0 rgba(0,0,0,.2); color: var(--ink); text-decoration: none; }
.slip-go:hover { text-decoration: none; }
.slip-go-slot { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 5px 5px 5px 12px; background: var(--sheet); border-radius: 3px; font: 700 15px/1.3 Rubik, "Rubik Fallback", Arial, sans-serif; }
.slip-go-t { flex: 1; min-width: 0; }
.slip-go-key { flex: none; width: 32px; height: 32px; border-radius: 3px; background: var(--ink); color: var(--paper); display: grid; place-items: center; box-shadow: var(--press); transition: transform .08s, box-shadow .08s; }
.slip-go:active .slip-go-key { transform: translateY(2px); box-shadow: none; }
@media (prefers-reduced-motion: reduce) {
  .js .slip.is-open { animation: none; }
  .slip-a, .slip-a.is-new { transition: none; opacity: 1; transform: none; }
  .slip-state::before { animation: none !important; }
}

/* ─ Шторка ASK-версии: окно поверх раздела, 90svh снизу на телефоне (как у движка), панель справа на десктопе ─ */
.shutter { position: fixed; inset: 0; z-index: 40; display: flex; flex-direction: column; justify-content: flex-end; background: rgba(11,12,14,.55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; transition: opacity .22s ease; }
.shutter.is-in { opacity: 1; }
.shutter[hidden] { display: none; } /* без этого display: flex перебивал hidden — прозрачная шторка лежала поверх страницы и съедала клики */
.shutter-head { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: var(--paper); border-top: 1px solid var(--line); border-radius: var(--r) var(--r) 0 0; transform: translateY(28px); transition: transform .28s cubic-bezier(.2,.7,.2,1); font-size: 13px; }
.shutter-frame { height: calc(90svh - 48px); width: 100%; border: 0; background: var(--sheet); transform: translateY(28px); transition: transform .28s cubic-bezier(.2,.7,.2,1); }
.shutter.is-in .shutter-head, .shutter.is-in .shutter-frame { transform: none; }
.shutter-back { border: 0; background: var(--ink); color: var(--paper); font: 700 14px/1 Rubik, "Rubik Fallback", Arial, sans-serif; padding: 9px 12px; border-radius: 3px; cursor: pointer; box-shadow: var(--press); flex: none; }
.shutter-back:active { transform: translateY(2px); box-shadow: none; }
.shutter-title { flex: 1; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shutter-host { font-weight: 400; color: var(--dim); }
.shutter-open { white-space: nowrap; }
body.has-shutter { overflow: hidden; } /* не .shutter-open — это класс ссылки «открыть отдельно»: на body он делал всю страницу nowrap */
@media (prefers-reduced-motion: reduce) { .shutter, .shutter-head, .shutter-frame { transition: none; } }
@media (min-width: 1100px) {
  .shutter { justify-content: flex-end; align-items: flex-end; flex-direction: row; }
  .shutter-head, .shutter-frame { transform: translateX(32px); }
  .shutter-head { position: absolute; top: 0; right: 0; width: 520px; border-radius: 0; border-top: 0; border-left: 1px solid var(--line); height: 48px; }
  .shutter-frame { width: 520px; height: calc(100vh - 48px); margin-top: 48px; border-left: 1px solid var(--line); }
}

/* ─ «Как это выглядит» (Ж55 ~/ask, Р22; пока только лаборатория — до переноса кадров в пакет): значок листа и окно картинок ─ */
/* окно: затемнение как у шторки; на телефоне лист снизу (смахивается вниз), на десктопе — по центру */
.picwin { position: fixed; inset: 0; z-index: 45; display: flex; flex-direction: column; justify-content: flex-end; background: rgba(11,12,14,.55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; transition: opacity .22s ease; }
.picwin[hidden] { display: none; }
.picwin.is-in { opacity: 1; }
.picwin-sheet { display: flex; flex-direction: column; max-height: 94svh; background: var(--sheet); border-radius: var(--r) var(--r) 0 0; transform: translateY(28px); transition: transform .26s cubic-bezier(.2,.7,.2,1); padding-bottom: env(safe-area-inset-bottom); }
.picwin.is-in .picwin-sheet { transform: none; }
/* над шапкой — язычок 36 × 4: лист можно смахнуть */
/* шапка окна — узкая, чтобы не съедать место у ленты (слово автора 01.12): язычок, подпись, крестик 30 px */
.picwin-head { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 8px 5px 16px; color: var(--dim); }
.picwin-head::before { content: ""; position: absolute; left: 50%; top: 4px; width: 36px; height: 4px; margin-left: -18px; border-radius: 2px; background: var(--line); }
.picwin-key { position: relative; flex: none; width: 30px; height: 30px; border: 0; border-radius: 3px; background: var(--ink); color: var(--paper); display: grid; place-items: center; cursor: pointer; box-shadow: var(--press); transition: transform .08s, box-shadow .08s; }
.picwin-key:active { transform: translateY(2px); box-shadow: none; }
.picwin-key::after { content: ""; position: absolute; inset: -7px; } /* место нажатия — 44 px, как было */
.picwin-key svg { width: 16px; height: 16px; }
/* значок листа (Ж55, выбор автора 30.11 — вариант «без подложки»): справа от заголовка листа — рисунок картинки (рамка, гора,
   солнце) сырым малахитом, 40 px в поле 44 × 44; число картинок листа — малахитовой плашкой в правом верхнем углу; под
   рисунком капитель 10 px «Смотреть», на десктопе справа от рисунка — «Как это выглядит». Нажатие — сдвиг на 1 px */
.pics { flex: none; margin-left: auto; align-self: flex-start; display: inline-flex; flex-direction: column; align-items: center; gap: 4px;
  color: var(--accent); text-decoration: none; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1.2; }
.pics:hover { text-decoration: none; }
.pics-i { position: relative; width: 44px; height: 44px; display: grid; place-items: center; color: var(--accent-raw); transition: transform .08s; }
.pics-i svg { width: 40px; height: 40px; }
.pics:hover .pics-i { color: var(--accent); }
.pics:active .pics-i { transform: translateY(1px); }
.pics-n { position: absolute; right: -4px; top: -2px; min-width: 18px; padding: 2px 4px; border-radius: 2px; background: var(--accent); color: #fff; font-size: 10px; line-height: 1.2; letter-spacing: 0; text-align: center; }
.pics-d { display: none; }
.sec-head:has(.pics) h2 { flex: 1 1 0; min-width: 0; }
@media (min-width: 1100px) {
  .pics { flex-direction: row; gap: 10px; align-self: center; font-size: 11px; }
  .pics-m { display: none; }
  .pics-d { display: inline; }
}
/* демо-записи «ответ голосом и видео» в окне листа 06 (Ж57 ~/ask, решение 55): экран ответа посетителю — шапка сайта компании,
   вопрос посетителя с кареткой, лист «Ответ» с записью владельца: видео кругом 200 px с чернильной клавишей ▶, строка «Голосом»
   с клавишей и шкалой, под ними текст записи. Играет только по нажатию; второе нажатие — пауза; одна запись за раз */
.picwin-media { display: grid; gap: 10px; padding: 0 0 14px; }
.picwin-media[hidden] { display: none; }
.pm-site { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--sheet); border-bottom: 1px solid var(--line); }
.pm-brand { flex: 1; display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 16px; }
.pm-brand i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 3px; background: var(--accent); color: #fff; }
.pm-city { font-size: 12px; color: var(--dim); }
.pm-q { margin: 4px 14px 0; }
.pm-q p { display: flex; align-items: center; gap: 8px; margin-top: 6px; padding: 10px 12px; background: var(--sheet); border-radius: 3px; box-shadow: inset 0 0 0 2px rgba(0,72,49,.3); font-weight: 700; font-size: 16px; }
.pm-q .caret { height: 18px; }
.pm-ans { margin: 0 14px; padding: 12px 14px 14px; background: var(--sheet); border-radius: var(--r); box-shadow: var(--lift); display: grid; justify-items: center; gap: 12px; }
.pm-ans-h { justify-self: stretch; display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 8px; border-bottom: 1px dashed var(--line); }
.pm-ans-h .label::before { content: ""; display: inline-block; width: 3px; height: .95em; background: var(--accent-raw); margin-right: 6px; vertical-align: -.12em; }
.pm-who { font-size: 12px; color: var(--dim); }
.pm-video { position: relative; width: 200px; height: 200px; border-radius: 50%; overflow: hidden; background: #000; box-shadow: 0 0 0 3px var(--wall); }
.pm-v { width: 100%; height: 100%; object-fit: cover; display: block; cursor: pointer; }
/* клавиши записи (слово автора 01.12): на видео — круг, как у привычного плеера (вариант А): тёмный полупрозрачный, белый
   треугольник; исключение из «круглое — только чипы и точки» — кнопка лежит на круглом видео. У голоса — квадрат 3 px сырым малахитом */
.pm-vkey, .pm-akey { border: 0; border-radius: 3px; color: #fff; display: grid; place-items: center; cursor: pointer; transition: transform .08s; }
.pm-vkey { position: absolute; left: 50%; top: 50%; border-radius: 50%; width: 60px; height: 60px; margin: -30px 0 0 -30px; background: rgba(11,12,14,.5); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.pm-vkey svg { width: 28px; height: 28px; margin-left: 3px; }
.pm-vkey:active, .pm-akey:active { transform: scale(.94); }
.picwin-media.v-on .pm-vkey { opacity: 0; pointer-events: none; }
.pm-vkey .i-pause, .pm-akey .i-pause, .picwin-media.a-on .pm-akey .i-play { display: none; }
.picwin-media.a-on .pm-akey .i-pause { display: block; }
.pm-audio { justify-self: stretch; display: flex; align-items: center; gap: 12px; padding: 8px 10px; background: color-mix(in srgb, var(--wall) 40%, var(--sheet)); border-radius: 3px; }
.pm-akey { flex: none; width: 40px; height: 40px; background: var(--accent-raw); }
.pm-at { flex: 1; min-width: 0; display: grid; gap: 6px; font-size: 14px; }
.pm-bar { position: relative; height: 3px; border-radius: 2px; background: var(--line); overflow: hidden; }
.pm-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--accent-raw); }
.pm-text { justify-self: stretch; font-size: 15px; line-height: 1.45; }
.media-ns { display: block; margin-top: 4px; font-size: 14px; font-weight: 700; }
.picwin-body { overflow-y: auto; overscroll-behavior: contain; background: var(--wall); }
/* лента кадров (слово автора 01.12, как в ASK-версии): кадры подряд на стене, у кадра сверху номер и подпись,
   между кадрами линия на стене и по 24 px воздуха; номер — плашка, как у шагов маршрута (круглого в Классике нет) */
/* масштаб в окне — один на все кадры, 1,0: картинка — своего размера (PIC_SCALE в site.js), экран записи — ширина кадра 390;
   на десктопе кадр не ужимается по высоте экрана (иначе статистика и скидка — разным кеглем). На телефоне 390 кадр — во всю
   ширину, подпись — с полями 16 px; на Fold раскладка 451 (решение 90) — кадр по центру, по бокам стена */
.picwin-list { padding: 14px 0 18px; }
.pw-f { width: fit-content; max-width: 100%; margin: 0 auto; }
.pw-row + .pw-row { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--wall-line); }
.pw-cap { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 12px; padding: 0 16px; max-width: 0; min-width: 100%; font-size: 15px; line-height: 1.4; }
.pw-n { flex: none; width: 24px; height: 24px; border-radius: 3px; background: var(--accent); color: #fff; font: 700 12px/24px Rubik, "Rubik Fallback", Arial, sans-serif; text-align: center; }
.pw-img { display: block; max-width: 100%; height: auto; }
.pw-f.is-media .picwin-media { width: 390px; max-width: 100%; padding-bottom: 14px; background: var(--wall); }
body.has-pic { overflow: hidden; }
body.has-pic .ref, body.has-pic .nstrip { display: none; }
@media (min-width: 1100px) {
  .picwin { justify-content: center; align-items: center; }
  .picwin-sheet { max-height: calc(100vh - 48px); border-radius: var(--r); transform: translateY(12px); }
  .picwin-head::before { display: none; }
  .picwin-head { padding: 7px 8px 7px 16px; }
  .picwin-list { padding: 16px 24px 22px; }
  .pw-cap { padding: 0; }
}
@media (prefers-reduced-motion: reduce) { .picwin, .picwin-sheet { transition: none; } }

/* ─ Меньше движения: всё движение страницы выключено, состояния остаются ─ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0s !important; }
}
.stub { color: var(--dim); font-style: normal; border-bottom: 1px dashed var(--line); }
