/* Цифровое ОКО — сайт okovision.ru.
   Язык — тот же, что у панели коробки: тёплый белый по графиту, линии вместо карточек.
   Цвет живёт только там, где он живёт в видеонаблюдении: жёлтая разметка поверх кадра,
   красная точка записи, статусы тревог. Моноширинный — для экранного текста камер (OSD). */

:root {
  --ink: #0b0b0c;
  --ink-2: #111113;
  --graphite: #17181a;
  --line: #28292c;
  --line-2: #3a3b3f;
  --text: #f2efe9;
  --text-2: #b0aca4;
  --text-3: #85827b;
  --cctv: #ffd60a;
  --live: #ff4d3d;
  --warn: #f2a93b;
  --ok: #4cc38a;
  --glow: #ffd9a0;

  --font: "Golos Text", "Golos", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --gutter: max(20px, 5vw);
  --wrap: 1240px;
  --nav-h: 56px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { background: var(--ink); scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 19px/1.55 var(--font);
  font-feature-settings: "ss01" on;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, dl, dd, ol, ul, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { text-wrap: balance; font-weight: 700; }
p { text-wrap: pretty; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--text-3); }
.dim { color: var(--text-3); }

:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--text); color: var(--ink); padding: 10px 16px; border-radius: 6px; text-decoration: none; font-weight: 600; }
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 10px); }

/* ——— типографика ——— */
.eyebrow {
  font: 600 14px/1.2 var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-2);
}
.eyebrow-accent { color: var(--cctv); }
.label { font: 500 14px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.h-xl { font-size: clamp(44px, 7.2vw, 112px); line-height: .98; letter-spacing: -.035em; }
.h-lg { font-size: clamp(36px, 5vw, 76px); line-height: 1.02; letter-spacing: -.03em; }
.lead { font-size: clamp(19px, 1.5vw, 23px); line-height: 1.5; color: var(--text-2); max-width: 36em; }

/* ——— кнопки ——— */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font: 600 18px/1 var(--font); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease);
  touch-action: manipulation;
}
.btn:active { transform: scale(.97); }
.btn-light { background: var(--text); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-ghost { color: var(--text); border-color: var(--line-2); background: rgba(11, 11, 12, .3); }
.btn-ghost:hover { border-color: var(--text-2); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 16px; }

.btn .play { width: 18px; height: 18px; fill: currentColor; }
.film-link { margin-top: 26px; }

/* ——— ролик поверх страницы ——— */
.film { width: min(1280px, 100vw); max-width: 100vw; max-height: 100vh; padding: 0; border: 0; background: #000; color: var(--text); overflow: visible; }
.film::backdrop { background: rgba(0, 0, 0, .9); }
.film video { display: block; width: 100%; height: auto; max-height: 90vh; background: #000; }
.film-close { position: absolute; right: 0; top: -56px; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); cursor: pointer; display: grid; place-items: center; }
.film-close svg { width: 22px; height: 22px; stroke: var(--text); stroke-width: 2.2; fill: none; }
@media (max-width: 760px) { .film-close { top: -52px; right: 12px; } }

/* ——— навигация ——— */
.nav {
  position: fixed; left: 0; right: 0; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  padding: env(safe-area-inset-top, 0px) var(--gutter) 0;
  height: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
  background: rgba(11, 11, 12, .72);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: -.01em; white-space: nowrap; }
.brand-eye { width: 28px; height: 28px; }
.brand-eye path { fill: none; stroke: var(--text); stroke-width: 2.2; }
.brand-eye circle { fill: var(--text); }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { text-decoration: none; font-size: 16px; color: var(--text-2); padding: 10px 0; transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current="true"] { color: var(--text); }
.nav-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; }
.nav-progress i { display: block; height: 100%; width: 100%; background: var(--cctv); transform-origin: 0 50%; transform: scaleX(0); }

/* ——— сцены с прилипающей сценой ——— */
.scene { position: relative; height: calc(var(--len, 300) * 1vh); }
.stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  isolation: isolate;
}
.stage-center { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.fill { position: absolute; inset: 0; width: 100%; height: 100%; }
.vignette { position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(0, 0, 0, .55) 100%),
  linear-gradient(to top, rgba(0, 0, 0, .7), transparent 38%); }

