/* Лендинг. Панель живёт на style.css - файлы намеренно не пересекаются.

   Идентичность: приборный щит. Комбайн - машина, и страница про машину: плоские
   эмалевые панели с фаской, гравированные шильдики, шкалы, индикаторные лампы.
   Ни градиентов, ни свечения, ни стеклянных карточек - тема сознательно одна,
   светлая: это щит под лампами, а не ночной интерфейс. */

/* ---------- шрифты (свои, без CDN: у клиентов в РФ так надёжнее) ---------- */
@font-face {
  font-family: 'Oswald'; src: url('/static/fonts/oswald-cyrillic.woff2') format('woff2');
  font-weight: 400 700; font-style: normal; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Oswald'; src: url('/static/fonts/oswald-latin.woff2') format('woff2');
  font-weight: 400 700; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2212;
}
@font-face {
  font-family: 'GolosText'; src: url('/static/fonts/golos-cyrillic.woff2') format('woff2');
  font-weight: 400 700; font-style: normal; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'GolosText'; src: url('/static/fonts/golos-latin.woff2') format('woff2');
  font-weight: 400 700; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2212;
}
@font-face {
  font-family: 'PTMono'; src: url('/static/fonts/ptmono-cyrillic.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'PTMono'; src: url('/static/fonts/ptmono-latin.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2212;
}

:root {
  --panel: #d7dacf;        /* эмаль щита */
  --panel-hi: #e9eae2;     /* поднятая панель */
  --panel-lo: #c9cdc1;     /* утопленная */
  --ink: #191c17;          /* гравировка */
  --ink-2: #545a4c;
  --ink-3: #7b8072;
  --rule: #a8ad9c;
  --signal: #be3a1d;       /* оксидный красный: сигнал и действие */
  --signal-dark: #8e2b15;
  --lamp: #d99413;         /* янтарная лампа: ждёт */
  --ok: #2f7d4f;           /* зелёная лампа: работает */
  --machine: #171e1a;      /* нутро машины */
  --machine-2: #202a24;
  --machine-ink: #d3d9d0;
  --display: 'Oswald', 'Arial Narrow', sans-serif;
  --body: 'GolosText', -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'PTMono', ui-monospace, Menlo, Consolas, monospace;
  --wrap: 1200px;
  --bevel: inset 0 1px 0 rgba(255, 255, 255, .8), inset 0 -1px 0 rgba(0, 0, 0, .12);
  --r: 3px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 78px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--panel);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2 {
  font-family: var(--display); font-weight: 600; text-transform: uppercase;
  letter-spacing: .012em; line-height: 1; margin: 0; text-wrap: balance;
}
h1 { font-size: clamp(34px, 4.6vw, 62px); }
h2 { font-size: clamp(27px, 3.6vw, 46px); }
h3 { font-family: var(--body); font-weight: 600; font-size: 18px; line-height: 1.35; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

::selection { background: var(--signal); color: #fff; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 26px; width: 100%; }

/* Шильдик: гравированная табличка вместо надписи-подзаголовка. */
.plate {
  display: inline-block; font-family: var(--mono); font-size: 11.5px;
  text-transform: uppercase; letter-spacing: .16em; color: var(--panel-hi);
  background: var(--ink); padding: 5px 11px 4px; margin-bottom: 20px;
}
.plate-open {
  background: transparent; color: var(--ink-2); padding: 0;
  border-bottom: 2px solid var(--ink); padding-bottom: 5px;
}

.lead { color: var(--ink-2); font-size: clamp(16px, 1.3vw, 18px); max-width: 58ch; text-wrap: pretty; }
.sig { color: var(--signal); }

/* Шкала: разделитель-линейка, отсылка к лимитам и паузам. */
.ruler {
  height: 22px; border-top: 2px solid var(--ink);
  background-image:
    repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 10px),
    repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 50px);
  background-size: 100% 6px, 100% 12px;
  background-repeat: no-repeat;
  background-position: 0 0, 0 0;
  opacity: .55;
}

/* ---------- шапка ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: var(--panel); border-bottom: 2px solid var(--ink);
}
.nav-inner {
  max-width: var(--wrap); margin: 0 auto; padding: 11px 26px;
  display: flex; align-items: center; gap: 30px;
}
.logo { display: flex; align-items: center; gap: 9px; flex-shrink: 0; }
.logo-mark {
  width: 20px; height: 20px; background: var(--ink); position: relative; flex-shrink: 0;
}
.logo-mark::after {
  content: ""; position: absolute; left: 6px; top: 6px; width: 8px; height: 8px;
  border-radius: 50%; background: var(--signal);
}
.logo-text {
  font-family: var(--display); font-weight: 600; font-size: 19px;
  text-transform: uppercase; letter-spacing: .06em;
}
.nav-links { display: flex; gap: 24px; margin-right: auto; }
.nav-links a {
  font-family: var(--mono); font-size: 12px; text-transform: uppercase;
  letter-spacing: .1em; color: var(--ink-2); padding: 3px 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover { color: var(--ink); border-bottom-color: var(--signal); }
.nav-cta { display: flex; gap: 8px; align-items: center; }
.nav-links-cta { display: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 500; text-transform: uppercase;
  letter-spacing: .05em; font-size: 14px; padding: 9px 18px; border-radius: var(--r);
  border: 1.5px solid var(--ink); cursor: pointer; white-space: nowrap;
  transition: background .15s linear, color .15s linear, transform .1s linear;
}
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--panel-hi); }
.btn-solid {
  background: var(--signal); border-color: var(--signal-dark); color: #fff;
  box-shadow: var(--bevel);
}
.btn-solid:hover { background: var(--signal-dark); }
.btn-solid:active { transform: translateY(1px); }
.btn-lg { font-size: 17px; padding: 13px 26px; }
.btn-wide { width: 100%; }

.nav-burger {
  display: none; width: 40px; height: 34px; border: 1.5px solid var(--ink);
  background: transparent; border-radius: var(--r); cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-burger span { display: block; width: 16px; height: 2px; background: var(--ink); }
.nav.is-open .nav-burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav.is-open .nav-burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- герой ---------- */
.hero { padding: 122px 0 0; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: start; }
.hero-copy h1 { margin-bottom: 20px; }
.hero-copy .lead { margin-bottom: 28px; }
.hero-btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* Ряд показаний: как шкалы на щите, с делениями между ними. */
.hero-facts {
  grid-column: 1 / -1;
  display: flex; border: 1.5px solid var(--ink); background: var(--panel-hi);
  box-shadow: var(--bevel);
}
.hero-facts div { flex: 1; padding: 14px 16px; border-right: 1.5px solid var(--rule); }
.hero-facts div:last-child { border-right: 0; }
.hero-facts dt {
  font-family: var(--display); font-weight: 600; font-size: 21px; line-height: 1.1;
  text-transform: uppercase; letter-spacing: .01em;
}
.hero-facts dd {
  font-family: var(--mono); font-size: 10.5px; text-transform: uppercase;
  letter-spacing: .08em; color: var(--ink-3); margin-top: 5px;
}

/* макет панели: тёмное нутро машины на светлом щите */
.hero-visual { position: relative; }
.mock {
  border: 1.5px solid var(--ink); background: var(--machine); color: var(--machine-ink);
  box-shadow: 6px 6px 0 rgba(25, 28, 23, .16);
}
.mock-bar {
  display: flex; align-items: center; gap: 7px; padding: 9px 13px;
  border-bottom: 1px solid rgba(211, 217, 208, .16);
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
}
.mock-bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(211, 217, 208, .3); }
.mock-bar i:first-child { background: var(--ok); }
.mock-bar span { margin-left: 8px; color: rgba(211, 217, 208, .6); }
.mock-body { padding: 16px; display: grid; gap: 14px; }

