/* ═══════════════════════════════════════════════════════════════
   ФОНОГРАФ · v3
   Метафора: сайт — осциллограф. Скролл = время записи.
   ═══════════════════════════════════════════════════════════════ */

/* ── Шрифты ─────────────────────────────────────────────────── */
@font-face { font-family: "Unbounded"; src: url("assets/unbounded-700.ttf") format("truetype"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("assets/manrope-400.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("assets/manrope-500.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("assets/manrope-700.ttf") format("truetype"); font-weight: 600 700; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("assets/manrope-800.ttf") format("truetype"); font-weight: 800 900; font-display: swap; }

/* ── Токены ─────────────────────────────────────────────────── */
:root {
  --ink:    #08080B;
  --ink-2:  #101017;
  --bone:   #EDE8DE;
  --bone-2: #E1DACB;
  --hot:    #F3324B;
  --violet: #7B61FF;
  --live:   #A9E86B;

  --font-display: "Unbounded", "Manrope", "Segoe UI", system-ui, sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, monospace;

  --gut: clamp(20px, 4.4vw, 72px);
  --rad: 22px;
  --rad-sm: 12px;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  --z-head: 60;
  --z-grain: 9500;
  --z-boot: 9800;
}

/* ── Темы секций ────────────────────────────────────────────── */
/* --hot     — акцент для плашек, линий и графики (контраст не критичен);
   --hot-text — тот же акцент, но пригодный для ТЕКСТА на фоне темы (AA). */
[data-theme="ink"] {
  --bg: var(--ink);
  --fg: var(--bone);
  --dim: rgba(237, 232, 222, .58);
  --edge: rgba(237, 232, 222, .13);
  --edge-2: rgba(237, 232, 222, .06);
  --acc: var(--hot);
  --hot-text: var(--hot);
  --raise: rgba(237, 232, 222, .04);
}
[data-theme="bone"] {
  --bg: var(--bone);
  --fg: var(--ink);
  --dim: rgba(8, 8, 11, .62);
  --edge: rgba(8, 8, 11, .16);
  --edge-2: rgba(8, 8, 11, .07);
  --acc: var(--hot);
  --hot-text: #C4122C;
  --raise: rgba(8, 8, 11, .035);
}
[data-theme="hot"] {
  --bg: var(--hot);
  --fg: #14060A;
  /* .88 — минимум, при котором текст на красном проходит AA (4,7:1) */
  --dim: rgba(20, 6, 10, .88);
  --edge: rgba(20, 6, 10, .22);
  --edge-2: rgba(20, 6, 10, .1);
  --acc: #14060A;
  --hot-text: #14060A;
  --raise: rgba(255, 255, 255, .14);
}

/* ── База ───────────────────────────────────────────────────── */
* { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--bg);
}
html.js-lock { overflow: hidden; }

body {
  font-family: var(--font-body);
  font-size: clamp(15px, .55vw + 13px, 18px);
  line-height: 1.62;
  font-weight: 400;
  background: var(--bg);
  color: var(--fg);
  overflow-x: hidden;
  transition: background-color .6s var(--ease), color .6s var(--ease);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
code { font-family: var(--font-mono); font-size: .88em; }
b, strong { font-weight: 700; }
ul, ol { list-style: none; }

::selection { background: var(--hot); color: #fff; }

:focus-visible {
  outline: 2px solid var(--acc);
  outline-offset: 4px;
  border-radius: 4px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 9999;
  padding: 12px 18px; border-radius: 999px;
  background: var(--hot); color: #14060A; font-weight: 700;
  transform: translateY(-160%);
  transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }

.shell {
  width: min(1680px, 100%);
  margin-inline: auto;
  padding-inline: var(--gut);
}

/* ── Типографика ────────────────────────────────────────────── */
.h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 5vw, 72px);
  line-height: .94;
  letter-spacing: -.045em;
  text-transform: uppercase;
  text-wrap: balance;
}
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(18px, 1.15vw + 12px, 25px);
  line-height: 1.14;
  letter-spacing: -.03em;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--dim);
  margin-bottom: clamp(18px, 2vw, 30px);
}
.eyebrow span {
  display: grid; place-items: center;
  min-width: 30px; height: 22px; padding-inline: 7px;
  border: 1px solid var(--edge); border-radius: 999px;
  font-size: 11px; letter-spacing: .1em; color: var(--fg);
}
.sec-head { margin-bottom: clamp(40px, 5vw, 88px); }
.sec-head-split {
  display: grid; gap: clamp(24px, 3vw, 60px);
  grid-template-columns: minmax(0, 1fr) minmax(220px, 340px);
  align-items: end;
}
.sec-lead {
  font-size: clamp(16px, .6vw + 14px, 20px);
  color: var(--dim);
  max-width: 46ch;
  padding-bottom: .4em;
}

/* ── Общие секции ───────────────────────────────────────────── */
section {
  position: relative;
  background: var(--bg);
  color: var(--fg);
}
.who-for, .features, .product, .steps, .privacy,
.rules, .qa, .trouble, .get, .donate {
  padding-block: clamp(84px, 11vw, 190px);
}

/* ═══════════════  ПРЕЛОАДЕР  ═══════════════ */
.boot {
  position: fixed; inset: 0; z-index: var(--z-boot);
  display: grid; place-items: center;
  background: var(--ink); color: var(--bone);
  clip-path: inset(0 0 0 0);
  transition: clip-path 1s var(--ease);
}
.boot.is-done { clip-path: inset(0 0 100% 0); pointer-events: none; }
.boot-inner { width: min(440px, 78vw); text-align: left; }
.boot-wave {
  display: flex; align-items: flex-end; gap: 3px;
  height: 56px; margin-bottom: 26px;
}
.boot-wave i {
  flex: 1; min-width: 2px; height: 8%;
  background: var(--bone); border-radius: 2px;
  transform-origin: bottom;
  animation: bootBar 1.1s var(--ease-io) infinite alternate;
}
@keyframes bootBar { to { height: 100%; } }
.boot-row {
  display: flex; align-items: baseline; justify-content: space-between;
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: .18em; text-transform: uppercase;
  opacity: .62;
}
.boot-num { font-family: var(--font-display); font-size: 30px; letter-spacing: -.04em; opacity: 1; }
.boot-bar { margin-top: 14px; height: 2px; background: rgba(237, 232, 222, .16); overflow: hidden; }
.boot-bar i { display: block; height: 100%; width: 0; background: var(--hot); }

/* ═══════════════  ЗЕРНО  ═══════════════ */
.grain {
  position: fixed; inset: -120px; z-index: var(--z-grain);
  pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 7s steps(6) infinite;
}
@keyframes grainShift {
  0%   { transform: translate(0, 0); }
  16%  { transform: translate(-14px, 8px); }
  33%  { transform: translate(10px, -12px); }
  50%  { transform: translate(-8px, -6px); }
  66%  { transform: translate(14px, 10px); }
  83%  { transform: translate(-12px, 4px); }
  100% { transform: translate(0, 0); }
}

/* ═══════════════  ПОЛОСА ПРОКРУТКИ  ═══════════════ */
.scroll-rail {
  position: fixed; top: 0; left: 0; right: 0; height: 2px;
  z-index: calc(var(--z-head) + 2); pointer-events: none;
  background: var(--edge-2);
}
.scroll-rail i {
  display: block; height: 100%; width: 100%;
  background: var(--hot);
  transform: scaleX(0); transform-origin: left;
}