/* экранный текст камеры */
.osd {
  position: absolute; left: var(--gutter); right: var(--gutter); top: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 18px);
  display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center;
  font: 500 14px/1 var(--mono); letter-spacing: .06em; color: rgba(242, 239, 233, .9);
  text-shadow: 0 1px 2px rgba(0, 0, 0, .8); pointer-events: none; z-index: 3;
}
.osd-rec { display: inline-flex; align-items: center; gap: 8px; }
.osd-rec i { width: 9px; height: 9px; border-radius: 50%; background: var(--live); box-shadow: 0 0 10px var(--live); animation: rec 1.6s steps(2, jump-none) infinite; }
.osd-off i { background: var(--text-3); box-shadow: none; animation: none; }
.osd-time { margin-left: auto; }
.osd-dim { opacity: 0; }
@keyframes rec { 50% { opacity: .25; } }

/* ——— 1. вступление ——— */
.scene-hero .stage { background: #000; }
.hero-copy {
  position: absolute; left: 0; right: 0; top: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 7vh);
  z-index: 4; text-align: center; padding-inline: var(--gutter);
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  will-change: transform, opacity;
}
.hero-title { font-size: clamp(56px, 10.4vw, 164px); line-height: .92; letter-spacing: -.045em; font-weight: 800; }
.hero-lead { font-size: clamp(19px, 1.6vw, 24px); color: var(--text-2); max-width: 30em; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
.hero-box {
  position: absolute; left: 50%; top: 67%; width: min(88vw, 1000px);
  transform: translate(-50%, -30%); transform-origin: 56.45% 51.7%;
  z-index: 2; will-change: transform, opacity;
}
.hero-box img { width: 100%; height: auto; -webkit-mask-image: radial-gradient(72% 78% at 52% 50%, #000 58%, transparent 100%); mask-image: radial-gradient(72% 78% at 52% 50%, #000 58%, transparent 100%); }
.hero-glow { position: absolute; left: 56.45%; top: 51.7%; width: 34%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 217, 160, .28), rgba(255, 217, 160, 0)); mix-blend-mode: screen; pointer-events: none; animation: breathe 5s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .55; } }
.eye-window { position: absolute; inset: 0; z-index: 3; clip-path: path("M0 0 Z"); background: #000; }
.eye-window canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.scroll-hint { position: absolute; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 22px); transform: translateX(-50%); z-index: 5;
  display: flex; flex-direction: column; align-items: center; gap: 10px; font: 500 13px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.scroll-hint span { width: 1px; height: 36px; background: linear-gradient(var(--text-3), transparent); animation: hint 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes hint { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); opacity: 1; } 100% { opacity: 0; } }

/* ——— 2. счёт ——— */
.scene-count .stage { background: #000; }
.count-meter {
  position: absolute; left: var(--gutter); bottom: calc(env(safe-area-inset-bottom, 0px) + 6vh); z-index: 3;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .6);
}
.count-num { font: 800 clamp(96px, 15vw, 240px)/.86 var(--font); letter-spacing: -.05em; font-variant-numeric: tabular-nums; margin-top: 8px; }
.count-sub { display: flex; align-items: center; gap: 12px; margin-top: 14px; font: 500 15px/1 var(--mono); color: var(--text-2); letter-spacing: .04em; }
.plus { display: inline-block; font-weight: 700; color: var(--ink); background: var(--cctv); padding: 5px 8px; border-radius: 3px; opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s var(--ease); }
.plus.on { opacity: 1; transform: none; }
.captions, .stack { display: grid; }
.captions > .cap, .stack > .cap { grid-area: 1 / 1; }
.captions {
  position: absolute; right: var(--gutter); bottom: calc(env(safe-area-inset-bottom, 0px) + 7vh); z-index: 3;
  width: min(460px, 42vw);
}
.cap { will-change: opacity, transform; }
.cap h2, .cap h3 { font-size: clamp(30px, 3.2vw, 48px); line-height: 1.04; letter-spacing: -.028em; }
.cap p { margin-top: 14px; color: var(--text-2); font-size: clamp(18px, 1.35vw, 21px); }
.captions .cap { text-shadow: 0 2px 22px rgba(0, 0, 0, .75); }

