/* Страница продукта. Одна таблица стилей на все шесть страниц (три языка ×
   витрина + политика) — ни сборщика, ни фреймворка: страница обязана открыться
   из папки, а не из тулчейна.

   Палитра — ТЁМНАЯ ТЕМА САМОГО ПРИЛОЖЕНИЯ (Theme.swift, `Palette.dark`),
   значение в значение. Это не «ещё одна дизайн-система»: на странице кадры этой
   самой поверхности и мок окна в герое, и светлый лист вокруг тёмных кадров
   дерётся с ними. Копия здесь неизбежна (CSS не читает Swift) и намеренно не
   покрыта тестом: разъехавшийся оттенок — это вопрос вкуса, а не сломанное
   обещание. Исключение одно, и оно названо: --faint светлее приложенческого
   0x6E7686 — на 13-м кегле в вебе тот давал контраст ниже 4.5:1.

   Янтарь (--attention) значит ровно одно — «ждёт тебя», как и в приложении.
   Раскладка — по макету редизайна 2026-09-21: панели «формата Remote» (текст
   слева, живой мокап справа), ряды фич с кадрами в рамке окна, лента выпусков.

   Шрифты — те же файлы IBM Plex, что лежат в бандле приложения (OFL): мок окна
   обязан выглядеть как Skipper, а не как «похожий терминал». */

@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-display: swap;
  src: url(/assets/fonts/IBMPlexSans-Regular.ttf) format("truetype"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-display: swap;
  src: url(/assets/fonts/IBMPlexSans-Medium.ttf) format("truetype"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-display: swap;
  src: url(/assets/fonts/IBMPlexSans-SemiBold.ttf) format("truetype"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 700; font-display: swap;
  src: url(/assets/fonts/IBMPlexSans-Bold.ttf) format("truetype"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-display: swap;
  src: url(/assets/fonts/IBMPlexMono-Regular.ttf) format("truetype"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-display: swap;
  src: url(/assets/fonts/IBMPlexMono-Medium.ttf) format("truetype"); }

:root {
  --backdrop: #08090d;
  --bg: #101218;
  --surface: #171a22;
  --raised: #1f2330;
  --overlay: #262b3a;
  --lift: #474d5e;
  --cell: #0d0f14;
  --term: #d6dae4;
  --text: #f0f2f6;
  --dim: #a6adbd;
  --faint: #838c9d;
  --accent: #5eead4;
  --accent-ink: #06231d;
  --accent-edge: #2e6b62;
  --accent-2: #3b82f6;
  --attention: #ffb86b;
  --green: #5fd38d;
  --merged: #7aa2f7;
  --released: #c4a6ff;
  --danger: #ff6b6b;

  --wide: 1200px;
  --gutter: 40px;
  --r-panel: 28px;
  --r-card: 20px;
  --r-surface: 16px;
  --r-control: 12px;
  --section-gap: 170px;

  --sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
  --chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23a6adbd' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
/* Атрибут hidden обязан побеждать любой display у кнопок и блоков — иначе
   спрятанная кнопка скачивания на iPhone остаётся на экране. */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  background: var(--backdrop);
  color: var(--text);
  font: 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

a { color: var(--accent); text-decoration-color: color-mix(in srgb, var(--accent) 45%, transparent); text-underline-offset: 2px; }
a:hover { color: #99f6e4; text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

code {
  font-family: var(--mono);
  font-size: 0.88em;
  background: var(--raised);
  color: var(--term);
  border-radius: 5px;
  padding: 1px 6px;
}
mark { background: none; color: var(--text); }
kbd {
  display: inline-grid; place-items: center;
  min-width: 21px; height: 23px; padding: 0 7px;
  border-radius: 7px; background: var(--overlay);
  border: 1px solid var(--lift); border-bottom-width: 2px;
  font: 500 11px/1 var(--mono); color: var(--text);
}

.wide { max-width: calc(var(--wide) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
svg.ic { width: 16px; height: 16px; flex: none; stroke-width: 1.6; }
svg.ic-bold { stroke-width: 2; }

/* Ссылка «к содержимому» видна только с клавиатуры. */
.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent); color: var(--accent-ink);
  padding: 10px 16px; border-radius: 0 0 10px 0; z-index: 30;
}
.skip:focus { left: 0; }

/* --- кнопки --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 44px; padding: 0 20px; border-radius: var(--r-control);
  font: 600 16px/1 var(--sans);
  text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
  transition: background .15s, border-color .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn svg.ic { width: 19px; height: 19px; stroke-width: 2; }
.btn-sm { height: 38px; padding: 0 16px; border-radius: 9px; font-size: 14px; gap: 8px; }
.btn-sm svg.ic { width: 15px; height: 15px; }
.btn-lg { height: 52px; padding: 0 26px; font-size: 17px; gap: 12px; }
.btn-primary {
  background: var(--accent); color: var(--accent-ink);
  box-shadow: 0 10px 30px rgba(94, 234, 212, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn-primary:hover { background: #7df0de; color: var(--accent-ink); }
.btn-ghost { background: rgba(255, 255, 255, 0.03); color: var(--text); border-color: var(--lift); font-weight: 500; }
.btn-ghost:hover { background: var(--surface); }
.dl-ver {
  font: 500 14px/1 var(--mono); font-variant-numeric: tabular-nums;
  padding: 4px 8px; border-radius: 6px; background: rgba(6, 35, 29, 0.12);
}

/* --- шапка --- */
.top {
  position: sticky; top: 0; z-index: 20;
  height: 72px;
  background: rgba(8, 9, 13, 0.8);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(38, 43, 58, 0.7);
}
.top-in {
  max-width: calc(var(--wide) + 2 * var(--gutter)); height: 100%;
  margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px; flex: none; justify-self: start;
  color: var(--text); text-decoration: none;
  font-size: 19px; font-weight: 600; letter-spacing: -0.01em;
}
.brand:hover { color: var(--text); }
/* Меню — переключатель сегментами, тот же, что в верхней строке окна (.switcher/.seg
   в демо). Текущий раздел подсвечивает site.js по прокрутке; без JS ни один. */
/* Переключатель разделов — ТОТ ЖЕ орган, что в верхней строке окна Skipper и что
   языки справа: чипы плотно на одной подложке, выбранный — светлой плашкой.
   Подложка та же, что у .langs, чтобы два переключателя в одной строке читались
   как один вид органа. */
.menu {
  display: inline-flex; align-items: center; gap: 2px; padding: 3px; justify-self: center;
  border-radius: 9px; background: var(--surface); border: 1px solid var(--overlay);
}
.menu .seg {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 6px;
  font: 500 12.5px/1 var(--sans); color: var(--dim); white-space: nowrap;
  text-decoration: none; cursor: pointer; background: none; border: 0;
  transition: color .15s, background-color .15s;
}
.menu .seg svg { width: 14px; height: 14px; }
.menu .seg:hover { color: var(--text); }
.menu .seg.on { background: var(--lift); color: var(--text); }
.top-end { justify-self: end; display: flex; align-items: center; gap: 16px; }
/* Язык страницы — системный select в одежде органов шапки: та же подложка, что
   у переключателя разделов, своя стрелка, без нативной рамки. */
.langs { position: relative; display: inline-flex; }
.langs-select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  padding: 7px 30px 7px 12px; border-radius: 9px;
  background: var(--surface) var(--chevron) no-repeat right 10px center / 12px 12px;
  border: 1px solid var(--overlay); color: var(--text);
  font: 500 13px/1.2 var(--sans);
}
.langs-select:hover { border-color: var(--lift); }
.langs-select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.langs noscript { display: block; margin-left: 10px; font-size: 13px; align-self: center; }
/* Кнопка меню: две скруглённые линии, нижняя короче и прижата вправо; на
   открытии обе съезжаются к центру и складываются в крестик. Без подложки —
   решение человека 2026-09-22: только знак. */
.menu-toggle {
  display: none; place-items: center;
  width: 40px; height: 40px; margin-right: -10px;
  background: none; border: 0; border-radius: 10px;
  cursor: pointer; color: var(--text);
}
.menu-toggle:hover { color: var(--accent); }
.menu-toggle span { position: relative; display: block; width: 20px; height: 14px; }
.menu-toggle span::before, .menu-toggle span::after {
  content: ""; position: absolute; right: 0; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .28s cubic-bezier(0.32, 0.72, 0, 1), width .28s cubic-bezier(0.32, 0.72, 0, 1), top .28s cubic-bezier(0.32, 0.72, 0, 1);
}
.menu-toggle span::before { top: 1px; width: 20px; }
.menu-toggle span::after { top: 11px; width: 12px; }
.menu-toggle[aria-expanded="true"] span::before { top: 6px; width: 20px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { top: 6px; width: 20px; transform: rotate(-45deg); }

/* --- герой --- */
.hero { position: relative; padding: 96px 0 0; overflow: hidden; text-align: center; }
.hero-in { position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: center; }

/* Фон героя — сетка терминалов в блюре. Лежит под текстом (z-index -1 внутри
   изолированного .hero-in), на всю ширину окна, от верха героя до демо-окна;
   лишнее срезает overflow героя. Видимость держат три вещи: блюр делает строки
   фактурой, а не текстом, маска гасит края, а тёмное пятно .hero-in::after
   приглушает сетку ровно под заголовком и кнопками. */
.hb {
  position: absolute; z-index: -1; top: -96px; bottom: -48px; left: 50%;
  width: 100vw; margin-left: -50vw; padding: 14px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 186px;
  gap: 14px; align-content: start; overflow: hidden;
  pointer-events: none; user-select: none; text-align: left;
  filter: blur(2px); opacity: 0.6;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 66%, transparent);
          mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 66%, transparent);
}
.hero-in::after {
  content: ""; position: absolute; z-index: -1; inset: -24px -12%;
  background: radial-gradient(closest-side, rgba(8, 9, 13, 0.82), rgba(8, 9, 13, 0));
  pointer-events: none;
}
.hb-pane {
  display: flex; flex-direction: column; overflow: hidden;
  padding: 12px 16px; border-radius: var(--r-control);
  background: var(--surface); border: 1px solid var(--overlay);
  font: 13px/22px var(--mono); color: var(--dim);
  transition: border-color 0.5s;
}
/* Ход панели: у той, что только что напечатала строку, на миг светлеет
   рамка — так у панели Skipper мигает точка. */
.hb-pane.hb-live { border-color: rgba(94, 234, 212, 0.35); }
.hb-head {
  display: flex; align-items: center; gap: 8px; margin: 0 0 6px;
  font: 500 12px/18px var(--sans); color: var(--text);
}
.hb-dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); transition: background 0.4s; }
.hb-dot.wait { background: var(--attention); }
.hb-dot.idle { background: var(--faint); }
.hb-l { margin: 0; white-space: pre; overflow: hidden; text-overflow: ellipsis; }
/* Новая строка приезжает снизу, как в терминале, — одна короткая анимация на
   строку, не бесконечная: под reduced motion site.js строк не дописывает. */
.hb-l.hb-new { animation: hb-in 0.28s ease-out; }
@keyframes hb-in { from { opacity: 0; transform: translateY(6px); } }
.hb-sh, .hb-tool { color: var(--term); }
.hb-sub { color: var(--faint); }
.hb-ok { color: var(--green); }
.hb-ask { color: var(--attention); }
.hb-cur { display: inline-block; width: 7px; height: 14px; vertical-align: -2px; background: var(--term); }
.hb.blink .hb-cur { visibility: hidden; }
.hero-chip {
  display: inline-flex; align-items: center; gap: 10px; margin: 0;
  padding: 7px 14px 7px 8px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--overlay);
  font-size: 14px; line-height: 1.3; color: var(--term);
}
.hero-badge {
  flex: none; padding: 3px 9px; border-radius: 999px;
  background: rgba(94, 234, 212, 0.14); color: var(--accent);
  font: 500 12px/1.2 var(--mono);
}
.hero h1 {
  margin: 28px 0 0; max-width: 1040px;
  font-size: clamp(44px, 6.9vw, 84px); line-height: 1; font-weight: 600; letter-spacing: -0.035em;
}
.hero h1 .accent { display: block; color: var(--accent); }
.hero .tagline { margin: 28px 0 0; max-width: 760px; font-size: 20px; line-height: 1.6; color: var(--dim); }
.cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.cta-note { margin: 16px 0 0; font-size: 14px; color: var(--faint); }
.stats {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px;
  margin: 28px 0 0; padding: 24px 0 0; border-top: 1px solid var(--raised);
  font-size: 14px; color: var(--dim);
}
.stats li { display: flex; align-items: center; gap: 10px; }
.stats svg.ic { color: var(--accent); }

.legend {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px;
  margin: 24px 0 0; padding: 0; font-size: 14px; color: var(--dim);
}
.legend li { display: flex; align-items: center; gap: 10px; }
.legend b { color: var(--text); font-weight: 600; }
.ldot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.ldot.working { box-shadow: 0 0 0 3px rgba(94, 234, 212, 0.2); animation: pulse 1.1s ease-in-out infinite; }
.ldot.waiting { background: var(--attention); box-shadow: 0 0 0 3px rgba(255, 184, 107, 0.2); }

.agents { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 64px; }
.agents-label { margin: 0; font: 13px/1.5 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
.agent-chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; padding: 0; }
.agent-chips li {
  display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px 0 8px;
  border-radius: 999px; background: var(--surface); border: 1px solid var(--overlay);
  font-size: 14px; color: var(--term);
}

/* --- демо-окно --- */
/* Вёрстка САМОГО окна Skipper, по кадрам `docs/screenshots/showcase/`: подложка
   окна без титульной планки, одна верхняя строка (светофор, марка,
   переключатель страниц по центру, управление страницей справа), рейл и
   рабочая область — две стеклянные плиты. «Ждёт тебя» в приложении — это не
   надпись, а янтарь: точка, обводка со свечением и бейдж на аватаре вкладки.

   Сцена — холст 1200 × 630 (окно 1080 и телефон внахлёст справа). Уже этой
   ширины он масштабируется ЦЕЛИКОМ (`--s` ставит site.js по ширине колонки, без
   JS — ступени ниже): пересобранное окно перестало бы быть тем окном, а
   `transform` не трогает ни раскладку панелей, ни подсчёт строк. */
.demo-wrap {
  --s: 1;
  position: relative;
  width: calc(1200px * var(--s)); height: calc(630px * var(--s));
  margin: 80px auto 0;
}
.demo-wrap::before {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 1400px; height: 760px; margin: -380px 0 0 -700px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(94, 234, 212, 0.13), rgba(59, 130, 246, 0.06) 55%, rgba(8, 9, 13, 0));
  pointer-events: none;
}
.demo {
  position: absolute; left: 0; top: 0;
  width: 1200px; height: 630px;
  transform: scale(var(--s)); transform-origin: 0 0;
  text-align: left; color: var(--text);
}
.mac {
  position: absolute; left: 0; top: 20px; width: 1080px;
  background:
    radial-gradient(70% 60% at 50% 0%, rgba(59, 130, 246, 0.07), transparent 70%),
    var(--backdrop);
  border: 1px solid var(--overlay);
  border-radius: 16px;
  box-shadow: 0 50px 120px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  overflow: hidden;
}
.mac svg { display: block; flex: none; }