.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mock-stat { border-left: 2px solid var(--signal); padding-left: 10px; }
.mock-stat:nth-child(2) { border-left-color: var(--lamp); }
.mock-stat:nth-child(3) { border-left-color: var(--ok); }
.mock-stat b {
  display: block; font-family: var(--display); font-weight: 600; font-size: 24px;
  line-height: 1.1; font-variant-numeric: tabular-nums;
}
.mock-stat span {
  font-family: var(--mono); font-size: 9.5px; text-transform: uppercase;
  letter-spacing: .07em; color: rgba(211, 217, 208, .55);
}

/* Самописец: плоские столбики на сетке, последний - сигнальный. */
.mock-chart {
  display: flex; align-items: flex-end; gap: 5px; height: 96px; padding: 10px;
  background:
    repeating-linear-gradient(0deg, rgba(211, 217, 208, .1) 0 1px, transparent 1px 24px);
  border: 1px solid rgba(211, 217, 208, .16);
}
.mock-chart i { flex: 1; height: var(--h); background: rgba(211, 217, 208, .55); }
.mock-chart i:last-child { background: var(--signal); }

.mock-log {
  font-family: var(--mono); font-size: 11px; line-height: 1.85;
  color: rgba(211, 217, 208, .72); border-top: 1px solid rgba(211, 217, 208, .16); padding-top: 10px;
}
.mock-log p { animation: logIn .35s linear backwards; }
.mock-log p:nth-child(1) { animation-delay: .3s; }
.mock-log p:nth-child(2) { animation-delay: .55s; }
.mock-log p:nth-child(3) { animation-delay: .8s; }
.mock-log p:nth-child(4) { animation-delay: 1.05s; }
.mock-log p:nth-child(5) { animation-delay: 1.3s; }
.mock-log b { color: var(--lamp); font-weight: 400; }
.mock-log em { color: var(--machine-ink); font-style: normal; }
.mock-log .ok, .mock-log .ok em { color: #6fca92; }
@keyframes logIn { from { opacity: 0; } to { opacity: 1; } }

/* Кейс: врезка с чужими цифрами, помечена как чужая. */
.case {
  margin-top: 54px; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  padding: 20px 0; display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: start;
}
.case-mark {
  font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .14em;
  color: var(--signal); white-space: nowrap; padding-top: 4px;
}
.case p { font-size: 16.5px; max-width: 78ch; }
.case b { font-weight: 600; }
.case-note { display: block; margin-top: 8px; font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); }

