/* Pickser v2: светлый лендинг. Только transform/opacity в анимациях (исключение: clip-path в ползунке). */

/* Тема (16.11.2026). Тёмная — «графит», как у Apple: не чистый чёрный (на #000 белый текст
   дрожит и расплывается), а #161618; карточки на шаг светлее фона.
    Цвета заданы парами light-dark(светлая, тёмная): браузер берёт
   нужную по color-scheme. По умолчанию — как в системе; переключатель в шапке
   ставит data-theme на <html> и запоминает выбор (скрипт в <head> до отрисовки). */
:root {
  color-scheme: light dark;
  --bg: light-dark(#fff, #161618);
  --surface: light-dark(#fff, #1f1f22);
  --ink: light-dark(#000, #f5f5f7);
  --on-ink: light-dark(#fff, #161618);
  --ink-2: light-dark(#6e6e73, #a1a1a6);
  --ink-3: light-dark(#a1a1a6, #6e6e73);
  --line: light-dark(#e8e8ed, #313136);
  --soft: light-dark(#f5f5f7, #1b1b1e);
  --soft-2: light-dark(#ececef, #26262a);
  --hl: light-dark(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.07));
  --pink: #ff2e93;
  --pink-bg: light-dark(#fff0f7, #26262c);
  --violet: light-dark(#7a3cff, #a27bff);
  --grad: linear-gradient(135deg, #7a3cff 0%, #ff2e93 100%);
  --ok: light-dark(#168a4a, #3ad07f);
  --ok-bg: light-dark(#e8f6ee, rgba(58, 208, 127, 0.14));
  --bad: light-dark(#d92d20, #ff6b5e);
  --bad-bg: light-dark(#fdecea, rgba(255, 107, 94, 0.14));
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", Inter, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.4, 0.64, 1);
  --pad: clamp(16px, 4vw, 48px);
  --max: 1280px;
  --nav-h: 76px;
}
:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  /* лёгкая сетка, как у образца */
  background-image:
    linear-gradient(to right, rgba(0, 0, 0, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
}

[hidden] { display: none !important; }
img, video, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }

button, a, [role="button"], [role="tab"], summary {
  touch-action: manipulation;
}
button, [role="tab"], .chip-btn, .btn, summary {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip {
  position: fixed; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--on-ink); padding: 10px 16px; border-radius: 999px;
  text-decoration: none; transition: transform 0.2s var(--ease);
}
.skip:focus { transform: translateY(72px); }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }

/* ---------- типографика ---------- */
.mono {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--ink-2);
}

.display {
  font-weight: 500;
  font-size: clamp(2.5rem, 7.2vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}
.h2 {
  font-weight: 500;
  font-size: clamp(2.125rem, 5.6vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}
.h3 {
  font-weight: 500;
  font-size: clamp(1.625rem, 3vw, 2.5rem);
  line-height: 1;
  letter-spacing: -0.05em;
}
.lead {
  font-weight: 300;
  font-size: clamp(1.1875rem, 1.9vw, 1.5rem);
  line-height: 1.3;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.muted { color: var(--ink-3); }
.body { color: var(--ink-2); font-size: 16px; line-height: 1.5; letter-spacing: -0.01em; }

.sec { position: relative; padding-block: clamp(72px, 12vw, 160px); }
.sec-head { max-width: 860px; margin-bottom: clamp(32px, 6vw, 72px); }
.sec-head .lead { margin-top: 20px; color: var(--ink-2); max-width: 36em; }
.sec-head--center { text-align: center; margin-inline: auto; }
.sec-head--center .lead { margin-inline: auto; }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 500; font-size: 16px; letter-spacing: -0.02em; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform 0.12s ease-out, background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn:active { transform: scale(0.96); }
.btn--dark { background: var(--ink); color: var(--on-ink); }
.btn--line { background: color-mix(in srgb, var(--bg) 70%, transparent); border-color: var(--line); color: var(--ink); }
.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn--grad { background: var(--grad); color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .btn--dark:hover { background: color-mix(in srgb, var(--ink) 86%, var(--bg)); }
  .btn--line:hover { border-color: var(--ink); }
}

/* ---------- шапка ----------
   Наверху страницы — обычная полоса на всю ширину. Как только начинается
   прокрутка (.is-stuck, js/main.js), полоса сжимается в отдельное стеклянное
   окно-капсулу поверх сайта: по краям логотип и значок App Store.
   Ширину капсулы считает скрипт (--pill-w: логотип + ссылки + значок), потому
   что «по содержимому» (max-content) плавно анимировать нельзя, а пиксели —
   можно. Стекло = сильное размытие + насыщенность под ним, светлая кромка
   сверху (свет на грани материала) и мягкая тень, чтобы капсула «висела». */
.nav {
  --ease-morph: cubic-bezier(0.32, 0.72, 0, 1);
  position: fixed; z-index: 50;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; height: calc(64px + env(safe-area-inset-top, 0px));
  /* справа место под отдельную плашку языка (.lang: 40 px + 12 px) */
  padding: env(safe-area-inset-top, 0px) calc(var(--pad) + 52px) 0 var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  border-radius: 0;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid transparent;
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  transition:
    width 0.55s var(--ease-morph), top 0.55s var(--ease-morph), left 0.55s var(--ease-morph),
    height 0.55s var(--ease-morph), padding 0.55s var(--ease-morph),
    border-radius 0.55s var(--ease-morph), background 0.4s, border-color 0.4s, box-shadow 0.4s;
}
.nav.is-stuck {
  top: calc(12px + env(safe-area-inset-top, 0px));
  /* капсула + 8 px + плашка языка (40 px) стоят по центру вместе: сдвиг
     на половину (40 + 8) влево */
  left: calc(50% - 24px);
  width: min(var(--pill-w, 720px), calc(100% - 80px)); height: 62px;
  /* 62 px высоты: над и под значком (40 px) по 10 px — четверть его
     высоты, свободное поле по правилам Apple. Справа 18 px: прямые углы
     значка у круглого края капсулы иначе выглядят прижатыми. */
  padding: 0 18px 0 26px;
  /* 20 px: прямоугольник с мягкими углами, а не капсула (решил Алексей
     30.10). Конкретное число, а не 999px: с огромным радиусом переход от
     прямых углов к круглым случается рывком в самом начале анимации. */
  border-radius: 20px;
  /* сплошной полупрозрачный цвет, а не градиент: градиент не анимируется и
     переключился бы рывком посреди плавного сжатия */
  background: color-mix(in srgb, var(--bg) 76%, transparent);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  backdrop-filter: blur(24px) saturate(190%);
  border-color: color-mix(in srgb, var(--bg) 70%, transparent);
  box-shadow:
    inset 0 1px 0 var(--hl),
    inset 0 -1px 0 rgba(0, 0, 0, 0.04),
    0 0 0 0.5px rgba(0, 0, 0, 0.1),
    0 12px 36px rgba(0, 0, 0, 0.12);
}
@media (prefers-reduced-motion: reduce) {
  .nav { transition: background 0.2s, border-color 0.2s, box-shadow 0.2s; }
}
/* Язык — отдельная маленькая чёрная плашка (.lang) в обёртке .lang-wrap.
   Наверху стоит в полосе справа, при прокрутке переезжает вплотную справа от
   капсулы (8 px). Меню — дочерний элемент обёртки, поэтому едет вместе с ней. */
.lang-wrap {
  position: fixed; z-index: 51;
  top: calc(env(safe-area-inset-top, 0px) + 16px);
  left: calc(100% - var(--pad) - 40px);
  width: 40px; height: 32px;
  transition: left 0.55s cubic-bezier(0.32, 0.72, 0, 1), top 0.55s cubic-bezier(0.32, 0.72, 0, 1);
}
.nav.is-stuck + .lang-wrap {
  top: calc(12px + env(safe-area-inset-top, 0px) + 15px);
  left: calc(50% - 24px + min(var(--pill-w, 720px), calc(100% - 80px)) / 2 + 8px);
}
.lang {
  width: 100%; height: 100%; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ink); color: var(--on-ink); border: 0; cursor: pointer; padding: 0;
  font: 600 12px/1 var(--font); letter-spacing: 0.04em;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.14);
  transition: transform 0.12s ease-out;
}
.lang:active { transform: scale(0.94); }
.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 1;
  min-width: 152px; margin: 0; padding: 6px; list-style: none;
  background: var(--ink); color: var(--on-ink); border-radius: 16px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28), 0 0 0 0.5px rgba(255, 255, 255, 0.12);
  opacity: 0; visibility: hidden; transform: translate3d(0, -6px, 0) scale(0.96); transform-origin: 100% 0;
  transition: opacity 0.18s ease, transform 0.3s var(--ease), visibility 0s 0.3s;
}
.lang-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; } /* мостик: наведение не теряется между плашкой и меню */
.lang-wrap.is-open .lang-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.lang-menu a {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 11px 14px; border-radius: 11px; color: var(--on-ink); text-decoration: none;
  font: 500 15px/1 var(--font); letter-spacing: -0.01em; transition: background-color 0.15s;
}
.lang-menu a[aria-current="true"] { background: color-mix(in srgb, var(--on-ink) 14%, transparent); }
.lang-menu a[aria-current="true"]::after { content: "\2713"; font-size: 13px; opacity: 0.9; }
.lang-menu a:active { background: color-mix(in srgb, var(--on-ink) 20%, transparent); }
.lang-menu a:focus-visible { outline: 2px solid var(--on-ink); outline-offset: -2px; }
@media (hover: hover) and (pointer: fine) { .lang-menu a:hover { background: color-mix(in srgb, var(--on-ink) 10%, transparent); } }
/* Переключатель темы — последняя строка меню языка (добавляет js/theme.js). */
.lang-menu__theme { margin-top: 6px; padding-top: 6px; border-top: 1px solid color-mix(in srgb, var(--on-ink) 14%, transparent); }
.theme-sw {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%;
  padding: 9px 10px 9px 14px; border: 0; border-radius: 11px; background: none; color: var(--on-ink); cursor: pointer;
  font: 500 15px/1 var(--font); letter-spacing: -0.01em; text-align: left; white-space: nowrap; transition: background-color 0.15s;
}
.theme-sw i { position: relative; flex: none; width: 36px; height: 22px; border-radius: 99px; background: color-mix(in srgb, var(--on-ink) 22%, transparent); transition: background-color 0.2s; }
.theme-sw i::after { content: ""; position: absolute; left: 2px; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--on-ink); transition: transform 0.25s var(--ease); }
.theme-sw[aria-checked="true"] i { background: var(--grad); }
.theme-sw[aria-checked="true"] i::after { transform: translateX(14px); background: #fff; }
.theme-sw:focus-visible { outline: 2px solid var(--on-ink); outline-offset: -2px; }
@media (hover: hover) and (pointer: fine) { .theme-sw:hover { background: color-mix(in srgb, var(--on-ink) 10%, transparent); } }
/* Логотип: белый на тёмном. theme.js меняет src, а это — чтобы не было
   мгновения с чёрным логотипом на чёрном фоне до запуска скрипта. */
:root[data-theme="dark"] img[src*="pickser-logo-black"] { content: url("/img/pickser-logo-white.png"); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) img[src*="pickser-logo-black"] { content: url("/img/pickser-logo-white.png"); } }
@media (prefers-reduced-motion: reduce) {
  .lang-wrap { transition: none; }
  .lang-menu { transform: none; transition: opacity 0.15s linear, visibility 0s 0.15s; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav, .nav.is-stuck { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
/* Официальный значок Apple «Загрузите в App Store» (img/app-store-badge-ru.svg,
   скачан с toolbox.marketingtools.apple.com) — без изменений, только размер:
   Apple запрещает перерисовывать и перекрашивать значок. */
.as-badge { display: inline-flex; border-radius: 9px; transition: transform 0.12s ease-out, opacity 0.2s; }
.as-badge img { display: block; height: 52px; width: auto; }
.as-badge--sm img { height: 40px; }
.as-badge:active { transform: scale(0.96); }
@media (hover: hover) and (pointer: fine) { .as-badge:hover { opacity: 0.82; } }
.nav__logo { display: flex; }
.nav__logo img { height: 18px; width: auto; }
.nav__links { display: flex; gap: 28px; font-size: 14px; font-weight: 500; letter-spacing: -0.01em; }
.nav__links a { text-decoration: none; color: light-dark(#3a3a3c, #d1d1d6); transition: color 0.2s; }
@media (hover: hover) and (pointer: fine) { .nav__links a:hover { color: var(--ink); } }
@media (max-width: 860px) { .nav__links { display: none; } }

/* ---------- рамка iPhone ---------- */
.phone {
  --w: 280px;
  position: relative; flex: none;
  width: min(var(--w), 100%); aspect-ratio: 1320 / 2868;
  /* 2.6 % ширины САМОГО телефона. Просто «2.6%» в padding считается от
     ширины родителя: в первом экране родитель — вся страница, и рамка
     раздувалась до огромных чёрных полей вокруг скрина. */
  padding: calc(min(var(--w), 100%) * 0.026);
  background: #0c0c0e;
  border-radius: 14% / 6.4%;
  box-shadow:
    inset 0 0 0 1.5px #3a3a3e,
    0 0 0 1px rgba(0, 0, 0, 0.5),
    0 40px 70px -28px rgba(0, 0, 0, 0.45),
    0 10px 20px -10px rgba(0, 0, 0, 0.25);
}
.phone > img, .phone > video, .phone__screen {
  width: 100%; height: 100%; object-fit: cover; display: block;
  border-radius: 11.4% / 5.2%; background: #14091f;
}
.phone__screen { position: relative; overflow: hidden; }
.phone__screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ============ 1. HERO ============ */
.hero { position: relative; height: 190svh; }
.hero__sticky {
  position: sticky; top: 0; height: 100svh; min-height: 560px; overflow: hidden;
  display: flex; flex-direction: column; align-items: center;
  padding: calc(var(--nav-h) + clamp(20px, 5vh, 56px)) var(--pad) 0;
  text-align: center;
}
.hero__kicker { max-width: none; text-wrap: balance; }
.hero__title {
  margin-top: 18px;
  font-weight: 500;
  font-size: clamp(1.75rem, 4.2vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.05em;
  max-width: 24em;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: clamp(18px, 3.5vh, 32px); position: relative; z-index: 4; }
.hero__word {
  position: absolute; left: 0; top: 50%;
  z-index: 1; pointer-events: none; white-space: nowrap;
  font-weight: 800;
  font-size: clamp(5rem, 33vw, 36rem);
  line-height: 0.8;
  letter-spacing: -0.05em;
  will-change: transform;
  transform: translate3d(calc(var(--pad) * -0.5), 0, 0);
}
.hero__phone {
  position: absolute; left: 50%; bottom: 0; z-index: 3;
  --w: clamp(130px, 21vh, 250px);
  bottom: 28px;
  transform: translate3d(-50%, 34%, 0);
  will-change: transform;
}
/* img/hero-winner.webp — кадр эфира 9:16, сверху и снизу дорисованный
   размытым продолжением той же сцены до пропорций iPhone (720×1564),
   поэтому экран телефона заполнен от края до края без обрезки по бокам. */
@media (max-width: 700px) {
  .hero__word { top: 56%; }
  .hero__phone { --w: clamp(120px, 18vh, 170px); }
}

/* ============ 2. MARQUEE ============ */
.marquee {
  position: relative; z-index: 2; overflow: hidden; padding-block: 28px;
  border-block: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 85%, transparent);
}
.marquee__track {
  display: flex; width: max-content; gap: 0;
  animation: marquee 48s linear infinite;
}
@media (hover: hover) and (pointer: fine) { .marquee:hover .marquee__track { animation-play-state: paused; } }
.marquee__item {
  display: inline-flex; align-items: center; gap: clamp(24px, 4vw, 56px);
  padding-right: clamp(24px, 4vw, 56px);
  font-weight: 300; font-size: clamp(2rem, 5vw, 4rem); letter-spacing: -0.05em; line-height: 1;
  white-space: nowrap;
}
.marquee__item::after {
  content: ""; width: 0.28em; height: 0.28em; border-radius: 50%; background: var(--pink); flex: none;
}
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }

/* ============ 3. ТРИ СЛОВА ============ */
.words { position: relative; height: 260svh; }
.words__sticky {
  position: sticky; top: 0; height: 100svh; min-height: 560px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: var(--nav-h) var(--pad) 0; gap: 0;
}
.pill {
  display: inline-block; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
}
.words__h {
  margin-top: clamp(16px, 3vh, 32px);
  font-weight: 500;
  font-size: clamp(2.75rem, 13.5vw, 8.5rem);
  line-height: 0.86;
  letter-spacing: -0.05em;
}
.words__h span { display: block; will-change: transform, opacity; }
.words__rest { will-change: transform, opacity; margin-top: clamp(18px, 3.5vh, 36px); max-width: 700px; }
.stats {
  display: grid; grid-template-columns: repeat(4, auto); gap: clamp(20px, 5vw, 72px);
  margin-top: clamp(20px, 4vh, 40px); justify-content: center; text-align: center;
}
.stat__n {
  font-weight: 600; font-size: clamp(3.5rem, 6.5vw, 5rem); letter-spacing: -0.06em; line-height: 0.95;
  font-variant-numeric: tabular-nums;
}
.stat__l { margin-top: 10px; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.35; color: var(--ink-2); max-width: 13em; margin-inline: auto; }
@media (max-width: 640px) {
  .words { height: 230svh; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 16px 24px; width: 100%; max-width: 320px; }
  .words .lead { font-size: 1.0625rem; }
}

/* ============ 4. СИМУЛЯТОР ============ */
.sim__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.sim__steps { display: flex; flex-direction: column; gap: 10px; }
.sim-step {
  width: 100%; text-align: left; cursor: pointer;
  display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: baseline;
  padding: 20px 22px; border-radius: 22px; border: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 85%, transparent);
  transition: transform 0.12s ease-out, border-color 0.25s, background-color 0.25s, opacity 0.25s;
  opacity: 0.6;
}
.sim-step:active { transform: scale(0.985); }
.sim-step[aria-selected="true"] { opacity: 1; border-color: var(--ink); background: var(--surface); }
.sim-step__n { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--ink-3); }
.sim-step[aria-selected="true"] .sim-step__n { color: var(--pink); }
.sim-step__t { font-size: clamp(1.375rem, 2.2vw, 1.875rem); font-weight: 500; letter-spacing: -0.05em; line-height: 1.05; }
.sim-step__d { grid-column: 2; margin-top: 4px; font-size: 14px; color: var(--ink-2); line-height: 1.35; }
@media (max-width: 900px) {
  .sim__grid { grid-template-columns: minmax(0, 1fr); }
  .sim__steps { flex-direction: row; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); scroll-snap-type: x proximity; }
  .sim__steps::-webkit-scrollbar { display: none; }
  .sim-step { min-width: 232px; scroll-snap-align: start; }
}

.sim__stage {
  position: relative; border-radius: 32px; background: var(--soft); border: 1px solid var(--line);
  min-height: 580px; padding: clamp(18px, 3vw, 36px); overflow: hidden; overflow-anchor: none;
}
.sim-panel {
  position: absolute; inset: 0; padding: inherit;
  display: flex; flex-direction: column; gap: 16px;
  opacity: 0; transform: translate3d(0, 12px, 0); pointer-events: none; visibility: hidden;
  /* уходит быстро (120 мс), без движения */
  transition: opacity 0.12s linear, transform 0s 0.12s, visibility 0s 0.12s;
}
/* входит после ухода старой, без наложения */
.sim-panel.is-on {
  opacity: 1; transform: none; pointer-events: auto; visibility: visible;
  transition: opacity 0.28s var(--ease) 0.12s, transform 0.45s var(--ease) 0.12s, visibility 0s 0s;
}
.sim__stage { display: grid; grid-template-columns: minmax(0, 1fr); }
.sim-panel { position: relative; grid-area: 1 / 1; min-width: 0; }
.sim__grid > * { min-width: 0; }

.sim-label { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-2); }
.sim-note { font-size: 14px; color: var(--ink-2); line-height: 1.4; }
.sim-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.sim-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }

.sim-list {
  width: 100%; flex: 1; min-height: 230px; resize: none;
  padding: 16px 18px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface);
  font-family: var(--mono); font-size: 16px; line-height: 1.7; color: var(--ink);
}
.sim-list:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.sim-count { font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }

.hash {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  padding: 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line);
  font-family: var(--mono); font-weight: 500; font-size: clamp(0.8125rem, 2.1vw, 1.0625rem); letter-spacing: 0.02em;
}
.hash span { text-align: center; padding: 6px 0; border-radius: 8px; transition: background-color 0.3s, color 0.3s; }
.hash.is-diff span.d { background: var(--bad-bg); color: var(--bad); }
.hash-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tag {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px;
  font-size: 13px; font-weight: 500; letter-spacing: -0.01em; background: var(--ok-bg); color: var(--ok);
}
.tag--bad { background: var(--bad-bg); color: var(--bad); }
.tag--neutral { background: var(--surface); color: var(--ink-2); border: 1px solid var(--line); }
.tag svg { width: 14px; height: 14px; }

.pickzone { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; min-height: 340px; text-align: center; }
.pickbtn {
  position: relative; width: clamp(150px, 26vw, 200px); aspect-ratio: 1; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--grad); color: #fff; font-weight: 800; font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.05em; line-height: 0.95;
  box-shadow: 0 24px 50px -16px rgba(255, 46, 147, 0.7), inset 0 0 0 6px rgba(255, 255, 255, 0.18);
  transition: transform 0.14s ease-out;
}
.pickbtn:active { transform: scale(0.94); }
.pickbtn::before, .pickbtn::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--pink);
  opacity: 0; animation: ring 2.4s ease-out infinite;
}
.pickbtn::after { animation-delay: 1.2s; }
.pickbtn.is-busy::before, .pickbtn.is-busy::after { animation: none; }
@keyframes ring { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(1.6); opacity: 0; } }
.pickbtn small { display: block; font-weight: 500; font-size: 12px; letter-spacing: 0; opacity: 0.85; margin-top: 4px; }

.countnum {
  position: absolute; inset: 0; display: none; align-items: center; justify-content: center;
  font-weight: 800; font-size: clamp(9rem, 28vw, 15rem); letter-spacing: -0.07em; line-height: 1;
  background: var(--soft); z-index: 2;
}
.countnum span {
  display: block;
  background: linear-gradient(180deg, #ffd25a 0%, #ff7a1a 55%, #ff2e93 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.countnum.is-on { display: flex; }
.countnote { position: absolute; left: 0; right: 0; bottom: 18px; margin-inline: auto; width: fit-content; z-index: 3; }
.countnote[hidden] { display: none; }

.winner {
  display: none; flex: 1; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; position: relative;
}
.winner.is-on { display: flex; }
.winner__plate {
  width: min(100%, 360px); padding: 22px 24px 18px; border-radius: 22px; color: #fff;
  background: linear-gradient(180deg, #ffb13d 0%, #ff5a1f 55%, #ff2e6e 100%);
  box-shadow: 0 30px 60px -24px rgba(255, 70, 40, 0.65), inset 0 0 0 2px rgba(255, 255, 255, 0.35);
}
.winner__win { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.9; }
.winner__name { font-weight: 800; font-size: clamp(2rem, 6vw, 3rem); letter-spacing: -0.05em; line-height: 1; margin-top: 8px; word-break: break-word; }
.winner__tk { margin-top: 10px; display: inline-block; padding: 4px 12px; border-radius: 8px; background: rgba(0, 0, 0, 0.3); font-family: var(--mono); font-size: 13px; }
.facts { width: min(100%, 460px); display: grid; gap: 0; text-align: left; font-size: 13px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 14px; border-top: 1px solid var(--line); }
.facts div:first-child { border-top: 0; }
.facts dt { color: var(--ink-2); }
.facts dd { font-family: var(--mono); font-weight: 500; font-size: 12px; text-align: right; word-break: break-all; }
.confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 4; }
.confetti i { position: absolute; left: 50%; top: 40%; width: 8px; height: 14px; border-radius: 2px; will-change: transform, opacity; }
.verdict { min-height: 28px; }

/* ============ 5. КОНВЕЙЕР ============ */
/* Карточки-шаги: плоские серые слайды (как в первой версии), внутри светлая рамка и пятно с телефоном. Текст справа, у чётных карточек зеркально. */
.pipe__list { position: relative; overflow: clip; }   /* clip, а не hidden: липкие карточки продолжают работать, а свечение не вылезает за стопку */
.pipe { position: relative; --avail: calc(100svh - var(--nav-h) - 28px - var(--sh, 64px) - 28px); padding-top: calc(var(--sh, 64px) + 14px); }
.pcard {
  --i: 0;
  position: sticky; top: calc(var(--nav-h) + 20px + var(--i) * 18px);
  margin-bottom: 28px; min-height: min(560px, var(--avail, 560px)); overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 64px); align-items: center;
  padding: clamp(20px, 3.4vw, 44px);
  border-radius: 44px; color: var(--ink);
  /* Матовое полупрозрачное стекло без размытия (blur на липких слайдах тормозит): свой оттенок у каждого слайда, как у карточек Discord,
     поверх мягкого цветного свечения секции; тонкая внутренняя кромка и мелкое зерно вместо тени. Теней нет. */
  --tint-a: 139, 43, 226; --tint-b: 255, 30, 142;
  background: linear-gradient(140deg, rgba(var(--tint-a), 0.15), rgba(var(--tint-b), 0.10) 70%), color-mix(in srgb, var(--bg) 72%, transparent);
  border: 1px solid light-dark(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.08));
  box-shadow: inset 0 1px 0 var(--hl), inset 0 0 0 1px rgba(var(--tint-a), 0.08);
}
.pcard:nth-child(2) { --i: 1; --tint-a: 88, 101, 242; --tint-b: 139, 43, 226; }
.pcard:nth-child(3) { --i: 2; --tint-a: 255, 30, 142; --tint-b: 253, 162, 32; }
.pcard:nth-child(4) { --i: 3; --tint-a: 0, 176, 244; --tint-b: 88, 101, 242; }
/* зерно: даёт матовость, рисуется один раз и не пересчитывается */
.pcard::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .9 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
.pcard__body, .pcard__media { position: relative; z-index: 1; }
/* Цветное свечение за стопкой слайдов, видно сквозь прозрачные карточки. Живёт в липкой полосе под заголовком (высотой с экран слайда),
   поэтому не заходит выше заголовка. Содержимое накрытого слайда обрезает main.js (clip-path) ровно по верхнему краю наезжающей карточки. */
.pipe__list::before {
  content: ""; display: block; position: sticky; z-index: 0; pointer-events: none;
  top: calc(var(--nav-h) + 28px + var(--sh, 64px) + 14px); height: var(--avail, 560px); margin-bottom: calc(-1 * var(--avail, 560px));
  background:
    radial-gradient(ellipse 26% 28% at 22% 22%, rgba(139, 43, 226, 0.16), transparent),
    radial-gradient(ellipse 26% 28% at 78% 30%, light-dark(rgba(255, 30, 142, 0.14), rgba(40, 110, 255, 0.12)), transparent),
    radial-gradient(ellipse 26% 28% at 24% 76%, rgba(0, 176, 244, 0.12), transparent),
    radial-gradient(ellipse 26% 28% at 76% 80%, rgba(253, 162, 32, 0.12), transparent);
}
/* Заголовок экрана («От эфира до итогов…») остаётся на месте, карточки встают под ним: тема экрана читается, пока листаешь стопку. --sh (высота заголовка) выставляет main.js. */
/* Заголовок липнет внутри направляющей (.pipe__rail): она короче списка на высоту последней карточки, поэтому заголовок уходит вверх одновременно с последним слайдом. Всё делает прокрутка браузера, без скриптов: раньше заголовок двигал скрипт, отставал на кадр и дрожал. */
.pipe__rail { position: absolute; left: 0; right: 0; top: 0; height: calc(100% - (min(560px, var(--avail, 560px)) + 90px)); pointer-events: none; }
.sec-head--stick { position: sticky; top: calc(var(--nav-h) + 28px); z-index: 1; max-width: none; margin: 0; padding: 10px 0 8px; }
.sec-head--stick .h2 { font-size: clamp(2.125rem, 4.8vw, 4.25rem); }
.sec-head--stick .mb { display: inline; }
.pipe .pcard { top: calc(var(--nav-h) + 28px + var(--sh, 64px) + 14px + var(--i) * 18px); }
.pcard:nth-child(even) .pcard__media { order: -1; }
.pcard__body { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.pcard__num {
  font-weight: 800; font-size: clamp(2.6rem, 5vw, 4.6rem); line-height: 0.85; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; color: var(--ink);   /* крупный номер шага, без цвета */
}
.pcard .h3 { font-weight: 800; font-size: clamp(1.9rem, 3.8vw, 3.4rem); line-height: 0.98; letter-spacing: -0.035em; text-transform: uppercase; color: var(--ink); text-wrap: balance; }
.pcard__body .body { max-width: 29em; font-size: clamp(16px, 1.45vw, 19px); line-height: 1.45; color: light-dark(#56565e, #b4b4bc); }
.pcard__media { position: relative; align-self: stretch; min-height: min(460px, calc(var(--avail, 560px) - 90px)); display: grid; place-items: center; isolation: isolate;
  border-radius: 40px; }
/* белые плашки (рамка и пятно) под телефонами убраны: телефоны стоят прямо на слайде */
.pcard__phones { display: flex; justify-content: center; align-items: center; gap: 14px; }
.pcard__phones .phone { --w: min(205px, calc((var(--avail, 560px) - 130px) / 2.17)); box-shadow: inset 0 0 0 1.5px #3a3a3e, 0 0 0 1px rgba(0, 0, 0, 0.5), 0 34px 50px -22px rgba(20, 20, 40, 0.55); }
.pcard__phones .phone:nth-child(2) { --w: min(175px, calc((var(--avail, 560px) - 130px) / 2.55)); transform: translateY(8%); }
.pcard__phones:has(.phone:nth-child(2)) .phone { --w: min(172px, calc((var(--avail, 560px) - 130px) / 2.6)); }
.pcard__phones:has(.phone:nth-child(2)) .phone:nth-child(2) { --w: min(150px, calc((var(--avail, 560px) - 130px) / 3.0)); }
@media (max-width: 800px) {
  .sec-head--stick { top: calc(var(--nav-h) + 12px); }
  .pipe .pcard { top: calc(var(--nav-h) + 12px + var(--sh, 64px) + 8px + var(--i) * 12px); }
  .pipe { --t1: calc(var(--nav-h) + 12px + var(--sh, 64px) + 8px); --step: 12px; --ch: 640px; }
  .pipe__rail { height: calc(100% - 700px); }
  .pcard { grid-template-columns: 1fr; min-height: 0; gap: 20px; padding: 22px 16px 16px; border-radius: 32px; top: calc(var(--nav-h) + 8px + var(--i) * 12px); }
  .pcard:nth-child(even) .pcard__media { order: 0; }
  .pcard__body { gap: 12px; }
  .pcard__num { font-size: 2.4rem; }
  .pcard .h3 { font-size: clamp(1.7rem, 8vw, 2.3rem); }
  .pcard__media { min-height: 330px; }
  .pcard__phones .phone { --w: 140px; }
  .pcard__phones .phone:nth-child(2) { --w: 122px; }
  .pcard__phones:has(.phone:nth-child(2)) .phone { --w: 118px; }
  .pcard__phones:has(.phone:nth-child(2)) .phone:nth-child(2) { --w: 104px; }
}

/* ============ 6. В ЭФИРЕ ============ */
.live__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.live__steps { display: flex; flex-direction: column; gap: 8px; margin-top: 32px; }
.chip-btn {
  position: relative; overflow: hidden; width: 100%; text-align: left; cursor: pointer;
  padding: 16px 20px; border-radius: 18px; border: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 85%, transparent);
  display: grid; gap: 2px; transition: border-color 0.25s, opacity 0.25s, transform 0.12s ease-out; opacity: 0.6;
}
.chip-btn:active { transform: scale(0.985); }
.chip-btn b { font-weight: 600; font-size: 20px; letter-spacing: -0.04em; }
.chip-btn span { font-size: 14px; color: var(--ink-2); line-height: 1.35; }
.chip-btn[aria-pressed="true"] { opacity: 1; border-color: var(--ink); background: var(--surface); }
.chip-btn i { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--pink); transform: scaleX(0); transform-origin: 0 50%; }
.chip-btn[aria-pressed="true"].is-timing i { animation: fillbar var(--dur, 2800ms) linear forwards; }
@keyframes fillbar { to { transform: scaleX(1); } }
.live__phone { display: flex; justify-content: center; position: relative; }
.live__phone .phone { --w: min(300px, 58vw); }
.live__phone .phone__screen img { opacity: 0; transition: opacity 0.5s ease; }
.live__phone .phone__screen img.is-on { opacity: 1; }
.float {
  position: absolute; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.25); font-size: 13px; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap;
  opacity: 0; transform: translate3d(0, 10px, 0); transition: opacity 0.4s ease-out, transform 0.5s var(--ease);
}
.float.is-on { opacity: 1; transform: none; }
.float--a { left: -2%; top: 24%; }
.float--b { right: -2%; top: 46%; }
.float--c { left: 0; bottom: 20%; }
@media (max-width: 900px) {
  .live__grid { grid-template-columns: 1fr; }
  .live__phone { order: -1; }
  .float--a { left: 2%; } .float--b { right: 2%; } .float--c { left: 2%; }
}

/* ============ 7. ЦИФРЫ ============ */
.nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.num { padding: 28px clamp(8px, 2vw, 24px) 8px 0; }
.num + .num { padding-left: clamp(12px, 2vw, 24px); border-left: 1px solid var(--line); }
.num__n { font-weight: 800; font-size: clamp(3.5rem, 11vw, 9.5rem); line-height: 0.85; letter-spacing: -0.06em; font-variant-numeric: tabular-nums; }
.num__l { margin-top: 14px; color: var(--ink-2); font-size: 15px; line-height: 1.3; max-width: 11em; }
@media (max-width: 720px) {
  .nums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .num { padding: 24px 12px 8px 0; border-bottom: 1px solid var(--line); }
  .num + .num { border-left: 0; padding-left: 0; }
  .num:nth-child(even) { border-left: 1px solid var(--line); padding-left: 16px; }
  .num__n { font-size: clamp(3.5rem, 20vw, 6rem); }
}

/* ============ 8. СЦЕНАРИИ ============ */
.tabs { position: relative; display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); max-width: 100%; }
.tab {
  position: relative; z-index: 1; border: 0; background: none; cursor: pointer; height: 44px; padding: 0 22px; border-radius: 999px;
  font-weight: 500; font-size: 15px; letter-spacing: -0.02em; color: var(--ink-2); transition: color 0.25s, transform 0.12s ease-out;
}
.tab:active { transform: scale(0.96); }
.tab[aria-selected="true"] { color: var(--on-ink); }
.tabs__ind { position: absolute; z-index: 0; left: 0; top: 4px; bottom: 4px; width: 100px; border-radius: 999px; background: var(--ink); transform-origin: 0 50%; transition: transform 0.5s var(--ease); }
.scen { margin-top: 32px; }
.scen__panel { display: none; }
.scen__panel.is-on { display: grid; }
.scen__panel {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: center;
  padding: clamp(24px, 4vw, 56px); border-radius: 36px; background: var(--soft); border: 1px solid var(--line); overflow: hidden;
}
.scen__panel.is-on .scen__text { animation: swap 0.5s var(--ease); }
.scen__panel.is-on .scen__img { animation: swap 0.6s 0.05s var(--ease) backwards; }
@keyframes swap { from { opacity: 0; transform: translate3d(0, 12px, 0); } }
.scen__text { display: flex; flex-direction: column; gap: 20px; }
.ticks { display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; font-size: 16px; line-height: 1.4; letter-spacing: -0.01em; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.35em; width: 14px; height: 14px; border-radius: 50%; background: var(--pink); }
.ticks li::after { content: ""; position: absolute; left: 4.5px; top: calc(0.35em + 4px); width: 5px; height: 3px; border-left: 1.5px solid #fff; border-bottom: 1.5px solid #fff; transform: rotate(-45deg); }
.scen__img { display: flex; justify-content: center; gap: 14px; align-items: flex-end; max-height: 460px; overflow: hidden; }
.scen__img .phone { --w: 230px; transform: translateY(10%); }
.scen__img .phone + .phone { --w: 190px; transform: translateY(22%); }
@media (max-width: 800px) {
  .scen__panel { grid-template-columns: 1fr; padding: 22px 18px 0; border-radius: 28px; }
  .scen__img { max-height: 280px; align-items: flex-start; }
  .scen__img .phone { --w: 180px; transform: none; }
  .scen__img .phone + .phone { --w: 150px; margin-top: 30px; transform: none; }
  .tabs { width: 100%; }
  .tab { flex: 1; padding: 0 8px; }
}

/* ============ 9. ДО / ПОСЛЕ ============ */
.cmp {
  --pos: 50%;
  position: relative; width: 100%; aspect-ratio: 2 / 1; border-radius: 32px; overflow: hidden;
  border: 1px solid var(--line); background: var(--soft); touch-action: pan-y; cursor: ew-resize;
  -webkit-user-select: none; user-select: none; isolation: isolate;
}
.cmp__side { position: absolute; inset: 0; display: grid; place-items: center; padding: clamp(16px, 3vw, 40px); }
.cmp__a { background: var(--soft-2); }
.cmp__b { background: var(--surface); clip-path: inset(0 0 0 var(--pos)); }
.cmp__cap { position: absolute; top: 18px; padding: 6px 14px; border-radius: 999px; font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.cmp__a .cmp__cap { left: 18px; background: var(--surface); color: var(--ink-2); }
.cmp__b .cmp__cap { right: 18px; background: var(--ink); color: var(--on-ink); }
.cmp__title { position: absolute; bottom: clamp(16px, 3vw, 32px); font-weight: 500; font-size: clamp(1.25rem, 3vw, 2.25rem); letter-spacing: -0.05em; line-height: 1; max-width: 46%; }
.cmp__a .cmp__title { left: clamp(16px, 3vw, 32px); color: var(--ink-2); }
.cmp__b .cmp__title { right: clamp(16px, 3vw, 32px); text-align: right; }
.cmp__stage { display: flex; gap: clamp(10px, 2vw, 24px); align-items: center; justify-content: center; width: 100%; margin-bottom: 60px; }
.cmp__b .cmp__stage { flex-direction: column; align-items: flex-end; padding-right: 0; }

.wheel { width: clamp(90px, 15vw, 190px); aspect-ratio: 1; border-radius: 50%; flex: none; background: conic-gradient(#f5a623 0 14%, #4a90e2 0 28%, #50c878 0 42%, #e94b6a 0 56%, #9b59b6 0 70%, #f1c40f 0 84%, #1abc9c 0 100%); border: 5px solid #fff; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.3); position: relative; filter: saturate(0.55); }
.wheel::after { content: ""; position: absolute; left: 50%; top: -10px; width: 0; height: 0; margin-left: -8px; border: 8px solid transparent; border-top: 14px solid #333; }
.sheet { background: var(--surface); border-radius: 10px; padding: 8px 10px; width: clamp(120px, 20vw, 230px); box-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.25); font-size: 11px; color: var(--ink-2); }
.sheet i { display: block; height: 7px; border-radius: 3px; background: #dcdce0; margin: 6px 0; }
.sheet i:nth-child(3n) { width: 70%; } .sheet i:nth-child(4) { background: #bfe3c9; }
.bubbles { display: grid; gap: 8px; }
.bubble { padding: 7px 12px; border-radius: 14px 14px 14px 4px; background: var(--surface); font-size: clamp(11px, 1.4vw, 14px); font-weight: 500; box-shadow: 0 6px 14px -8px rgba(0, 0, 0, 0.25); width: fit-content; }
.bubble:nth-child(2) { margin-left: 18px; }

.proof { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; width: min(100%, 360px); box-shadow: 0 16px 40px -22px rgba(0, 0, 0, 0.35); }
.proof__h { font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-2); }
.proof__hash { font-family: var(--mono); font-size: clamp(11px, 1.5vw, 14px); font-weight: 500; word-break: break-all; margin-top: 6px; line-height: 1.45; }
.proof__row { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; font-size: 13px; }
.proof__row span:first-child { color: var(--ink-2); }
.proof .tag { margin-top: 10px; }

.cmp__handle {
  position: absolute; z-index: 5; top: 0; bottom: 0; left: var(--pos); width: 44px; margin-left: -22px; padding: 0; border: 0; background: none; cursor: ew-resize; touch-action: none;
}
.cmp__handle::before { content: ""; position: absolute; left: 21px; top: 0; bottom: 0; width: 2px; background: var(--ink); }
.cmp__knob {
  position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%;
  background: var(--ink); color: var(--on-ink); display: grid; place-items: center; font-size: 11px; font-family: var(--mono); font-weight: 600; letter-spacing: 0.02em;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.5); transition: transform 0.15s ease-out;
}
.cmp.is-drag .cmp__knob { transform: scale(1.12); }
.cmp__hint { margin-top: 14px; text-align: center; }
@media (max-width: 700px) {
  .cmp { aspect-ratio: 4 / 5; border-radius: 24px; }
  .cmp__stage { flex-direction: column; margin-bottom: 78px; gap: 12px; }
  .cmp__title { max-width: 44%; font-size: 1.125rem; }
  .wheel { width: 84px; }
  .sheet { width: 110px; }
  .bubble { font-size: 11px; padding: 6px 10px; }
  .proof { padding: 10px 12px; width: 150px; }
  .proof__hash { font-size: 10px; }
  .proof__row { font-size: 11px; }
  .cmp__b .cmp__stage { align-items: flex-end; }
}

/* ============ 10. ЛЕНТА ============ */
.ribbon { overflow: hidden; }
.ribbon__bar { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.arrows { display: flex; gap: 8px; }
.arrow { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); cursor: pointer; display: grid; place-items: center; transition: transform 0.12s ease-out, opacity 0.2s, border-color 0.2s; }
.arrow:active { transform: scale(0.94); }
.arrow:disabled { opacity: 0.3; cursor: default; }
.arrow svg { width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) { .arrow:not(:disabled):hover { border-color: var(--ink); } }
.strip {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
  padding: 8px var(--pad) 8px max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad)));
  scroll-padding-inline: max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad)));
  overscroll-behavior-x: contain; cursor: grab;
}
.strip::-webkit-scrollbar { display: none; }
.strip.is-drag { cursor: grabbing; scroll-snap-type: none; }
.strip.is-drag * { pointer-events: none; }
.item { flex: none; width: clamp(240px, 24vw, 300px); scroll-snap-align: start; }
.item .phone { --w: 100%; width: 100%; }
.item__t { margin-top: 20px; font-weight: 500; font-size: 22px; letter-spacing: -0.05em; line-height: 1.05; }
.item__d { margin-top: 6px; color: var(--ink-2); font-size: 14px; line-height: 1.4; }
.strip img, .strip video { -webkit-user-drag: none; user-select: none; }

/* ============ 11. ДИАГРАММА ============ */
.chart { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.plotwrap { position: relative; padding: 0 0 36px 28px; width: 100%; max-width: 580px; margin-left: auto; }
.plot { position: relative; width: 100%; aspect-ratio: 1; border: 1px solid var(--ink); border-radius: 4px; background: color-mix(in srgb, var(--bg) 90%, transparent); }
.plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; }
.plot circle { fill: none; stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.plot line { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.dot {
  position: absolute; width: 0; height: 0; opacity: 0;
  transition: opacity 0.5s calc(var(--d, 0) * 1ms), transform 0.7s calc(var(--d, 0) * 1ms) var(--spring);
  transform: scale(0.3);
}
.plot.is-in .dot { opacity: 1; transform: none; }
.dot__pt { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; background: var(--ink); }
.dot__ring { position: absolute; left: -22px; top: -22px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--ink); opacity: 0.4; }
.dot__ring + .dot__ring { left: -36px; top: -36px; width: 72px; height: 72px; opacity: 0.2; }
.dot__lb { position: absolute; left: 16px; top: -9px; width: max-content; max-width: 112px; line-height: 1.15; font-size: 13px; font-weight: 500; letter-spacing: -0.02em; }
.dot--l .dot__lb { left: auto; right: 16px; text-align: right; }
.dot--pick .dot__pt { background: var(--pink); }
.dot--pick .dot__ring { border-color: var(--pink); opacity: 0.6; }
.dot--pick .dot__ring + .dot__ring { opacity: 0.3; }
.dot--pick .dot__lb { font-weight: 700; font-size: 15px; }
.dot--pick .dot__ring { animation: ring 3s ease-out infinite; }
.axis-x, .axis-y { position: absolute; font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-2); }
.axis-x { left: 28px; right: 0; bottom: 0; display: flex; justify-content: space-between; gap: 8px; }
.axis-y { left: 0; top: 0; bottom: 36px; writing-mode: vertical-rl; transform: rotate(180deg); display: flex; justify-content: space-between; gap: 8px; }
.chart__note { margin-top: 20px; font-size: 13px; color: var(--ink-2); }
@media (max-width: 900px) { .chart { grid-template-columns: 1fr; } .dot__lb { font-size: 12px; } .dot--pick .dot__lb { font-size: 14px; } }

/* ============ 12. УЧАСТНИКАМ ============ */
.part { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.part__list { display: grid; gap: 0; margin-top: 32px; border-top: 1px solid var(--line); }
.part__list li { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr; gap: 4px; }
.part__list b { font-weight: 500; font-size: 20px; letter-spacing: -0.04em; }
.part__list span { color: var(--ink-2); font-size: 15px; line-height: 1.4; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.fan { position: relative; height: clamp(380px, 52vw, 640px); display: flex; justify-content: center; align-items: flex-end; overflow: hidden; border-radius: 36px; background: var(--soft); border: 1px solid var(--line); }
.fan .phone { position: absolute; bottom: 0; --w: clamp(150px, 20vw, 240px); }
.fan .phone:nth-child(1) { transform: translate(-82%, 8%) rotate(-6deg); }
.fan .phone:nth-child(2) { transform: translate(0, 14%); z-index: 2; --w: clamp(170px, 23vw, 270px); }
.fan .phone:nth-child(3) { transform: translate(82%, 8%) rotate(6deg); }
.verify3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.verify3 li { padding: 14px 14px 16px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; line-height: 1.3; }
.verify3 b { display: block; margin-top: 6px; font-weight: 500; font-size: 15px; letter-spacing: -0.02em; }
.verify3 li:last-child { background: var(--ok-bg); border-color: transparent; }
.verify3 li:last-child .mono { color: var(--ok); }
@media (max-width: 900px) { .part { grid-template-columns: 1fr; } .fan { order: -1; } }
@media (max-width: 520px) { .verify3 { grid-template-columns: 1fr; } }

/* ============ 13. СТАРТ + ВОПРОСЫ ============ */
.free { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.free__c { padding: 28px; border-radius: 28px; background: var(--soft); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; min-height: 260px; }
.free__c .h3 { margin-top: auto; }
.free__c--dark { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.free__c--dark .body, .free__c--dark .mono { color: color-mix(in srgb, var(--on-ink) 70%, transparent); }
@media (max-width: 800px) { .free { grid-template-columns: 1fr; } .free__c { min-height: 0; } }
.faq { margin-top: clamp(48px, 8vw, 96px); border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 0; font-weight: 500; font-size: clamp(1.25rem, 2.4vw, 1.75rem); letter-spacing: -0.04em; line-height: 1.1;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; width: 22px; height: 22px; flex: none; transition: transform 0.35s var(--ease); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 0; top: 10px; width: 22px; height: 2px; background: var(--ink); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i { transform: rotate(45deg); }
.faq details[open] p { animation: swap 0.3s var(--ease); }
.faq details p { padding: 0 48px 26px 0; max-width: 46em; color: var(--ink-2); font-size: 17px; line-height: 1.5; }

/* ============ 14. ПРИЗЫВ + ПОДВАЛ ============ */
.final { padding-block: clamp(80px, 14vw, 180px) clamp(48px, 8vw, 96px); text-align: center; }
.final .display { max-width: 11em; margin-inline: auto; }
.final .cta-row { justify-content: center; }
.foot { position: relative; overflow: hidden; border-top: 1px solid var(--line); background: var(--bg); padding-top: 48px; }
.foot__row { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; align-items: flex-start; font-size: 14px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.foot__links a { text-decoration: none; color: var(--ink-2); transition: color 0.2s; }
@media (hover: hover) and (pointer: fine) { .foot__links a:hover { color: var(--ink); } }
.foot__fine { margin-top: 28px; padding-bottom: 12px; color: var(--ink-2); font-size: 13px; }
.foot__big {
  margin-top: 8px; font-weight: 800; font-size: 29vw; line-height: 0.74; letter-spacing: -0.06em; white-space: nowrap;
  text-align: center; color: var(--soft); user-select: none; transform: translateY(14%);
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track { animation: none; }
  .pickbtn::before, .pickbtn::after, .dot--pick .dot__ring { animation: none; }
  .hero__word, .hero__phone, .words__h span, .words__rest, .pcard { will-change: auto; }
  .sim-panel, .sim-panel.is-on, .float, .live__phone .phone__screen img, .dot, .tabs__ind { transition: opacity 0.2s; }
  .sim-panel { transform: none; }
  .scen__panel.is-on .scen__text, .scen__panel.is-on .scen__img, .faq details[open] p { animation: none; }
  .chip-btn[aria-pressed="true"].is-timing i { animation: none; transform: scaleX(1); }
}

@media (max-width: 480px) {
  .hash { padding: 14px 8px; gap: 6px 0; font-size: 11.5px; letter-spacing: 0; }
  .facts dd { overflow-wrap: anywhere; word-break: normal; }
}

.cmp__a .cmp__stage { width: 46%; justify-self: start; }
.cmp__b .cmp__stage { width: 46%; justify-self: end; }

/* ---- sim: стабильная высота сцены ---- */
.sim__stage, .sim__stage * { overflow-anchor: none; }
@media (max-width: 640px) { .sim__stage { min-height: 640px; } }
@media (max-height: 720px) { .stat__n { font-size: 2.75rem; } }

/* ---- до/после: правая сторона насыщеннее ---- */
.cmp__b { background: radial-gradient(70% 90% at 85% 100%, rgba(122, 60, 255, 0.10), transparent 70%), radial-gradient(50% 60% at 60% 0%, light-dark(rgba(255, 46, 147, 0.07), rgba(40, 110, 255, 0.08)), transparent 70%), var(--surface); }
.cmp__b .cmp__stage { position: absolute; left: 54%; top: 84px; width: 25%; margin: 0; justify-self: auto; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 14px; }
.cmp__b .proof { width: 100%; }
.cmp__chips { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.cmp__chips li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 500; letter-spacing: -0.02em; box-shadow: 0 8px 20px -14px rgba(0, 0, 0, 0.3); }
.cmp__chips li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ok); flex: none; }
.cmp__phone { position: absolute; right: 3%; bottom: -26%; --w: min(16%, 220px); width: var(--w); }
.cmp__b .cmp__title { left: 54%; right: auto; text-align: left; max-width: 25%; font-size: clamp(1.25rem, 2.3vw, 2rem); }
@media (max-width: 700px) {
  .cmp__b .cmp__stage { left: 52%; top: 62px; width: 44%; gap: 10px; }
  .cmp__chips li { font-size: 11px; padding: 5px 10px 5px 8px; gap: 6px; }
  .cmp__chips li::before { width: 8px; height: 8px; }
  .cmp__phone { display: none; }
  .cmp__b .cmp__title { left: 52%; max-width: 44%; font-size: 1.0625rem; }
  .cmp__a .cmp__title { max-width: 44%; }
}

/* ---- проблема участника ---- */
/* clip, а не hidden: обрезает въезжающие цитаты по ширине экрана (на 375 px
   они вылезали на 44 px), но не становится контейнером прокрутки и не
   ломает sticky внутри. */
.problem { position: relative; height: 320svh; overflow-x: clip; }
.problem__sticky { position: sticky; top: 0; height: 100svh; min-height: 560px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: var(--nav-h) var(--pad) 0; max-width: var(--max); margin-inline: auto; gap: 0; }
.problem__qs { width: 100%; margin-top: clamp(14px, 3vh, 28px); display: grid; gap: clamp(2px, 1vh, 10px); }
.problem__q { font-weight: 500; font-size: clamp(2.25rem, 9.5vw, 7.75rem); line-height: 0.95; letter-spacing: -0.05em; will-change: transform, opacity; }
.problem__q:nth-child(even) { text-align: right; }
.problem__rest { margin-top: clamp(18px, 4vh, 40px); max-width: 20em; will-change: transform, opacity; }
@media (max-width: 640px) { .problem { height: 280svh; } .problem__q:nth-child(even) { text-align: left; padding-left: 10vw; } }
.tags li.ok { background: var(--ok-bg); border-color: transparent; color: var(--ok); }
@media (prefers-reduced-motion: reduce) { .problem__q, .problem__rest { will-change: auto; } }
@media (max-width: 640px) { .problem__q { font-size: clamp(2.25rem, 11.5vw, 3.5rem); } }

/* ============ 6б. КАК СНИМАТЬ ============
   Три колонки: заголовок шага слева, большая карточка по центру, моно-теги
   справа. Без JS и при prefers-reduced-motion это обычный список из пяти
   блоков. С JS (.is-live) сцена липнет к экрану, а следующая карточка
   въезжает снизу и перекрывает предыдущую: скрипт двигает только transform
   (js/main.js, блок «КАК СНИМАТЬ»). Длина прокрутки: 100svh + (n - 1) * 140svh
   + 50svh хвоста; те же числа (SEG = 1.4, TAIL = 0.5) стоят в скрипте. */
.shoot { position: relative; padding-top: clamp(72px, 12vw, 160px); padding-bottom: clamp(48px, 8vw, 96px); --card-gap: clamp(20px, 3vw, 44px); --sh: max(100svh, 540px); }
.shoot__step {
  position: relative; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr) minmax(0, 0.8fr); gap: var(--card-gap); align-items: stretch;
}
.shoot:not(.is-live) .shoot__step + .shoot__step { margin-top: clamp(56px, 9vw, 112px); }
.shoot__txt { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-width: 0; will-change: auto; }
.shoot__num { font-weight: 600; font-size: clamp(3rem, 6vw, 5.5rem); line-height: 0.85; letter-spacing: -0.06em; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.shoot__t { font-weight: 500; font-size: clamp(1.625rem, 2.6vw, 2.5rem); line-height: 1; letter-spacing: -0.05em; text-wrap: balance; }
.shoot__d { margin-top: 14px; max-width: 24em; font-size: 14px; line-height: 1.4; letter-spacing: -0.01em; color: var(--ink-2); }
.shoot__tags { align-self: center; display: grid; gap: 9px; min-width: 0; }
.shoot__tags li { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.35; color: var(--ink-2); }

.shoot__card {
  position: relative; justify-self: center; overflow: hidden; isolation: isolate;
  width: min(100%, calc((var(--sh) - 124px) * 0.909)); aspect-ratio: 10 / 11;
  border-radius: 28px; background: var(--soft-2);
  box-shadow: 0 0 0 1px var(--line), 0 40px 70px -34px rgba(20, 10, 60, 0.4), 0 10px 24px -14px rgba(0, 0, 0, 0.18);
}
.shoot:not(.is-live) .shoot__card { width: min(100%, 640px); }
.shoot__frames { position: absolute; inset: 0; }
.shoot__frame {
  position: absolute; inset: 0; margin: 0;
  opacity: 0; transform: scale(1.03); pointer-events: none;
  transition: opacity 0.6s ease, transform 0.9s var(--ease);
}
.shoot__frame.is-on { opacity: 1; transform: none; }
.shoot__frame img { width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; user-select: none; }
.shoot__cap {
  position: absolute; left: 16px; top: 16px; max-width: calc(100% - 100px);
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 12px; border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 82%, transparent); -webkit-backdrop-filter: blur(14px) saturate(170%); backdrop-filter: blur(14px) saturate(170%);
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.1), 0 8px 20px -10px rgba(0, 0, 0, 0.25);
  font-size: 13px; font-weight: 500; line-height: 1.2; letter-spacing: -0.01em; color: var(--ink);
}
.shoot__cap::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--grad); }
.shoot__cap.is-ok::before { background: var(--ok); }
.shoot__cap.is-bad::before { background: var(--bad); }
.shoot__dim {
  position: absolute; transform: translate(-50%, -50%); padding: 4px 10px; border-radius: 999px; white-space: nowrap;
  background: var(--surface); color: var(--violet); box-shadow: 0 0 0 1px rgba(122, 60, 255, 0.35);
  font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: 0.02em; line-height: 1.2;
}
.shoot__dim--r { transform: translate(0, -50%); }

.shoot__thumbs {
  position: absolute; left: 50%; bottom: 14px; z-index: 2; transform: translateX(-50%);
  display: flex; gap: 8px; padding: 8px; border-radius: 20px;
  background: rgba(18, 16, 28, 0.5); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 12px 28px -12px rgba(0, 0, 0, 0.45);
}
.shoot__thumb {
  position: relative; display: block; width: clamp(46px, 6vw, 66px); aspect-ratio: 10 / 11; padding: 0; overflow: hidden;
  border: 2px solid transparent; border-radius: 12px; background: var(--soft-2); cursor: pointer; opacity: 0.58;
  transition: opacity 0.25s, border-color 0.25s, transform 0.12s ease-out;
}
.shoot__thumb img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.shoot__thumb[aria-pressed="true"] { opacity: 1; border-color: #fff; }
.shoot__thumb:active { transform: scale(0.94); }
.shoot__thumb:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .shoot__thumb:hover { opacity: 1; } }

/* живая сцена: липкий экран и шторка */
.shoot.is-live .shoot__track { height: calc(var(--sh) * (1 + (var(--n) - 1) * 1.4 + 0.5)); }
.shoot.is-live .shoot__stage {
  position: sticky; top: 0; height: var(--sh); overflow: clip;
}
.shoot.is-live .shoot__step {
  position: absolute; inset: 0; max-width: none; padding: 92px max(var(--pad), calc((100% - var(--max)) / 2 + var(--pad))) 28px;
  pointer-events: none;
}
.shoot.is-live .shoot__step .shoot__card { pointer-events: auto; will-change: transform; box-shadow: 0 0 0 1px var(--line), 0 -16px 36px -22px rgba(20, 10, 60, 0.3), 0 26px 40px -30px rgba(20, 10, 60, 0.28); }
.shoot.is-live .shoot__txt, .shoot.is-live .shoot__tags { will-change: transform, opacity; }
.shoot.is-live .shoot__step:nth-child(1) { z-index: 1; } .shoot.is-live .shoot__step:nth-child(2) { z-index: 2; }
.shoot.is-live .shoot__step:nth-child(3) { z-index: 3; } .shoot.is-live .shoot__step:nth-child(4) { z-index: 4; }
.shoot.is-live .shoot__step:nth-child(5) { z-index: 5; }

@media (max-width: 800px) {
  .shoot__step { grid-template-columns: minmax(0, 1fr); grid-template-areas: "txt" "tags" "card"; gap: 12px; }
  .shoot__txt { grid-area: txt; min-height: var(--txh, 0); display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: start; }
  .shoot__num { grid-row: 1; grid-column: 1; font-size: 2.25rem; padding-top: 4px; }
  .shoot__copy { grid-row: 1; grid-column: 2; }
  .shoot__t { font-size: 1.5rem; }
  .shoot__d { margin-top: 6px; font-size: 13px; line-height: 1.35; max-width: none; }
  .shoot__tags { grid-area: tags; min-height: var(--tgh, 0); align-content: start; align-self: start; display: flex; flex-wrap: wrap; gap: 6px; }
  .shoot__tags li { padding: 4px 9px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 10px; line-height: 1.2; }
  .shoot__card { grid-area: card; width: min(100%, calc(var(--ch, 340px) * 0.909)); border-radius: 24px; }
  .shoot__cap { left: 10px; top: 10px; font-size: 12px; padding: 6px 11px 6px 10px; max-width: calc(100% - 76px); }
  .shoot__thumbs { bottom: 10px; gap: 6px; padding: 6px; border-radius: 16px; }
  .shoot__thumb { width: clamp(40px, 12vw, 52px); border-radius: 9px; }
  .shoot__dim { font-size: 10.5px; padding: 3px 8px; }
  .shoot.is-live .shoot__step { padding: 84px var(--pad) 20px; align-content: start; }
  .shoot.is-live .shoot__step .shoot__card { justify-self: center; }
}
@media (prefers-reduced-motion: reduce) {
  .shoot__frame { transition: opacity 0.2s linear; transform: none; }
  .shoot__txt, .shoot__tags, .shoot__card { will-change: auto !important; }
}

/* ---------- Победителя не выбирает никто (31.10.2026) ----------
   Настоящий розыгрыш: таймлайн «пломба → нажатие → раунд», формула
   чипами и пять соседних раундов — нажатый раунд подставляется в формулу. */
.nobody__ex { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--ink-3); margin-bottom: 18px; }
.tline { display: grid; grid-template-columns: 1fr 1fr 0.9fr 1fr; gap: 0; position: relative; margin-bottom: clamp(28px, 4vw, 44px); }
.tline li { position: relative; padding: 26px 12px 0 0; display: flex; flex-direction: column; gap: 2px; }
.tline li::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--line); }
.tline li::after { content: ""; position: absolute; left: 0; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--surface); border: 2px solid var(--ink); }
.tline time { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--ink-2); }
.tline b { font-weight: 600; font-size: 16px; letter-spacing: -0.02em; line-height: 1.25; }
.tline li > span { font-size: 13px; color: var(--ink-3); }
.tline__gap::before { background: repeating-linear-gradient(90deg, var(--pink) 0 6px, transparent 6px 11px) !important; }
.tline__gap::after { display: none; }
.tline__gap span { font-size: 13px; color: var(--pink); font-weight: 500; padding-top: 4px; }
.tline .is-hot::after { background: var(--pink); border-color: var(--pink); box-shadow: 0 0 0 5px rgba(255, 46, 147, 0.16); }
.formula { border: 1px solid var(--line); border-radius: 28px; background: var(--surface); padding: clamp(20px, 3vw, 32px); display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "fx res" "op res"; gap: 14px 28px; align-items: center; }
.fx { grid-area: fx; display: flex; flex-wrap: wrap; gap: 8px; }
.fx__chip { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border-radius: 16px; background: var(--soft); min-width: 0; }
.fx__chip small { font-size: 12px; color: var(--ink-2); }
.fx__chip code { font-family: var(--mono); font-size: 15px; font-weight: 600; }
.fx__chip--hot { background: var(--pink-bg); box-shadow: inset 0 0 0 1px rgba(255, 46, 147, 0.35); }
.fx__chip--hot code { color: var(--pink); }
.fx__op { grid-area: op; font-family: var(--mono); font-size: 13px; color: var(--ink-2); }
.fx__res { grid-area: res; text-align: center; padding: 18px 24px; border-radius: 22px; background: var(--grad); color: #fff; font-size: 15px; font-weight: 500; line-height: 1.1; min-width: 150px; }
.fx__res b { display: block; font-size: clamp(40px, 6vw, 60px); font-weight: 700; letter-spacing: -0.04em; margin: 4px 0 2px; font-variant-numeric: tabular-nums; }
.fx__res span { font-size: 13px; opacity: 0.85; }
.fx__res.is-flip b { animation: fxflip 0.45s var(--spring); }
@keyframes fxflip { from { opacity: 0; transform: translateY(10px) scale(0.9); } }
.rounds { margin-top: clamp(28px, 4vw, 44px); }
.rounds__head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.rounds__head span { font-size: 14px; color: var(--ink-3); }
.rounds__row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-bottom: 16px; }
.rnd { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 6px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; transition: transform 0.2s var(--ease), border-color 0.2s; }
.rnd:active { transform: scale(0.97); }
.rnd__n { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.rnd__t { font-size: clamp(20px, 3vw, 28px); font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.rnd[aria-pressed="true"] { border-color: var(--pink); background: var(--pink-bg); }
.rnd[aria-pressed="true"] .rnd__t { color: var(--pink); }
.rounds .body { max-width: 40em; }
.nobody__cta { display: inline-flex; flex-direction: column; gap: 2px; margin-top: 20px; padding: 14px 22px; border-radius: 18px; background: var(--ink); color: var(--on-ink); text-decoration: none; font-weight: 600; }
.nobody__cta span { font-weight: 400; font-size: 13px; opacity: 0.7; }
@media (hover: hover) and (pointer: fine) { .rnd:hover { border-color: var(--ink); } .nobody__cta:hover { opacity: 0.85; } }
@media (max-width: 760px) {
  .tline { grid-template-columns: 1fr; }
  .tline li { padding: 0 0 18px 28px; }
  .tline li::before { left: 5px; right: auto; top: 14px; bottom: 0; width: 2px; height: auto; }
  .tline li:last-child::before { display: none; }
  .tline li::after { top: 3px; }
  .tline__gap { padding-bottom: 18px !important; }
  .tline__gap::before { background: repeating-linear-gradient(180deg, var(--pink) 0 6px, transparent 6px 11px) !important; top: 0 !important; }
  .formula { grid-template-columns: 1fr; grid-template-areas: "fx" "op" "res"; }
  .fx__chip { flex: 1 1 calc(50% - 4px); }
  .rounds__row { gap: 6px; }
  .rnd { padding: 12px 2px; border-radius: 14px; }
}
@media (prefers-reduced-motion: reduce) { .fx__res.is-flip b { animation: none; } .rnd { transition: none; } }
/* Корейский переносится по словам, а не посреди слова. */
html:lang(ko) body { word-break: keep-all; overflow-wrap: anywhere; }

/* «Розыгрыши» в шапке (31.10.2026) — отдельная страница, а не раздел, поэтому
   выделена капсулой. На телефоне ссылки разделов скрыты, а эта остаётся;
   значок App Store из шапки уходит — такой же крупный стоит в первом экране. */
.nav__links a.nav__gw { padding: 7px 14px; margin: -7px 0; border-radius: 999px; background: var(--ink); color: var(--on-ink); font-weight: 600; }
@media (hover: hover) and (pointer: fine) { .nav__links a.nav__gw:hover { color: var(--on-ink); opacity: 0.82; } }
@media (max-width: 860px) {
  .nav__links { display: flex; }
  .nav__links a:not(.nav__gw) { display: none; }
  .nav .as-badge--sm { display: none; }
}

/* Как получается пломба и сверка числа на двух серверах (31.10.2026). */
.sealhow, .mirrors { margin-bottom: clamp(28px, 4vw, 44px); }
.sealhow .h3, .mirrors .h3 { margin-bottom: 14px; }
.sealhow .body, .mirrors .body { max-width: 40em; margin-top: 14px; color: var(--ink-2); }
.sflow { display: flex; align-items: stretch; gap: 10px; flex-wrap: wrap; }
.sflow__node { flex: 1 1 200px; display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; border-radius: 22px; border: 1px solid var(--line); background: var(--surface); min-width: 0; }
.sflow__node b { font-size: 16px; font-weight: 600; letter-spacing: -0.02em; }
.sflow__node small { font-size: 13px; color: var(--ink-3); }
.sflow__node code { font-family: var(--mono); font-size: 18px; font-weight: 600; color: var(--pink); }
.sflow__node--code { background: var(--pink-bg); border-color: rgba(255, 46, 147, 0.35); }
.sflow__ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--soft); margin-bottom: 6px; }
.sflow__node--code .sflow__ic { background: var(--surface); color: var(--pink); }
.sflow__ic svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sflow__op { align-self: center; font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--on-ink); background: var(--ink); padding: 8px 12px; border-radius: 999px; }
.sflow__diff { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 12px; font-size: 14px; color: var(--ink-2); }
.sflow__diff code { font-family: var(--mono); font-size: 13px; padding: 4px 10px; border-radius: 999px; background: var(--soft); }
.sflow__diff code.is-bad { background: var(--bad-bg); color: var(--bad); }
.sflow__diff i { font-style: normal; color: var(--ink-3); }
.mirrors__row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.mirror { flex: 1 1 180px; display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); min-width: 0; }
.mirror small { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.mirror b { font-size: 16px; font-weight: 600; letter-spacing: -0.02em; }
.mirror code { font-family: var(--mono); font-size: 15px; font-weight: 600; color: var(--pink); }
.mirror__eq { font-size: 24px; font-weight: 700; color: var(--ink-3); }
.mirror__ok { flex: 1 1 100%; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px; background: var(--ok-bg); color: var(--ok); font-weight: 600; font-size: 15px; }
.mirror__ok span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--ok); color: #fff; flex: none; }
.mirror__ok svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 560px) {
  .sflow { flex-direction: column; }
  .sflow__node { flex: none; }
  .sflow__op { align-self: center; }
  .mirror__eq { display: none; }
}

