/* BEVZ — главная autoglass-bevz.com
   Сцена — фиксированный canvas за текстом; главы — обычный поток с «липкими» панелями.
   Без JS (.no-js) — обычная страница с картинками. */

@font-face { font-family: "BEVZ Text"; src: url("/assets/site/inter-400.f16c3bee45.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "BEVZ Text"; src: url("/assets/site/inter-500.fa93af7eaa.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "BEVZ Display"; src: url("/assets/site/inter-display-600.9f93e5d90c.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --night: #05080d;
  --night-2: #0b121b;
  --frost: #e9f1f8;
  --frost-2: #c3cfdb;
  --haze: #8d9cad;
  --ice: #63c7ff;
  --ice-hover: #8fd8ff;
  --ice-ink: #03131f;
  --led: #f4f9ff;
  --rule: rgba(160, 205, 255, 0.14);
  --rule-strong: rgba(160, 205, 255, 0.3);
  --text: "BEVZ Text", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "BEVZ Display", "BEVZ Text", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: max(16px, env(safe-area-inset-left));
  --head-h: 64px;
  --dock-h: 0px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--night);
  color: var(--frost);
  font: 400 17px/1.55 var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--ice); outline-offset: 3px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nb { white-space: nowrap; }

/* ---------- шапка ---------- */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 30;
  display: flex; align-items: center; gap: 20px;
  height: var(--head-h);
  padding: 0 max(var(--gutter), 3vw);
  padding-top: env(safe-area-inset-top);
  background: linear-gradient(180deg, rgba(5, 8, 13, 0.82), rgba(5, 8, 13, 0));
}
.top__logo { display: block; width: 104px; margin-right: auto; color: var(--frost); }
.top__logo svg { display: block; width: 132.7%; height: auto; margin-left: -16.4%; }
.top__phone { font: 500 16px/1 var(--text); text-decoration: none; font-variant-numeric: tabular-nums; color: var(--frost-2); }
.top__phone:hover { color: var(--frost); }
.top__menu {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 42px; padding: 0 15px;
  border: 1px solid var(--rule-strong); border-radius: 10px;
  background: rgba(5, 8, 13, 0.35); color: var(--frost);
  font: 600 15px/1 var(--display); text-decoration: none; cursor: pointer;
  transition: border-color 0.15s;
}
.top__menu:hover, .top__menu[aria-expanded="true"] { border-color: var(--ice); }
.top__menu-ico { display: inline-flex; align-items: flex-end; gap: 3px; height: 14px; }
.top__menu-ico i { display: block; width: 3px; border-radius: 1px; background: var(--ice); box-shadow: 0 0 6px rgba(99, 199, 255, 0.8); }
.top__menu-ico i:nth-child(1) { height: 14px; }
.top__menu-ico i:nth-child(2) { height: 10px; }
.top__menu-ico i:nth-child(3) { height: 7px; }