/* ---------- секции ---------- */
.section { padding: 84px 0; }
.section-tight { padding: 0 0 84px; }
.section-head { margin-bottom: 40px; }
.section-head h2 { margin-bottom: 16px; }

/* связка: пронумерованный порядок работ, номера гравированы */
.chain {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1.5px solid var(--ink); background: var(--panel-hi); box-shadow: var(--bevel);
}
.chain li { padding: 20px 20px 24px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.chain li:nth-child(4n) { border-right: 0; }
.chain li:nth-child(n+5) { border-bottom: 0; }
.chain-num {
  display: block; font-family: var(--display); font-weight: 600; font-size: 34px;
  line-height: 1; color: var(--rule); margin-bottom: 10px;
}
.chain li h3 { margin-bottom: 7px; }
.chain li p { color: var(--ink-2); font-size: 14.5px; line-height: 1.5; }

/* воронка: путь цели, шаги через стрелку */
.funnel { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.funnel-node { padding: 0 22px 0 0; position: relative; }
.funnel-node::after {
  content: ""; position: absolute; right: 10px; top: 9px; width: 7px; height: 7px;
  border-top: 2px solid var(--signal); border-right: 2px solid var(--signal);
  transform: rotate(45deg);
}
.funnel-node:last-child { padding-right: 0; }
.funnel-node:last-child::after { display: none; }
.funnel-dot {
  display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .1em;
  color: var(--signal); margin-bottom: 8px;
}
.funnel-node h3 { font-size: 16px; margin-bottom: 6px; }
.funnel-node p { color: var(--ink-2); font-size: 14px; line-height: 1.5; }

/* ядро */
.core-strip {
  border: 1.5px solid var(--ink); background: var(--panel-hi); box-shadow: var(--bevel);
  padding: 18px 22px; margin-bottom: 20px;
}
.core-strip h3 {
  font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .14em;
  color: var(--ink-3); font-weight: 400; margin-bottom: 12px;
}
.core-strip ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(228px, 1fr)); gap: 8px 24px; }
.core-strip li { position: relative; padding-left: 22px; font-size: 14.5px; color: var(--ink-2); }
.core-strip li::before {
  content: ""; position: absolute; left: 2px; top: 9px; width: 9px; height: 9px;
  background: var(--ok);
}