.mac-top {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 50px; padding: 0 16px;
}
.mac-top-left { display: flex; align-items: center; gap: 18px; min-width: 0; }
.lights { display: inline-flex; gap: 8px; }
.lights i { width: 12px; height: 12px; border-radius: 50%; }
.lights i:nth-child(1) { background: #ff5f57; }
.lights i:nth-child(2) { background: #febc2e; }
.lights i:nth-child(3) { background: #28c840; }
.brand-mark { display: inline-flex; align-items: center; gap: 9px; font: 600 15px/1 var(--sans); letter-spacing: -0.01em; }
.brand-mark i {
  width: 13px; height: 13px; border-radius: 4px; margin: 0 2px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  transform: rotate(45deg);
}
.switcher { display: inline-flex; gap: 4px; }
.seg {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 10px;
  font: 600 13px/1 var(--sans); color: var(--dim);
}
.seg svg { width: 15px; height: 15px; }
.seg.on { background: var(--lift); color: var(--text); }
.seg b {
  font: 600 10.5px/1 var(--sans); color: var(--accent);
  background: rgba(94, 234, 212, 0.16);
  padding: 3px 6px; border-radius: 999px;
}
.top-tools { justify-self: end; display: inline-flex; align-items: center; gap: 14px; color: var(--dim); }
.top-tools svg { width: 15px; height: 15px; }
.panes-count { font: 12px var(--mono); color: var(--faint); }

.mac-body {
  display: grid; grid-template-columns: 184px minmax(0, 1fr); gap: 8px;
  padding: 0 8px 8px;
  height: 470px;
}
.glass {
  background: rgba(23, 26, 34, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  min-height: 0;
}

/* рейл */
.rail { display: flex; flex-direction: column; padding: 12px 10px 8px; }
.rail-head {
  display: flex; align-items: center; justify-content: space-between;
  margin: 0 4px 12px; font: 600 10.5px/1 var(--sans);
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint);
}
.rail-head svg { width: 13px; height: 13px; color: var(--dim); }
.rail-row { display: flex; align-items: center; gap: 10px; padding: 3px 4px; margin-bottom: 6px; }
.avatar {
  position: relative; flex: none;
  width: 34px; height: 34px; border-radius: 11px;
  display: grid; place-items: center;
  background: var(--raised); color: var(--dim);
  font: 600 14px/1 var(--sans);
}
.rail-row.on .avatar {
  background: rgba(94, 234, 212, 0.14); color: var(--accent);
  box-shadow: inset 0 0 0 2px rgba(94, 234, 212, 0.55);
}
.rail-name { font: 600 13px/1.2 var(--sans); color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rail-row.on .rail-name { color: var(--text); }
/* Кольцо активности, как `ActivityRing` в рейле: пока в панелях вкладки идёт
   ход агента, обводка чуть шире аватара «дышит» — не крутится. */
.ring {
  position: absolute; inset: -4px; border-radius: 14px;
  border: 1.5px solid var(--accent);
  opacity: 0; transition: opacity .3s;
}
.avatar.busy .ring { animation: breathe 1.8s ease-in-out infinite; }
.attn {
  position: absolute; top: -6px; right: -6px;
  min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px;
  background: var(--attention); color: #2a1600;
  font: 600 10.5px/17px var(--sans); text-align: center;
  box-shadow: 0 0 6px rgba(255, 184, 107, 0.6);
  transform: scale(0); transition: transform .25s cubic-bezier(.2, 1.4, .4, 1);
}
.attn.on { transform: scale(1); }
.rail-foot { margin-top: auto; padding-top: 6px; border-top: 1px solid rgba(255, 255, 255, 0.07); }
.rail-item {
  display: flex; align-items: center; gap: 12px;
  padding: 7px 8px; font: 600 13px/1 var(--sans); color: var(--text);
}
.rail-item svg { width: 16px; height: 16px; color: var(--dim); }

/* рабочая область и панели */
.work { padding: 8px; }
.panes {
  display: grid; height: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.pane {
  position: relative;
  background: var(--cell);
  border: 1px solid var(--overlay);
  border-radius: 10px;
  display: flex; flex-direction: column;
  min-height: 0; overflow: hidden;
  transition: box-shadow .3s, border-color .3s;
}
.pane.waiting {
  border-color: var(--attention);
  box-shadow: 0 0 0 4px rgba(255, 184, 107, 0.12), 0 0 22px -4px rgba(255, 184, 107, 0.45);
}
.pane.waiting .pane-head { background: rgba(255, 184, 107, 0.1); }
.pane.jump { box-shadow: 0 0 0 2px var(--accent), 0 0 22px -4px rgba(255, 184, 107, 0.45); }
.pane-head {
  display: flex; align-items: center; gap: 8px;
  height: 30px; padding: 0 10px; flex: none;
  background: var(--surface);
  border-bottom: 1px solid var(--raised);
  transition: background .3s;
}
.dot {
  width: 7px; height: 7px; border-radius: 50%; flex: none;
  background: var(--accent);
  box-shadow: 0 0 5px rgba(94, 234, 212, 0.55);
}
.dot.working { animation: pulse 1.1s ease-in-out infinite; }
.dot.waiting { background: var(--attention); box-shadow: 0 0 6px rgba(255, 184, 107, 0.7); animation: none; }
.ident {
  display: inline-grid; place-items: center; flex: none;
  height: 18px; min-width: 20px; padding: 0 4px; border-radius: 5px;
  background: var(--overlay); color: var(--text);
}
.ident .mark { width: 12px; height: 12px; }
.ident.num { font: 11px var(--mono); color: var(--faint); }
.pane-name {
  flex: 1; min-width: 0;
  font: 500 12px/1 var(--sans); color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pane-tools { display: inline-flex; gap: 9px; color: var(--faint); flex: none; }
.pane-tools svg { width: 12px; height: 12px; }
.pane-body {
  flex: 1; min-height: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 9px 12px;
  font: 11px/1.6 var(--mono);
  color: var(--term);
  overflow: hidden;
}
.line { white-space: pre; overflow: hidden; text-overflow: ellipsis; animation: rise .28s ease-out; }
.l-sh .ps { color: var(--accent); }
.l-you { color: var(--faint); }
.l-you b { color: var(--text); font-weight: 500; }
.l-tool { color: var(--text); }
.l-tool i { font-style: normal; color: var(--accent); }
.l-sub { color: var(--faint); }
.l-ok { color: var(--green); }
.l-ask { color: var(--attention); font-weight: 500; }
.l-opt { color: var(--dim); }
.l-opt.on { color: var(--text); }
.l-dim { color: var(--faint); }

/* Плашка ⌘J: в покое — у нижнего края окна по центру, в сцене `jump()`
   переносит её к ждущей панели и возвращает обратно. */
.keycap {
  position: absolute; left: 540px; top: 516px; z-index: 3;
  display: flex; align-items: center; gap: 10px;
  padding: 11px 16px 11px 12px; border-radius: 14px;
  background: rgba(23, 26, 34, 0.96); border: 1px solid var(--lift);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  transform: translateX(-50%);
  transition: left .45s cubic-bezier(.3, .8, .3, 1), top .45s cubic-bezier(.3, .8, .3, 1), transform .45s cubic-bezier(.3, .8, .3, 1);
  white-space: nowrap;
}
.keycap kbd { min-width: 25px; height: 27px; font-size: 15px; }
.keycap span { display: flex; flex-direction: column; font: 500 14px/1.3 var(--sans); color: var(--text); }
.keycap b { font-weight: 500; color: var(--attention); }
.keycap.on { transform: none; }

/* --- телефон демо --- */
/* Имя `demo-phone`, а не `phone`: общий класс однажды утащил фигуру абсолютом
   поверх ленты выпусков. */
.demo-phone {
  position: absolute; right: 0; top: 70px; z-index: 2;
  width: 250px; height: 530px; padding: 9px;
  border-radius: 46px;
  background: var(--raised); border: 1px solid var(--lift);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.65);
}
.phone-screen {
  position: relative; width: 100%; height: 100%;
  display: flex; flex-direction: column;
  padding: 44px 14px 14px;
  border-radius: 38px; background: var(--cell);
  overflow: hidden;
  font: 12.5px/1.45 var(--sans);
}
.phone-screen::before {
  content: ""; position: absolute; top: 11px; left: 50%; z-index: 5;
  width: 88px; height: 25px; margin-left: -44px; border-radius: 14px; background: #000;
}
.phone-head {
  display: flex; align-items: center; gap: 8px;
  padding-bottom: 10px; border-bottom: 1px solid var(--overlay);
  font-weight: 600;
}
.phone-back { color: var(--accent); }
.phone-title { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.phone-feed { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; overflow: hidden; padding-top: 10px; }
.blk { animation: rise .3s ease-out; }
.blk-prose { color: var(--term); }
.blk-ask {
  padding: 11px; border-radius: 12px;
  background: rgba(255, 184, 107, 0.1);
  border: 1px solid rgba(255, 184, 107, 0.45);
}
.blk-ask p { margin: 0 0 10px; color: var(--text); font-weight: 600; }
.blk-ask { display: flex; flex-wrap: wrap; gap: 8px; }
.blk-ask p { flex-basis: 100%; }
.blk-ask span {
  flex: 1; text-align: center; padding: 7px 0; border-radius: 8px;
  background: var(--overlay); color: var(--text); font-weight: 600;
  transition: background .2s, color .2s;
}
.blk-ask span.on { background: var(--accent); color: var(--accent-ink); }
.blk-me {
  align-self: flex-end; max-width: 190px;
  padding: 8px 12px; border-radius: 14px 14px 4px 14px;
  background: var(--accent); color: var(--accent-ink);
}
.phone-input {
  display: flex; align-items: center; gap: 8px;
  margin-top: 10px; height: 38px; padding: 0 5px 0 13px;
  background: var(--raised); border-radius: 19px;
  color: var(--text);
}
[data-typed]:empty::before { content: "Message"; color: var(--faint); }
.phone-send { margin-left: auto; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); flex: none; }
.phone-toast {
  position: absolute; top: 44px; left: 12px; right: 12px; z-index: 4;
  display: flex; gap: 10px; align-items: flex-start;
  padding: 11px 12px; border-radius: 16px;
  background: rgba(38, 43, 58, 0.97); border: 1px solid var(--lift);
  box-shadow: 0 14px 30px -12px #000;
  transform: translateY(-160%); opacity: 0;
  transition: transform .35s cubic-bezier(.2, 1, .3, 1), opacity .35s;
}
.phone-toast.on { transform: none; opacity: 1; }
.phone-toast img { width: 30px; height: 30px; border-radius: 7px; flex: none; }
.phone-toast-text { display: flex; flex-direction: column; min-width: 0; font-size: 11.5px; line-height: 1.35; color: var(--term); }
.phone-toast-app { display: flex; justify-content: space-between; font-size: 11px; color: var(--dim); }
.phone-toast-app b { color: var(--text); }
.phone-toast-title { margin-top: 2px; font-size: 12px; color: var(--attention); }

@keyframes rise { from { opacity: 0; transform: translateY(4px); } }
@keyframes pulse { 50% { opacity: 0.35; } }
@keyframes breathe { 0%, 100% { opacity: 0.2; } 50% { opacity: 0.9; } }

/* --- витрина: разделы --- */
main.landing { max-width: calc(var(--wide) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.sec { padding-top: var(--section-gap); }
.sec-why { padding-top: 150px; }
.sec-contact { padding-top: 120px; }

.kicker {
  margin: 0 0 20px;
  font: 500 13px/1.4 var(--mono); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent);
}
h2 {
  margin: 0; max-width: 820px;
  font-size: clamp(34px, 4.4vw, 52px); line-height: 1.06; font-weight: 600; letter-spacing: -0.025em;
}
h3 { margin: 0; font-weight: 600; letter-spacing: -0.01em; }
h1, h2, h3, h4, .cta-note, .dl-note { text-wrap: balance; }
p { margin: 0; color: var(--dim); }
p strong, li strong { color: var(--text); font-weight: 600; }

.sec-head.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px; align-items: end; }
.sec-head.center { display: flex; flex-direction: column; align-items: center; text-align: center; }
.sec-head.center h2 { max-width: 820px; }
.sec-head.center p:not(.kicker) { margin-top: 20px; max-width: 720px; font-size: 19px; line-height: 1.6; }
.lead p { font-size: 18px; line-height: 1.65; }
.sec-news .lead p { font-size: 19px; line-height: 1.6; max-width: 460px; margin-left: auto; }

/* Отмеченные пункты: галочка — маска, а не картинка, и цвет у неё свой. */
.row-text ul, .panel-text ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.row-text li, .panel-text li {
  display: flex; gap: 10px; margin: 0;
  font-size: 15.5px; line-height: 1.5; color: var(--term);
}
.row-text li::before, .panel-text li::before, .req-list li::before {
  content: ""; flex: none; width: 16px; height: 16px; margin-top: 3px;
  background: var(--accent);
  -webkit-mask: var(--check) center / contain no-repeat;
  mask: var(--check) center / contain no-repeat;
}

/* Почему Skipper: три карточки с визуалом сверху. */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 64px; }
.card {
  display: flex; flex-direction: column;
  border-radius: var(--r-card); background: var(--bg); border: 1px solid var(--raised);
  overflow: hidden;
}
.card-visual {
  position: relative; min-height: 230px; padding: 24px;
  display: flex; flex-direction: column; justify-content: center;
  background: var(--cell); border-bottom: 1px solid var(--raised);
  overflow: hidden;
}
.card-text { padding: 26px 28px 30px; }
.num { font: 12px/1.4 var(--mono); color: var(--accent); }
.card h3 { margin-top: 8px; font-size: 22px; line-height: 1.25; }
.card-text p:not(.num) { margin-top: 10px; font-size: 15.5px; line-height: 1.6; }

/* Что запускают в Skipper: пять карточек — мокап панели сверху, подпись снизу. */
.jobs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-top: 56px; }
.job {
  display: flex; flex-direction: column;
  border-radius: var(--r-card); background: var(--bg); border: 1px solid var(--raised); overflow: hidden;
}
.job-visual { padding: 16px; background: var(--cell); border-bottom: 1px solid var(--raised); }
.job-text { padding: 18px 20px 22px; }
.job-text svg.ic { width: 20px; height: 20px; color: var(--accent); }
.job h3 { margin-top: 10px; font-size: 18px; line-height: 1.25; }
.job-text p { margin-top: 8px; font-size: 14.5px; line-height: 1.55; color: var(--dim); }
.v-job { font: 11.5px/1.7 var(--mono); color: var(--term); }
.vj-head { display: flex; align-items: center; gap: 7px; margin: 0 0 6px !important; font: 500 12px/1.3 var(--sans) !important; color: var(--text) !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vj-l { margin: 0 !important; white-space: pre; overflow: hidden; text-overflow: ellipsis; }
.vj-sub, .vj-opt { color: var(--faint); }
.vj-ok { color: var(--green); }
.vj-ask { color: var(--attention); font-weight: 500; }

/* Возможности: ряды 5:7 с кадрами, дальше панели. */
.rows { display: flex; flex-direction: column; gap: 140px; margin-top: 88px; }
.row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: center; }
.row.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.row.flip .row-text { order: 2; }
.row-text { display: flex; flex-direction: column; gap: 18px; }
.row-text .kicker { margin: 0; text-transform: none; letter-spacing: 0; font-weight: 400; }
.row-text h3 { font-size: clamp(26px, 3vw, 36px); line-height: 1.12; letter-spacing: -0.02em; }
.row-text p { font-size: 17px; line-height: 1.65; }
.row-text ul { margin-top: 6px; }

.frame {
  margin: 0;
  border-radius: var(--r-control); background: var(--backdrop);
  border: 1px solid var(--overlay);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}
.frame-bar {
  display: flex; align-items: center; gap: 7px;
  height: 30px; padding: 0 14px;
  background: #0b0c11; border-bottom: 1px solid var(--raised);
}
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; }
.frame-bar i:nth-child(1) { background: #ff5f57; }
.frame-bar i:nth-child(2) { background: #febc2e; }
.frame-bar i:nth-child(3) { background: #28c840; }
.frame-shot { position: relative; }
.frame img { display: block; width: 100%; height: auto; }

/* Панель «формата Remote»: текст и живой мокап рядом, своё свечение в углу. */
.panels { display: flex; flex-direction: column; gap: 24px; margin-top: 140px; }
.sec-more .panels { margin-top: 64px; }
.panel {
  position: relative;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px;
  padding: 72px;
  border-radius: var(--r-panel); background: var(--bg); border: 1px solid var(--raised);
  overflow: hidden;
}
.panel--7-5 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.panel--5-7 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.panel--flip .panel-visual { order: -1; }
.panel::before {
  content: ""; position: absolute; width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(closest-side, var(--glow, transparent), rgba(16, 18, 24, 0));
  pointer-events: none;
}
.glow-teal-tl::before { --glow: rgba(94, 234, 212, 0.12); left: -250px; top: -250px; }
.glow-teal-bl::before { --glow: rgba(94, 234, 212, 0.12); left: -200px; bottom: -250px; }
.glow-teal-tr::before { --glow: rgba(94, 234, 212, 0.1); right: -250px; top: -250px; }
.glow-violet-br::before { --glow: rgba(196, 166, 255, 0.1); right: -200px; bottom: -250px; }
.glow-amber-tr::before { --glow: rgba(255, 184, 107, 0.1); right: -200px; top: -200px; }
.glow-blue-br::before { --glow: rgba(59, 130, 246, 0.14); right: -200px; bottom: -250px; }
.glow-blue-tr::before { --glow: rgba(59, 130, 246, 0.14); right: -200px; top: -200px; }
.panel-text, .panel-visual { position: relative; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.panel-text { gap: 22px; }
.panel-text > .kicker { margin: 0; }
.panel-text h2 { font-size: clamp(34px, 4.4vw, 52px); }
.panel-text h3 { font-size: clamp(28px, 3.7vw, 44px); line-height: 1.08; letter-spacing: -0.025em; }
.panel-text > p { font-size: 17px; line-height: 1.65; }

.review-shots { display: block; height: 470px; }
.review-shots .frame { position: absolute; }
.review-shots .shot-editor { right: 0; top: 0; width: 88%; }
.review-shots .shot-focus { left: 0; bottom: 0; width: 70%; }
.sub { display: flex; flex-direction: column; gap: 6px; }
.sub h4 { margin: 0; font-size: 18px; font-weight: 600; }
.sub p { font-size: 16px; line-height: 1.6; }

.minis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; margin-top: 72px; }
.mini { display: flex; gap: 14px; }
svg.mini-ic { width: 22px; height: 22px; margin-top: 2px; color: var(--accent); }
.mini h3 { font-size: 17px; }
.mini p { margin-top: 6px; font-size: 15px; line-height: 1.6; }

/* Skipper Remote */
.remote mark { color: var(--attention); }
.e2e { margin-top: -4px; }
.beta { display: flex; align-items: center; gap: 12px; font-size: 14.5px; }
.beta p { font-size: 14.5px; line-height: 1.5; }
.chip-beta {
  flex: none; white-space: nowrap;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(196, 166, 255, 0.14); color: var(--released);
  font: 500 12px/1.3 var(--mono); text-transform: uppercase; letter-spacing: 0.04em;
}

/* --- лента выпусков --- */
.sec-head.split.end { align-items: end; }
.releases { list-style: none; margin: 64px 0 0; padding: 0; }
.release {
  position: relative;
  display: grid; grid-template-columns: 11px 220px minmax(0, 1fr); gap: 28px;
  padding-bottom: 36px;
}
.release::before {
  content: ""; position: absolute; left: 5px; top: 22px; bottom: 0;
  width: 1px; background: var(--overlay);
}
.release:last-child::before { display: none; }
.rel-dot { margin-top: 9px; width: 11px; height: 11px; border-radius: 50%; background: var(--lift); }
.latest .rel-dot { background: var(--accent); box-shadow: 0 0 0 5px rgba(94, 234, 212, 0.15); }
.rel-head { display: flex; flex-direction: column; gap: 6px; }
.rel-line { display: flex; align-items: center; gap: 10px; }
.rel-ver { font: 500 20px/1.3 var(--mono); color: var(--text); }
.rel-latest {
  padding: 2px 8px; border-radius: 999px;
  background: rgba(94, 234, 212, 0.14); color: var(--accent);
  font-size: 11px; font-weight: 600;
}
.rel-head time { font-size: 13px; color: var(--faint); }
.rel-notes {
  list-style: none; margin: 0; padding: 20px 24px;
  display: flex; flex-direction: column; gap: 10px;
  border-radius: var(--r-surface);
  background: rgba(16, 18, 24, 0.5); border: 1px solid var(--raised);
}
.latest .rel-notes { background: var(--bg); border-color: var(--accent-edge); }
.rel-notes li { display: flex; gap: 12px; margin: 0; font-size: 15px; line-height: 1.55; color: var(--term); }
.tag {
  flex: none; align-self: flex-start;
  width: 64px; margin-top: 2px; padding: 2px 0;
  border-radius: 5px; text-align: center;
  background: var(--raised); color: var(--dim);
  font: 500 11px/1.5 var(--mono);
}
.tag-added { background: rgba(95, 211, 141, 0.12); color: var(--green); }
.tag-changed { background: rgba(122, 162, 247, 0.12); color: var(--merged); }
.tag-fixed { background: rgba(196, 166, 255, 0.12); color: var(--released); }
.rel-more {
  display: none;
  margin: 8px 0 0 27px; padding: 0;
  background: none; border: 0; cursor: pointer;
  font: 500 15px/1.5 var(--sans); color: var(--accent);
  text-decoration: underline; text-decoration-color: rgba(94, 234, 212, 0.45); text-underline-offset: 2px;
}

/* --- требования и скачивание --- */
.req-panel {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  border-radius: var(--r-panel); background: var(--bg); border: 1px solid var(--raised);
  overflow: hidden;
}
.req-list { padding: 64px; }
.req-list .kicker { margin-bottom: 20px; }
.req-list h2 { font-size: clamp(30px, 3.4vw, 40px); line-height: 1.1; letter-spacing: -0.02em; }
.req-list ul { list-style: none; margin: 28px 0 0; padding: 0; }
.req-list li {
  position: relative;
  margin: 0; padding: 18px 0 18px 32px; border-top: 1px solid var(--raised);
  font-size: 14.5px; line-height: 1.6; color: var(--dim);
}
.req-list li::before { position: absolute; left: 0; top: 21px; width: 18px; height: 18px; margin: 0; }
.req-list li strong { display: block; margin-bottom: 4px; font-size: 16px; line-height: 1.5; }
.req-dl {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 64px; text-align: center;
  background: #0b0d12; border-left: 1px solid var(--raised);
  overflow: hidden;
}
.req-dl > * { position: relative; }
.req-dl .req-glow {
  position: absolute; left: 50%; top: 32%;
  width: 620px; height: 620px; margin: -310px 0 0 -310px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(94, 234, 212, 0.16), rgba(59, 130, 246, 0.07) 55%, rgba(11, 13, 18, 0));
}
.req-icon { width: 132px; height: 132px; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5)); }
.req-dl h3 { margin-top: 28px; font-size: clamp(30px, 3.4vw, 40px); line-height: 1.1; letter-spacing: -0.02em; }
.req-dl p { margin-top: 14px; max-width: 420px; font-size: 16px; line-height: 1.6; }
.dl-other { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.dl-other-note { margin: 0; max-width: 460px; font-size: 15.5px; line-height: 1.6; color: var(--dim); }
.dl-other-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 0; }
.hero .dl-other { margin-top: 40px; }
.req-dl .dl-other { align-items: flex-start; text-align: left; }
.req-dl .dl-other-actions { justify-content: flex-start; }
.req-cta { margin-top: 32px; }
.req-cta .btn { height: 56px; }
.req-dl .dl-note { margin-top: 16px; font-size: 13.5px; color: var(--faint); }

/* --- связь --- */
.contact {
  display: flex; align-items: center; gap: 18px;
  padding: 28px 32px; border-radius: 18px;
  background: var(--bg); border: 1px solid var(--raised);
}
.contact-ic {
  flex: none; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(94, 234, 212, 0.1); color: var(--accent);
}
.contact-ic svg.ic { width: 22px; height: 22px; }
.contact h2 { font-size: 20px; letter-spacing: -0.01em; line-height: 1.3; }
.contact p { margin-top: 4px; font-size: 15.5px; }

/* --- мокапы --- */
/* Мокапы статичны и помечены aria-hidden; всё в них — вёрстка, а не картинки,
   поэтому цвета и шрифты те же, что у приложения. */
.am {
  display: inline-grid; place-items: center; flex: none;
  width: 18px; height: 18px; border-radius: 5px;
  background: var(--overlay); color: var(--text);
}
.am svg { width: 12px; height: 12px; }
.agent-chips .am { width: 20px; height: 20px; }
.agent-chips .am svg { width: 13px; height: 13px; }
.v-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }
.v-dot.run { box-shadow: 0 0 0 3px rgba(94, 234, 212, 0.2); }
.v-dot.wait { background: var(--attention); box-shadow: 0 0 0 3px rgba(255, 184, 107, 0.2); }
.card-visual p, .panel-visual p, .e2e p { margin: 0; }

.v-fleet { display: flex; flex-direction: column; gap: 6px; }
.vf-row {
  display: flex; align-items: center; gap: 10px;
  height: 34px; padding: 0 12px; border-radius: 9px;
  background: var(--surface); border: 1px solid var(--raised);
  font-size: 13px;
}
.vf-row.wait { background: rgba(255, 184, 107, 0.1); border-color: rgba(255, 184, 107, 0.5); }
.vf-name { min-width: 0; font-weight: 500; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vf-state { margin-left: auto; flex: none; font: 11px/1 var(--mono); color: var(--accent); white-space: nowrap; }
.wait .vf-state { color: var(--attention); }
.vf-state.idle { color: var(--faint); }
.meter { flex: none; width: 54px; height: 5px; border-radius: 3px; background: var(--overlay); overflow: hidden; }
.meter i { display: block; width: var(--w); height: 100%; background: var(--lift); }
.vf-foot { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 12.5px; color: var(--dim); white-space: nowrap; }
.vf-note { margin-left: auto; font: 11px/1 var(--mono); color: var(--faint); }

.v-task { display: flex; align-items: center; gap: 14px; }
.vt-card {
  flex: none; width: 210px; padding: 14px;
  border-radius: 10px; background: var(--surface); border: 1px solid var(--accent);
}
.vt-title { font-size: 14px !important; font-weight: 600; line-height: 1.3; color: var(--text) !important; }
.vt-chips { display: flex; align-items: center; gap: 8px; margin-top: 10px !important; font: 11px/1.3 var(--mono); }
.vt-agent { padding: 2px 7px; border-radius: 5px; background: rgba(94, 234, 212, 0.14); color: var(--accent); }
.vt-run { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); }
.vt-meta { display: flex; flex-direction: column; gap: 5px; margin-top: 10px !important; font: 11px/1.3 var(--mono); color: var(--dim); }
.vt-trees { display: flex; flex-direction: column; gap: 10px; min-width: 0; font: 11.5px/1.3 var(--mono); color: var(--dim); }
.vt-trees > span { display: flex; align-items: center; gap: 7px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vt-trees svg.ic { width: 14px; height: 14px; color: var(--merged); }
.vt-trees .vt-note { display: block; white-space: normal; font: 12.5px/1.4 var(--sans); color: var(--faint); }

.v-remote { display: flex; flex-direction: column; gap: 10px; }
.ios-toast {
  display: flex; gap: 10px; padding: 11px 12px; border-radius: 16px;
  background: rgba(38, 43, 58, 0.95); border: 1px solid var(--lift);
}
.ios-toast img { width: 30px; height: 30px; border-radius: 7px; flex: none; }
.ios-toast-text { min-width: 0; font-size: 11.5px; line-height: 1.35; }
.ios-toast-text p { color: var(--term); }
.ios-toast-app { display: flex; justify-content: space-between; gap: 10px; font-size: 11px; color: var(--dim) !important; }
.ios-toast-app b { color: var(--text); }
.ios-toast-title { margin-top: 2px !important; font-size: 12px; font-weight: 600; color: var(--attention) !important; }
.v-lockline {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--overlay);
  font-size: 12.5px; line-height: 1.4; color: var(--term) !important;
}
.v-lockline svg.ic { width: 15px; height: 15px; color: var(--accent); }

.v-launcher {
  border-radius: var(--r-surface); background: var(--surface);
  border: 1px solid var(--accent-edge);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}
.vl-search { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--overlay); }
.vl-search svg.ic { color: var(--faint); }
.vl-query { font-size: 14px; color: var(--faint); }
.vl-scope { margin-left: auto; font: 11px/1 var(--mono); color: var(--faint); }
.vl-list { padding-bottom: 8px; }
.vl-group { padding: 12px 14px 6px; font: 10.5px/1.3 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint) !important; }
.vl-item { display: flex; align-items: center; gap: 10px; margin: 0 6px; padding: 7px 8px; border-radius: 8px; }
.vl-item.on { background: rgba(94, 234, 212, 0.1); }
.vl-item .am { width: 20px; height: 20px; }
.vl-label { display: flex; flex-direction: column; min-width: 0; }
.vl-label b { font-size: 13px; font-weight: 500; color: var(--text); }
.vl-label span { font: 10.5px/1.4 var(--mono); color: var(--faint); }
.vl-enter { margin-left: auto; font: 11px/1 var(--mono); color: var(--faint); }
.vl-tool { display: inline-grid; place-items: center; width: 20px; flex: none; color: var(--faint); }
.vl-tool svg.ic { width: 15px; height: 15px; }
.vl-foot { display: flex; align-items: center; gap: 14px; padding: 9px 12px 9px 16px; border-top: 1px solid var(--overlay); font: 11px/1.3 var(--mono); color: var(--faint); }
.vl-presets { margin-left: auto; flex: none; padding: 5px 10px; border-radius: 8px; background: var(--raised); font: 600 12px/1 var(--sans); color: var(--text); }