/* ═══════════════  ШАПКА  ═══════════════ */
.head {
  position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-head);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: clamp(14px, 1.6vw, 26px) var(--gut);
  color: var(--fg);
  transition: transform .5s var(--ease), color .5s var(--ease), background-color .5s var(--ease);
}
.head::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  opacity: 0; transition: opacity .45s var(--ease);
  border-bottom: 1px solid var(--edge-2);
}
body.is-scrolled .head::before { opacity: 1; }
body.head-hidden .head { transform: translateY(-115%); }

.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo-mark { display: flex; align-items: center; gap: 2.5px; height: 22px; }
.logo-mark i {
  width: 2.5px; border-radius: 2px; background: currentColor;
  animation: logoBar 1.5s var(--ease-io) infinite alternate;
}
.logo-mark i:nth-child(1) { height: 34%; animation-delay: 0s; }
.logo-mark i:nth-child(2) { height: 68%; animation-delay: .12s; }
.logo-mark i:nth-child(3) { height: 100%; animation-delay: .24s; background: var(--hot); }
.logo-mark i:nth-child(4) { height: 58%; animation-delay: .36s; }
.logo-mark i:nth-child(5) { height: 26%; animation-delay: .48s; }
@keyframes logoBar { to { transform: scaleY(.32); } }
.logo-word {
  font-family: var(--font-display); font-weight: 700;
  font-size: 17px; letter-spacing: -.05em; text-transform: lowercase;
}

.nav { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 30px); }
.nav > a:not(.nav-cta) {
  position: relative; overflow: hidden;
  font-size: 14px; font-weight: 600; letter-spacing: -.01em;
  height: 1.4em; display: block;
}
.nav > a:not(.nav-cta) span { display: block; transition: transform .4s var(--ease); }
.nav > a:not(.nav-cta) span::after {
  content: attr(data-txt); position: absolute; left: 0; top: 100%;
  color: var(--hot-text);
}
.nav > a:not(.nav-cta):hover span { transform: translateY(-100%); }

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px;
  background: var(--fg); color: var(--bg);
  font-size: 14px; font-weight: 700;
  transition: background-color .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
}
.nav-cta b { transition: transform .35s var(--ease); }
.nav-cta:hover { background: var(--hot); color: #14060A; }
.nav-cta:hover b { transform: translateY(3px); }

.burger {
  display: none; width: 44px; height: 44px; margin-right: -10px;
  place-items: center; gap: 6px;
}
.burger span {
  display: block; width: 22px; height: 2px; background: currentColor;
  transition: transform .4s var(--ease), opacity .3s var(--ease);
}
.burger span + span { margin-top: 6px; }
body.nav-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
body.nav-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ═══════════════  КНОПКИ  ═══════════════ */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 17px 30px; border-radius: 999px;
  font-size: 15px; font-weight: 700; letter-spacing: -.01em;
  transition: color .4s var(--ease), border-color .4s var(--ease);
  isolation: isolate;
}
.btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform .55s var(--ease);
}
.btn:hover::before { transform: translateY(0); }

.btn-hot { background: var(--hot); color: #14060A; }
.btn-hot::before { background: var(--fg); }
.btn-hot:hover { color: var(--bg); }
.btn-hot svg { transition: transform .4s var(--ease); }
.btn-hot:hover svg { transform: translateY(3px); }

.btn-line { border: 1px solid var(--edge); color: var(--fg); }
.btn-line::before { background: var(--fg); }
.btn-line:hover { color: var(--bg); border-color: var(--fg); }

/* ═══════════════  ГЕРОЙ + ПЛЕЕР  ═══════════════
   Секция закреплена: прокрутка внутри .hero-track = позиция в записи. */
.hero { position: relative; }
.hero-track { height: 240vh; }
/* Плеер со всем текстом не влез в окно (низкий телефон) — экран не закрепляем,
   запись проигрывается сама. Класс ставит JS после замера. */
.hero.is-loose .hero-track { height: auto; }
.hero.is-loose .hero-stage { position: static; height: auto; min-height: 100svh; }
.hero-stage {
  position: sticky; top: 0;
  height: 100svh;
  display: flex; flex-direction: column;
  padding: clamp(84px, 10vh, 124px) 0 clamp(16px, 2.4vh, 30px);
  overflow: hidden;
}
.hero-scope {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 0; opacity: .9;
}
/* Волна живёт в верхней трети экрана; ниже — сплошная заливка,
   чтобы линии не лезли на заголовок и текст. */
.hero-veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(to bottom,
      var(--ink) 0%,
      rgba(8, 8, 11, .55) 9%,
      rgba(8, 8, 11, .3) 20%,
      rgba(8, 8, 11, .82) 40%,
      var(--ink) 52%),
    radial-gradient(90% 62% at 50% 8%, transparent 0%, var(--ink) 88%);
}
.hero-grid {
  position: relative; z-index: 2;
  width: min(1720px, 100%); margin-inline: auto;
  padding-inline: var(--gut);
  flex: 1; min-height: 0;
  display: flex; flex-direction: column; gap: clamp(10px, 1.1vw, 18px);
}

.badge {
  display: inline-flex; align-items: center; gap: 10px; width: fit-content;
  padding: 9px 18px 9px 14px; border-radius: 999px;
  border: 1px solid var(--edge);
  background: rgba(237, 232, 222, .04);
  backdrop-filter: blur(8px);
  font-size: 12.5px; font-weight: 600; letter-spacing: .02em;
  color: var(--dim);
}
.pulse {
  width: 7px; height: 7px; border-radius: 999px; background: var(--live);
  box-shadow: 0 0 0 0 rgba(169, 232, 107, .55);
  animation: pulse 2.2s var(--ease-io) infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(169, 232, 107, .5); }
  70%  { box-shadow: 0 0 0 11px rgba(169, 232, 107, 0); }
  100% { box-shadow: 0 0 0 0 rgba(169, 232, 107, 0); }
}

.hero-h1 {
  font-family: var(--font-display); font-weight: 700;
  /* 8.2vw: самое длинное слово («расшифровка» — 10,2 em после
     побуквенной разбивки) должно влезать в контейнер на любой ширине. */
  font-size: clamp(26px, 8.2vw, 140px);
  line-height: .84;
  letter-spacing: -.055em;
  text-transform: uppercase;
  margin: clamp(4px, .8vw, 12px) 0 clamp(6px, 1vw, 16px);
}
.hero-h1 em { font-style: normal; color: var(--hot); }
.hero-h1 .line { display: block; }
.hero-h1 .word { display: inline-block; white-space: nowrap; }
.hero-h1 .ch {
  display: inline-block; vertical-align: top;
  overflow: hidden;
  padding-block: .2em; margin-block: -.2em;
}
.hero-h1 .ch > i {
  display: inline-block; font-style: inherit;
  transform: translateY(160%);
  transition: transform 1s var(--ease);
}
.hero-h1.is-in .ch > i { transform: none; }

/* Плеер занимает столько, сколько нужно тексту, и стоит по центру экрана. */
.hero-grid { justify-content: center; }
.hero-grid .deck,
.hero-grid .deck-body { flex: 0 1 auto; }