/* карточки модулей */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  border: 1.5px solid var(--ink); background: var(--panel-hi); box-shadow: var(--bevel);
  padding: 20px; display: flex; flex-direction: column;
}
.card-top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--rule);
}
.card-icon {
  width: 36px; height: 36px; display: grid; place-items: center;
  background: var(--ink); color: var(--panel-hi);
}
.card-icon svg { width: 19px; height: 19px; }
.card-price {
  font-family: var(--display); font-weight: 600; font-size: 26px; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.card-price i { font-family: var(--mono); font-style: normal; font-size: 11px; color: var(--ink-3); }
/* Лампа состояния: горит зелёным - модуль работает, янтарным - ещё нет. */
.chip-soon {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .12em;
  color: var(--ink-3);
}
.chip-soon::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--lamp);
  box-shadow: 0 0 0 2px rgba(217, 148, 19, .22);
}
.card h3 { margin-bottom: 8px; }
.card-about { color: var(--ink-2); font-size: 14.5px; line-height: 1.5; margin-bottom: 14px; }
.card-points { display: grid; gap: 6px; margin-bottom: 18px; }
.card-points li {
  position: relative; padding-left: 16px; font-size: 13.5px; color: var(--ink-2); line-height: 1.45;
}
.card-points li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 2px; background: var(--ink);
}
.card-add {
  margin-top: auto; padding: 9px 16px; border-radius: var(--r); cursor: pointer;
  border: 1.5px solid var(--ink); background: transparent;
  font-family: var(--display); font-weight: 500; text-transform: uppercase;
  letter-spacing: .05em; font-size: 14px; transition: background .15s linear, color .15s linear;
}
.card-add:hover { background: var(--ink); color: var(--panel-hi); }
.card-add .card-add-off { display: none; }
.card-add.is-on { background: var(--signal); border-color: var(--signal-dark); color: #fff; }
.card-add.is-on .card-add-on { display: none; }
.card-add.is-on .card-add-off { display: inline; }
.card-soon { background: var(--panel); border-style: dashed; }
.card-soon .card-icon { background: var(--ink-3); }

/* ---------- калькулятор ---------- */
.calc { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; align-items: start; }
.calc-list {
  border: 1.5px solid var(--ink); background: var(--panel-hi); box-shadow: var(--bevel); padding: 18px;
}
/* Переключатель периода - тумблер на два положения. */
.calc-period { display: inline-flex; border: 1.5px solid var(--ink); margin-bottom: 16px; }
.calc-period button {
  border: 0; background: transparent; cursor: pointer; padding: 8px 18px;
  font-family: var(--display); font-weight: 500; text-transform: uppercase; letter-spacing: .05em;
  font-size: 14px; color: var(--ink-2); border-right: 1.5px solid var(--ink);
}
.calc-period button:last-child { border-right: 0; }
.calc-period button em {
  font-family: var(--mono); font-style: normal; font-size: 10px; letter-spacing: .06em;
  color: var(--signal); margin-left: 7px;
}
.calc-period button.is-on { background: var(--ink); color: var(--panel-hi); }
.calc-period button.is-on em { color: var(--lamp); }

.calc-core {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 11px 12px; background: var(--panel); border-left: 3px solid var(--ok); margin-bottom: 10px;
}
.calc-core-title { font-size: 14.5px; }
.calc-core-price {
  font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .1em;
  color: var(--ok); white-space: nowrap;
}

.calc-row {
  display: flex; align-items: center; gap: 13px; padding: 11px 12px; cursor: pointer;
  border-bottom: 1px solid var(--rule);
}
.calc-row:last-of-type { border-bottom: 0; }
.calc-row:hover { background: var(--panel); }
.calc-row input { position: absolute; opacity: 0; width: 0; height: 0; }
.calc-box {
  width: 20px; height: 20px; border: 1.5px solid var(--ink); background: var(--panel-hi);
  position: relative; flex-shrink: 0; box-shadow: var(--bevel);
}
.calc-box::after {
  content: ""; position: absolute; left: 5px; top: 3px; width: 6px; height: 11px;
  border-right: 2.5px solid #fff; border-bottom: 2.5px solid #fff;
  transform: rotate(45deg); opacity: 0;
}
.calc-row input:checked ~ .calc-box { background: var(--signal); border-color: var(--signal-dark); }
.calc-row input:checked ~ .calc-box::after { opacity: 1; }
.calc-row input:focus-visible ~ .calc-box { outline: 2px solid var(--signal); outline-offset: 2px; }
.calc-name { flex: 1; font-size: 15.5px; }
.calc-sum {
  font-family: var(--mono); font-size: 14px; color: var(--ink-2); font-variant-numeric: tabular-nums;
}
.calc-row input:checked ~ .calc-sum { color: var(--ink); }
.calc-note {
  margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--rule);
  font-family: var(--mono); font-size: 11.5px; line-height: 1.7; color: var(--ink-3);
}