.v-handoff { position: relative; }
.vh-session, .vh-arrow { margin-right: 90px; }
.vh-session { padding: 16px; border-radius: var(--r-surface); background: var(--cell); border: 1px solid var(--raised); }
.vh-session.fresh { border-color: var(--accent-edge); }
.vh-head { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text) !important; }
.vh-head b { font-weight: 600; white-space: nowrap; }
.vh-tag { margin-left: auto; font: 11px/1 var(--mono); color: var(--faint); white-space: nowrap; }
.vh-ctx { display: flex; align-items: center; gap: 10px; margin-top: 14px !important; font: 11px/1 var(--mono); color: var(--dim) !important; }
.ctx { position: relative; flex: 1; height: 8px; border-radius: 4px; background: var(--overlay); }
.ctx i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); border-radius: 4px; background: var(--accent); }
.ctx.high i { background: var(--attention); }
.ctx em { position: absolute; left: 85%; top: -4px; bottom: -4px; width: 2px; background: var(--text); opacity: 0.5; }
.vh-pct { flex: none; width: 34px; text-align: right; color: var(--accent); }
.vh-pct.high { color: var(--attention); }
.vh-note { margin-top: 8px !important; font: 11px/1.3 var(--mono); color: var(--faint) !important; }
.vh-arrow { display: flex; align-items: center; gap: 10px; padding: 10px 0 10px 22px; font-size: 13px; color: var(--accent) !important; }
.vh-arrow svg.ic { width: 18px; height: 18px; }
.vh-brief { margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: var(--surface); border: 1px solid var(--overlay); font-size: 12.5px; line-height: 1.6; }
.vh-brief p { color: var(--term); }
.vh-brief-head { margin-bottom: 4px !important; font: 11px/1.4 var(--mono); text-transform: uppercase; color: var(--accent) !important; }
.vh-brief code { background: none; padding: 0; font-size: 11.5px; }
.vh-brief .ok { color: var(--green); }
.vh-brief .next { color: var(--accent); }
.vh-dialog {
  position: relative; margin: -30px 0 0 110px; padding: 20px;
  border-radius: var(--r-surface); background: var(--raised); border: 1px solid var(--lift);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
}
.vh-dialog-title { font-size: 15px; font-weight: 600; color: var(--text) !important; }
.vh-dialog-text { margin: 6px 0 14px !important; font-size: 12.5px; line-height: 1.5; }
.vh-buttons { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.vb { padding: 7px 12px; border-radius: 8px; background: var(--overlay); font-size: 12.5px; font-weight: 500; line-height: 1.3; color: var(--text); white-space: nowrap; }
.vb.primary { background: var(--accent); color: var(--accent-ink); font-weight: 600; }

.vc-log { padding: 20px; border-radius: var(--r-surface); background: var(--cell); border: 1px solid var(--raised); }
.vc-head { display: flex; align-items: center; gap: 8px; margin-bottom: 16px !important; font: 11px/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint) !important; }
.vc-head svg.ic { width: 14px; height: 14px; color: var(--accent); }
.vc-ev { position: relative; display: flex; gap: 12px; padding-bottom: 14px; }
.vc-ev:last-child { padding-bottom: 0; }
.vc-ev:not(:last-child)::before { content: ""; position: absolute; left: 8.5px; top: 24px; bottom: 2px; width: 1px; background: var(--overlay); }
.vc-ev .am { width: 17px; height: 17px; }
.vc-ev .am svg { width: 11px; height: 11px; }
.vc-body { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.vc-line { display: flex; align-items: center; gap: 8px; font-size: 12.5px; line-height: 1.3; }
.vc-who { font: 11px/1.3 var(--mono); color: var(--faint); white-space: nowrap; }
.vc-tag { margin-left: auto; flex: none; padding: 2px 8px; border-radius: 999px; font: 10.5px/1.4 var(--mono); white-space: nowrap; }
.vc-tag.ok { background: rgba(95, 211, 141, 0.12); color: var(--green); }
.vc-tag.wait { background: rgba(255, 184, 107, 0.12); color: var(--attention); }
.vc-what { font: 12px/1.4 var(--mono); color: var(--text) !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vc-schedule { margin-top: 14px; padding: 16px 18px; border-radius: var(--r-surface); background: var(--surface); border: 1px solid var(--overlay); }
.vc-sched-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.vc-sched-head svg.ic { width: 18px; height: 18px; color: var(--accent); }
.vc-sched-head b { font-size: 14px; font-weight: 600; color: var(--text); }
.vc-sched-head span { margin-left: auto; font: 11px/1.3 var(--mono); color: var(--accent); }
.vc-sched-note { margin-top: 8px !important; font-size: 12.5px; line-height: 1.5; }
.vc-runs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px !important; }
.vc-runs span { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 6px; background: var(--cell); font: 11px/1.4 var(--mono); color: var(--dim); }
.vc-runs i { font-style: normal; color: var(--green); }

.vs-map { display: flex; align-items: stretch; }
.vs-mac {
  flex: none; width: 120px; padding: 16px 6px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center;
  border-radius: var(--r-surface); background: var(--cell); border: 1px solid var(--raised);
}
.vs-mac svg.ic { width: 28px; height: 28px; color: var(--faint); }
.vs-mac b { font-size: 13px; font-weight: 600; line-height: 1.3; }
.vs-mac span { font: 11px/1.3 var(--mono); color: var(--faint); }
.vs-link { flex: 1; min-width: 34px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; padding: 0 6px; }
.vs-link span { font: 11px/1 var(--mono); color: var(--accent); }
.vs-link i { display: block; width: 100%; height: 1px; background: repeating-linear-gradient(90deg, var(--lift) 0 6px, transparent 6px 11px); }
.vs-box { flex: 0 1 250px; min-width: 0; padding: 14px; border-radius: var(--r-surface); background: var(--cell); border: 1px solid var(--accent-edge); }
.vs-box-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px !important; font-size: 13px; color: var(--text) !important; }
.vs-box-head b { font-weight: 600; }
.vs-box-head svg.ic { color: var(--accent); }
.vs-box-head span { margin-left: auto; font: 11px/1 var(--mono); color: var(--accent); }
.vs-pane { display: flex; align-items: center; gap: 8px; margin-top: 6px !important; padding: 7px 10px; border-radius: 8px; background: var(--surface); font-size: 12px; line-height: 1.3; color: var(--term) !important; white-space: nowrap; overflow: hidden; }
.vs-pane .am { width: 15px; height: 15px; }
.vs-pane .am svg { width: 10px; height: 10px; }
.vs-share { margin-top: 16px; padding: 18px; border-radius: var(--r-surface); background: var(--surface); border: 1px solid var(--overlay); }
.vs-share-head { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text) !important; }
.vs-share-head b { font-weight: 600; }
.vs-share-head svg.ic { width: 17px; height: 17px; color: var(--accent); }
.seg3 { display: flex; gap: 4px; margin-top: 14px !important; padding: 3px; border-radius: 9px; background: var(--cell); }
.seg3 span { flex: 1; text-align: center; padding: 7px 4px; border-radius: 7px; font-size: 12.5px; font-weight: 500; line-height: 1.3; color: var(--dim); white-space: nowrap; }
.seg3 .on { background: var(--lift); color: var(--text); }
.vs-url { display: flex; align-items: center; gap: 8px; margin-top: 12px !important; padding: 9px 12px; border-radius: 8px; background: var(--cell); font: 11.5px/1.3 var(--mono); color: var(--dim) !important; }
.vs-url span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vs-url b { font-weight: 500; color: var(--accent); }
.vs-hint { margin-top: 10px !important; font-size: 12px; line-height: 1.5; color: var(--faint) !important; }
.vs-note { margin-top: 12px !important; font-size: 13px; line-height: 1.5; color: var(--faint) !important; }