/* Второй логический экран героя: выезжает, когда запись доиграла. */
.hero-next {
  position: relative; z-index: 2;
  background: var(--bg);
  border-top: 1px solid var(--edge-2);
}
.hero-bottom {
  width: min(1720px, 100%); margin-inline: auto;
  padding: clamp(26px, 3.4vw, 52px) var(--gut) clamp(30px, 4vw, 62px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: clamp(16px, 2.4vw, 44px);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-stats {
  display: flex; flex-wrap: wrap; gap: clamp(18px, 2.6vw, 48px);
}
.hero-stats li { display: flex; flex-direction: column; gap: 2px; }
.hero-stats b {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(24px, 2.6vw, 44px); line-height: 1;
  letter-spacing: -.05em;
}
.hero-stats span { font-size: 12.5px; color: var(--dim); letter-spacing: .01em; }

.cue {
  position: relative; z-index: 2;
  align-self: center; margin-top: clamp(14px, 2.4vh, 32px);
  display: inline-flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--dim);
}
.cue i {
  width: 1px; height: 34px; background: var(--edge);
  position: relative; overflow: hidden;
}
.cue i::after {
  content: ""; position: absolute; left: 0; top: -50%;
  width: 100%; height: 50%; background: var(--hot);
  animation: cueRun 1.9s var(--ease-io) infinite;
}
@keyframes cueRun { to { top: 100%; } }

/* ═══════════════  ЛЕНТА ФОРМАТОВ  ═══════════════ */
.marquee {
  overflow: hidden; padding-block: clamp(16px, 2vw, 26px);
  border-block: 1px solid var(--edge-2);
}
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-row {
  display: flex; align-items: center; gap: clamp(18px, 2.4vw, 44px);
  padding-right: clamp(18px, 2.4vw, 44px);
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(19px, 2.4vw, 42px);
  letter-spacing: -.04em; text-transform: uppercase;
  white-space: nowrap;
}
.marquee-row i { font-style: normal; color: var(--hot); font-size: .5em; }

/* ═══════════════  ПЛЕЕР РАСШИФРОВКИ  ═══════════════ */
.deck {
  border: 1px solid var(--edge);
  border-radius: var(--rad);
  background: linear-gradient(180deg, rgba(21, 21, 26, .92), rgba(14, 14, 18, .92));
  overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 0; flex: 1;
  box-shadow: 0 40px 120px -50px rgba(0, 0, 0, .9);
}
.deck-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 13px clamp(14px, 1.6vw, 24px);
  border-bottom: 1px solid var(--edge-2);
  font-size: 12px; color: var(--dim);
}
.deck-file { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); }
.deck-file i {
  width: 8px; height: 8px; border-radius: 2px; background: var(--violet);
}
.deck-local { color: var(--live); font-weight: 700; letter-spacing: .05em; }

.deck-scope {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center;
  gap: clamp(12px, 1.4vw, 22px);
  padding: clamp(10px, 1.2vw, 18px) clamp(14px, 1.6vw, 24px);
  border-bottom: 1px solid var(--edge-2);
}
.deck-play {
  position: relative; display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 999px;
  background: var(--hot); color: #fff;
  transition: transform .35s var(--ease), background-color .35s var(--ease);
}
.deck-play:hover { transform: scale(1.08); }
.deck-play svg { position: absolute; width: 20px; height: 20px; fill: currentColor; stroke: currentColor; stroke-width: 2; stroke-linecap: round; transition: opacity .25s, transform .25s; }
.deck-play .i-pause { fill: none; opacity: 0; transform: scale(.6); }
.deck-play[aria-pressed="true"] .i-play { opacity: 0; transform: scale(.6); }
.deck-play[aria-pressed="true"] .i-pause { opacity: 1; transform: none; }
.deck-wave { width: 100%; height: clamp(46px, 6vh, 74px); }
.deck-time { font-family: var(--font-mono); font-size: 12px; color: var(--dim); white-space: nowrap; }
.deck-time b { color: var(--fg); font-weight: 500; }

.deck-body {
  display: grid; grid-template-columns: minmax(0, 1fr) 232px;
  min-height: 0; flex: 1;
}
/* Весь текст расшифровки виден сразу: никакой прокрутки внутри плеера,
   строки просто загораются по мере распознавания. */
.script-view {
  min-height: 0; min-width: 0; overflow: hidden;
  padding: clamp(10px, 1.2vw, 18px) clamp(14px, 1.8vw, 30px) clamp(12px, 1.4vw, 22px);
  display: flex; align-items: flex-start;
}
.script {
  width: 100%;
  display: flex; flex-direction: column;
  /* --fit ставит JS: чуть ужимает текст, если он не влезает в закреплённый
     экран. Так прокрутка остаётся «перемоткой записи» даже на телефоне. */
  gap: calc(clamp(6px, .9vh, 14px) * var(--fit, 1));
}
.cue-line {
  position: relative;
  display: grid; grid-template-columns: auto auto 1fr; align-items: baseline;
  gap: 6px 12px;
  padding: calc(4px * var(--fit, 1)) 0 calc(4px * var(--fit, 1)) 13px;
  border-left: 2px solid transparent;
  border-radius: 3px;
  transition: border-color .45s var(--ease), background-color .45s var(--ease);
}
.cue-line.is-live {
  border-left-color: var(--hot);
  background: linear-gradient(90deg, rgba(243, 50, 75, .1), transparent 62%);
}
.cue-line time {
  font-family: var(--font-mono); font-size: 11.5px; color: var(--hot);
  padding-top: .3em; opacity: .38;
  transition: opacity .4s var(--ease);
}
.cue-line.is-live time, .cue-line.is-past time { opacity: 1; }
.who {
  justify-self: start;
  font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 999px; white-space: nowrap;
  opacity: .34; transition: opacity .4s var(--ease);
}
.cue-line.is-live .who, .cue-line.is-past .who { opacity: 1; }
.who-1 { background: rgba(123, 97, 255, .18); color: #B8A8FF; }
.who-2 { background: rgba(243, 50, 75, .16); color: #FF8A96; }
.cue-line p {
  font-size: calc(clamp(13.5px, .62vw + 11px, 19px) * var(--fit, 1));
  line-height: 1.42; letter-spacing: -.015em;
  grid-column: 3;
}
/* Нераспознанное — приглушённое, распознанное — в полную силу.
   .32 — компромисс: разница со «свежим» словом видна, но текст читается. */
.cue-line .w { opacity: .32; transition: opacity .3s var(--ease); }
.cue-line .w.on { opacity: 1; }

.deck-side {
  border-left: 1px solid var(--edge-2);
  padding: clamp(14px, 1.8vw, 26px);
  display: flex; flex-direction: column; gap: 18px;
  justify-content: center;
}
.deck-stat b {
  display: block;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(24px, 2vw, 38px); line-height: 1; letter-spacing: -.05em;
  font-variant-numeric: tabular-nums;
}
.deck-stat span { font-size: 11.5px; color: var(--dim); }
.deck-flags { display: flex; flex-direction: column; gap: 9px; padding-top: 4px; }
.flag { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--dim); }
.flag i {
  display: grid; place-items: center;
  width: 17px; height: 17px; border-radius: 5px;
  border: 1px solid var(--edge); flex: none;
}
.flag.is-on i { background: var(--hot); border-color: var(--hot); }
.flag.is-on i::after {
  content: ""; width: 8px; height: 4px;
  border: 2px solid #fff; border-top: 0; border-right: 0;
  transform: rotate(-45deg) translate(1px, -1px);
}
.deck-model {
  margin-top: auto; padding-top: 12px; border-top: 1px solid var(--edge-2);
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em;
  color: var(--dim); text-transform: uppercase;
}

.deck-foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px;
  padding: 11px clamp(14px, 1.6vw, 24px);
  border-top: 1px solid var(--edge-2);
  font-size: 11px; color: var(--dim); letter-spacing: .02em;
}
.deck-demo {
  margin-left: auto;
  padding: 3px 10px; border-radius: 999px; border: 1px solid var(--edge);
  font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: 9.5px;
}

