/* Оформление промо-страниц — та же гамма, что в приложении (токены .ob из index.css).
   Хексы здесь повторяют приложение намеренно: лендинг — статика без сборки, импортировать
   токены неоткуда. При смене гаммы приложения править оба места. */
:root {
  --bg: #0b0c0e;
  --surface: #0f1013;
  --raise: linear-gradient(#1c1f24, #17191d);
  --raise-2: linear-gradient(#22262b, #1a1d21);
  --btn: linear-gradient(#5183ff, #3a63d8);
  --sunk: #101215;
  --line: #23262b;
  --border: #2b2f36;
  --border-top: #3a3f47;
  --ink: #f0f1f3;
  --ink-strong: #f5f6f8;
  --ink-2: #b8bcc2;
  --ink-3: #a0a5ad;
  --ink-4: #8e939b;
  --accent: #5183ff;
  --accent-line: #3f5fa8;
  --accent-ink: #8fa8f5;
  --brass: #c2a06a;
  --brass-2: #a89060;
  --edge: inset 0 1px 0 rgba(255, 255, 255, .07);
  --edge-btn: inset 0 1px 0 rgba(255, 255, 255, .22);
  --sink: inset 0 2px 5px rgba(0, 0, 0, .5);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-feature-settings: "tnum";
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 clamp(18px, 5vw, 44px); }
section { padding: clamp(48px, 7vw, 88px) 0; }
a { color: var(--accent-ink); }
a:hover { color: #b3c3fa; }

.eyebrow {
  font-size: 11px; text-transform: uppercase; letter-spacing: .14em;
  color: var(--brass-2); margin-bottom: 12px;
}
h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.1; letter-spacing: -.02em; text-wrap: balance; font-weight: 600; }
h2 { font-size: clamp(23px, 3.2vw, 32px); line-height: 1.18; letter-spacing: -.018em; text-wrap: balance; font-weight: 600; margin-bottom: 12px; }
h3 { font-size: 15px; font-weight: 600; margin-bottom: 7px; }
.lead { color: var(--ink-2); font-size: 16px; max-width: 64ch; }
.sect-lead { color: var(--ink-3); font-size: 14.5px; max-width: 66ch; margin-bottom: 32px; }
.num { font-variant-numeric: tabular-nums; }

/* ── обвязка: та же тёмная шапка, что в приложении ─────────────────────── */
header {
  position: sticky; top: 0; z-index: 50;
  background: var(--raise); border-bottom: 1px solid var(--line);
}
.hrow { display: flex; align-items: center; gap: 18px; height: 56px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-name { font-size: 15px; font-weight: 600; color: var(--ink-strong); letter-spacing: -.015em; }
.brand-name span { color: var(--ink-3); font-weight: 500; }
nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
nav a { color: var(--ink-2); text-decoration: none; font-size: 13.5px; }
nav a:hover { color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 38px; padding: 0 18px; border-radius: 8px; font-size: 14px; font-weight: 500;
  text-decoration: none; border: 1px solid var(--border); cursor: pointer;
}
.btn-primary { background: var(--btn); border-color: var(--accent-line); box-shadow: var(--edge-btn); color: #fff; }
.btn-primary:hover { filter: brightness(1.07); color: #fff; }
.btn-ghost { background: var(--raise-2); border-top-color: var(--border-top); box-shadow: var(--edge); color: var(--ink-2); }
.btn-ghost:hover { background: #262a30; color: var(--ink); }
.btn-sm { height: 32px; padding: 0 14px; font-size: 13px; }

/* ── первый экран ───────────────────────────────────────────────────────── */
.hero { padding: clamp(48px, 8vw, 92px) 0 clamp(34px, 5vw, 56px); }
.badge {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px;
  padding: 5px 12px; border-radius: 999px; font-size: 12px; color: var(--ink-2);
  background: var(--raise-2); border: 1px solid var(--border); box-shadow: var(--edge);
}
.badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--brass); }
.hero h1 { margin-bottom: 16px; }
.hero h1 em { font-style: normal; color: var(--brass); }
.hero .lead { margin-bottom: 26px; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.hero-note { font-size: 12.5px; color: var(--ink-4); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 38px; }
.stat { background: var(--raise); border: 1px solid var(--border); border-top-color: var(--border-top); box-shadow: var(--edge); border-radius: 10px; padding: 16px 18px; }
.stat b { display: block; font-size: 21px; font-weight: 600; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 4px; font-size: 12.5px; color: var(--ink-4); }

/* ── карточки ───────────────────────────────────────────────────────────── */
.grid { display: grid; gap: 12px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--raise); border: 1px solid var(--border); border-top-color: var(--border-top);
  box-shadow: var(--edge); border-radius: 10px; padding: 20px;
}
.card .rule { display: block; width: 26px; height: 2px; background: var(--brass); margin-bottom: 14px; border-radius: 2px; }
.card p { color: var(--ink-3); font-size: 13.5px; }

.diff { display: flex; flex-direction: column; }
.drow { padding: 20px 0; border-bottom: 1px solid var(--line); }
.drow:last-child { border-bottom: 0; }
.drow b { display: block; font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.drow p { color: var(--ink-3); font-size: 13.5px; max-width: 88ch; }

/* ── путь данных: нумерованная цепочка шагов ────────────────────────────── */
.flow { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.flow li {
  counter-increment: step; position: relative; padding: 16px 16px 16px 46px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--surface);
}
.flow li::before {
  content: counter(step); position: absolute; left: 16px; top: 16px;
  width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--brass);
  color: var(--brass); font-size: 11px; line-height: 19px; text-align: center;
}
.flow b { display: block; font-size: 14.5px; font-weight: 600; margin-bottom: 4px; }
.flow span { color: var(--ink-3); font-size: 13px; }
@media (max-width: 980px) { .flow { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .flow { grid-template-columns: 1fr; } }

/* ── дополнительные снимки экранов: маршрут, отбор позиций, деньги ───────── */
.shot-solo { max-width: 900px; margin: 22px auto 0; }
.shot-route { display: grid; grid-auto-flow: column; gap: 6px; margin-bottom: 12px; }
.shot-route div { min-width: 0; }
.shot-route i { display: block; height: 3px; border-radius: 2px; background: var(--accent); margin-bottom: 5px; }
.shot-route div.future i { background: #262a31; }
/* подписи этапов режем многоточием: в узкой колонке «Договор подписан» иначе вылезает */
.shot-route span { display: block; color: var(--ink); font-size: 10.5px; line-height: 1.25;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shot-route div.future span { color: var(--ink-4); }
.shot-sel {
  display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
  border: 1px solid var(--accent-border); border-radius: 8px; padding: 7px 10px;
  background: rgba(81,131,255,.07); font-size: 11.5px; color: var(--ink-2);
}
.shot-sel b { color: var(--ink); }
.shot-sel .go { margin-left: auto; background: var(--accent); color: #fff; border-radius: 6px; padding: 4px 10px; font-size: 11px; }
.shot-gauges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.shot-gauge { border: 1px solid var(--line); border-radius: 9px; padding: 10px 11px; }
.shot-gauge em { display: block; font-style: normal; color: var(--ink-4); font-size: 10.5px; margin-bottom: 6px; }
.shot-gauge b { color: var(--ink); font-size: 15px; font-variant-numeric: tabular-nums; }
.shot-gauge span { display: block; color: var(--ink-3); font-size: 11px; font-variant-numeric: tabular-nums; margin-top: 2px; }
.shot-gauge i { display: block; height: 4px; border-radius: 2px; background: var(--sunk); margin-top: 8px; }
.shot-gauge i > b { display: block; height: 4px; border-radius: 2px; }
.shot-cap { text-align: center; color: var(--ink-4); font-size: 12px; margin-top: 10px; }
.pair { display: grid; grid-template-columns: minmax(0,1fr) 250px; gap: 18px; align-items: center; margin-top: 22px; }
@media (max-width: 980px) { .pair { grid-template-columns: 1fr; } .pair .phone { margin: 0 auto; } }
@media (max-width: 620px) { .shot-gauges { grid-template-columns: 1fr; } }

/* ── настоящие снимки приложения (демо-компания) ─────────────────────────── */
.pic { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 12px;
       box-shadow: var(--shadow-card); background: var(--surface); }
.pic-wrap { margin-top: 22px; }
.pic-solo { max-width: 980px; margin-left: auto; margin-right: auto; }
.pic-phone { max-width: 240px; border-radius: 18px; }
.pic-pair { display: grid; grid-template-columns: minmax(0,1fr) 240px; gap: 18px; align-items: center; margin-top: 22px; }
@media (max-width: 980px) { .pic-pair { grid-template-columns: 1fr; } .pic-pair .pic-phone { margin: 0 auto; } }

/* ── появление при прокрутке ─────────────────────────────────────────────
   Блоки всплывают один раз, когда доходят до экрана. Никакой карусели и
   параллакса: страницу читают, а не смотрят. Кто просил систему убрать
   анимации (prefers-reduced-motion) — видит всё сразу. */
.reveal { opacity: 0; transform: translateY(14px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity .5s ease, transform .5s cubic-bezier(.22,.61,.36,1); }
.reveal.d1.is-in { transition-delay: .06s; }
.reveal.d2.is-in { transition-delay: .12s; }
.reveal.d3.is-in { transition-delay: .18s; }
.pic { transition: transform .35s cubic-bezier(.22,.61,.36,1), box-shadow .35s ease; }
.pic:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(0,0,0,.5); }
.card, .plan { transition: border-color .2s ease, transform .2s ease; }
.card:hover { transform: translateY(-2px); }
.flow li { transition: border-color .2s ease, transform .2s ease; }
.flow li:hover { transform: translateY(-2px); border-color: var(--accent-border); }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.is-in { opacity: 1; transform: none; transition: none; }
  .pic, .card, .flow li { transition: none; }
  .pic:hover, .card:hover, .flow li:hover { transform: none; }
}

/* ── короткие ролики: показывают движение там, где снимок молчит ─────────── */
.clip { display: block; width: 100%; height: auto; border: 1px solid var(--line);
        border-radius: 12px; box-shadow: var(--shadow-card); background: #0d0f12; }
.clip-wrap { max-width: 980px; margin: 22px auto 0; }
.clip-cap { text-align: center; color: var(--ink-4); font-size: 12px; margin-top: 10px; }
.clips { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 22px; }
@media (max-width: 860px) { .clips { grid-template-columns: 1fr; } }

/* ── тарифы ─────────────────────────────────────────────────────────────── */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.plan {
  background: var(--raise); border: 1px solid var(--border); border-top-color: var(--border-top);
  box-shadow: var(--edge); border-radius: 12px; padding: 20px; display: flex; flex-direction: column;
}
.plan.best { border-color: var(--accent-line); }
.plan .tag { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--brass-2); margin-bottom: 10px; }
.plan.best .tag { color: var(--accent-ink); }
.plan h3 { font-size: 17px; }
.plan .who { font-size: 12.5px; color: var(--ink-4); margin-bottom: 14px; }
.plan .price { font-size: 24px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -.015em; }
.plan .price small { font-size: 13px; font-weight: 400; color: var(--ink-4); }
.plan .price-note { font-size: 12px; color: var(--ink-4); }
.plan .per-user { font-size: 12.5px; color: var(--brass-2); margin: 8px 0 14px; font-variant-numeric: tabular-nums; }
.plan ul { list-style: none; margin-bottom: 18px; }
.plan li { position: relative; padding-left: 16px; font-size: 13px; color: var(--ink-3); margin-bottom: 7px; }
.plan li::before { content: ""; position: absolute; left: 0; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--border-top); }
.plan .btn { margin-top: auto; }
.plans-note {
  margin-top: 14px; padding: 14px 18px; border-radius: 10px;
  background: var(--sunk); box-shadow: var(--sink); font-size: 13px; color: var(--ink-3);
}
.plans-note b { color: var(--ink-2); font-weight: 600; }

/* ── вопросы ────────────────────────────────────────────────────────────── */
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; padding: 16px 0; font-size: 14.5px; font-weight: 500; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--ink-4); }
details[open] summary::after { content: "−"; }
details p { padding-bottom: 16px; color: var(--ink-3); font-size: 13.5px; max-width: 82ch; }

/* ── финал и подвал ─────────────────────────────────────────────────────── */
.final {
  text-align: center; border: 1px solid var(--border); border-top-color: var(--border-top);
  box-shadow: var(--edge); border-radius: 14px; background: var(--raise); padding: clamp(30px, 5vw, 52px) 22px;
}
.final p { color: var(--ink-3); max-width: 54ch; margin: 10px auto 24px; }
footer { border-top: 1px solid var(--line); padding: 26px 0 40px; color: var(--ink-4); font-size: 12.5px; }
.frow { display: flex; flex-wrap: wrap; gap: 16px 28px; justify-content: space-between; }
footer a { color: var(--ink-3); text-decoration: none; }
footer a:hover { color: var(--ink); }
.flinks { display: flex; flex-wrap: wrap; gap: 16px; }
.req { margin-top: 14px; line-height: 1.7; max-width: 78ch; }

/* ── правовые страницы ──────────────────────────────────────────────────── */
.doc { padding: clamp(28px, 5vw, 52px) 0 72px; }
.doc h1 { font-size: clamp(24px, 3.4vw, 32px); margin-bottom: 8px; }
.doc .meta { color: var(--ink-4); font-size: 12.5px; margin-bottom: 30px; }
.doc h2 { font-size: 17px; margin: 30px 0 10px; }
.doc h3 { font-size: 14.5px; margin: 18px 0 6px; }
.doc p, .doc li { color: var(--ink-2); font-size: 14px; max-width: 84ch; }
.doc p { margin-bottom: 10px; }
.doc ul, .doc ol { margin: 0 0 12px 22px; }
.doc li { margin-bottom: 6px; }
.doc table { border-collapse: collapse; margin: 12px 0 18px; width: 100%; max-width: 720px; }
.doc td, .doc th { border: 1px solid var(--line); padding: 8px 12px; font-size: 13.5px; text-align: left; vertical-align: top; }
.doc th { background: var(--sunk); color: var(--ink-3); font-weight: 500; }
.doc .back { display: inline-block; margin-bottom: 22px; font-size: 13px; }
.files { display: grid; gap: 10px; grid-template-columns: repeat(3, 1fr); margin: 8px 0 26px; }
.file {
  display: block; text-decoration: none; padding: 14px 16px; border-radius: 10px;
  background: var(--raise); border: 1px solid var(--border); border-top-color: var(--border-top); box-shadow: var(--edge);
}
.file b { display: block; color: var(--ink); font-size: 14px; font-weight: 600; }
.file span { display: block; margin-top: 3px; color: var(--ink-4); font-size: 12.5px; }

@media (max-width: 980px) {
  .g3, .plans { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .files { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .g3, .g2, .plans, .stats { grid-template-columns: 1fr; }
  nav .hide-sm { display: none; }
}

/* ── Снимки экранов ───────────────────────────────────────────────────────────
   Нарисованы разметкой, а не картинками: страница остаётся лёгкой, текст на
   снимке чёткий на любом экране, а гамма берётся из тех же токенов, что и сайт,
   поэтому снимок не разъедется с приложением при смене оттенков.
   Данные на снимках вымышленные — это витрина, а не отчёт клиента. */
.shot {
  border-radius: 12px; overflow: hidden; background: var(--surface);
  border: 1px solid var(--border); border-top-color: var(--border-top);
  box-shadow: 0 34px 70px -28px rgba(0, 0, 0, .9), var(--edge);
}
.shot-bar {
  display: flex; align-items: center; gap: 7px; padding: 9px 12px;
  background: var(--raise); border-bottom: 1px solid var(--line);
}
.shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: #34383f; }
.shot-bar span { margin-left: 8px; color: var(--ink-4); font-size: 11.5px; }
.shot-top {
  display: flex; align-items: center; gap: 14px; padding: 0 14px; height: 40px;
  background: var(--raise); border-bottom: 1px solid var(--line);
  color: var(--ink-3); font-size: 11.5px; white-space: nowrap; overflow: hidden;
}
.shot-top b { color: var(--ink); font-size: 12.5px; font-weight: 600; }
.shot-top .on {
  color: var(--ink); background: #1c2333; border: 1px solid var(--accent-line);
  border-radius: 6px; padding: 3px 9px;
}
.shot-body { display: grid; grid-template-columns: 148px minmax(0, 1fr); }
.shot-rail {
  padding: 12px 10px; border-right: 1px solid var(--line); background: var(--sunk);
  display: flex; flex-direction: column; gap: 3px;
}
.shot-rail em {
  color: var(--ink-4); font-size: 9.5px; font-style: normal; letter-spacing: .08em;
  text-transform: uppercase; padding: 0 6px 5px;
}
.shot-rail a { color: var(--ink-2); font-size: 12px; padding: 5px 7px; border-radius: 6px; text-decoration: none; }
.shot-rail a.on { color: var(--ink); background: #22252b; box-shadow: inset 2px 0 0 var(--accent); }
.shot-main { padding: 13px 14px; min-width: 0; }
.shot-h { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 11px; }
.shot-h b { color: var(--ink-strong); font-size: 15px; }
.shot-h span { color: var(--ink-4); font-size: 11.5px; }
.shot-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }
.shot-tile {
  padding: 9px 10px; border-radius: 9px; background: var(--raise);
  border: 1px solid var(--border); border-top-color: var(--border-top);
}
.shot-tile i { display: block; color: var(--ink-4); font-size: 10.5px; font-style: normal; margin-bottom: 3px; }
.shot-tile b { color: var(--ink); font-size: 13px; font-variant-numeric: tabular-nums; }
.shot table { width: 100%; border-collapse: collapse; font-size: 11.5px; }
.shot th {
  text-align: left; font-weight: 400; color: var(--ink-4); font-size: 9.5px;
  text-transform: uppercase; letter-spacing: .04em; padding: 7px 8px;
  background: var(--raise-2); border-bottom: 1px solid var(--line);
}
.shot td { padding: 8px; border-bottom: 1px solid #1c1f24; color: var(--ink-2); }
.shot td.num { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink); }
.shot td b { color: var(--ink); font-weight: 500; }
.shot .dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }
.shot .bar { display: inline-block; width: 46px; height: 5px; border-radius: 3px; background: var(--sunk); box-shadow: var(--sink); vertical-align: middle; }
.shot .bar i { display: block; height: 5px; border-radius: 3px; background: var(--accent); }
.shot .warn { color: var(--brass); }

/* Телефон прораба — накладывается на угол большого снимка */
.shots { position: relative; margin-top: 26px; }
.phone {
  position: absolute; right: -6px; bottom: -26px; width: 208px; border-radius: 22px;
  padding: 8px; background: #17191d; border: 1px solid var(--border-top);
  box-shadow: 0 30px 60px -22px rgba(0, 0, 0, .95);
}
.phone-in { border-radius: 15px; overflow: hidden; background: var(--surface); }
.phone-top {
  display: flex; align-items: center; justify-content: space-between; padding: 8px 11px;
  background: var(--raise); border-bottom: 1px solid var(--line); color: var(--ink); font-size: 11.5px;
}
.phone-list { padding: 8px 9px; display: flex; flex-direction: column; gap: 7px; }
.phone-row {
  padding: 8px 9px; border-radius: 9px; background: var(--raise);
  border: 1px solid var(--border); border-top-color: var(--border-top);
}
.phone-row b { display: block; color: var(--ink); font-size: 11px; font-weight: 500; }
.phone-row span { display: block; margin-top: 3px; color: var(--ink-4); font-size: 10px; }
.phone-row .ok { color: #6cbf8b; }

@media (max-width: 980px) {
  .shot-body { grid-template-columns: 1fr; }
  .shot-rail { display: none; }
  .shot-tiles { grid-template-columns: repeat(2, 1fr); }
  .phone { position: static; width: 100%; max-width: 260px; margin: 22px auto 0; }
}
@media (max-width: 620px) {
  .shot-col-hide { display: none; }
}

/* Снимок карточки объекта: маршрут этапов и карточки данных */
.route { display: flex; gap: 6px; padding: 12px 14px 14px; border-bottom: 1px solid var(--line); }
.route div { flex: 1; min-width: 0; }
.route i { display: block; height: 2px; border-radius: 2px; background: #26292f; margin-bottom: 7px; }
.route div.done i { background: var(--accent); }
.route span { display: block; color: var(--ink-4); font-size: 9.5px; line-height: 1.25; }
.route div.done span { color: var(--ink-2); }
.shot-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.shot-card {
  border-radius: 10px; overflow: hidden; background: var(--raise);
  border: 1px solid var(--border); border-top-color: var(--border-top);
}
.shot-card > b {
  display: block; padding: 8px 11px; background: var(--raise-2);
  border-bottom: 1px solid var(--line); color: var(--ink); font-size: 11.5px;
}
.shot-card .row {
  display: flex; justify-content: space-between; gap: 10px; padding: 7px 11px;
  border-bottom: 1px solid #1c1f24; font-size: 11px; color: var(--ink-3);
}
.shot-card .row:last-child { border-bottom: 0; }
.shot-card .row em { font-style: normal; color: var(--ink); font-variant-numeric: tabular-nums; }
.shot-note { padding: 9px 11px; font-size: 11px; color: var(--brass); background: #211d16; }
@media (max-width: 620px) { .shot-cards { grid-template-columns: 1fr; } .route div:nth-child(n+6) { display: none; } }