.v-phone {
  width: 290px; height: 560px; margin: 0 auto; padding: 9px;
  border-radius: 46px; background: var(--raised); border: 1px solid var(--lift);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.65);
}
.v-phone-screen {
  position: relative; display: flex; flex-direction: column;
  width: 100%; height: 100%; padding: 44px 14px 14px;
  border-radius: 38px; background: var(--cell); overflow: hidden;
  font-size: 12.5px; line-height: 1.5;
}
.v-phone-screen::before { content: ""; position: absolute; top: 11px; left: 50%; width: 88px; height: 25px; margin-left: -44px; border-radius: 14px; background: #000; }
.vp-head { display: flex; align-items: center; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid var(--overlay); color: var(--text) !important; }
.vp-head b { font-weight: 600; }
.vp-head .v-dot { margin-left: auto; }
.vp-back { color: var(--accent); }
.vp-prose { margin-top: 12px !important; color: var(--term) !important; }
.vp-code { margin: 10px 0 0; padding: 10px; border-radius: 10px; background: var(--surface); font: 10.5px/1.6 var(--mono); white-space: pre; overflow: hidden; color: var(--term); }
.vp-code .del { color: var(--danger); }
.vp-code .add { color: var(--green); }
.vp-table { margin-top: 6px; border-radius: 10px; border: 1px solid var(--overlay); overflow: hidden; font-size: 11.5px; }
.vp-table p { display: flex; justify-content: space-between; padding: 6px 10px; color: var(--term); }
.vp-table p + p { border-top: 1px solid var(--overlay); }
.vp-table .vp-th { background: var(--surface); color: var(--dim); }
.vp-table .ok { color: var(--green); }
.vp-me { align-self: flex-end; max-width: 190px; margin-top: 12px !important; padding: 8px 12px; border-radius: 14px 14px 4px 14px; background: var(--accent); color: var(--accent-ink) !important; line-height: 1.4; }
.vp-input { margin-top: auto !important; display: flex; align-items: center; justify-content: space-between; height: 38px; padding: 0 5px 0 13px; border-radius: 19px; background: var(--raised); color: var(--faint) !important; }
.vp-input i { width: 28px; height: 28px; border-radius: 50%; background: var(--accent); }

.v-e2e {
  display: flex; align-items: flex-start;
  padding: 24px 20px; border-radius: var(--r-surface);
  background: var(--cell); border: 1px solid var(--raised);
}
.ve-node { flex: none; width: 120px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.ve-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--surface); border: 1px solid var(--overlay); color: var(--text); }
.ve-node.mine .ve-ic { border-color: var(--accent); }
.ve-ic svg.ic { width: 24px; height: 24px; }
.ve-node b { font-size: 14px; font-weight: 600; line-height: 1.3; }
.ve-node span:last-child { font-size: 12px; line-height: 1.35; color: var(--faint); }
.ve-wire { flex: 1; min-width: 30px; display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 18px; }
.ve-wire span { font: 11px/1 var(--mono); color: var(--accent); white-space: nowrap; }
.ve-wire i { display: block; width: 100%; height: 1px; background: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 11px); }
.ve-compact { display: none !important; }