/* ═══════════════  03 · КОМУ  ═══════════════ */
.who-list { margin-top: clamp(30px, 4vw, 60px); border-top: 1px solid var(--edge); }
.who-list li {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 54px minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center; gap: 16px;
  padding: clamp(18px, 2.2vw, 34px) 0;
  border-bottom: 1px solid var(--edge);
  transition: padding-left .5s var(--ease), color .4s var(--ease);
  cursor: default;
}
.who-list li::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ink); transform: translateY(101%);
  transition: transform .55s var(--ease);
}
.who-list li::after {
  content: attr(data-word);
  position: absolute; right: -.06em; top: 50%; z-index: 0;
  transform: translate(14%, -50%);
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(40px, 6.4vw, 104px); line-height: 1; letter-spacing: -.05em;
  color: var(--hot);
  opacity: 0; pointer-events: none;
  transition: opacity .5s var(--ease), transform .7s var(--ease);
}
.who-list li:hover { padding-left: clamp(14px, 2vw, 34px); color: var(--bone); }
.who-list li:hover::before { transform: translateY(0); }
.who-list li:hover::after { opacity: .95; transform: translate(0, -50%); }
.who-n {
  position: relative; z-index: 1;
  font-family: var(--font-mono); font-size: 12px; color: var(--dim);
  transition: color .4s var(--ease);
}
.who-list li:hover .who-n { color: var(--hot); }
.who-name {
  position: relative; z-index: 1;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(20px, 2.4vw, 40px); line-height: 1.02;
  letter-spacing: -.045em; text-transform: uppercase;
}
.who-desc {
  position: relative; z-index: 1;
  font-size: clamp(13px, .5vw + 12px, 16px); color: var(--dim);
  transition: color .4s var(--ease);
}
.who-list li:hover .who-desc { color: rgba(237, 232, 222, .68); }
.who-tail {
  margin-top: clamp(26px, 3vw, 44px);
  max-width: 68ch; color: var(--dim);
  font-size: clamp(15px, .55vw + 13px, 18px);
}

/* ═══════════════  04 · БЕНТО  ═══════════════ */
.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(10px, 1vw, 18px);
}
.tile {
  position: relative; overflow: hidden; isolation: isolate;
  grid-column: span 4;
  min-height: 250px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  padding: clamp(18px, 1.8vw, 30px);
  border: 1px solid var(--edge);
  border-radius: var(--rad);
  background: var(--raise);
  transition: transform .55s var(--ease), border-color .45s var(--ease), background-color .45s var(--ease);
}
.tile::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  opacity: 0; transition: opacity .45s var(--ease);
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%),
              color-mix(in srgb, var(--hot) 18%, transparent), transparent 70%);
}
.tile:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--hot) 50%, var(--edge)); }
.tile:hover::before { opacity: 1; }

.tile-hero { grid-column: span 7; min-height: 340px; }
.tile-tall { grid-column: span 5; grid-row: span 2; }
.tile-wide { grid-column: span 5; }
.tile-dark {
  grid-column: span 12; min-height: 210px;
  flex-direction: row; align-items: center; gap: clamp(24px, 4vw, 70px);
  background: var(--ink); color: var(--bone); border-color: transparent;
}
.tile-dark .tile-txt { max-width: 52ch; }
.tile-dark .tile-txt .tile-n, .tile-dark .tile-txt p { color: rgba(237, 232, 222, .58); }

.tile-n {
  display: block; margin-bottom: 10px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em;
  color: var(--dim);
}
.tile-txt h3 { margin-bottom: 9px; }
.tile-txt p { font-size: clamp(13.5px, .4vw + 12px, 15.5px); color: var(--dim); line-height: 1.55; max-width: 46ch; }