/* ---------- меню «Разделы»: экран выбора сцены ---------- */
.menu {
  position: fixed; inset: 0; z-index: 50;
  display: grid; overflow-y: auto; overscroll-behavior: contain;
  padding: max(20px, env(safe-area-inset-top)) max(var(--gutter), 4vw) max(24px, env(safe-area-inset-bottom));
  background: rgba(3, 6, 10, 0.8);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.menu[hidden] { display: none; }
.menu__in { position: relative; width: min(1180px, 100%); margin: auto; padding-top: 22px; }
.menu__in::before {   /* полоса света, как в логотипе */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, rgba(99, 199, 255, 0), rgba(99, 199, 255, 0.95) 18%, var(--led) 50%, rgba(99, 199, 255, 0.95) 82%, rgba(99, 199, 255, 0));
  box-shadow: 0 0 14px rgba(99, 199, 255, 0.75), 0 0 34px rgba(99, 199, 255, 0.35);
}
.menu.is-open .menu__in::before { animation: menu-bar 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@keyframes menu-bar { from { transform: scaleX(0); opacity: 0.2; } to { transform: none; opacity: 1; } }
.menu__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.menu__title { font: 600 clamp(26px, 2.6vw, 38px)/1.05 var(--display); letter-spacing: -0.015em; }
.menu__close { flex: none; display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 1px solid var(--rule-strong); border-radius: 10px; background: rgba(5, 8, 13, 0.4); color: var(--frost); cursor: pointer; }
.menu__close:hover { border-color: var(--ice); }
.menu__close svg { width: 20px; height: 20px; }
.menu__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 16px; }
.menu__grid a { display: block; color: var(--frost-2); text-decoration: none; border-radius: 10px; }
.menu__grid img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; background: var(--night-2); filter: brightness(0.82); transition: filter 0.2s; }
.menu__grid span { position: relative; display: block; margin-top: 10px; padding-top: 10px; font: 500 15px/1.25 var(--text); transition: color 0.2s; }
.menu__grid span::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, 0.12); transition: background-color 0.2s, box-shadow 0.2s; }
.menu__grid a:hover img, .menu__grid a:focus-visible img, .menu__grid a.on img { filter: none; }
.menu__grid a:hover span, .menu__grid a:focus-visible span, .menu__grid a.on span { color: var(--frost); }
.menu__grid a:hover span::before, .menu__grid a:focus-visible span::before { background: rgba(99, 199, 255, 0.55); }
.menu__grid a.on span::before { background: var(--ice); box-shadow: 0 0 10px rgba(99, 199, 255, 0.85); }
.menu__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--rule); }
.menu__addr { margin-left: auto; color: var(--haze); font-size: 14px; line-height: 1.5; text-align: right; }
html.is-menu { overflow: hidden; }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px;
  border: 1px solid var(--rule-strong); border-radius: 10px;
  background: rgba(5, 8, 13, 0.35);
  color: var(--frost);
  font: 600 17px/1 var(--display); letter-spacing: 0.005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s, box-shadow 0.15s;
}
.btn:hover { border-color: var(--ice); }
.btn--primary {
  background: var(--ice); border-color: var(--ice); color: var(--ice-ink);
  box-shadow: 0 0 0 0 rgba(99, 199, 255, 0), 0 8px 28px rgba(99, 199, 255, 0.22);
}
.btn--primary:hover { background: var(--ice-hover); border-color: var(--ice-hover); box-shadow: 0 0 22px rgba(99, 199, 255, 0.45); }
.btn--small { min-height: 42px; padding: 0 16px; font-size: 15px; }
.btn svg { width: 18px; height: 18px; flex: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* пришли с рекламы ВК (класс is-ad ставит boot.js) → главная кнопка — «Позвонить» */
.top__call { display: none; }
.is-ad .top__call { display: inline-flex; }
.is-ad .top .btn[data-goal="price-top"] { display: none; }
.is-ad .actions a[href^="tel:"], .is-ad .menu__foot a[href^="tel:"] {
  order: -1;
  background: var(--ice); border-color: var(--ice); color: var(--ice-ink);
  box-shadow: 0 8px 28px rgba(99, 199, 255, 0.22);
}
.is-ad .actions a[href^="tel:"]:hover, .is-ad .menu__foot a[href^="tel:"]:hover { background: var(--ice-hover); border-color: var(--ice-hover); box-shadow: 0 0 22px rgba(99, 199, 255, 0.45); }
.is-ad .actions .btn--primary, .is-ad .menu__foot .btn--primary { background: rgba(5, 8, 13, 0.35); border-color: var(--rule-strong); color: var(--frost); box-shadow: none; }
.is-ad .actions .btn--primary:hover, .is-ad .menu__foot .btn--primary:hover { background: rgba(5, 8, 13, 0.35); border-color: var(--ice); box-shadow: none; }

/* ---------- сцена ---------- */
.stage { display: none; }
.js .stage {
  display: block;
  position: fixed; inset: 0; z-index: 0;
  height: 100vh; height: 100lvh;
  background: var(--night);
  pointer-events: none;
  contain: strict;
}
.stage canvas, .stage video { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage video { object-fit: cover; opacity: 0; transition: opacity 0.45s; background: #000; }
.stage video.on { opacity: 1; }
.stage__shades { position: absolute; inset: 0; transition: opacity 0.8s; }
.is-booting .stage__shades { opacity: 0; transition: none; }   /* пока горят фары — без затемнения под текст */
.stage__shade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(5, 8, 13, 0.86) 0%, rgba(5, 8, 13, 0.62) 30%, rgba(5, 8, 13, 0.16) 52%, rgba(5, 8, 13, 0) 64%);
}
.stage__shade--hero {
  opacity: 0;
  background: linear-gradient(90deg, rgba(5, 8, 13, 0.9) 0%, rgba(5, 8, 13, 0.76) 28%, rgba(5, 8, 13, 0.4) 43%, rgba(5, 8, 13, 0.08) 56%, rgba(5, 8, 13, 0) 62%);
}
.stage__flare {
  position: absolute; left: -20%; right: -20%; top: 50%; height: 2px; margin-top: -1px;
  background: linear-gradient(90deg, rgba(99, 199, 255, 0), rgba(99, 199, 255, 0.9) 40%, var(--led) 50%, rgba(99, 199, 255, 0.9) 60%, rgba(99, 199, 255, 0));
  box-shadow: 0 0 18px rgba(99, 199, 255, 0.9), 0 0 60px rgba(99, 199, 255, 0.45);
  opacity: 0; transform: scaleX(0.2);
  will-change: opacity, transform;
}
.stage__map {
  position: absolute; left: 0; top: 0;
  width: 1000px; height: 410px;
  transform-origin: 0 0;
  opacity: 0; visibility: hidden;
  overflow: hidden; border-radius: 6px;
  background: #0d1720;
}
.stage__map iframe {
  display: block; width: 100%; height: 100%; border: 0;
  filter: invert(0.92) hue-rotate(180deg) saturate(0.85) brightness(0.92) contrast(0.95);
}
.stage__map::after {   /* стекло экрана: лёгкий блик и затемнение по краям */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0) 38%), radial-gradient(120% 140% at 50% 50%, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.45));
}