.v-privacy { border-radius: var(--r-surface); background: var(--cell); border: 1px solid var(--raised); overflow: hidden; }
.vpr-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: var(--surface); border-bottom: 1px solid var(--raised); font-size: 13px; color: var(--text) !important; }
.vpr-head b { font-weight: 600; }
.vpr-head svg.ic { color: var(--accent); }
.vpr-group { padding: 16px 16px 8px; font: 10.5px/1.4 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint) !important; }
.vpr-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 16px 6px; }
.vpr-chips span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--overlay); font-size: 12.5px; line-height: 1.3; color: var(--dim); }
.vpr-chips svg.ic { width: 12px; height: 12px; stroke-width: 2.2; color: var(--danger); }
.vpr-row { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--raised); }
.vpr-row > svg.ic { width: 18px; height: 18px; color: var(--dim); }
.vpr-label { display: flex; flex-direction: column; min-width: 0; }
.vpr-label b { font-size: 14px; font-weight: 500; line-height: 1.4; color: var(--text); }
.vpr-label span { font-size: 12px; line-height: 1.4; color: var(--faint); }
.toggle { position: relative; flex: none; margin-left: auto; width: 38px; height: 22px; border-radius: 11px; background: var(--overlay); }
.toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--faint); }
.vpr-tag { flex: none; margin-left: auto; font: 11px/1.3 var(--mono); color: var(--accent); white-space: nowrap; }