/* ——— 3. внутри ——— */
.scene-inside .stage { gap: clamp(24px, 4vh, 44px); padding: calc(var(--nav-h) + 3vh) var(--gutter) 3vh; background: var(--ink); }
.inside-copy { text-align: center; display: grid; gap: 16px; will-change: transform, opacity; }
.browser {
  width: min(1120px, 100%); border-radius: 12px; overflow: hidden; background: #0e0f10;
  border: 1px solid var(--line-2); box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .6);
  transform-origin: 50% 0; will-change: transform; max-height: 60vh;
}
.browser-bar { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; background: #161719; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #34363a; }
.browser-bar span { margin-left: 14px; font: 500 13px/1 var(--mono); color: var(--text-3); }
.browser img { width: 100%; height: auto; }
.facts3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; width: min(1120px, 100%); }
.facts3 li { display: grid; gap: 6px; border-top: 1px solid var(--line-2); padding-top: 14px; }
.facts3 b { font-size: 20px; }
.facts3 span { color: var(--text-2); font-size: 17px; line-height: 1.45; }

/* ——— 4. лица ——— */
.scene-faces .stage { background: #000; }
.faces-copy {
  position: absolute; left: var(--gutter); top: 50%; transform: translateY(-50%); z-index: 4;
  width: min(430px, 36vw); display: grid; gap: 22px;
}
.faces-copy .cap h2 { font-size: clamp(34px, 3.6vw, 56px); }
.faces-copy .cap { text-shadow: 0 2px 24px rgba(0, 0, 0, .9); }
.readout {
  position: absolute; right: var(--gutter); bottom: calc(env(safe-area-inset-bottom, 0px) + 6vh); z-index: 4;
  display: grid; grid-template-columns: repeat(2, auto); gap: 14px 34px;
  font-family: var(--mono); font-variant-numeric: tabular-nums;
}
.readout dt { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.readout dd { font-size: 24px; margin-top: 4px; color: var(--cctv); }
.match {
  position: absolute; right: var(--gutter); top: 50%; z-index: 5; width: min(420px, 40vw);
  display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 18px; align-items: center;
  padding: 18px; border: 1px solid rgba(255, 214, 10, .55); background: rgba(8, 8, 9, .72);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-radius: 6px;
  opacity: 0; transform: translateY(-50%) translateX(24px); will-change: transform, opacity;
}
.match img { width: 96px; height: 96px; object-fit: cover; border-radius: 3px; }
.match-k { font-size: 24px; font-weight: 700; letter-spacing: -.01em; }
.match-v { color: var(--text-2); font-size: 17px; margin-top: 4px; }
.match-s { color: var(--cctv); font-size: 14px; margin-top: 10px; }

/* ——— 5. персонал ——— */
.section { position: relative; padding-block: clamp(96px, 16vh, 180px); }
.wrap { width: min(var(--wrap), 100%); margin-inline: auto; padding-inline: var(--gutter); }
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.staff-media { position: relative; border-radius: 10px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; }
.staff-media video, .staff-media canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.staff-copy { display: grid; gap: 22px; }
.ledger { display: grid; margin-top: 10px; border-top: 1px solid var(--line-2); }
.ledger div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 18px; color: var(--text-2); }
.ledger b { font-size: 22px; color: var(--text); font-weight: 600; }
.ledger b.dim { color: var(--text-3); text-decoration: line-through; text-decoration-color: var(--live); text-decoration-thickness: 2px; }
.ledger .ledger-total { color: var(--text); border-bottom: 0; }
.ledger .ledger-total b { font-size: 30px; }

/* ——— 6. тревоги ——— */
.scene-alerts .stage { background: var(--ink); }
.alerts-head {
  position: absolute; left: var(--gutter); right: var(--gutter); top: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 4vh); z-index: 4;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 8px 24px;
}
.alerts-head .eyebrow { grid-column: 1 / -1; }
.alerts-count { font-size: 18px; color: var(--text-3); }
.track {
  position: absolute; left: 0; top: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 4vh + clamp(90px, 13vh, 150px)); bottom: 4vh;
  display: flex; gap: 3vw; padding-left: var(--gutter); will-change: transform;
}
.panel { position: relative; flex: 0 0 min(76vw, 1180px); height: 100%; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 18px; }
.panel-media { position: relative; overflow: hidden; border-radius: 8px; background: #000; }
.panel-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.panel-alt { opacity: 0; transition: opacity .6s var(--ease); }
.panel .osd { top: 16px; left: 18px; right: 18px; }
.zone { position: absolute; inset: 0; width: 100%; height: 100%; }
.zone polygon { fill: rgba(255, 214, 10, .1); stroke: var(--cctv); stroke-width: 2.5; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.zone-red polygon { fill: rgba(255, 77, 61, .14); stroke: var(--live); }
.panel-copy { display: grid; grid-template-columns: minmax(0, 14em) minmax(0, 1fr); gap: 8px 28px; align-items: baseline; }
.panel-copy h3 { font-size: clamp(24px, 2.2vw, 34px); letter-spacing: -.02em; }
.panel-copy p { color: var(--text-2); font-size: 18px; max-width: 34em; }
.toast {
  position: absolute; right: 22px; top: 60px; z-index: 5; width: min(390px, calc(100% - 44px));
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: start;
  padding: 14px 16px; border-radius: 14px; background: rgba(28, 29, 31, .86); border: 1px solid rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 18px 50px -12px rgba(0, 0, 0, .8);
  opacity: 0; transform: translateY(-14px) scale(.98); transition: opacity .35s var(--ease), transform .45s var(--ease);
}
.toast.on { opacity: 1; transform: none; }
.toast b { display: block; font-size: 14px; color: var(--text-2); font-weight: 600; }
.toast span { display: block; font-size: 17px; line-height: 1.35; margin-top: 3px; }
.toast time { font: 500 13px/1.4 var(--mono); color: var(--text-3); }
.t-dot { width: 10px; height: 10px; border-radius: 50%; margin-top: 5px; }
.t-warn { background: var(--warn); }
.t-crit { background: var(--live); }
.occ { position: absolute; left: 18px; bottom: 18px; z-index: 3; display: grid; grid-template-columns: auto auto auto; align-items: baseline; gap: 4px 12px;
  padding: 14px 18px; background: rgba(0, 0, 0, .62); border-radius: 6px; text-shadow: none; }
.occ span { font-size: 13px; color: var(--text-2); letter-spacing: .08em; text-transform: uppercase; }
.occ b { font-size: 44px; line-height: 1; font-weight: 600; }
.occ i { grid-column: 1 / -1; height: 4px; background: rgba(255, 255, 255, .16); border-radius: 2px; overflow: hidden; }
.occ em { display: block; height: 100%; width: 90%; background: var(--warn); transform-origin: 0 50%; }
.panel-nosignal canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; }
.nosignal { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: clamp(22px, 3vw, 40px); letter-spacing: .2em; color: var(--text-2); }

/* ——— 7. отчёт ——— */
.section-report .wrap { display: grid; gap: clamp(48px, 8vh, 88px); }
.report-head { display: grid; gap: 22px; max-width: 900px; }
.phones { display: flex; justify-content: center; align-items: flex-start; gap: clamp(20px, 5vw, 72px); }
.phone {
  flex: 0 1 380px; aspect-ratio: 390 / 844; max-height: 780px; border-radius: 48px; padding: 12px;
  background: linear-gradient(145deg, #2b2c2f, #111214 55%, #1d1e21); box-shadow: 0 50px 120px -40px rgba(0, 0, 0, .95), inset 0 0 0 1px rgba(255, 255, 255, .08);
  will-change: transform;
}
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 37px; overflow: hidden; background: #0e0f10; }
.phone-panel img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone-chat .phone-screen { background: #101113; display: flex; flex-direction: column; }
.tg-top { display: flex; align-items: center; gap: 12px; padding: 44px 18px 14px; background: #17181a; border-bottom: 1px solid var(--line); }
.tg-top svg { width: 38px; height: 38px; padding: 6px; border-radius: 50%; background: var(--text); }
.tg-top svg path { fill: none; stroke: var(--ink); stroke-width: 2.4; }
.tg-top svg circle { fill: var(--ink); }
.tg-top b { display: block; font-size: 17px; }
.tg-top span { font-size: 14px; color: var(--text-3); }
.tg-feed { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 14px 12px 18px; overflow: hidden; }
.bubble { max-width: 88%; padding: 10px 13px 22px; border-radius: 16px; font-size: 15px; line-height: 1.42; position: relative;
  opacity: 0; transform: translateY(14px); transition: opacity .4s var(--ease), transform .5s var(--ease); }
.bubble.on { opacity: 1; transform: none; }
.bubble p + p { margin-top: 8px; }
.bubble time { position: absolute; right: 12px; bottom: 6px; font: 500 11px/1 var(--mono); color: var(--text-3); }
.bubble.in { align-self: flex-start; background: #1f2023; border-bottom-left-radius: 5px; }
.bubble.out { align-self: flex-end; background: #2c2a24; border-bottom-right-radius: 5px; font-family: var(--mono); }
.cashbox { display: grid; grid-template-columns: minmax(0, 14em) minmax(0, 1fr); gap: 10px 32px; border-top: 1px solid var(--line-2); padding-top: 22px; align-items: baseline; }
.cashbox-k { font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--cctv); }
.cashbox p:last-child { color: var(--text-2); font-size: 19px; max-width: 40em; }

/* ——— 8. коробка ——— */
.scene-box .stage { background: #000; }
.box-imgs { position: absolute; left: 50%; top: 50%; width: min(92vw, 1180px); aspect-ratio: 1024 / 561; transform: translate(-38%, -50%); }
.bx { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; will-change: transform, opacity;
  -webkit-mask-image: radial-gradient(70% 80% at 50% 50%, #000 60%, transparent 100%); mask-image: radial-gradient(70% 80% at 50% 50%, #000 60%, transparent 100%); }
.bx-front { opacity: 1; }
.box-copy { position: absolute; left: var(--gutter); top: 50%; transform: translateY(-50%); width: min(440px, 34vw); z-index: 3; }
.box-copy .cap { display: grid; gap: 18px; align-content: start; }
.box-copy .cap p:not(.eyebrow) { color: var(--text-2); font-size: clamp(18px, 1.35vw, 21px); }
.callouts { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.box-imgs + .box-copy + .callouts { left: 0; }
.callouts li {
  position: absolute; left: calc(var(--x) + 12vw); top: var(--y);
  font: 500 15px/1.2 var(--mono); color: var(--text); white-space: nowrap;
  display: flex; align-items: center; gap: 10px; opacity: 0;
  transform: translateX(calc(var(--dx) * 8px)); transition: opacity .3s, transform .4s var(--ease);
}
.callouts li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--cctv); box-shadow: 0 0 0 5px rgba(255, 214, 10, .18); }
.callouts li.on { opacity: 1; transform: none; }

.section-specs { padding-block: clamp(72px, 12vh, 140px); border-top: 1px solid var(--line); }
.specs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px; }
.specs div { display: grid; gap: 12px; align-content: start; }
.specs dt { font-size: clamp(40px, 4.4vw, 68px); font-weight: 600; line-height: 1; letter-spacing: -.03em; color: var(--text); }
.specs dd { color: var(--text-2); font-size: 18px; line-height: 1.45; margin: 0; }

/* ——— 9. приватность ——— */
.scene-private .stage { background: var(--ink); gap: clamp(28px, 5vh, 56px); padding: calc(var(--nav-h) + 2vh) var(--gutter) 4vh; }
.bgvideo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .16; z-index: -1; filter: grayscale(.4); }
.private-copy { text-align: center; display: grid; gap: 16px; }
.net { width: min(1180px, 100%); height: auto; overflow: visible; }
.net-v { display: none; }
.net-wire path { fill: none; stroke: var(--cctv); stroke-width: 2.5; }
.net-wire .net-out { stroke: var(--text-2); stroke-dasharray: 6 8; }
.net-node rect { fill: var(--graphite); stroke: var(--line-2); stroke-width: 1.5; }
.net-oko rect { stroke: var(--cctv); }
.net-ico * { fill: none; stroke: var(--text); stroke-width: 2.4; stroke-linejoin: round; }
.net-node text { fill: var(--text); font: 600 19px var(--font); text-anchor: middle; }
.net-lan, .net-inet { fill: var(--text-3); font: 500 16px var(--mono); text-anchor: middle; letter-spacing: .04em; }
.net-inet { fill: var(--text-2); }
.net-fence { fill: none; stroke: var(--line-2); stroke-width: 1.5; stroke-dasharray: 4 6; }
.private-lead { text-align: center; color: var(--text-2); font-size: clamp(19px, 1.5vw, 23px); max-width: 38em; }

/* ——— 10. подключение ——— */
.section-setup { border-top: 1px solid var(--line); }
.section-setup .wrap { display: grid; gap: 28px; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: 28px; counter-reset: s; }
.steps li { display: grid; gap: 12px; align-content: start; border-top: 1px solid var(--line-2); padding-top: 20px; }
.step-n { font-size: 15px; color: var(--cctv); letter-spacing: .1em; }
.steps h3 { font-size: 24px; line-height: 1.15; letter-spacing: -.015em; }
.steps p { color: var(--text-2); font-size: 18px; line-height: 1.5; }
.brands { display: grid; gap: 12px; margin-top: clamp(40px, 8vh, 80px); }
.brands-list { font-size: clamp(26px, 3.2vw, 46px); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.brands-list i { font-style: normal; color: var(--text-3); padding-inline: .15em; }
.brands-note { color: var(--text-2); max-width: 40em; }

/* ——— 11. вопросы ——— */
.section-faq { border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 40px; align-items: start; }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq details:first-child { border-top: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-size: clamp(20px, 1.7vw, 25px); font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: 0 0 14px; height: 14px; border-right: 2px solid var(--text-2); border-bottom: 2px solid var(--text-2); transform: rotate(45deg) translateY(-4px); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq details p { padding-bottom: 26px; color: var(--text-2); max-width: 40em; }

/* ——— 12. финал ——— */
.scene-outro .stage { background: #000; gap: 22px; text-align: center; padding-inline: var(--gutter); }
.outro-eye { width: min(360px, 62vw); height: auto; overflow: visible; }
.outro-eye path { fill: none; stroke: var(--text); stroke-width: 3.4; stroke-linecap: round; }
.outro-eye circle { fill: var(--text); }
.outro-brand { font-size: clamp(48px, 8vw, 128px); font-weight: 800; letter-spacing: -.045em; line-height: .95; }
.outro-sub { color: var(--text-2); font-size: clamp(19px, 1.6vw, 24px); }
.outro-domain { font-size: clamp(22px, 2.2vw, 32px); color: var(--cctv); letter-spacing: .04em; margin-top: 10px; }

.section-contact { border-top: 1px solid var(--line); }
.section-contact .split { align-items: start; }
.section-contact .lead { margin-top: 22px; }
.lead-form { display: grid; gap: 10px; }
.lead-form label { font-size: 16px; color: var(--text-2); margin-top: 8px; }
.lead-form input { min-height: 56px; padding: 0 16px; font: 400 19px var(--font); color: var(--text); background: var(--graphite); border: 1px solid var(--line-2); border-radius: 6px; }
.lead-form input:focus { outline: none; border-color: var(--text); }
.lead-form input[aria-invalid="true"] { border-color: var(--live); }
.lead-form input::placeholder { color: var(--text-3); }
.lead-form .btn { margin-top: 16px; justify-self: start; }
.form-note { min-height: 1.5em; color: var(--text-2); font-size: 17px; }

.footer { border-top: 1px solid var(--line); padding-block: 40px calc(40px + env(safe-area-inset-bottom, 0px)); }
.footer-row { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; color: var(--text-2); }
.footer-row .mono { font-size: 16px; }
.footer-note { flex-basis: 100%; font-size: 15px; color: var(--text-3); max-width: 60em; }

/* ——— телефон и планшет ——— */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
  .facts3 { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .steps, .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  body { font-size: 18px; }
  .hero-copy { top: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 5vh); }
  .hero-box { top: 66%; width: 150vw; }
  .captions { left: var(--gutter); right: var(--gutter); width: auto; bottom: calc(env(safe-area-inset-bottom, 0px) + 4vh); }
  .count-meter { bottom: auto; top: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 56px); }
  .count-num { font-size: 96px; }
  .scene-inside .stage { justify-content: flex-start; padding-top: calc(var(--nav-h) + 6vh); }
  .browser { max-height: 38vh; }
  .facts3 li:nth-child(n+2) { display: none; }
  .faces-copy { top: auto; bottom: calc(env(safe-area-inset-bottom, 0px) + 4vh); transform: none; width: auto; right: var(--gutter); gap: 14px; }
  .faces-copy .cap h2 { font-size: 34px; }
  .readout { top: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 18px); bottom: auto; right: var(--gutter); gap: 8px 22px; }
  .readout dd { font-size: 19px; }
  .match { left: var(--gutter); right: var(--gutter); width: auto; top: 40%; grid-template-columns: 72px minmax(0, 1fr); }
  .match img { width: 72px; height: 72px; }
  .split { grid-template-columns: minmax(0, 1fr); }
  .panel { flex-basis: 88vw; }
  .panel-copy { grid-template-columns: minmax(0, 1fr); }
  .panel-copy p { font-size: 17px; }
  .toast { top: 48px; right: 12px; width: calc(100% - 24px); }
  .occ b { font-size: 32px; }
  .phones { gap: 14px; }
  .phone { border-radius: 34px; padding: 8px; }
  .phone-screen { border-radius: 27px; }
  .phone-chat .bubble { font-size: 13px; }
  .tg-top { padding-top: 28px; }
  .cashbox, .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .box-imgs { width: 150vw; transform: translate(-50%, -62%); }
  .box-copy { top: auto; bottom: calc(env(safe-area-inset-bottom, 0px) + 5vh); transform: none; width: auto; right: var(--gutter); }
  .callouts { display: none; }
  .steps, .specs { grid-template-columns: minmax(0, 1fr); }
  .net-h { display: none; }
  .net-v { display: block; width: min(300px, 78vw); max-height: 52vh; }
  .scene-private .stage { gap: 18px; }
  .osd-fps { display: none; }
  .count-meter { top: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 64px); }
  .readout { display: none; }
  .nosignal { white-space: nowrap; font-size: 20px; letter-spacing: .14em; }
}
@media (max-width: 480px) {
  .phones .phone-panel { display: none; }
  .phone { flex-basis: 100%; max-width: 360px; }
}

@media (prefers-reduced-motion: reduce) {
  .osd-rec i, .hero-glow, .scroll-hint span { animation: none; }
  .toast, .bubble, .plus, .callouts li, .panel-alt { transition: none; }
}