/* ---------- главы ---------- */
main { position: relative; z-index: 1; }
.ch { position: relative; }
.ch__still { display: none; }
.no-js .ch__still { display: block; width: 100%; margin: 0 0 28px; border-radius: 10px; }
.no-js .ch { padding: 96px max(var(--gutter), 6vw) 64px; max-width: 1100px; margin: 0 auto; }

.js .ch { height: calc(var(--len, 200) * 1vh); }
.l110 { --len: 110; } .l130 { --len: 130; } .l150 { --len: 150; } .l210 { --len: 210; }
.l220 { --len: 220; } .l240 { --len: 240; } .l260 { --len: 260; } .l320 { --len: 320; }
.js .ch__sticky {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--head-h) + 24px) max(var(--gutter), 6vw) 48px;
  pointer-events: none;
}
.ch__panel { width: min(520px, 40vw); pointer-events: auto; }
.ch--hero .ch__panel { width: min(580px, 42vw); }
.ch--hero .h1 { font-size: clamp(36px, 4.1vw, 62px); }

.kicker { font: 500 15px/1.3 var(--text); color: var(--ice); margin-bottom: 14px; letter-spacing: 0.01em; }
.h1 {
  font: 600 clamp(38px, 4.9vw, 74px)/1.02 var(--display);
  letter-spacing: -0.022em;
  text-wrap: balance;
}
.h2 {
  font: 600 clamp(32px, 3.5vw, 54px)/1.04 var(--display);
  letter-spacing: -0.018em;
  text-wrap: balance;
}
.lead { margin-top: 18px; max-width: 34em; color: var(--frost-2); font-size: clamp(16px, 1.25vw, 19px); line-height: 1.5; }
.where { margin-top: 26px; display: grid; gap: 4px; color: var(--haze); font-size: 15px; }
.where b { color: var(--frost-2); font-weight: 500; }