/* --- окно «скоро» --- */
dialog.modal {
  border: 0; padding: 0; background: transparent;
  max-width: min(460px, 92vw);
  color: var(--text);
}
dialog.modal::backdrop { background: rgba(8, 9, 12, 0.72); backdrop-filter: blur(6px); }
.modal-in {
  margin: 0; padding: 28px;
  background: var(--surface);
  border: 1px solid var(--overlay);
  border-radius: 20px;
  text-align: left;
}
.modal-in .kicker { margin-bottom: 10px; }
.modal-in h2 { margin: 0 0 12px; font-size: 26px; line-height: 1.2; }
.modal-in p { color: var(--dim); }
.modal-in .btn { margin-top: 22px; }

/* --- подвал --- */
.foot { margin-top: 120px; border-top: 1px solid var(--raised); padding: 48px 0 56px; font-size: 14px; }
.foot-in { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.foot p { margin: 0; color: var(--dim); line-height: 1.6; }
.foot-brand { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; color: var(--text) !important; }
.foot-brand-col p + p { margin-top: 12px; max-width: 360px; }
.foot-brand-col .fine { margin-top: 24px; color: var(--faint); }
.foot-head { color: var(--text) !important; font-weight: 600; margin-bottom: 12px !important; }
.foot-links { display: flex; flex-direction: column; gap: 6px; }

/* --- политика приватности --- */
main.doc { max-width: 760px; margin: 0 auto; padding: 56px 20px 0; }
.doc h1 {
  margin: 0 0 24px;
  font-size: clamp(30px, 4.5vw, 44px);
  line-height: 1.1; letter-spacing: -0.025em;
}
.doc h2 {
  margin: 44px 0 14px; padding-top: 26px;
  border-top: 1px solid var(--raised);
  font-size: clamp(24px, 3vw, 30px); line-height: 1.2;
}
.doc h3 { margin: 28px 0 10px; font-size: 19px; }
.doc p { margin: 0 0 14px; line-height: 1.7; }
.doc ul, .doc ol { margin: 0 0 16px; padding-left: 22px; color: var(--dim); line-height: 1.65; }
.doc li { margin-bottom: 8px; }
.doc li::marker { color: var(--faint); }
.doc ul li::marker { color: rgba(94, 234, 212, 0.7); }
.notice {
  margin-bottom: 24px !important;
  background: var(--raised);
  border-left: 3px solid var(--merged);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--text);
}
pre.legal {
  margin: 0; padding: 20px 22px; overflow-x: auto;
  border-radius: var(--r-control); background: var(--cell); border: 1px solid var(--raised);
  font: 12.5px/1.6 var(--mono); color: var(--term); white-space: pre-wrap; word-break: break-word;
}
.back { display: inline-block; margin: 28px 0 0; font-size: 14px; }
/* Формы юридических страниц (отзыв § 356a, расторжение § 312k): поля на
   поверхности карточки, кнопка — та же .btn, что везде. Копия заявления —
   тот же <pre class="legal">, что у лицензии. */
.doc-meta { color: var(--faint); font-size: 14px; margin-top: -8px; }
.legal-form { display: grid; gap: 16px; margin: 20px 0 28px; padding: 22px; border-radius: var(--r-control); background: var(--cell); border: 1px solid var(--raised); }
.legal-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; color: var(--text); }
.legal-form label.choice { grid-template-columns: auto 1fr; align-items: center; gap: 10px; font-weight: 400; }
.legal-form small { font-weight: 400; color: var(--faint); }
.legal-form input:not([type="radio"]), .legal-form textarea, .legal-form select {
  width: 100%; padding: 10px 12px; border-radius: 10px; font: 15px/1.4 var(--sans);
  color: var(--text); background: var(--surface); border: 1px solid var(--overlay);
}
.legal-form input:focus, .legal-form textarea:focus, .legal-form select:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.legal-form fieldset { display: grid; gap: 10px; margin: 0; padding: 14px 16px; border-radius: 10px; border: 1px solid var(--overlay); }
.legal-form legend { padding: 0 6px; font-size: 14px; font-weight: 500; color: var(--text); }
.legal-form .btn { justify-self: start; }
.legal-sent { margin: 0 0 28px; padding: 22px; border-radius: var(--r-control); background: var(--cell); border: 1px solid var(--accent); }
.legal-sent h3 { margin-top: 0; }
.legal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.legal-copy { margin-top: 12px; }

/* --- экраны --- */
/* Без JS масштаб демо — ступенями: колонка не уже наименьшей ширины ступени. */
@media (max-width: 1279px) { .demo-wrap { --s: 0.91; } }
@media (max-width: 1179px) { .demo-wrap { --s: 0.83; } }
@media (max-width: 1079px) { .demo-wrap { --s: 0.75; } }
@media (max-width: 979px)  { .demo-wrap { --s: 0.68; } }

@media (max-width: 1199px) {
  /* До сворачивания у 1024 украинские сегменты упираются в языки: ужимаем набивку и щель. */
  .menu { margin: 0 12px; }
  .menu .seg { padding: 6px 8px; gap: 5px; }
  .jobs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  /* Три карточки в ряд уже 1200 точек сжимают мокапы до обрезков («checko…»):
     карточка встаёт на всю ширину, визуал слева, текст справа. */
  .cards { grid-template-columns: minmax(0, 1fr); }
  .card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .card-visual { border-bottom: 0; border-right: 1px solid var(--raised); }
  .card-text { align-self: center; }
  .panel { padding: 56px; gap: 48px; }
  .req-list, .req-dl { padding: 52px; }
}