/* Итог - табло: тёмная вставка, цифры Oswald'ом. */
.calc-total { position: sticky; top: 84px; }
.calc-total-inner {
  border: 1.5px solid var(--ink); background: var(--machine); color: var(--machine-ink); padding: 22px;
  box-shadow: 6px 6px 0 rgba(25, 28, 23, .16);
}
.calc-total-label {
  font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .16em;
  color: rgba(211, 217, 208, .55);
}
.calc-total-value {
  font-family: var(--display); font-weight: 600; font-size: clamp(48px, 5.6vw, 68px);
  line-height: 1.05; margin: 4px 0 8px; font-variant-numeric: tabular-nums;
}
.calc-total-hint {
  font-family: var(--mono); font-size: 11.5px; line-height: 1.7;
  color: rgba(211, 217, 208, .62); min-height: 54px;
}
.calc-total-hint b { color: var(--lamp); font-weight: 400; }
.calc-chosen { margin: 14px 0; }
.calc-chosen li {
  display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; padding: 6px 0;
  border-bottom: 1px solid rgba(211, 217, 208, .14);
}
.calc-chosen li span { font-family: var(--mono); font-size: 12.5px; color: rgba(211, 217, 208, .6); }
.calc-bundle {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px; margin-bottom: 16px; border: 1px dashed rgba(211, 217, 208, .3);
}
.calc-bundle b { display: block; font-size: 14.5px; font-weight: 600; }
.calc-bundle span {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .05em;
  color: rgba(211, 217, 208, .5);
}
.calc-bundle-price {
  font-family: var(--display); font-weight: 600; font-size: 22px; white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.calc-bundle.is-best { border: 1.5px solid var(--lamp); background: rgba(217, 148, 19, .1); }
.calc-foot {
  margin-top: 12px; font-family: var(--mono); font-size: 10.5px; line-height: 1.6;
  color: rgba(211, 217, 208, .45); text-align: center;
}

/* ---------- антибан ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); border: 1.5px solid var(--ink);
  background: var(--panel-hi); box-shadow: var(--bevel); }
.tile { padding: 20px; border-right: 1px solid var(--rule); }
.tile:last-child { border-right: 0; }
.tile-label {
  font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .14em;
  color: var(--ink-3); margin-bottom: 10px;
}
.tile-value {
  font-family: var(--display); font-weight: 600; font-size: 27px; line-height: 1.05;
  text-transform: uppercase; margin-bottom: 8px; text-wrap: balance;
}
.tile-about { font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.disclaimer {
  margin-top: 20px; padding: 14px 18px; border: 1.5px solid var(--signal);
  background: rgba(190, 58, 29, .07); font-size: 14.5px; color: var(--ink);
  display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start;
}
.disclaimer::before {
  content: "!"; font-family: var(--display); font-weight: 600; font-size: 20px; line-height: 1;
  color: #fff; background: var(--signal); width: 24px; height: 24px;
  display: grid; place-items: center;
}

/* ---------- вопросы ---------- */
.faq-wrap { max-width: 880px; }
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq details[open] { background: var(--panel-hi); }
.faq summary {
  list-style: none; cursor: pointer; padding: 16px 14px; font-size: 17px; font-weight: 600;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq-sign { position: relative; width: 13px; height: 13px; flex-shrink: 0; }
.faq-sign::before, .faq-sign::after { content: ""; position: absolute; background: var(--signal); }
.faq-sign::before { left: 0; top: 5.5px; width: 13px; height: 2px; }
.faq-sign::after { left: 5.5px; top: 0; width: 2px; height: 13px; }
.faq details[open] .faq-sign::after { display: none; }
.faq details p { padding: 0 14px 18px; color: var(--ink-2); font-size: 15.5px; max-width: 72ch; }

/* ---------- финал ---------- */
.cta { background: var(--machine); color: var(--machine-ink); padding: 72px 0; }
.cta-inner { display: grid; grid-template-columns: 1.2fr auto; gap: 40px; align-items: center; }
.cta-inner h2 { margin-bottom: 12px; }
.cta-inner p { color: rgba(211, 217, 208, .65); max-width: 52ch; }
.cta .btn-ghost { color: var(--machine-ink); border-color: var(--machine-ink); }
.cta .btn-ghost:hover { background: var(--machine-ink); color: var(--machine); }
.cta .hero-btns { flex-direction: column; }

/* ---------- подвал ---------- */
.foot { background: var(--machine); color: rgba(211, 217, 208, .6); padding: 0 0 40px; }
.foot-inner {
  display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: start;
  border-top: 1px solid rgba(211, 217, 208, .18); padding-top: 26px;
}
.foot .logo-mark { background: var(--machine-ink); }
.foot .logo-text { color: var(--machine-ink); }
.foot-note { font-family: var(--mono); font-size: 11px; line-height: 1.75; max-width: 58ch; }
.foot-links { display: flex; gap: 18px; }
.foot-links a {
  font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .1em;
}
.foot-links a:hover { color: var(--machine-ink); }

/* появление: только прозрачность, без выездов - страница не должна «оживать» */
.js [data-reveal] { opacity: 0; }
.js [data-reveal].is-in { opacity: 1; transition: opacity .45s linear; }

/* ---------- адаптив ---------- */
@media (max-width: 1080px) {
  .chain { grid-template-columns: repeat(2, 1fr); }
  .chain li:nth-child(4n) { border-right: 1px solid var(--rule); }
  .chain li:nth-child(2n) { border-right: 0; }
  .chain li:nth-child(n+5) { border-bottom: 1px solid var(--rule); }
  .chain li:nth-child(n+7) { border-bottom: 0; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .funnel { grid-template-columns: repeat(2, 1fr); gap: 22px 0; }
  .funnel-node:nth-child(2n)::after, .funnel-node:last-child::after { display: none; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .tile:nth-child(2n) { border-right: 0; }
  .tile:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
}
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding-top: 108px; }
  .calc { grid-template-columns: 1fr; }
  .calc-total { position: static; }
  .cta-inner { grid-template-columns: 1fr; gap: 24px; }
  .cta .hero-btns { flex-direction: row; }
}
@media (max-width: 820px) {
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--panel); border-bottom: 2px solid var(--ink); padding: 4px 26px 14px;
    display: none;
  }
  .nav.is-open .nav-links { display: flex; }
  .nav-links a { padding: 12px 0; font-size: 13px; border-bottom: 1px solid var(--rule); }
  .nav-inner { gap: 14px; }
  .nav-cta { margin-left: auto; }
  .nav-cta .btn-ghost { display: none; }
  .nav-burger { display: flex; }
  .section { padding: 62px 0; }
  .section-tight { padding: 0 0 62px; }
  .case { grid-template-columns: 1fr; gap: 12px; }
  .foot-inner { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .nav-cta { display: none; }
  .nav-links a.nav-links-cta { display: block; color: var(--signal); border-bottom: 0; }
  .cards, .chain, .funnel, .tiles { grid-template-columns: 1fr; }
  .chain li, .tile { border-right: 0; border-bottom: 1px solid var(--rule); }
  .chain li:last-child, .tile:last-child { border-bottom: 0; }
  .funnel-node::after { display: none; }
  .hero-facts { flex-direction: column; }
  .hero-facts div { border-right: 0; border-bottom: 1.5px solid var(--rule); }
  .hero-facts div:last-child { border-bottom: 0; }
  .hero-btns .btn { flex: 1; }
  .mock { box-shadow: 4px 4px 0 rgba(25, 28, 23, .16); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .js [data-reveal] { opacity: 1; }
}