/* шаги (скол): та же «линейка сегментов», что у ходовых огней */
.steps { margin-top: 24px; display: grid; gap: 10px; }
.steps li { display: grid; grid-template-columns: 26px 1fr; align-items: center; gap: 12px; color: var(--haze); font-size: 15px; transition: color 0.25s; }
.steps li::before { content: ""; width: 26px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.14); transition: background-color 0.25s, box-shadow 0.25s; }
.steps li.on { color: var(--frost); }
.steps li.on::before { background: var(--ice); box-shadow: 0 0 10px rgba(99, 199, 255, 0.8); }

/* тонировка: крупная цифра и шкала */
.tint { margin-top: 26px; }
.tint__now { display: flex; align-items: baseline; gap: 14px; }
.tint__num { font: 600 clamp(72px, 9vw, 150px)/0.9 var(--display); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; color: var(--frost); }
.tint__cap { color: var(--haze); font-size: 15px; line-height: 1.3; }
.tint__note { color: var(--frost-2); }
.tint__scale { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-top: 18px; max-width: 420px; }
.tint__scale li { padding-top: 10px; border-top: 4px solid rgba(255, 255, 255, 0.14); color: var(--haze); font-size: 14px; font-variant-numeric: tabular-nums; transition: border-color 0.25s, color 0.25s; }
.tint__scale li.on { border-color: var(--ice); color: var(--frost); }
.tint__scale li.past { border-color: rgba(99, 199, 255, 0.4); }

/* СТО */
.sto-list { margin-top: 20px; display: grid; gap: 8px; color: var(--frost-2); }
.sto-list li { padding-left: 18px; position: relative; }
.sto-list li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 2px; background: var(--ice); }

/* контакты */
.contacts { display: grid; gap: 18px; margin-top: 22px; }
.contacts dt { color: var(--haze); font-size: 14px; margin-bottom: 4px; }
.contacts dd { font-size: 17px; }
.contacts a { text-decoration: none; border-bottom: 1px solid var(--rule-strong); }
.contacts a:hover { border-color: var(--ice); }
.contacts .big { font: 600 clamp(24px, 2vw, 30px)/1.1 var(--display); font-variant-numeric: tabular-nums; border: 0; }

/* шторка «до/после» — обычный блок в потоке, закрывает сцену */
.compare { position: relative; z-index: 2; background: var(--night); padding: 120px max(var(--gutter), 6vw) 110px; }
.compare__head { max-width: 1100px; margin: 0 auto 28px; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 32px; }
.compare__frame { position: relative; max-width: 1280px; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: var(--night-2); touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.compare__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.compare__after { clip-path: inset(0 0 0 var(--cut, 50%)); }
.compare__line { position: absolute; top: 0; bottom: 0; left: var(--cut, 50%); width: 2px; margin-left: -1px; background: var(--led); box-shadow: 0 0 14px rgba(99, 199, 255, 0.9); pointer-events: none; }
.compare__knob { position: absolute; top: 50%; left: var(--cut, 50%); width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: var(--night); border: 2px solid var(--led); box-shadow: 0 0 18px rgba(99, 199, 255, 0.6); pointer-events: none; display: grid; place-items: center; }
.compare__knob svg { width: 22px; height: 22px; }
.compare__tag { position: absolute; top: 14px; padding: 6px 10px; border-radius: 6px; background: rgba(5, 8, 13, 0.72); font-size: 14px; }
.compare__tag--l { left: 14px; }
.compare__tag--r { right: 14px; }
.compare__frame { cursor: ew-resize; }
.compare input[type="range"] { position: absolute; left: 50%; bottom: 0; width: 1px; height: 1px; margin: 0; padding: 0; opacity: 0; }
.compare input[type="range"]:focus-visible + .compare__knob { outline: 3px solid var(--ice); outline-offset: 3px; }

/* ---------- подвал ---------- */
.foot { position: relative; z-index: 2; background: var(--night); border-top: 1px solid var(--rule); padding: 56px max(var(--gutter), 6vw) calc(48px + var(--dock-h)); }
.foot__in { max-width: 1100px; margin: 0 auto; display: grid; gap: 28px; grid-template-columns: 1fr 1.15fr 1fr 1fr; }
.foot .foot__h { margin-bottom: 8px; color: var(--frost-2); font-weight: 500; }
.foot__logo { width: 112px; }
.foot__logo svg { display: block; width: 132.7%; height: auto; margin-left: -16.4%; }
.foot p, .foot li { color: var(--haze); font-size: 14px; line-height: 1.6; }
.foot a { text-decoration: none; border-bottom: 1px solid var(--rule); }
.foot a:hover { border-color: var(--ice); color: var(--frost); }

/* ---------- прогресс по сценам (ПК) ---------- */
.rail { position: fixed; right: max(18px, 1.6vw); top: 50%; z-index: 20; transform: translateY(-50%); display: none; }
.js .rail { display: block; }
.rail ol { display: grid; gap: 7px; }
.rail a { position: relative; display: block; width: 4px; height: 24px; border-radius: 2px; background: rgba(255, 255, 255, 0.16); transition: background-color 0.25s, box-shadow 0.25s; }
.rail a.on { background: var(--ice); box-shadow: 0 0 10px rgba(99, 199, 255, 0.85); }
.rail a.past { background: rgba(99, 199, 255, 0.42); }
.rail a span { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); white-space: nowrap; font-size: 13px; color: var(--frost-2); opacity: 0; transition: opacity 0.2s; pointer-events: none; }
.rail a:hover span, .rail a:focus-visible span { opacity: 1; }