@media (max-width: 1023px) {
  :root { --section-gap: 130px; }
  /* Меню сворачивается уже здесь, а не у 900: украинские и немецкие пункты
     («Навіщо Skipper», «Warum Skipper») рядом с языками и кнопкой не влезают. */
  .menu { display: none; }
  .js .menu-toggle { display: grid; }
  /* Языки в узкой шапке не помещаются рядом с кнопкой по-человечески — они
     уезжают в само меню (site.js переносит узел), а не рисуются мельче. */
  .top-end .langs { display: none; }

  /* Меню на узком экране — выдвижная панель справа. site.js на старте выносит
     nav#menu из шапки в body: у шапки backdrop-filter, а он делает её containing
     block для position: fixed. Закрытая панель стоит за правым краем и невидима
     (visibility — чтобы Tab не ходил по ней); открытая въезжает, за ней
     затемнение с блюром. При «меньше движения» панель появляется без хода. */
  .js .menu {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: fixed; z-index: 31; top: 0; right: 0; bottom: 0;
    width: min(86vw, 360px); margin: 0; padding: 0 22px 22px; overflow-y: auto;
    border-radius: 22px 0 0 22px; background: var(--bg); border: 0;
    border-left: 1px solid var(--overlay); box-shadow: -24px 0 60px rgba(0, 0, 0, 0.45);
    transform: translateX(104%); visibility: hidden;
    transition: transform .34s cubic-bezier(0.32, 0.72, 0, 1), visibility 0s linear .34s;
  }
  .js .menu.open { transform: none; visibility: visible; transition-delay: 0s; }
  .js .menu:focus { outline: none; }
  .menu-scrim {
    position: fixed; z-index: 30; inset: 0;
    background: rgba(8, 9, 13, 0.55);
    backdrop-filter: blur(10px) saturate(120%); -webkit-backdrop-filter: blur(10px) saturate(120%);
    opacity: 0; pointer-events: none; transition: opacity .34s ease;
  }
  html.menu-open .menu-scrim { opacity: 1; pointer-events: auto; }
  .menu-top {
    display: flex; align-items: center; justify-content: space-between;
    height: 72px; margin: 0 0 6px;
  }
  .menu-top .brand-mark { font-size: 17px; }
  .menu-close {
    display: grid; place-items: center; width: 36px; height: 36px; margin-right: -8px;
    border: 0; border-radius: 10px; background: none; color: var(--dim); cursor: pointer;
    font: 400 26px/1 var(--sans);
  }
  .menu-close:hover { color: var(--text); background: var(--surface); }
  .js .menu .seg {
    display: flex; gap: 14px; padding: 15px 4px; border-radius: 0; text-align: left;
    font-size: 17px; font-weight: 500; background: none;
    border-bottom: 1px solid var(--raised);
  }
  .js .menu .seg svg { width: 18px; height: 18px; }
  .js .menu .seg.on { color: var(--accent); }
  .js .menu .langs { display: flex; flex-direction: column; gap: 8px; margin: 22px 0 0; }
  .js .menu .langs::before {
    content: attr(aria-label);
    font: 500 12px/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint);
  }
  .js .menu .langs-select { width: 100%; padding: 12px 36px 12px 14px; font-size: 15px; border-radius: 12px; }
  .js .menu .top-dl { display: inline-flex; justify-content: center; margin-top: auto; }
  .js .menu .top-dl.btn { margin-top: 26px; }
  html.menu-open, html.menu-open body { overflow: hidden; }

  .panel, .panel--7-5, .panel--5-7 { grid-template-columns: minmax(0, 1fr); padding: 40px; gap: 40px; }
  .panel--flip .panel-visual { order: 0; }
  .panel .v-phone { margin: 0 auto; }
  .row, .row.flip { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .row.flip .row-text { order: 0; }
  .rows { gap: 96px; }
  .sec-head.split { gap: 40px; }
  .review-shots { height: auto; aspect-ratio: 16 / 10.5; }
  .req-panel { grid-template-columns: minmax(0, 1fr); }
  .req-dl { border-left: 0; border-top: 1px solid var(--raised); }
  .minis { gap: 32px; }
}

@media (max-width: 899px) {
  .sec-head.split { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .jobs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card { display: flex; }
  .card-visual { border-right: 0; border-bottom: 1px solid var(--raised); }
  /* Окно демо — три панели столбиком, без рейла и телефона: у узкого экрана
     нет места ни на сетку, ни на телефон внахлёст. */
  .demo-wrap { width: auto; height: auto; max-width: 620px; --s: 1; }
  .demo-wrap::before { width: 900px; height: 700px; margin: -350px 0 0 -450px; }
  .demo { position: relative; width: auto; height: auto; transform: none; }
  .mac { position: relative; top: 0; width: auto; }
  .mac-top { grid-template-columns: auto 1fr; gap: 12px; }
  .switcher { justify-self: end; }
  .seg:not(.on), .top-tools { display: none; }
  .mac-body { grid-template-columns: minmax(0, 1fr); height: auto; }
  .rail { display: none; }
  .panes { grid-template-columns: minmax(0, 1fr); grid-template-rows: repeat(3, 138px); }
  .pane:nth-child(n + 4) { display: none; }
  .demo-wrap .demo-phone { display: none; }
  .keycap { left: auto; right: 10px; top: auto; bottom: -24px; transform: none; padding: 9px 14px 9px 10px; }
  .keycap.on { right: auto; bottom: auto; }
  .keycap span { font-size: 13px; }

  .sec-news .lead p { margin-left: 0; }
  .minis { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .foot-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot-brand-col { grid-column: 1 / -1; }
  .release { grid-template-columns: 11px minmax(0, 1fr); gap: 12px 20px; }
  .release .rel-notes { grid-column: 2; }
  .rel-head { flex-direction: row; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; }
}

@media (max-width: 599px) {
  :root { --gutter: 20px; --section-gap: 96px; }
  .hb { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; gap: 10px; padding: 10px; }
  .hb-pane { padding: 10px 12px; font: 12px/20px var(--mono); }
  .jobs { grid-template-columns: minmax(0, 1fr); margin-top: 36px; }
  .top-dl { display: none; }
  .top-end { gap: 8px; }
  .top-in { grid-template-columns: auto 1fr auto; }
  .brand { font-size: 18px; }
  .hero { padding-top: 48px; text-align: left; }
  .hero-in { align-items: stretch; }
  .hero-chip { align-self: flex-start; padding: 0; border: 0; background: none; }
  .hero-chip > span:last-child { display: none; }
  .hero h1 { margin-top: 22px; line-height: 1.04; }
  .hero .tagline { margin-top: 20px; font-size: 16.5px; }
  .cta { flex-direction: column; margin-top: 28px; }
  .cta .btn { width: 100%; }
  .cta-note { text-align: center; font-size: 13px; }
  .stats { flex-direction: column; align-items: flex-start; gap: 10px; }
  .demo-wrap { margin-top: 44px; }
  .legend { flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 36px; }
  .agents { align-items: flex-start; margin-top: 44px; }
  .agents-label { font-size: 11.5px; }
  .agent-chips { justify-content: flex-start; }

  .sec-why { padding-top: 96px; }
  .kicker { font-size: 12px; margin-bottom: 14px; }
  .lead p { font-size: 16px; }
  .sec-head.center { align-items: flex-start; text-align: left; }
  .sec-head.center p:not(.kicker) { font-size: 16.5px; }
  .cards { margin-top: 40px; }
  .card { display: flex; }
  .card-visual { border-right: 0; border-bottom: 1px solid var(--raised); padding: 18px; min-height: 0; }
  .card-text { padding: 22px 20px 26px; }
  .card h3 { font-size: 20px; }

  .rows { margin-top: 48px; gap: 64px; }
  .row-text p { font-size: 15.5px; }
  .panels, .sec-more .panels { margin-top: 64px; gap: 16px; }
  .sec-more .panels { margin-top: 40px; }
  .panel { padding: 28px 20px; border-radius: 22px; gap: 24px; }
  .panel-text > p { font-size: 15.5px; }
  /* Пункты списка переезжают под визуал: заголовок и абзац — сверху, картинка
     — посередине, подробности — под ней. */
  .panel .panel-text { display: contents; }
  .panel .panel-text > * { order: 0; }
  .panel .panel-visual { order: 1; }
  .panel .panel-text > ul, .panel .panel-text > .e2e, .panel .panel-text > .beta { order: 2; }
  .review .panel-visual { display: contents; }
  .review .sub-focus { order: 1; }
  .review .shot-focus { order: 2; }
  .review .sub-editor { order: 3; }
  .review .shot-editor { order: 4; }
  .review-shots .frame { position: relative; left: auto; right: auto; top: auto; bottom: auto; width: auto; }
  .v-handoff .vh-session, .v-handoff .vh-arrow { margin-right: 0; }
  .vh-dialog { margin: 12px 0 0; }
  .v-e2e { display: none; }
  .ve-compact { display: flex !important; }
  .v-phone { width: 280px; height: 540px; }
  .vs-mac { width: 96px; }
  .beta { align-items: flex-start; flex-direction: column; gap: 8px; }

  /* Кадры на телефоне — кадрированы: 230 точек высоты и смысловая зона
     крупно, а не всё окно размером с почтовую марку. */
  .frame-shot { height: 230px; overflow: hidden; }
  .frame-shot img { position: absolute; max-width: none; width: var(--cw, 199%); left: var(--cx, -20%); top: var(--cy, 0); height: auto; }
  .shot-fleet { --cw: 179%; --cx: -13%; --cy: -8px; }
  .shot-roadmap { --cx: -40%; }
  .shot-editor { --cx: -74%; }

  .js .releases:not(.all) > .release:nth-child(n + 4) { display: none; }
  .js .releases:not(.all) > .release:nth-child(3)::before { display: none; }
  .js .rel-more { display: inline-block; }
  .releases { margin-top: 40px; }
  .release { padding-bottom: 28px; }
  .rel-head { flex-direction: column; gap: 4px; }
  .rel-notes { padding: 0; background: none !important; border: 0; }
  .tag { width: 60px; }

  .req-list, .req-dl { padding: 32px 20px; }
  .req-cta, .req-cta .btn { width: 100%; }
  .contact { align-items: flex-start; padding: 22px 20px; }
  .sec-contact { padding-top: 80px; }
  .foot { margin-top: 80px; }
  .foot-in { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .line, .blk { animation: none; }
  .dot.working, .avatar.busy .ring, .ldot.working { animation: none; }
  .phone-toast, .keycap, .pane, .pane-head, .attn, .ring, .blk-ask span, .menu-toggle span::before, .menu-toggle span::after { transition: none; }
  .js .menu, .menu-scrim { transition: none; }
}

/* ==========================================================================
   Герой в две колонки (макет человека 2026-09-22): текст слева, сцена справа,
   окно флота полосой ниже. Переопределяет старые правила .hero/.cta/.stats
   только внутри .hero--split.
   ========================================================================== */

:root {
  --stage-w: 600px;          /* stage design size; scaled by --stage-scale */
  --stage-h: 640px;
  --stage-scale: 1;
}

/* --- section ------------------------------------------------------------ */
.hero.hero--split {
  position: relative;
  padding: 40px 0 0;
  text-align: left;
  overflow: hidden;
  /* one soft glow behind the stage; replaces the old centred hero glow */
  background:
    radial-gradient(40% 55% at 78% 30%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%),
    radial-gradient(35% 45% at 90% 55%, color-mix(in srgb, var(--accent-2) 7%, transparent), transparent 70%);
}
.hero--split .wide { max-width: 1240px; } /* 1200 content + 2×20 padding */

.hero-split {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 560px) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  min-height: 760px;
}

/* --- left: copy --------------------------------------------------------- */
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; }

.hero--split .hero-badge {
  flex: none;
  padding: 3px 9px; border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--accent);
  font: 500 12px/1.3 var(--mono);
}