/* Страница /fair — как устроен розыгрыш (31.10.2026). */
.fairpage .fair-hero { padding-block: clamp(120px, 16vw, 180px) clamp(32px, 5vw, 56px); }
.fair-h1 { margin-bottom: 20px; }
.fair-lead { max-width: 36em; color: var(--ink-2); }
.fair-sec { padding-block: clamp(32px, 5vw, 56px); }
.fair-h { margin-bottom: 14px; }
.fair-p { max-width: 40em; margin-bottom: 18px; }
.guar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: clamp(28px, 4vw, 44px); border: 1px solid var(--line); border-radius: 24px; background: var(--surface); overflow: hidden; }
.guar li { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; border-left: 1px solid var(--line); }
.guar li:first-child { border-left: 0; }
.guar b { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.guar span { color: var(--ink-2); font-size: 15px; }
.fair-fx { margin-bottom: 14px; }
.chain { display: flex; flex-direction: column; gap: 8px; }
.chain li { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); min-width: 0; }
.chain small { font-size: 12px; color: var(--ink-3); font-family: var(--mono); }
.chain code { font-family: var(--mono); font-size: 14px; font-weight: 600; }
.wrapcode { overflow-wrap: anywhere; word-break: break-all; line-height: 1.5; }
.wrapcode i { font-style: normal; }
.wrapcode .k1 { color: light-dark(#0a8a5c, #3ad07f); } .wrapcode .k2 { color: light-dark(#c26a00, #ffb340); } .wrapcode .k3 { color: light-dark(#2563eb, #6ea8ff); } .wrapcode .k4 { color: var(--pink); }
.chain__res { background: var(--grad) !important; border-color: transparent !important; color: #fff; }
.chain__res small { color: rgba(255, 255, 255, 0.8); }
.chain__res b { font-size: clamp(30px, 5vw, 44px); font-weight: 700; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.chain__res span { font-size: 14px; opacity: 0.85; }
.calc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: clamp(16px, 3vw, 24px); border: 1px solid var(--line); border-radius: 24px; background: var(--surface); }
.calc__f { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.calc__f--wide { grid-column: 1 / -1; }
.calc__f span { font-size: 13px; color: var(--ink-2); }
.calc__f input { font: 600 15px/1.3 var(--mono); padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--soft); color: var(--ink); min-width: 0; width: 100%; }
.calc__f input:focus { outline: none; border-color: var(--ink); background: var(--surface); }
.calc__btn { grid-column: 1 / -1; justify-self: start; height: 48px; padding: 0 26px; border: 0; border-radius: 999px; background: var(--ink); color: var(--on-ink); font-weight: 600; font-size: 16px; cursor: pointer; transition: transform 0.12s ease-out; }
.calc__btn:active { transform: scale(0.97); }
.calc__ex { grid-column: 1 / -1; font-size: 13px; color: var(--ink-3); }
.calc__out { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 10px; }
.calc__out[hidden] { display: none; }
.calc__status { font-size: 14px; color: var(--ink-2); }
.calc__status:empty { display: none; }
.manual { list-style: none; counter-reset: m; display: flex; flex-direction: column; gap: 10px; margin-bottom: 8px; }
.manual li { counter-increment: m; position: relative; padding: 14px 16px 14px 56px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); }
.manual li::before { content: counter(m); position: absolute; left: 16px; top: 12px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 600; font-size: 14px; }
/* Кнопка на /fair рядом с «Пересчитать любой розыгрыш» той же высоты
   (решил Алексей 31.10: текстовую ссылку никто не находил). */
.nobody__more { margin: 20px 0 0 8px; vertical-align: top; }
@media (max-width: 640px) { .nobody__more { margin: 10px 0 0; white-space: normal; height: auto; min-height: 52px; padding: 12px 24px; text-align: center; } }
.nav__links a[aria-current="page"] { color: var(--ink); font-weight: 600; }
/* Капсула мерится по ширине содержимого (main.js, fair.js). Сжатые ссылки
   давали узкую мерку, и «Как устроено» уходило в две строки. */
.nav > *, .nav__links a { flex-shrink: 0; white-space: nowrap; }
/* С пунктом «Честность» на средних экранах капсула не влезает: сначала
   уходит значок App Store (он есть в первом экране), потом разделы. */
@media (max-width: 1100px) { .nav .as-badge--sm { display: none; } }
@media (max-width: 960px) { .nav__links a:not(.nav__gw) { display: none; } }
@media (max-width: 760px) {
  .guar { grid-template-columns: 1fr; }
  .guar li { border-left: 0; border-top: 1px solid var(--line); }
  .guar li:first-child { border-top: 0; }
  .calc { grid-template-columns: 1fr; }
}

/* Три столпа сайта (04.11.2026): один экран, LIVE SHOW, честный выбор.
   Карточки внутри «трёх слов» и крупные заголовки глав. */
.words__rest--wide { max-width: 1000px; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: clamp(20px, 4vh, 40px); text-align: left; }
.pillar {
  display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px;
  border: 1px solid var(--line); border-radius: 24px; background: var(--surface);
  color: inherit; text-decoration: none;
  transition: border-color 0.2s, transform 0.12s ease-out;
}
.pillar b { font-weight: 500; font-size: clamp(1.25rem, 2vw, 1.625rem); line-height: 1.05; letter-spacing: -0.04em; }
.pillar span { font-size: 14px; line-height: 1.4; letter-spacing: -0.01em; color: var(--ink-2); }
.pillar:active { transform: scale(0.985); }
@media (hover: hover) and (pointer: fine) { .pillar:hover { border-color: var(--ink); } }
.pillar:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
@media (max-width: 760px) {
  .pillars { grid-template-columns: 1fr; gap: 8px; }
  .pillar { padding: 14px 16px; gap: 4px; border-radius: 20px; }
  .pillar span { font-size: 13px; }
  .words .lead { display: none; }
}

.chap { padding-block: clamp(72px, 12vw, 160px) 0; }
.chap + .sec { padding-top: clamp(48px, 8vw, 96px); }
.chap .display { font-size: clamp(2.75rem, 10vw, 9rem); line-height: 0.9; }
.chap .lead { margin-top: clamp(18px, 2.5vw, 28px); max-width: 34em; color: var(--ink-2); }

/* 3D-кнопка PICK вместо телефона в первом экране (04.11.2026).
   Настоящая кнопка из приложения (img/pick3d.webp) как лицевая сторона, позади стопка
   тонких дисков даёт толщину (их добавляет js/main.js). Скролл ведёт --e на .hero:
   0 — кнопка лежит внизу, наклонена и мала, 1 — стоит лицом к зрителю и крупная.
   Курсор добавляет наклон через --mx и --my. Двигаются только transform, scale, translate и opacity. */
.hero { --e: 1; }
.pk {
  --d: clamp(120px, min(32vh, 62vw), 350px);
  --mx: 0; --my: 0;
  position: absolute; left: 50%; bottom: 28px; z-index: 3;
  display: block; width: var(--d); aspect-ratio: 1;
  perspective: 1300px;
  /* прилетает справа: при --e = 0 целиком за краем экрана, при 1 по центру */
  translate: calc(-50% + (1 - var(--e)) * (50vw + var(--d) * 0.7)) calc((1 - var(--e)) * 14%);
  scale: calc(0.75 + var(--e) * 0.25);
  transform-origin: 50% 100%;
  border-radius: 50%; text-decoration: none; color: inherit; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.pk:focus-visible { outline: 2px solid var(--ink); outline-offset: 10px; }
.pk__float, .pk__tilt, .pk__press { display: block; position: absolute; inset: 0; transform-style: preserve-3d; }
.pk__tilt {
  transform:
    rotateX(calc((1 - var(--e)) * 46deg + var(--my) * -6deg + var(--gy, 0) * -10deg))
    rotateY(calc((1 - var(--e)) * -30deg + var(--mx) * 7deg + var(--gx, 0) * 30deg))
    rotateZ(calc((1 - var(--e)) * 14deg + var(--gx, 0) * -2deg));
  /* пульсация: кнопка прижимается (--pulse от 0 до 1 ставит main.js), и в нижней точке прижатия от неё уходит волна */
  scale: calc(1 - var(--pulse, 0) * 0.08);
}
.pk__press { transition: transform 0.14s var(--ease); }
.pk:active .pk__press { transform: translateZ(-18px) scale(0.97); transition-duration: 0.08s; }

.pk__side { display: block; position: absolute; inset: 0; transform-style: preserve-3d; }
.pk__side i {
  position: absolute; inset: 0; border-radius: 50%;
  transform: translateZ(calc(var(--i) * var(--d) * -0.0042));
  background:
    linear-gradient(rgba(0, 0, 0, var(--k)), rgba(0, 0, 0, var(--k))),
    conic-gradient(from 210deg, #6063c8, #2d3187 22%, #1a1e58 48%, #2d3187 74%, #6063c8);
}
.pk__face { position: absolute; inset: 0; display: block; border-radius: 50%; transform: translateZ(1px); }
.pk__face img { display: block; width: 100%; height: 100%; border-radius: 50%; user-select: none; -webkit-user-drag: none; }
/* Веко: закрашивает дырочку внутри буквы P цветом буквы сверху вниз, кнопка «моргает одним глазом» (--blink от 0 до 1 ставит main.js).
   Координаты из img/pick3d.webp 960×960: дырочка примерно x 354–388, y 376–403. */
.pk__lid {
  position: absolute; left: 36.7%; top: 38.9%; width: 3.9%; height: 3.2%; pointer-events: none;
  background: #c25ad9; border-radius: 0 50% 50% 0 / 0 50% 50% 0;
  transform-origin: 50% 0; transform: scaleY(var(--blink, 0)); opacity: min(1, calc(var(--blink, 0) * 30));
}
.pk__gloss {
  position: absolute; inset: 0; border-radius: 50%; pointer-events: none; mix-blend-mode: screen;
  background:
    radial-gradient(circle at calc(30% + (var(--mx) + var(--gx, 0)) * -24%) calc(20% + (var(--my) + var(--gy, 0)) * -24% + (1 - var(--e)) * 30%), rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0) 40%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 38%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}
.pk__glow {
  position: absolute; inset: -30%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 30, 142, 0.34), rgba(139, 43, 226, 0.18) 55%, rgba(139, 43, 226, 0) 72%);
  opacity: calc(0.25 + var(--e) * 0.6 + var(--pulse, 0) * 0.3);
  scale: calc(1 + var(--pulse, 0) * 0.08);
}
.pk__shadow {
  position: absolute; left: 6%; right: 6%; bottom: -7%; height: 15%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(28, 22, 96, 0.55), rgba(28, 22, 96, 0));
  filter: blur(10px);
  opacity: calc(0.3 + var(--e) * 0.6);
}
/* Рябь от капли: рисует WebGL на холсте за кнопкой (js/main.js, блок «Вода»). В холст рисуется слово PICKSER,
   шейдер сдвигает его по кругам на воде раз в секунду. Пока вода не готова (или без WebGL, или при
   reduced-motion) остаётся обычное слово .hero__word. */
/* Когда вода готова, бейдж App Store и кнопка рядом рисуются в том же холсте (рябь их тоже искажает), а настоящие
   элементы прозрачны, но остаются на месте: кликаются, фокусируются, читаются экранным диктором. Пока на них курсор
   или фокус, показываются настоящие (.is-fg-live), чтобы работали наведение и нажатие. */
.hero.is-water .hero__cta > * { opacity: 0; transition: transform 0.12s ease-out; }
.hero.is-water.is-fg-live .hero__cta > * { opacity: 1; }
.pk-water { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }

/* Волшебная пыль: холст на весь первый экран, рисует main.js вокруг кнопки */
.pk-dust { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
  .pk__float { animation: none; }
  .pk-water, .pk-dust { display: none; }
  .pk__press { transition: none; }
}

/* Первый экран русской главной: заголовок крупнее, слово PICKSER наполовину за краем экрана и поднимается,
   а кнопка прилетает за один скролл (js/main.js, время, а не длина прокрутки): страница липнет всего на 40svh. */
.hero--pk { height: 140svh; }
/* Заголовок в готовом виде небольшой, а на старте js/main.js увеличивает его (scale) и опускает вместе с плашкой:
   при скролле он уменьшается и едет вверх. Поэтому строки заданы жёстко, переноса при смене размера нет. */
.hero--pk .hero__title { font-size: clamp(1.4rem, min(3.2vw, 5.4vh), 3.4rem); line-height: 1.02; font-weight: 800; letter-spacing: -0.055em; max-width: none; margin-top: 16px; white-space: nowrap; transform-origin: 50% 0; }
.hero--pk .hero__title .mb { display: none; }
.hero--pk .hero__sub { margin-top: 10px; font-size: clamp(1rem, min(2.5vw, 4vh), 2.3rem); line-height: 1.12; font-weight: 500; letter-spacing: -0.035em; color: var(--ink-3); max-width: none; white-space: nowrap; transform-origin: 50% 0; }
@media (max-width: 700px) { .hero--pk .hero__title .mb { display: inline; } .hero--pk .hero__sub { white-space: normal; text-wrap: balance; max-width: 22em; font-size: clamp(1.05rem, 4.6vw, 1.4rem); } }
.hero--pk .hero__word { top: 50%; }
/* Белая плашка закрывает верхнюю половину букв PICKSER и уезжает вверх, когда кнопка прилетает (--e от 0 до 1).
   Основную работу делает шейдер воды (граница считается по экрану, после ряби); это запасной вариант без WebGL. */
.hero--pk .hero__word { clip-path: inset(calc(50% * (1 - var(--e)) - 25% * var(--e)) -5% -20% -5%); }
@media (max-width: 700px) { .hero--pk .hero__word { top: 60%; } }

/* Кнопка меньше и останавливается почти посередине экрана, а не у нижнего края. В начале её совсем не видно:
   за правым краем и прозрачна, проявляется уже в полёте. */
.hero--pk .pk {
  --d: clamp(100px, min(24vh, 52vw), 270px);
  --pk-top: 0.56;
  bottom: auto; top: calc(var(--pk-top) * 100%);
  /* поднимается снизу и чуть сбоку (справа) по прямой: при --e = 0 целиком под нижним краем экрана, при 1 стоит на месте */
  translate: calc(-50% + (1 - var(--e)) * 26vw) calc(-50% + (1 - var(--e)) * ((1 - var(--pk-top)) * 100svh + var(--d) * 0.85));
  transform-origin: 50% 50%;
  opacity: clamp(0, calc(var(--e) * 8), 1);
}
@media (max-width: 700px) { .hero--pk .pk { --pk-top: 0.66; } }

/* ссылка из главы «Честный выбор» на страницу /nobody/ */
.chap__more { margin: 28px 0 0; }
/* отдельные страницы (/shoot/, /nobody/): раздел начинается под плавающей шапкой */
.subpage main > section:first-child { padding-top: clamp(96px, 12vw, 150px); }

/* Подписка на новости (16.11.2026, по образцу Алексея): тёмная полоса на всю ширину
   в обеих темах, за ней размытое «боке» из фирменных цветов, всё по центру,
   почта и кнопка — одна капсула. Боке нарисовано градиентами, без картинки. */
.upd { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center;
  --u-ink: light-dark(#000, #fff);
  padding: clamp(64px, 8vw, 104px) var(--pad); background: var(--bg); color: var(--u-ink); text-align: center; }
/* Фон подписки (16.11.2026): чёрный (в светлой теме — белый) и мягкое фиолетово-синее
   свечение, как на первом экране; свет медленно плавает и чуть переливается оттенком.
   Свечение — за полем почты и чуть ниже его (не за самим полем: так видно, куда вписывать
   адрес). Книзу оно гаснет маской, иначе на краю блока видна полоса. */
.upd::before { content: ""; position: absolute; inset: -25%; z-index: -2;
  background:
    radial-gradient(38% 30% at 50% 66%, light-dark(rgba(122, 92, 255, 0.2), rgba(104, 74, 255, 0.34)), transparent 72%),
    radial-gradient(26% 22% at 64% 70%, light-dark(rgba(60, 130, 255, 0.13), rgba(40, 110, 255, 0.2)), transparent 70%),
    radial-gradient(22% 20% at 38% 72%, light-dark(rgba(170, 120, 255, 0.13), rgba(150, 110, 255, 0.16)), transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, #000 58%, transparent 76%); mask-image: linear-gradient(180deg, #000 58%, transparent 76%);
  animation: upd-glow 18s ease-in-out infinite alternate; }
@keyframes upd-glow {
  0%   { transform: translate3d(-3%, 1%, 0) scale(1); filter: hue-rotate(-12deg); }
  50%  { transform: translate3d(2%, -1%, 0) scale(1.08); filter: hue-rotate(10deg); }
  100% { transform: translate3d(4%, 2%, 0) scale(0.96); filter: hue-rotate(-4deg); }
}
@media (prefers-reduced-motion: reduce) { .upd::before { animation: none; } }
.upd__in { width: min(100%, 640px); display: flex; flex-direction: column; align-items: center; }
.upd__h { font-weight: 700; font-size: clamp(2.25rem, 5.4vw, 4rem); line-height: 1; letter-spacing: -0.045em; text-wrap: balance; }
.upd__lead { margin-top: 18px; max-width: 30em; font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.4; letter-spacing: -0.015em; color: color-mix(in srgb, var(--u-ink) 68%, transparent); text-wrap: balance; }
.upd__form { width: 100%; margin-top: clamp(28px, 4vw, 40px); display: flex; flex-direction: column; align-items: center; gap: 14px; }
.upd__chips { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.upd__chip { position: relative; cursor: pointer; }
.upd__chip input { position: absolute; opacity: 0; pointer-events: none; }
.upd__chip span { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px 0 10px; border-radius: 999px;
  border: 1px solid light-dark(rgba(0, 0, 0, 0.1), rgba(255, 255, 255, 0.14)); background: light-dark(#fff, rgba(255, 255, 255, 0.06));
  box-shadow: 0 1px 2px light-dark(rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0)); color: color-mix(in srgb, var(--u-ink) 55%, transparent);
  font-size: 14px; font-weight: 600; letter-spacing: -0.01em; transition: background-color 0.2s, border-color 0.2s, color 0.2s; }
/* отметка: пустой кружок → кружок цвета текста с вырезанной галочкой */
.upd__chip span::before { content: ""; width: 18px; height: 18px; border-radius: 50%; flex: none; box-sizing: border-box;
  border: 1.5px solid color-mix(in srgb, var(--u-ink) 28%, transparent); transition: background 0.2s, border-color 0.2s; }
.upd__chip input:checked + span { color: var(--u-ink); border-color: light-dark(rgba(0, 0, 0, 0.16), rgba(255, 255, 255, 0.26)); }
.upd__chip input:checked + span::before { border: 0; background: var(--u-ink);   /* кружок цвета текста, галочка вырезана — без цветной заливки */
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cmask id='m'%3E%3Crect width='18' height='18' fill='%23fff'/%3E%3Cpath d='M5 9.4l2.6 2.5L13 6.6' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/mask%3E%3Ccircle cx='9' cy='9' r='9' fill='%23000' mask='url(%23m)'/%3E%3C/svg%3E") center / 18px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cmask id='m'%3E%3Crect width='18' height='18' fill='%23fff'/%3E%3Cpath d='M5 9.4l2.6 2.5L13 6.6' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/mask%3E%3Ccircle cx='9' cy='9' r='9' fill='%23000' mask='url(%23m)'/%3E%3C/svg%3E") center / 18px no-repeat; }
.upd__chip input:focus-visible + span { outline: 2px solid var(--u-ink); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .upd__chip:hover span { border-color: color-mix(in srgb, var(--u-ink) 34%, transparent); } }
.upd__pill { width: 100%; display: flex; align-items: center; gap: 8px; padding: 7px; border-radius: 999px;
  background: light-dark(#fff, rgba(0, 0, 0, 0.82)); border: 1px solid light-dark(rgba(0, 0, 0, 0.12), rgba(255, 255, 255, 0.14));
  box-shadow: inset 0 1px 0 light-dark(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.06)), 0 24px 60px -24px light-dark(rgba(60, 40, 140, 0.28), rgba(0, 0, 0, 0.9)); transition: border-color 0.2s; }
.upd__pill:focus-within { border-color: color-mix(in srgb, var(--u-ink) 36%, transparent); }
.upd__email { flex: 1; min-width: 0; height: 46px; padding: 0 8px 0 18px; border: 0; background: none; color: var(--u-ink);
  font: 400 16px/1 var(--font); letter-spacing: -0.01em; outline: none; }
.upd__email::placeholder { color: color-mix(in srgb, var(--u-ink) 48%, transparent); }
.upd__go { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px 0 20px; border: 0; border-radius: 999px;
  background: light-dark(#000, #f2f2f4); color: light-dark(#fff, #161618); font: 600 15px/1 var(--font); letter-spacing: -0.01em; cursor: pointer; transition: transform 0.12s ease-out, background-color 0.2s; }
.upd__go svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.2s var(--ease); }
.upd__go:active { transform: scale(0.96); }
.upd__go:focus-visible { outline: 2px solid var(--u-ink); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .upd__go:hover { background: light-dark(#26262b, #fff); } .upd__go:hover svg { transform: translateX(2px); } }
.upd__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.upd__fine { max-width: 34em; font-size: 13px; line-height: 1.45; color: color-mix(in srgb, var(--u-ink) 55%, transparent); }
.upd__fine a { color: color-mix(in srgb, var(--u-ink) 80%, transparent); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 420px) {
  .upd__go { padding: 0 14px 0 16px; }
  .upd__email { padding-left: 14px; }
}
/* ── ТЁМНАЯ ТЕМА: ГЛУБИНА И ФИРМЕННЫЙ СВЕТ (16.11.2026) ──────────────────
   Глубина: карточки чуть светлее фона, со светлой кромкой сверху и мягким
   бликом — на чёрном тень не видна, поэтому высоту показывает свет.
   Фирменный свет: фиолетово-синее свечение за первым экраном, «Честностью»,
   подпиской и финалом. Розовый — только в ярких местах (кнопки, кромки,
   градиент), никогда полупрозрачной заливкой: на чёрном он мутнеет в
   бурый, «чужой» оттенок (замечание Алексея). */
:root[data-theme="dark"] .nav.is-stuck {
  background: rgba(30, 30, 35, 0.72);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 0 0 0.5px rgba(0, 0, 0, 0.6), 0 18px 44px rgba(0, 0, 0, 0.6);
}
:root[data-theme="dark"] .nav:not(.is-stuck) { background: rgba(22, 22, 24, 0.6); }
:root[data-theme="dark"] :where(.formula, .proof, .facts, .verify3 li, .pillar, .guar, .calc, .chain li:not(.chain__res), .manual li, .mirror, .sflow__node, .rnd, .sim-list, .free__c:not(.free__c--dark)) {
  border-color: rgba(255, 255, 255, 0.08);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0) 45%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 30px 60px -34px rgba(0, 0, 0, 0.95);
}
/* выбранное: нейтральная приподнятая подложка и фирменная кромка градиентом */
:root[data-theme="dark"] .rnd[aria-pressed="true"] {
  border-color: transparent;
  background: linear-gradient(var(--pink-bg), var(--pink-bg)) padding-box, var(--grad) border-box;
}
/* «Платите за эфир»: на чёрном белая плита слепит — фирменный градиент */
:root[data-theme="dark"] .free__c--dark { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 30px 70px -30px rgba(122, 60, 255, 0.55); }
:root[data-theme="dark"] .free__c--dark .body, :root[data-theme="dark"] .free__c--dark .mono { color: rgba(255, 255, 255, 0.82); }
/* свет за разделами */
:root[data-theme="dark"] .hero--pk { background: radial-gradient(60% 38% at 50% 16%, rgba(104, 74, 255, 0.26), transparent 72%), radial-gradient(40% 28% at 72% 30%, rgba(40, 110, 255, 0.12), transparent 70%); }
:root[data-theme="dark"] .hsec::before { background: radial-gradient(40% 52% at 76% 46%, rgba(104, 74, 255, 0.22), transparent 70%), radial-gradient(34% 44% at 66% 84%, rgba(40, 110, 255, 0.12), transparent 70%); }
:root[data-theme="dark"] .final { background: radial-gradient(50% 60% at 50% 60%, rgba(104, 74, 255, 0.2), transparent 72%); }
@media (prefers-color-scheme: dark) {

:root:not([data-theme="light"]) .nav.is-stuck {
  background: rgba(30, 30, 35, 0.72);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 0 0 0.5px rgba(0, 0, 0, 0.6), 0 18px 44px rgba(0, 0, 0, 0.6);
}
:root:not([data-theme="light"]) .nav:not(.is-stuck) { background: rgba(22, 22, 24, 0.6); }
:root:not([data-theme="light"]) :where(.formula, .proof, .facts, .verify3 li, .pillar, .guar, .calc, .chain li:not(.chain__res), .manual li, .mirror, .sflow__node, .rnd, .sim-list, .free__c:not(.free__c--dark)) {
  border-color: rgba(255, 255, 255, 0.08);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0) 45%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 30px 60px -34px rgba(0, 0, 0, 0.95);
}
:root:not([data-theme="light"]) .rnd[aria-pressed="true"] {
  border-color: transparent;
  background: linear-gradient(var(--pink-bg), var(--pink-bg)) padding-box, var(--grad) border-box;
}
:root:not([data-theme="light"]) .free__c--dark { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 30px 70px -30px rgba(122, 60, 255, 0.55); }
:root:not([data-theme="light"]) .free__c--dark .body, :root:not([data-theme="light"]) .free__c--dark .mono { color: rgba(255, 255, 255, 0.82); }
:root:not([data-theme="light"]) .hero--pk { background: radial-gradient(60% 38% at 50% 16%, rgba(104, 74, 255, 0.26), transparent 72%), radial-gradient(40% 28% at 72% 30%, rgba(40, 110, 255, 0.12), transparent 70%); }
:root:not([data-theme="light"]) .hsec::before { background: radial-gradient(40% 52% at 76% 46%, rgba(104, 74, 255, 0.22), transparent 70%), radial-gradient(34% 44% at 66% 84%, rgba(40, 110, 255, 0.12), transparent 70%); }
:root:not([data-theme="light"]) .final { background: radial-gradient(50% 60% at 50% 60%, rgba(104, 74, 255, 0.2), transparent 72%); }
}