/* ---------- нижняя панель (телефон) ---------- */
.dock { display: none; }

/* ---------- загрузка: пока горят фары, интерфейс спрятан ---------- */
.js .ch__panel { opacity: var(--fade, 1); }
.top, .dock, .rail { transition: opacity 0.6s; }
.is-booting .top, .is-booting .dock, .is-booting .rail, .is-booting .ch--hero .ch__panel { opacity: 0; }
.is-reveal .ch--hero .ch__panel { transition: opacity 0.8s 0.9s; }   /* после заставки текст проявляется, когда машина уже едет */

/* =================== телефон / портрет =================== */
@media (max-aspect-ratio: 9/10) {
  :root { --dock-h: calc(62px + env(safe-area-inset-bottom)); --head-h: 56px; }
  body { font-size: 16px; }
  .top { gap: 12px; }
  .top__logo { width: 88px; }
  .top__phone { display: none; }
  .top .btn--small { min-height: 38px; font-size: 14px; padding: 0 14px; }
  .top__menu { min-height: 38px; padding: 0 12px; font-size: 14px; gap: 8px; }
  .menu__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; }
  .menu__grid span { margin-top: 7px; padding-top: 8px; font-size: 14px; }
  .menu__head { margin-bottom: 16px; }
  .menu__foot { margin-top: 22px; }
  .menu__foot .btn { flex: 1 1 140px; min-height: 48px; font-size: 16px; padding: 0 14px; }
  .menu__addr { margin-left: 0; width: 100%; text-align: left; }
  .stage__shade { background: linear-gradient(180deg, rgba(5, 8, 13, 0) 0%, rgba(5, 8, 13, 0) 44%, rgba(5, 8, 13, 0.6) 56%, var(--night) 66%); }
  .stage__shade--hero { background: linear-gradient(180deg, rgba(5, 8, 13, 0.82) 0%, rgba(5, 8, 13, 0.62) 34%, rgba(5, 8, 13, 0.12) 50%, rgba(5, 8, 13, 0) 56%, rgba(5, 8, 13, 0) 86%, rgba(5, 8, 13, 0.7) 100%); }
  .ch--hero .h1 { font-size: clamp(30px, 8.6vw, 40px); }
  .js .ch__sticky { align-items: flex-end; padding: calc(var(--head-h) + 12px) var(--gutter) calc(var(--dock-h) + 18px); }
  .ch__panel, .ch--hero .ch__panel { width: 100%; }
  .js .ch--hero .ch__sticky { align-items: flex-start; padding-top: calc(var(--head-h) + 22px); }
  .h1 { font-size: clamp(32px, 9vw, 44px); }
  .h2 { font-size: clamp(27px, 7.4vw, 36px); }
  .lead { margin-top: 12px; font-size: 16px; }
  .actions { margin-top: 18px; gap: 10px; }
  .actions .btn { flex: 1 1 140px; min-height: 48px; font-size: 16px; padding: 0 14px; }
  .where { margin-top: 18px; font-size: 14px; }
  .steps { margin-top: 16px; gap: 8px; }
  .tint { margin-top: 16px; }
  .tint__num { font-size: clamp(64px, 20vw, 96px); }
  .tint__scale { margin-top: 12px; }
  .contacts { gap: 12px; margin-top: 14px; }
  .compare { padding: 88px var(--gutter) 72px; }
  .compare__frame { border-radius: 10px; }
  .foot__in { grid-template-columns: 1fr; }
  .foot__map ul { columns: 2; column-gap: 16px; }
  .rail { display: none !important; }
  .dock {
    display: grid; grid-template-columns: repeat(3, 1fr);
    position: fixed; inset: auto 0 0 0; z-index: 30;
    height: var(--dock-h); padding-bottom: env(safe-area-inset-bottom);
    background: rgba(5, 8, 13, 0.94); border-top: 1px solid var(--rule);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  }
  .dock a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; text-decoration: none; font: 500 13px/1 var(--text); color: var(--frost-2); }
  .dock a svg { width: 22px; height: 22px; color: var(--ice); }
  .dock a:active { background: rgba(99, 199, 255, 0.08); }
}