.hero--split h1 {
  margin: 28px 0 0;
  font-size: clamp(44px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 600;
  text-wrap: balance;
}


.hero-lead {
  margin: 24px 0 0;
  max-width: 500px;
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.55;
  color: var(--dim);
}
/* the one amber phrase: wrap it in <em> inside HERO_LEAD */
.hero-lead em { font-style: normal; color: var(--attention); }

.hero-uses {
  display: flex; flex-wrap: wrap; gap: 8px;
  list-style: none; margin: 24px 0 0; padding: 0;
}
.hero-uses li {
  display: inline-flex; align-items: center; gap: 7px;
  height: 32px; margin: 0; padding: 0 12px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  border: 1px solid var(--overlay);
  font-size: 13.5px; color: var(--term);
}
.hero-uses svg {
  width: 14px; height: 14px; flex: none;
  fill: none; stroke: var(--accent); stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}

.hero--split .cta { justify-content: flex-start; margin-top: 36px; }
.hero--split .btn { height: 52px; align-items: center; }
.hero--split .btn-ghost { background: rgba(255, 255, 255, 0.03); border-color: var(--lift); }
.hero--split .cta-note { margin-top: 14px; }
.hero--split .stats {
  flex-direction: column; align-items: flex-start; gap: 8px;
  justify-content: flex-start;
  margin: 32px 0 0; padding-top: 20px;
  border-top: 1px solid var(--raised);
  font-size: 13px;
}

/* --- right: stage (decorative, aria-hidden) ----------------------------- */
.hero-stage {
  justify-self: end;
  width: calc(var(--stage-w) * var(--stage-scale));
  height: calc(var(--stage-h) * var(--stage-scale));
}
.hero-stage-in {
  position: relative;
  width: var(--stage-w); height: var(--stage-h);
  transform: scale(var(--stage-scale));
  transform-origin: top left;
}

.stage-card { position: absolute; border-radius: 10px; }
.stage-card .pane { height: 100%; }
.stage-card .pane-body { font-size: 11.5px; padding: 9px 14px; justify-content: flex-start; }
.stage-card .pane-name { color: var(--text); font-weight: 600; }

/* back → front. Coordinates are the design; do not tweak per language — nothing here is localized except the tags. */
.stage-card--done { left: 150px; top: 20px;  width: 430px; height: 176px; opacity: 0.8; }
.stage-card--work { left: 70px;  top: 150px; width: 450px; height: 190px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5); }
.stage-card--wait { left: 0;     top: 300px; width: 470px; height: 230px; box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6); }
.stage-card--wait .pane {
  border-color: var(--attention);
  box-shadow: 0 0 0 4px rgba(255, 184, 107, 0.12), 0 0 40px rgba(255, 184, 107, 0.12);
}
.stage-card--wait .pane-head { background: rgba(255, 184, 107, 0.10); }

.stage-tag {
  position: absolute; top: -15px; right: 16px; z-index: 2;
  display: inline-flex; align-items: center; gap: 7px;
  height: 28px; padding: 0 12px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
  font: 600 12.5px/1 var(--sans);
  white-space: nowrap;
}
.stage-tag--done { color: var(--green);     border: 1px solid color-mix(in srgb, var(--green) 40%, transparent); }
.stage-tag--work { color: var(--accent);    border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); }
.stage-tag--wait { color: var(--attention); border: 1px solid color-mix(in srgb, var(--attention) 40%, transparent);
                   right: 120px; } /* moved in from the right edge: the phone covers the last ~100px of this card */
.stage-tag-ic { width: 12px; height: 12px; }
.stage-tag-dot {
  width: 7px; height: 7px; border-radius: 50%; background: currentColor;
  box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 20%, transparent);
}

.stage-hint {
  position: absolute; left: 24px; top: 560px; margin: 0;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 12px;
  background: rgba(23, 26, 34, 0.97);
  border: 1px solid var(--lift);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  font-size: 13.5px; font-weight: 500; color: var(--text);
}
.stage-hint kbd, .hero-fleet kbd {
  display: inline-grid; place-items: center;
  min-width: 26px; height: 26px; padding: 0 7px;
  border-radius: 7px;
  background: var(--overlay); border: 1px solid var(--lift); border-bottom-width: 2px;
  font: 500 13px/1 var(--mono); color: var(--text);
}

/* Телефон сцены живёт в сцене справа, а не в окне. */
.hero-stage .demo-phone {
  position: absolute; left: auto; right: 0; top: 190px; bottom: auto;
  width: 230px; aspect-ratio: auto; height: 460px;
  display: block; margin: 0;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.65), inset 0 0 0 1px #000;
}

/* static notification, phones only */
.stage-toast { display: none; }

/* --- band below: the full window -------------------------------------- */
.hero-fleet {
  position: relative; z-index: 1;
  padding-top: 110px;
  text-align: center;
}
.hero-fleet .kicker { margin: 0; }
.fleet-title {
  margin: 14px 0 0;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1; letter-spacing: -0.02em; font-weight: 600;
  text-wrap: balance;
}
/* Холст окна теперь 1080 (телефон уехал в сцену), центр — margin auto. */
.hero-fleet .demo-wrap { width: calc(1080px * var(--s)); margin: 48px auto 0; }
.hero-fleet .demo { width: 1080px; }
.hero-fleet .legend { margin-top: 28px; }


/* --- responsive -------------------------------------------------------- */
/* 1024–1239: two columns, stage scaled down */
@media (max-width: 1239px) {
  .hero-split { grid-template-columns: minmax(0, 1fr) auto; min-height: 0; padding-top: 40px; }
  .hero-split { --stage-scale: 0.78; }
}
/* < 1024: one column; stage centred under the copy at full size */
@media (max-width: 1023px) {
  .hero-split { grid-template-columns: minmax(0, 1fr); gap: 56px; --stage-scale: 1; }
  .hero-stage { justify-self: center; }
  .hero-fleet { padding-top: 88px; }
}
/* < 700: phone layout. The stage is no longer a fixed canvas: cards span the width,
   the scene's phone is hidden (the scene still runs, harmlessly), a static toast replaces it. */
@media (max-width: 699px) {
  .hero.hero--split { padding-top: 32px; }
  .hero-split { gap: 48px; }
  .hero-copy .hero-chip { font-size: 12.5px; }
  .hero--split .cta { width: 100%; flex-direction: column; margin-top: 28px; }
  .hero--split .cta .btn { width: 100%; justify-content: center; }
  .hero--split .cta-note { align-self: center; text-align: center; }

  .hero-stage { justify-self: stretch; width: 100%; height: 500px; }
  .hero-stage-in { width: 100%; height: 100%; transform: none; }
  .stage-card .pane-body { font-size: 10px; padding: 8px 10px; }
  .stage-card .pane-tools { display: none; }
  .stage-card--done { left: 40px; right: 0;    top: 0;     width: auto; height: 120px; }
  .stage-card--work { left: 20px; right: 10px; top: 100px; width: auto; height: 130px; }
  .stage-card--wait { left: 0;    right: 20px; top: 210px; width: auto; height: 170px; }
  .stage-tag { height: 24px; padding: 0 10px; font-size: 11.5px; top: -13px; right: 12px; }
  .stage-tag--wait { right: 12px; }
  .hero-stage .demo-phone { display: none; }
  .stage-toast {
    position: absolute; left: 30px; right: 0; top: 388px;
    display: flex; gap: 10px; align-items: center;
    padding: 11px 12px; border-radius: 16px;
    background: color-mix(in srgb, var(--overlay) 95%, transparent);
    border: 1px solid var(--lift);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.6);
    font-size: 12px; line-height: 1.35; color: var(--term);
  }
  .stage-toast b { color: var(--attention); }
  .stage-hint { top: 470px; left: 0; padding: 0; background: none; border: 0; box-shadow: none; font-size: 13px; }
  .stage-hint kbd { min-width: 22px; height: 22px; font-size: 11px; }

  .hero-fleet { padding-top: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  .stage-card .line { animation: none; }
}

/* Правила старого героя, которые новому мешают: центровка колонки, отступ
   сетки фона под прежний padding, спрятанная подпись чипа на телефоне. */
.hero--split .hero-in { display: block; }
.hero--split .hb { top: -40px; }
.hero--split .hero-in::after { inset: -24px auto -24px -12%; width: 72%; }
.hero--split .hero-chip > span:last-child { display: inline; }
.hero--split .hero-chip { padding: 6px 14px 6px 6px; }
@media (max-width: 599px) {
  .hero--split .hero-chip { padding: 6px 14px 6px 6px; border: 1px solid var(--overlay); background: var(--surface); }
  .hero--split .hero-in { padding: 0; }
}
.hero--split .stage-toast img { width: 30px; height: 30px; border-radius: 7px; flex: none; }
/* Уже 900 окно — столбиком без холста (правило .demo-wrap выше), и полоса
   флота не должна возвращать ему ширину холста. */
@media (max-width: 899px) {
  .hero-fleet .demo-wrap { width: auto; }
  .hero-fleet .demo { width: auto; }
}

/* --- плашка cookies (§ 25 TDDDG) --- */
/* Карточка внизу слева, как плашка ⌘J: та же подложка и тень, ничего не
   перекрывает надолго — одна кнопка закрывает. Без JS её нет (hidden). */
.cookie {
  position: fixed; left: 20px; bottom: 20px; z-index: 30;
  width: min(400px, calc(100vw - 40px));
  padding: 18px 20px; border-radius: var(--r-control);
  background: rgba(23, 26, 34, 0.97); border: 1px solid var(--lift);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  font-size: 14px; line-height: 1.5; color: var(--dim);
}
.cookie[hidden] { display: none; }
.cookie-title { margin: 0 0 6px; font-size: 15px; font-weight: 600; color: var(--text); }
.cookie-text { margin: 0; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 0; }
.cookie-cats { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 12px; text-align: left; }
.cookie-cat { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; font-size: 14px; line-height: 1.5; color: var(--dim); }
.cookie-cat b { color: var(--text); }
.cookie-cat input { margin-top: 4px; accent-color: var(--accent); }
.foot-link { padding: 0; border: 0; background: none; font: inherit; color: var(--accent); text-align: left; cursor: pointer; }
.foot-link[hidden] { display: none; }
@media (max-width: 599px) { .cookie { left: 12px; right: 12px; bottom: 12px; width: auto; } }