/* мини-визуалы плиток */
.tile-art { position: relative; }
.art-dictate {
  display: flex; align-items: center; gap: 18px;
  flex: 1; min-height: 120px;
}
.art-dictate .mic {
  display: grid; place-items: center; flex: none;
  width: 54px; height: 54px; border-radius: 999px;
  background: var(--hot);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--hot) 45%, transparent);
  animation: pulseHot 2.4s var(--ease-io) infinite;
}
@keyframes pulseHot {
  0%   { box-shadow: 0 0 0 0 color-mix(in srgb, var(--hot) 45%, transparent); }
  70%  { box-shadow: 0 0 0 22px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
.art-dictate .mic i {
  width: 11px; height: 18px; border-radius: 999px; background: #fff;
  box-shadow: 0 12px 0 -6px #fff;
}
.art-dictate .bars { display: flex; align-items: center; gap: 4px; height: 66px; flex: 1; }
.art-dictate .bars i {
  flex: 1; min-width: 3px; border-radius: 3px;
  background: currentColor; opacity: .34;
  animation: artBar 1.4s var(--ease-io) infinite alternate;
}
.art-dictate .bars i:nth-child(odd) { animation-duration: 1.1s; }
.art-dictate .bars i:nth-child(3n) { animation-duration: 1.7s; opacity: .6; }
.art-dictate .bars i:nth-child(1) { height: 30%; animation-delay: .0s; }
.art-dictate .bars i:nth-child(2) { height: 62%; animation-delay: .08s; }
.art-dictate .bars i:nth-child(3) { height: 100%; animation-delay: .16s; }
.art-dictate .bars i:nth-child(4) { height: 46%; animation-delay: .24s; }
.art-dictate .bars i:nth-child(5) { height: 78%; animation-delay: .32s; }
.art-dictate .bars i:nth-child(6) { height: 34%; animation-delay: .4s; }
.art-dictate .bars i:nth-child(7) { height: 88%; animation-delay: .48s; }
.art-dictate .bars i:nth-child(8) { height: 52%; animation-delay: .56s; }
.art-dictate .bars i:nth-child(9) { height: 70%; animation-delay: .64s; }
.art-dictate .bars i:nth-child(10) { height: 38%; animation-delay: .72s; }
.art-dictate .bars i:nth-child(11) { height: 92%; animation-delay: .8s; }
.art-dictate .bars i:nth-child(12) { height: 44%; animation-delay: .88s; }
@keyframes artBar { to { transform: scaleY(.3); } }

.art-formats {
  display: flex; flex-wrap: wrap; gap: 7px; align-content: flex-start;
  flex: 1;
}
.art-formats span {
  padding: 7px 13px; border-radius: 999px;
  border: 1px solid var(--edge);
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .04em;
  color: var(--dim);
  transition: border-color .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
}
.tile:hover .art-formats span:nth-child(3n) { border-color: var(--hot); color: var(--hot-text); transform: translateY(-2px); }

.art-speakers { display: flex; align-items: center; gap: 10px; min-height: 66px; }
.art-speakers .sp {
  display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 999px;
  font-family: var(--font-display); font-size: 14px;
  transition: transform .45s var(--ease);
}
.art-speakers .sp-1 { background: rgba(123, 97, 255, .18); color: #4B33C7; }
.art-speakers .sp-2 { background: rgba(243, 50, 75, .15); color: #C4122C; margin-left: 22px; }
.tile:hover .art-speakers .sp-2 { transform: translateX(8px); }

.art-clock { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-height: 66px; }
.art-clock .tc {
  font-family: var(--font-mono); font-size: 13px;
  padding: 4px 10px; border-radius: 6px;
  background: var(--edge-2); color: var(--dim);
  transition: background-color .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
}
.art-clock .tc.is-hit { background: var(--hot); color: #14060A; }
.tile:hover .art-clock .tc.is-hit { transform: translateX(10px); }

.art-editor { display: flex; flex-wrap: wrap; gap: 6px; min-height: 66px; align-content: flex-start; }
.art-editor .tool {
  padding: 7px 12px; border-radius: 8px;
  border: 1px solid var(--edge); font-size: 12px; font-weight: 700; color: var(--dim);
}
.art-editor .tool.i { font-style: italic; }
.art-editor .tool.u { text-decoration: underline; }

.art-export { display: flex; flex-wrap: wrap; gap: 7px; min-height: 66px; align-content: flex-start; }
.art-export span {
  padding: 8px 13px; border-radius: 8px;
  background: var(--edge-2);
  font-family: var(--font-mono); font-size: 11.5px; color: var(--dim);
  transition: transform .4s var(--ease), background-color .4s var(--ease), color .4s var(--ease);
}
.tile:hover .art-export span { background: var(--hot); color: #14060A; }
.tile:hover .art-export span:nth-child(2) { transition-delay: .05s; }
.tile:hover .art-export span:nth-child(3) { transition-delay: .1s; }
.tile:hover .art-export span:nth-child(4) { transition-delay: .15s; }

.art-folders { display: flex; flex-direction: column; gap: 6px; min-height: 66px; }
.art-folders b {
  position: relative; padding: 7px 12px 7px 30px; border-radius: 8px;
  background: var(--edge-2); font-size: 12.5px; font-weight: 600; color: var(--dim);
  transition: transform .4s var(--ease);
}
.art-folders b::before {
  content: ""; position: absolute; left: 11px; top: 50%; transform: translateY(-50%);
  width: 12px; height: 9px; border-radius: 2px;
  border: 1.5px solid currentColor; border-top-width: 3px;
}
.tile:hover .art-folders b:nth-child(2) { transform: translateX(7px); }
.tile:hover .art-folders b:nth-child(3) { transform: translateX(14px); }

.art-shield {
  position: relative; display: grid; place-items: center;
  width: 148px; height: 148px; flex: none;
}
.art-shield .ring {
  position: absolute; inset: 0; border-radius: 999px;
  border: 1px solid rgba(237, 232, 222, .18);
  animation: ringOut 3.4s var(--ease-io) infinite;
}
.art-shield .ring:nth-child(2) { animation-delay: 1.7s; }
@keyframes ringOut {
  0%   { transform: scale(.55); opacity: 0; }
  35%  { opacity: 1; }
  100% { transform: scale(1.1); opacity: 0; }
}
.art-shield b {
  display: grid; place-items: center;
  width: 96px; height: 96px; border-radius: 999px;
  background: var(--hot); color: #fff;
  font-family: var(--font-display); font-size: 20px; letter-spacing: -.04em; line-height: .9;
}
.art-shield b i { display: block; font-style: normal; font-size: 11px; letter-spacing: .3em; opacity: .8; }

.feat-note {
  margin-top: clamp(26px, 3vw, 46px);
  max-width: 74ch; color: var(--dim);
  padding-left: clamp(14px, 1.6vw, 24px);
  border-left: 2px solid var(--hot);
}
.feat-note b { color: var(--fg); }

/* ═══════════════  05 · ПРИЛОЖЕНИЕ  ═══════════════ */
.shots { perspective: 1600px; }
.shot-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(18px, 2vw, 30px); }
.shot-tab {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 20px; border-radius: 999px;
  border: 1px solid var(--edge);
  font-size: 13.5px; font-weight: 600; color: var(--dim);
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.shot-tab span { font-family: var(--font-mono); font-size: 10.5px; opacity: .6; }
.shot-tab:hover { color: var(--fg); border-color: var(--fg); }
.shot-tab.is-on { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.shot-tab.is-on span { opacity: .55; }

.shot-frame {
  position: relative;
  border-radius: var(--rad); overflow: hidden;
  border: 1px solid var(--edge);
  background: var(--ink-2);
  transform-style: preserve-3d;
  transition: transform .5s var(--ease);
  will-change: transform;
}
.shot-glow {
  position: absolute; inset: -1px; z-index: 2; pointer-events: none;
  background: radial-gradient(700px circle at var(--mx, 50%) var(--my, 0%),
              rgba(243, 50, 75, .16), transparent 60%);
  opacity: 0; transition: opacity .5s var(--ease);
}
.shot-frame:hover .shot-glow { opacity: 1; }
.shot-chrome {
  display: flex; align-items: center; gap: 7px;
  padding: 12px 16px; border-bottom: 1px solid var(--edge-2);
}
.shot-chrome i { width: 9px; height: 9px; border-radius: 999px; background: var(--edge); }
.shot-chrome i:first-child { background: var(--hot); }
.shot-chrome span {
  margin-left: auto;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .22em; color: var(--dim);
}
.shot-img { width: 100%; transition: opacity .35s var(--ease); }
.shot-img.is-swap { opacity: 0; }
.shot-frame figcaption {
  padding: 14px 18px; border-top: 1px solid var(--edge-2);
  font-size: 12.5px; color: var(--dim);
}

/* ═══════════════  06 · ТРИ ШАГА  ═══════════════ */
.steps .eyebrow span { border-color: var(--edge); }
.step-rail {
  display: grid; gap: clamp(12px, 1.4vw, 22px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.step {
  position: relative;
  padding: clamp(24px, 2.6vw, 42px);
  border-radius: var(--rad);
  background: var(--raise);
  border: 1px solid var(--edge);
  transition: transform .5s var(--ease), background-color .4s var(--ease);
}
.step:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .22); }
.step-n {
  display: block; margin-bottom: clamp(30px, 4vw, 64px);
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(44px, 6vw, 96px); line-height: .8; letter-spacing: -.06em;
  color: var(--acc); opacity: .22;
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--dim); font-size: clamp(14px, .45vw + 12px, 16px); max-width: 34ch; }
.step-arrow {
  position: absolute; top: clamp(22px, 2.6vw, 40px); right: clamp(22px, 2.6vw, 40px);
  font-style: normal; font-size: 22px; opacity: .35;
  transition: transform .5s var(--ease), opacity .4s var(--ease);
}
.step:hover .step-arrow { transform: translateX(6px); opacity: 1; }

/* ═══════════════  07 · ПРИВАТНОСТЬ  ═══════════════ */
.privacy { overflow: hidden; }
.privacy-word {
  position: absolute; inset: 0; z-index: 0;
  display: grid; place-items: center; pointer-events: none;
  overflow: hidden;
}
.privacy-word span {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(90px, 22vw, 380px); line-height: 1; letter-spacing: -.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(237, 232, 222, .12);
  white-space: nowrap;
  will-change: transform;
}
.privacy-grid {
  position: relative; z-index: 1;
  display: grid; gap: clamp(32px, 5vw, 90px);
  grid-template-columns: minmax(0, 1.5fr) minmax(0, .5fr);
  align-items: center;
}
.privacy-copy > p { margin-top: 20px; color: var(--dim); max-width: 50ch; }
.privacy-list { margin-top: clamp(24px, 3vw, 38px); display: grid; gap: 2px; }
.privacy-list li {
  display: flex; align-items: center; gap: 16px;
  padding: 15px 0; border-top: 1px solid var(--edge-2);
  font-size: clamp(14px, .45vw + 12px, 17px); font-weight: 600;
}
.privacy-list li:last-child { border-bottom: 1px solid var(--edge-2); }
.privacy-list span { font-family: var(--font-mono); font-size: 11px; color: var(--hot); }

.privacy-orb { position: relative; display: grid; place-items: center; aspect-ratio: 1; max-width: 420px; margin-inline: auto; width: 100%; }
.orb-ring {
  position: absolute; inset: 0; border-radius: 999px;
  border: 1px solid var(--edge);
  animation: orbOut 5s var(--ease-io) infinite;
}
.orb-ring:nth-child(2) { animation-delay: 1.66s; }
.orb-ring:nth-child(3) { animation-delay: 3.33s; }
@keyframes orbOut {
  0%   { transform: scale(.42); opacity: 0; }
  22%  { opacity: 1; }
  100% { transform: scale(1); opacity: 0; }
}
.orb-core {
  display: grid; place-items: center;
  width: 46%; aspect-ratio: 1; border-radius: 999px;
  background: var(--hot); color: #fff;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(20px, 2.6vw, 40px); letter-spacing: -.04em; line-height: .9;
  box-shadow: 0 30px 90px -30px var(--hot);
}
.orb-core i { display: block; font-style: normal; font-size: .36em; letter-spacing: .34em; opacity: .82; }

/* ═══════════════  АККОРДЕОНЫ  ═══════════════ */
.acc { border-top: 1px solid var(--edge); }
.acc-two { columns: 2; column-gap: clamp(20px, 3vw, 56px); }
.acc-two .acc-item { break-inside: avoid; }
.acc-item { border-bottom: 1px solid var(--edge); }
.acc-item summary {
  position: relative;
  display: flex; align-items: center; gap: clamp(12px, 1.4vw, 22px);
  padding: clamp(16px, 1.8vw, 26px) 44px clamp(16px, 1.8vw, 26px) 0;
  cursor: pointer; list-style: none;
  transition: color .35s var(--ease), padding-left .45s var(--ease);
}
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary:hover { color: var(--hot-text); padding-left: 10px; }
.acc-n { font-family: var(--font-mono); font-size: 12px; color: var(--dim); flex: none; }
.acc-item summary b {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(15px, .8vw + 11px, 23px); line-height: 1.2; letter-spacing: -.03em;
}
.acc-item summary i {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 15px; height: 15px; flex: none;
}
.acc-item summary i::before, .acc-item summary i::after {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 15px; height: 1.5px; background: currentColor;
  transition: transform .4s var(--ease);
}
.acc-item summary i::after { transform: rotate(90deg); }
.acc-item[open] summary i::after { transform: rotate(0); }
.acc-item[open] summary { color: var(--hot-text); }
.acc-body {
  padding: 0 clamp(0px, 4vw, 90px) clamp(20px, 2.2vw, 32px) 0;
  color: var(--dim);
  font-size: clamp(14px, .45vw + 12.5px, 16.5px);
  animation: accIn .5s var(--ease);
}
@keyframes accIn { from { opacity: 0; transform: translateY(-6px); } }
.acc-body ul, .acc-body ol { display: grid; gap: 10px; }
.acc-body > ul > li, .acc-body > ol > li { position: relative; padding-left: 26px; }
.acc-body > ul > li::before {
  content: ""; position: absolute; left: 4px; top: .68em;
  width: 6px; height: 6px; border-radius: 999px; background: var(--hot);
}
.acc-body > ol { counter-reset: acc; }
.acc-body > ol > li::before {
  counter-increment: acc; content: counter(acc);
  position: absolute; left: 0; top: 0;
  font-family: var(--font-mono); font-size: 11px; color: var(--hot-text); padding-top: .3em;
}
.acc-body ul ul { margin-top: 10px; padding-left: 4px; }
.acc-body ul ul li { position: relative; padding-left: 20px; }
.acc-body ul ul li::before {
  content: "—"; position: absolute; left: 0; top: 0; color: var(--hot);
}
.acc-body b { color: var(--fg); }
.acc-body code {
  padding: 2px 7px; border-radius: 5px;
  background: var(--edge-2); color: var(--fg);
}
.acc-note {
  margin-top: 16px; padding: 13px 18px;
  border-radius: var(--rad-sm);
  background: var(--edge-2);
  font-size: .94em;
}
.acc-hot summary b { color: var(--hot-text); }

.acc-qa .acc-item summary { padding-right: 50px; }

/* ═══════════════  11 · СКАЧАТЬ  ═══════════════ */
.get { overflow: hidden; }
.get-marquee {
  position: absolute; top: clamp(22px, 3vw, 46px); left: 0; right: 0;
  display: flex; width: max-content;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(30px, 5vw, 78px); letter-spacing: -.05em;
  color: transparent; -webkit-text-stroke: 1px rgba(20, 6, 10, .28);
  white-space: nowrap; pointer-events: none;
  animation: getRun 26s linear infinite;
}
@keyframes getRun { to { transform: translateX(-50%); } }
.get-grid {
  position: relative; z-index: 1;
  display: grid; gap: clamp(28px, 4vw, 70px);
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  align-items: center;
  margin-top: clamp(48px, 7vw, 110px);
}
.get-copy > p { margin-top: 20px; max-width: 44ch; font-size: clamp(15px, .5vw + 13px, 18px); }
.get-facts { margin-top: clamp(22px, 2.6vw, 34px); display: grid; gap: 11px; }
.get-facts li { position: relative; padding-left: 30px; font-weight: 600; font-size: clamp(14px, .4vw + 12px, 16px); }
.get-facts li::before {
  content: ""; position: absolute; left: 4px; top: .52em;
  width: 9px; height: 5px; border: 2px solid currentColor; border-top: 0; border-right: 0;
  transform: rotate(-45deg);
}
/* Логотип тёмный — на красном он тонет, поэтому кладём его на костяную плашку. */
.get-logo {
  margin-top: clamp(26px, 3vw, 44px);
  width: clamp(150px, 17vw, 224px);
  padding: 16px 20px;
  border-radius: var(--rad);
  background: var(--bone);
  box-shadow: 0 24px 60px -30px rgba(20, 6, 10, .5);
}

.get-panel {
  padding: clamp(20px, 2.4vw, 34px);
  border-radius: var(--rad);
  background: #14060A; color: var(--bone);
  box-shadow: 0 40px 100px -40px rgba(20, 6, 10, .6);
}
.get-meta {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 18px; margin-bottom: 8px;
  border-bottom: 1px solid rgba(237, 232, 222, .14);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(237, 232, 222, .55);
}
.get-meta b { color: var(--hot); }
.get-opt {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px;
  padding: clamp(16px, 1.8vw, 22px) 4px;
  border-bottom: 1px solid rgba(237, 232, 222, .1);
  transition: padding-left .45s var(--ease);
}
.get-opt:hover { padding-left: 14px; }
.get-ic {
  display: grid; place-items: center; flex: none;
  width: 44px; height: 44px; border-radius: 999px;
  background: rgba(237, 232, 222, .08); font-size: 17px;
  transition: background-color .4s var(--ease), color .4s var(--ease), transform .4s var(--ease);
}
.get-opt:hover .get-ic { background: var(--hot); color: #fff; transform: translateY(3px); }
.get-txt b { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(14px, .5vw + 11px, 18px); letter-spacing: -.03em; }
.get-txt small { display: block; margin-top: 3px; font-size: 12px; color: rgba(237, 232, 222, .52); }
.get-opt i { font-style: normal; opacity: .4; transition: transform .4s var(--ease), opacity .4s var(--ease); }
.get-opt:hover i { transform: translate(3px, -3px); opacity: 1; }
.get-hint {
  margin-top: 18px; font-size: 12px; letter-spacing: .04em;
  color: rgba(237, 232, 222, .5);
}

/* ═══════════════  12 · ДОНАТЫ  ═══════════════ */
.don-grid {
  display: grid; gap: clamp(12px, 1.4vw, 20px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.don-card {
  display: flex; flex-direction: column; gap: 16px;
  padding: clamp(20px, 2.2vw, 30px);
  border: 1px solid var(--edge); border-radius: var(--rad);
  background: var(--raise);
  transition: border-color .4s var(--ease), transform .5s var(--ease);
}
.don-card:hover { border-color: color-mix(in srgb, var(--hot) 55%, var(--edge)); transform: translateY(-4px); }
.don-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
/* Светлая плашка: логотип СБП тёмный и на чернильном фоне пропадает. */
.don-logo {
  display: grid; place-items: center; flex: none;
  width: 42px; height: 42px; border-radius: 12px;
  background: rgba(237, 232, 222, .92);
}
.don-logo img { width: 26px; height: 26px; object-fit: contain; }
.don-head h3 { font-size: clamp(16px, .8vw + 12px, 21px); }
.don-net {
  margin-left: auto;
  padding: 4px 10px; border-radius: 999px; border: 1px solid var(--edge);
  font-size: 10.5px; letter-spacing: .04em; color: var(--dim); white-space: nowrap;
}
.don-qr {
  align-self: flex-start;
  padding: 10px; border-radius: var(--rad-sm); background: #fff;
}
.don-qr img { width: 132px; height: 132px; }
.don-addr {
  display: block; padding: 11px 13px; border-radius: var(--rad-sm);
  background: var(--edge-2);
  font-size: 11.5px; word-break: break-all; line-height: 1.5;
}
.don-copy, .don-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 20px; border-radius: 999px;
  font-size: 13.5px; font-weight: 700;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.don-copy svg, .don-btn svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.don-copy { border: 1px solid var(--edge); color: var(--fg); }
.don-copy:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.don-copy.is-done { background: var(--live); color: #0B1A05; border-color: var(--live); }
.don-btn { background: var(--hot); color: #14060A; }
.don-btn:hover { background: var(--fg); color: var(--bg); }
.don-warn {
  margin-top: auto; padding-top: 4px;
  font-size: 11.5px; color: var(--dim); line-height: 1.5;
}
.don-warn b { color: var(--hot); }
.don-sbp { border-color: color-mix(in srgb, var(--hot) 34%, var(--edge)); }
.don-thanks {
  margin-top: clamp(26px, 3vw, 42px); text-align: center;
  color: var(--dim); font-size: 14px; letter-spacing: .02em;
}

/* ═══════════════  ПОДВАЛ  ═══════════════ */
.foot {
  position: relative; overflow: hidden;
  background: var(--bg); color: var(--fg);
  padding-top: clamp(60px, 8vw, 120px);
  border-top: 1px solid var(--edge-2);
}
.foot-top {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px;
  padding-bottom: clamp(40px, 5vw, 76px);
}
.foot-claim {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(24px, 3.4vw, 56px); line-height: .98;
  letter-spacing: -.05em; text-transform: uppercase;
}
.foot-up {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 1px solid var(--edge);
  font-size: 14px; font-weight: 700;
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.foot-up:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.foot-up i { font-style: normal; transition: transform .4s var(--ease); }
.foot-up:hover i { transform: translateY(-4px); }

.foot-cols {
  display: grid; gap: clamp(24px, 3vw, 46px);
  grid-template-columns: repeat(3, auto) minmax(240px, 1fr);
  padding-bottom: clamp(40px, 5vw, 80px);
  border-top: 1px solid var(--edge-2);
  padding-top: clamp(30px, 3.4vw, 50px);
}
.foot-cols nav { display: flex; flex-direction: column; gap: 9px; }
.foot-cols nav span {
  margin-bottom: 5px;
  font-size: 10.5px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase;
  color: var(--dim);
}
.foot-cols nav a {
  font-size: 14px; color: var(--dim);
  transition: color .3s var(--ease), transform .3s var(--ease);
}
.foot-cols nav a:hover { color: var(--hot); transform: translateX(4px); }
.foot-about { font-size: 13px; color: var(--dim); line-height: 1.65; max-width: 56ch; }

.foot-word {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(48px, 13vw, 260px); line-height: .78;
  letter-spacing: -.055em; text-align: center; white-space: nowrap;
  color: var(--fg); opacity: .09;
  margin-bottom: -.16em; pointer-events: none; user-select: none;
}
.foot-bottom {
  position: relative;
  display: flex; flex-wrap: wrap; gap: 10px 30px; justify-content: space-between;
  padding-block: clamp(20px, 2.2vw, 30px);
  border-top: 1px solid var(--edge-2);
  font-size: 12px; color: var(--dim);
}
.foot-bottom a { color: var(--fg); border-bottom: 1px solid var(--edge); }
.foot-bottom a:hover { color: var(--hot); border-color: var(--hot); }

/* ═══════════════  ЛАЙТБОКС  ═══════════════ */
.lb {
  position: fixed; inset: 0; z-index: 8000;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center; gap: clamp(6px, 2vw, 26px);
  padding: clamp(52px, 7vw, 90px) clamp(10px, 3vw, 40px);
  background: rgba(6, 6, 9, .94);
  backdrop-filter: blur(10px);
  animation: lbIn .35s var(--ease);
}
.lb[hidden] { display: none; }
@keyframes lbIn { from { opacity: 0; } }
.lb-stage { display: grid; place-items: center; max-height: 100%; }
.lb-stage img {
  max-width: 100%; max-height: calc(100svh - 170px);
  border-radius: 14px; border: 1px solid rgba(237, 232, 222, .16);
  object-fit: contain;
}
.lb-close, .lb-arrow {
  display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 999px;
  border: 1px solid rgba(237, 232, 222, .2);
  color: var(--bone); font-size: 26px; line-height: 1;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.lb-close:hover, .lb-arrow:hover { background: var(--bone); color: var(--ink); }
.lb-close { position: absolute; top: clamp(14px, 2vw, 26px); right: clamp(14px, 3vw, 30px); font-size: 24px; }
.lb-foot {
  position: absolute; left: 0; right: 0; bottom: clamp(16px, 2.4vw, 30px);
  text-align: center;
  font-family: var(--font-mono); font-size: 12px; color: rgba(237, 232, 222, .6);
}

/* ═══════════════  ТОСТ  ═══════════════ */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 8500;
  transform: translate(-50%, 130%);
  padding: 13px 24px; border-radius: 999px;
  background: var(--bone); color: var(--ink);
  font-size: 13.5px; font-weight: 700;
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .6);
  opacity: 0; pointer-events: none;
  transition: transform .5s var(--ease), opacity .4s var(--ease);
}
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }

/* ═══════════════  АНИМАЦИИ ПОЯВЛЕНИЯ  ═══════════════ */
[data-anim] { opacity: 0; transition: opacity .8s var(--ease), transform .9s var(--ease); }
[data-anim="fade"] { transform: translateY(18px); }
[data-anim="rise"] { transform: translateY(34px); }
[data-anim].is-in { opacity: 1; transform: none; }
[data-delay="1"] { transition-delay: .06s; }
[data-delay="4"] { transition-delay: .5s; }
[data-delay="5"] { transition-delay: .58s; }
[data-delay="6"] { transition-delay: .66s; }
[data-delay="7"] { transition-delay: .74s; }

/* ═══════════════  АДАПТИВ  ═══════════════ */
@media (max-width: 1180px) {
  .sec-head-split { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .sec-lead { max-width: 60ch; }
  .deck-body { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; }
  .deck-side {
    border-left: 0; border-top: 1px solid var(--edge-2);
    flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px 22px;
    padding: 10px clamp(14px, 1.6vw, 24px);
  }
  .deck-stat b { font-size: clamp(20px, 2vw, 26px); }
  .deck-flags { flex-direction: row; gap: 16px; padding-top: 0; }
  .flag { font-size: 11.5px; }
  .deck-model { display: none; }
  .privacy-grid { grid-template-columns: minmax(0, 1fr); }
  .privacy-orb { order: -1; max-width: 300px; }
  .get-grid { grid-template-columns: minmax(0, 1fr); }
  .foot-cols { grid-template-columns: repeat(3, 1fr); }
  .foot-about { grid-column: 1 / -1; }
}

@media (max-width: 1000px) {
  .hero-bottom { align-items: flex-start; }
  .tile, .tile-hero, .tile-tall, .tile-wide, .tile-dark { grid-column: span 6; grid-row: auto; }
  .tile-dark { flex-direction: column; align-items: flex-start; }
  .who-list li { grid-template-columns: 40px minmax(0, 1fr); }
  .who-desc { grid-column: 2; }
  .step-rail { grid-template-columns: minmax(0, 1fr); }
  .don-grid { grid-template-columns: minmax(0, 1fr); }
  .acc-two { columns: 1; }
}

@media (max-width: 860px) {
  .nav {
    position: fixed; inset: 0; z-index: 50;
    flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 6px;
    padding: 100px var(--gut) 60px;
    background: var(--ink); color: var(--bone);
    clip-path: inset(0 0 100% 0);
    transition: clip-path .7s var(--ease);
  }
  body.nav-open .nav { clip-path: inset(0 0 0 0); }
  body.nav-open { overflow: hidden; }
  .nav > a:not(.nav-cta) {
    height: auto; font-family: var(--font-display); font-weight: 700;
    font-size: clamp(26px, 8vw, 46px); letter-spacing: -.05em; text-transform: uppercase;
    padding-block: 6px;
  }
  .nav > a:not(.nav-cta) span::after { display: none; }
  .nav > a:not(.nav-cta):hover span { transform: none; color: var(--hot); }
  .nav-cta { margin-top: 22px; background: var(--hot); color: #14060A; padding: 15px 26px; font-size: 16px; }
  .burger { display: grid; z-index: 55; }
  body.nav-open .head { color: var(--bone); }

  .hero-track { height: 230vh; }
  .hero-stage { padding-top: 78px; }
  .cue-line { grid-template-columns: auto 1fr; }
  .cue-line p { grid-column: 1 / -1; }
  .deck-scope { grid-template-columns: auto 1fr; padding-block: 10px; }
  .deck-time { grid-column: 2; text-align: right; }
  .deck-bar { padding-block: 9px; font-size: 11px; }
  .deck-file { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .deck-local { white-space: nowrap; }
  .deck-local-long { display: none; }
  .deck-side { padding: 10px 16px; gap: 8px 18px; }
  .deck-model { display: none; }
  .deck-flags { gap: 14px; }
  .flag { font-size: 11px; }
  .flag i { width: 15px; height: 15px; }
  .deck-stat b { font-size: 20px; }
  .deck-stat span { font-size: 10.5px; }
  .deck-foot { padding-block: 9px; justify-content: flex-end; }
  .deck-foot span:not(.deck-demo) { display: none; }
  .tile, .tile-hero, .tile-tall, .tile-wide, .tile-dark { grid-column: span 12; }
  .tile { min-height: 0; }
  .foot-cols { grid-template-columns: repeat(2, 1fr); }
  .lb { grid-template-columns: minmax(0, 1fr); }
  .lb-arrow { position: absolute; bottom: 18px; }
  .lb-prev { left: 22px; }
  .lb-next { right: 22px; }
}

@media (max-width: 560px) {
  /* На телефоне высота на вес золота: подсказку убираем,
     факты сжимаем в одну строку — всё ради окна расшифровки. */
  .hero-stage { padding-top: 70px; }
  .cue { display: none; }
  .hero-bottom { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 10px; }
  .hero-stats { gap: 8px 16px; }
  .hero-stats li { flex: 1 1 auto; }
  .hero-stats b { font-size: 18px; }
  .hero-stats span { font-size: 10px; }
  .hero-cta { width: 100%; gap: 10px; }
  .hero-cta .btn { width: 100%; justify-content: center; padding: 14px 22px; font-size: 14px; }
  .deck-wave { height: 40px; }
  /* Весь текст расшифровки обязан поместиться в окно плеера целиком. */
  .script-view { padding: 8px 14px 10px; }
  .script { gap: 5px; }
  .cue-line { padding: 2px 0 2px 10px; gap: 3px 8px; }
  .cue-line p { font-size: calc(13.5px * var(--fit, 1)); line-height: 1.38; }
  .deck-scope { padding-block: 8px; }
  .deck-wave { height: 36px; }
  .deck-stat b { font-size: 20px; }
  /* колонка 1 — номер, колонка 2 — название и описание друг под другом */
  .who-list li { grid-template-columns: 28px minmax(0, 1fr); gap: 4px 10px; }
  .who-n { font-size: 11px; align-self: start; padding-top: .25em; }
  .who-list li::after { font-size: clamp(34px, 15vw, 70px); opacity: 0 !important; }
  .deck-foot .deck-demo { margin-left: 0; }
  .acc-body { padding-right: 0; }
  .foot-cols { grid-template-columns: 1fr; }
  .don-qr img { width: 120px; height: 120px; }
}

/* Невысокие окна: первый экран должен помещаться целиком. */
@media (min-width: 561px) and (max-height: 900px) {
  .cue { flex-direction: row; align-items: center; gap: 10px; margin-top: 8px; }
  .cue i { width: 36px; height: 1px; }
  .cue i::after { top: 0; left: -55%; width: 55%; height: 100%; animation-name: cueRunX; }
}
@keyframes cueRunX { to { left: 100%; } }

@media (min-width: 561px) and (max-height: 940px) {
  .hero-stage { padding-top: clamp(76px, 9vh, 100px); }
  .script-view { padding-block: clamp(10px, 1.1vw, 16px); }
  .deck-scope { padding-block: 9px; }
  .deck-bar, .deck-foot { padding-block: 8px; }
  .hero-bottom { margin-top: clamp(12px, 1.4vw, 20px); }
  .hero-stats b { font-size: clamp(21px, 2vw, 32px); }
  .cue { margin-top: 10px; }
}
@media (min-width: 561px) and (max-height: 800px) {
  .cue { display: none; }
  .hero-stage { padding-top: clamp(70px, 8.5vh, 88px); }
  .hero-h1 { margin-block: 4px; }
  .hero-grid { gap: 9px; }
  .cue-line p { font-size: calc(clamp(14px, .62vw + 9px, 17px) * var(--fit, 1)); }
  .hero-bottom { margin-top: 10px; }
}

/* Низкие окна (ноутбуки 1366×768 и подобные): отдаём высоту расшифровке. */
@media (min-width: 861px) and (max-height: 800px) {
  .deck-scope { padding-block: 8px; }
  .deck-bar, .deck-foot { padding-block: 8px; }
}

@media (hover: none) {
  .who-list li:hover { padding-left: 0; }
  .who-list li:hover::before { transform: translateY(101%); }
  .who-list li:hover::after { opacity: 0; }
}

/* ═══════════════  ДОСТУПНОСТЬ  ═══════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .grain { display: none; }
  [data-anim] { opacity: 1; transform: none; }
  .hero-h1 .ch > i { transform: none; }
  .cue-line { opacity: 1; transform: none; }
  .cue-line .w { opacity: 1; }
  .hero-track { height: auto; }
  .hero-stage { position: static; height: auto; }
  .privacy-word { display: none; }
}

@media print {
  .head, .cue, .grain, .scroll-rail, .boot, .marquee, .lb, .toast { display: none !important; }
  .hero-track { height: auto; }
  .hero-stage { position: static; height: auto; }
  body { background: #fff; color: #000; }
}