@media (max-width: 380px) {
  .top__menu-txt { display: none; }
  .actions .btn { flex-basis: 120px; }
  .tint__scale li { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .btn, .steps li, .steps li::before, .tint__scale li, .rail a, .stage__shade, .menu__grid img, .menu__grid span, .menu__grid span::before { transition: none; }
  .menu.is-open .menu__in::before { animation: none; }
}

/* ---------- уведомление о cookie ---------- */
.cookie {
  position: fixed; z-index: 40; left: 50%; bottom: calc(16px + var(--dock-h));
  transform: translateX(-50%);
  width: max-content; max-width: calc(100% - 2 * var(--gutter));
  display: flex; align-items: center; gap: 14px;
  padding: 12px 12px 12px 18px;
  background: rgba(8, 12, 18, 0.95); border: 1px solid var(--rule-strong); border-radius: 12px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
}
.cookie[hidden] { display: none; }
.cookie p { color: var(--frost-2); font-size: 13px; line-height: 1.45; }
.cookie a { color: var(--frost); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--rule-strong); }
.cookie a:hover { text-decoration-color: var(--ice); }
.cookie .btn { flex: none; }
.is-menu .cookie { display: none; }
.ns-px { position: absolute; left: -9999px; }
@media (max-aspect-ratio: 9/10) {
  .cookie { bottom: calc(10px + var(--dock-h)); padding: 10px 10px 10px 14px; gap: 10px; }
  .cookie p { font-size: 12.5px; }
  .cookie .btn { min-height: 38px; padding: 0 14px; font-size: 14px; }
}

/* ---------- политика конфиденциальности ---------- */
.doc__main { max-width: 760px; margin: 0 auto; padding: calc(var(--head-h) + 40px) max(var(--gutter), 6vw) 80px; }
.doc__main .h1 { font-size: clamp(32px, 4.4vw, 52px); }
.doc__date { margin-top: 14px; color: var(--haze); font-size: 15px; }
.doc__main h2 { margin-top: 40px; font: 600 22px/1.25 var(--display); color: var(--frost); }
.doc__main p, .doc__main li { margin-top: 12px; color: var(--frost-2); font-size: 16px; line-height: 1.6; }
.doc__main ul { margin-top: 4px; padding-left: 1.2em; list-style: disc; }
.doc__main li { margin-top: 6px; }
.doc__main a { color: var(--frost); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--rule-strong); }
.doc__main a:hover { text-decoration-color: var(--ice); }
.doc .top { background: rgba(5, 8, 13, 0.92); }

/* ---------- страница 404 ---------- */
.nf .top { background: none; }
.nf__main { min-height: 100vh; min-height: 100svh; display: grid; align-content: center; max-width: 960px; padding: calc(var(--head-h) + 32px) max(var(--gutter), 6vw) 64px; }
.nf__main .lead { max-width: 30em; }
