/* ============================================================
   Gaze: near-black, монохром, растр и hairline-разделители.
   Inter для текста, JetBrains Mono для чисел и меток.
   Fallback без JS сохраняет весь контент видимым.
   ============================================================ */

:root {
  /* Слоистый тёмный фон: глубина через тон, не через тени.
     Нейтральный near-black без синевы – инструментальный, не «ночной». */
  --bg-deep:  #0a0a0a;
  --bg:       #0c0c0c;
  --bg-2:     #101010;
  --surface:  #151515;
  --surface-2:#1c1c1c;

  --ink:      #f2f2f2;
  --ink-2:    #a4a4a6;
  --ink-3:    #7e7e82;
  --line:     rgba(255, 255, 255, 0.09);
  --line-2:   rgba(255, 255, 255, 0.05);
  --line-bright: rgba(255, 255, 255, 0.16);

  /* Золото-свет на чёрном: ярче, чем в светлой теме */
  --amber-1:  #ffffff;
  --amber-2:  #c9c9c9;
  --amber-3:  #ededed;
  --amber-grad: linear-gradient(135deg, #ffffff 0%, #bdbdbd 100%);
  /* единый градиент фирменного Fraunces-курсива во всех заголовках */
  --amber-em: linear-gradient(120deg, #ffffff 0%, #d4d4d4 60%, #b3b3b3 100%);
  --amber-soft: rgba(255,255,255, 0.12);
  --amber-line: rgba(255,255,255, 0.40);
  --amber-glow: rgba(255,255,255, 0.28);
  --green:  #d0d0d0;

  /* Тени = свет: тайтовый контактный слой + glow у акцентов */
  --shadow-sm:   0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow:      0 16px 40px -16px rgba(0, 0, 0, 0.7), 0 2px 8px -2px rgba(0, 0, 0, 0.5);
  --shadow-lift: 0 40px 90px -30px rgba(0, 0, 0, 0.85), 0 8px 24px -8px rgba(0, 0, 0, 0.6);
  --shadow-amber: 0 12px 36px -10px var(--amber-glow), 0 0 0 1px rgba(255,255,255, 0.18);
  --shadow-ink:  0 12px 30px -12px rgba(0, 0, 0, 0.7);

  --r-pill: 999px; --r-lg: 18px; --r-md: 14px; --r-sm: 10px; --r-img: 12px;
  --nav-h: 72px;

  --font-display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);
  --t-fast: 160ms; --t-ui: 220ms; --t-reveal: 220ms;
  --wrap: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; color-scheme: dark; }
html:not(.js) { scroll-behavior: smooth; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  font-family: var(--font-body);
  /* статичный AMOLED-глубокий фон: scroll-color journey отключён
     (data-bg сняты с секций, JS-механика спит на guard'е) */
  background: var(--bg-deep);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* фичи задаём явно: kerning + лиги надёжнее optimizeLegibility между браузерами.
     synthesis:none – любой не подгруженный вес/курсив падает честно, без faux-bold */
  font-kerning: normal;
  font-feature-settings: "kern" 1, "liga" 1;
  font-synthesis: none;
  /* overflow-x здесь снят намеренно: по спецификации значение,
     отличное от visible, переводит и вторую ось в auto – тело
     становилось собственным скроллером и рисовало вторую полосу.
     Боковую прокрутку гасит html { overflow-x: clip } ниже. */
}
/* эмфаза в тексте (<b>/<strong>) держит подгруженный Hanken 600 – без faux-700 */
b, strong { font-weight: 600; }
::selection { background: rgba(255,255,255, 0.28); color: #fff; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }

/* ---------- Атмосфера: кинематографичный свет сверху + тех-сетка ---------- */
.atmos { position: absolute; top: 0; left: 0; right: 0; height: 1100px; z-index: -2; overflow: hidden; pointer-events: none; }
/* Тонкая техническая сетка, тает книзу */
.atmos::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(120% 70% at 50% 0%, #000 0%, transparent 70%);
  mask-image: radial-gradient(120% 70% at 50% 0%, #000 0%, transparent 70%);
}
.dome {
  position: absolute; top: -120px; left: 50%; transform: translateX(-50%);
  width: 1500px; max-width: 180vw; height: 820px;
  background:
    repeating-radial-gradient(circle at 50% 10%, transparent 0 54px, rgba(255,255,255,.05) 54px 55px),
    radial-gradient(42% 52% at 50% 0%, rgba(255,255,255,.20), transparent 62%),
    radial-gradient(70% 44% at 50% -4%, rgba(120,110,180,.10), transparent 64%);
  -webkit-mask-image: radial-gradient(58% 62% at 50% 6%, #000 0%, transparent 72%);
  mask-image: radial-gradient(58% 62% at 50% 6%, #000 0%, transparent 72%);
}
.grain { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .04; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E"); }

/* ---------- Типографика ----------
   Инструментальный тон: тяжёлый гротеск, плотный трекинг, никакого курсива
   и рукописных росчерков. Акцент несёт цвет, а не начертание. */
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.04em; line-height: 1.0; text-wrap: balance; color: #fbfbfd; }
h1 em, .how-h em, .section-head h2 em, .showcase-text h2 em { font-weight: 800; font-style: normal; }
h1 em, .how-h em, .section-head h2 em, .showcase-text h2 em {
  background: var(--amber-em); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
h1 em { position: relative; }

/* Росчерк под словом – из прошлой, «журнальной» редакции. Выключен. */
.swash { display: none; }

.eyebrow { display: inline-block; font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 20px; }
/* Янтарь только в герое и чекауте – остальные нейтральны; индекс главы – янтарная цифра */
.hero-eyebrow, .co-card .eyebrow { color: var(--amber-3); }
.eyebrow b { color: var(--amber-3); font-weight: 500; margin-right: 12px; }
.section-head .eyebrow, .how-aside .eyebrow { display: inline-flex; align-items: center; }
.section-head .eyebrow::after, .how-aside .eyebrow::after { content: ""; width: 40px; height: 1px; background: linear-gradient(90deg, var(--amber-line), transparent); margin-left: 14px; }
.section-head.center .eyebrow::before { content: ""; width: 40px; height: 1px; background: linear-gradient(270deg, var(--amber-line), transparent); margin-right: 14px; }

/* ---------- Кнопки ---------- */
.btn { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-body); font-weight: 600; font-size: 15.5px; line-height: 1; padding: 15px 28px; border-radius: var(--r-pill); border: 1px solid transparent; cursor: pointer; transition: transform .18s var(--ease), box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease; white-space: nowrap; will-change: transform; }
.btn svg { width: 17px; height: 17px; flex: none; }
.btn.sm { padding: 10px 18px; font-size: 14px; }
.btn.wide { width: 100%; justify-content: center; }

/* Золотой primary - светится как источник света, блик пробегает на hover */
.btn-amber { position: relative; overflow: hidden; background: var(--amber-grad); color: #1c1304; box-shadow: var(--shadow-amber); }
.btn-amber::before { content: ""; position: absolute; top: -2px; bottom: -2px; left: -30%; width: 34%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.5), transparent); transform: skewX(-16deg) translateX(-160%); pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .btn-amber::before { transition: transform .6s ease; }
  .btn-amber:hover::before { transform: skewX(-16deg) translateX(460%); }
}
.btn-amber:hover { box-shadow: 0 16px 48px -10px rgba(255,255,255,.5), 0 0 0 1px rgba(255,255,255,.3); transform: translateY(-1px); }
.btn-amber:active { transform: scale(0.985); }

/* Нейтральный плотный (nav Download) - светлая поверхность на тёмном */
.btn-ink { background: #f3f4f7; color: #0c0d10; box-shadow: var(--shadow-ink); }
.btn-ink:hover { background: #fff; box-shadow: 0 16px 36px -12px rgba(0,0,0,.7); }
.btn-ink:active { transform: scale(0.985); }

/* Призрачный / outline */
.btn-bordered { background: rgba(255,255,255,0.03); color: var(--ink); border-color: var(--line); }
.btn-bordered:hover { background: rgba(255,255,255,0.06); border-color: var(--line-bright); }
.btn-bordered:active { transform: scale(0.985); }

/* ---------- Nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background .3s ease, border-color .3s ease, opacity .5s var(--ease-out); border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(10,11,14,0.72); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3); border-bottom-color: var(--line); }
.nav-inner { max-width: var(--wrap); margin: 0 auto; min-height: var(--nav-h); padding: 0 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { border-radius: var(--r-sm); display: block; box-shadow: 0 0 0 1px var(--line); }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -0.02em; color: #fbfbfd; }
.nav-links { display: flex; gap: 26px; }
.studio-link { display: inline-flex; align-items: center; gap: 6px; }
.studio-link img { display: inline-block; width: 24px; height: 24px; object-fit: contain; vertical-align: middle; flex: none; }
.nav-links a { font-size: 15px; color: var(--ink-2); position: relative; transition: color .2s ease; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -5px; width: 0; height: 2px; background: var(--amber-grad); border-radius: 2px; transition: width .18s var(--ease); }
.nav-links a:hover { color: var(--ink); }
.nav-links a:active { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
/* скролл-спай: активная секция подсвечена в nav (класс ставит JS); ::after уже янтарный – актив = законный янтарь */
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr;
  align-content: center;
  padding-top: 96px;
  padding-bottom: 60px;
  text-align: left;
  gap: 0;
}
.hero-text { display: flex; flex-direction: column; }
.hero-title { font-size: clamp(40px, 7.4vw, 78px); margin: 0 0 26px; line-height: 1.0; letter-spacing: -0.045em; }
.lead { font-size: clamp(16px, 1.7vw, 19px); color: var(--ink-2); max-width: 44ch; margin: 0 0 36px; line-height: 1.5; text-wrap: pretty; }
.hero-cta { display: flex; gap: 12px; justify-content: flex-start; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }

/* Desktop: 2-col grid – текст слева, девайс справа выше фолда */
@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1fr 1.08fr;
    column-gap: clamp(44px, 5vw, 84px);
    padding-top: 0;
    padding-bottom: 0;
    align-items: center;
  }
  .hero-text { grid-column: 1; justify-content: center; }
  .hero > .device {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    /* лёгкий наклон для глубины */
    transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
    transition: transform .22s var(--ease-out);
    box-shadow: 0 60px 140px -20px rgba(0,0,0,.85), 0 0 0 1px var(--line), 0 0 80px -20px var(--amber-glow);
    will-change: transform;
  }
  .hero > .device:hover {
    transform: perspective(1200px) rotateY(-1deg) rotateX(.5deg);
  }
  /* ровняем заголовок по оси */
  .hero-title { font-size: clamp(44px, 5.6vw, 88px); }
}

/* ---------- Device + видео-заглушка ---------- */
.device { position: relative; margin: 48px 0 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lift); }
.device::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 1px 0 rgba(255,255,255,0.06); }
/* blueprint-насечки по углам кадра */
.device::after { content: ""; position: absolute; inset: -11px; pointer-events: none; --tk: rgba(255,255,255,.4);
  background:
    linear-gradient(var(--tk) 0 0) left 0 top 0 / 14px 1px,
    linear-gradient(var(--tk) 0 0) left 0 top 0 / 1px 14px,
    linear-gradient(var(--tk) 0 0) right 0 top 0 / 14px 1px,
    linear-gradient(var(--tk) 0 0) right 0 top 0 / 1px 14px,
    linear-gradient(var(--tk) 0 0) left 0 bottom 0 / 14px 1px,
    linear-gradient(var(--tk) 0 0) left 0 bottom 0 / 1px 14px,
    linear-gradient(var(--tk) 0 0) right 0 bottom 0 / 14px 1px,
    linear-gradient(var(--tk) 0 0) right 0 bottom 0 / 1px 14px;
  background-repeat: no-repeat; }
.device-bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid var(--line-2); position: relative; }
.device-bar .tl { width: 11px; height: 11px; border-radius: 50%; }
.device-bar .tl:nth-child(1) { background: rgba(255,255,255,.22); }
.device-bar .tl:nth-child(2) { background: rgba(255,255,255,.22); }
.device-bar .tl:nth-child(3) { background: rgba(255,255,255,.22); }
.device-title { position: absolute; left: 50%; transform: translateX(-50%); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.video-frame { position: relative; aspect-ratio: 16 / 10; border-radius: 0 0 var(--r-lg) var(--r-lg); overflow: hidden; background: radial-gradient(120% 120% at 50% 30%, #16181f, #0b0c10); }
.demo-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.video-poster { position: absolute; inset: 0; display: grid; place-items: center;
  background: radial-gradient(120% 120% at 50% 42%, rgba(255,255,255,.12), transparent 60%); }
/* апертура-объектив: прибор в режиме ожидания вместо фейковой play-кнопки.
   --ex/--ey ставит JS (живой постер): глаз тянется к курсору, кольца – на -0.3 того же вектора (глубина) */
.aperture { position: absolute; inset: 0; pointer-events: none; transform: translate(calc(var(--ex, 0px) * -0.3), calc(var(--ey, 0px) * -0.3)); }

/* ---------- Секции ---------- */
.section { padding: 120px 28px; max-width: var(--wrap); }
.section-head { max-width: 640px; margin-bottom: 64px; }
.section-head.center { text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }
.section-head h2 { font-size: clamp(34px, 5.2vw, 56px); margin-bottom: 20px; max-width: 16ch; }
.section-head.center h2 { margin-inline: auto; }
.section-head p { font-size: 18px; color: var(--ink-2); max-width: 540px; text-wrap: pretty; }
.section-head.center p { margin-inline: auto; }

/* app showcase - скрин слева, текст справа, свечение за окном */
.showcase { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 72px); align-items: center; max-width: 1080px; margin: 0 auto; }
.showcase-media { position: relative; }
.showcase-media::before { content: ""; position: absolute; inset: -14% -12%; z-index: -1; background: radial-gradient(58% 60% at 50% 38%, rgba(255,255,255,.22), transparent 70%); filter: blur(30px); }
.shot { position: relative; border-radius: var(--r-img); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lift); background: var(--surface); }
.shot img { display: block; width: 100%; height: auto; }

/* Живая лупа над реальным скриншотом (JS, только fine-pointer): продукт демонстрирует себя */
.shot .loupe { position: absolute; left: 0; top: 0; width: 190px; height: 190px; border-radius: 50%; pointer-events: none; z-index: 3;
  opacity: 0; transform: translate(-50%,-50%) scale(.85); transition: opacity .22s ease, transform .28s var(--ease-out);
  border: 1.5px solid rgba(255,255,255,.7); background-repeat: no-repeat; background-color: #0b0d12;
  box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 24px 70px -18px rgba(0,0,0,.85), 0 0 54px -10px var(--amber-glow), inset 0 0 40px -26px var(--amber-glow); }
.shot.lens-on .loupe { opacity: 1; transform: translate(-50%,-50%) scale(1); }
.loupe-tag { position: absolute; left: 50%; bottom: -12px; transform: translateX(-50%); font-family: var(--font-mono); font-size: 9.5px; font-weight: 500; letter-spacing: .12em; color: #1c1304; background: var(--amber-grad); border-radius: var(--r-pill); padding: 4px 9px; box-shadow: 0 0 22px -6px var(--amber-glow); }
.shot-hint { position: absolute; right: 14px; bottom: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2);
  border: 1px solid var(--line); border-radius: var(--r-pill); padding: 7px 12px; background: rgba(10,11,14,.55);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: opacity .25s ease; }
.shot-hint::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--amber-3); box-shadow: 0 0 8px -2px var(--amber-glow); flex: none; }
.shot.lens-on .shot-hint { opacity: 0; }
.showcase-text h2 { font-size: clamp(34px, 5.2vw, 56px); margin-bottom: 18px; }
.showcase-text > p { color: var(--ink-2); font-size: 18px; max-width: 440px; text-wrap: pretty; }
.showcase-note { display: flex; align-items: flex-start; gap: 9px; margin-top: 18px; font-size: 14.5px; color: var(--ink-3); max-width: 420px; }
.showcase-note svg { width: 17px; height: 17px; flex: none; margin-top: 2px; color: var(--green); }
@media (max-width: 760px) { .showcase { grid-template-columns: 1fr; gap: 32px; } }

/* pricing - Free vs Pro в одном блоке */
.plans { display: grid; grid-template-columns: 1fr 1.12fr; gap: 20px; align-items: stretch; max-width: 860px; margin: 0 auto; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px 32px; display: flex; flex-direction: column; gap: 16px; }
.plan.pro { background: radial-gradient(180% 140% at 50% -5%, rgba(255,255,255,.20), transparent 50%), var(--surface-2); border-color: rgba(255,255,255,.55); box-shadow: 0 0 0 1px rgba(255,255,255,.15), 0 24px 80px -20px rgba(255,255,255,.22), var(--shadow); }
.plan-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.plan-name { font-family: var(--font-display); font-weight: 800; font-size: 24px; letter-spacing: -0.03em; color: #fbfbfd; }
.plan-sub { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.plan-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.amount { font-family: var(--font-mono); font-weight: 500; font-size: 46px; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: #fff; }
.plan.pro .amount { font-size: 54px; background: var(--amber-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.plan-price small { font-family: var(--font-mono); font-size: 13px; font-weight: 500; color: var(--ink-3); }
.plan-note { color: var(--ink-2); font-size: 14.5px; line-height: 1.5; min-height: 63px; text-wrap: pretty; }
.plan-note b { color: var(--ink); font-weight: 600; }
.plan-cta { display: flex; flex-direction: column; gap: 8px; }
/* margin-top:auto прижимает списки к низу обеих карточек – hairline-разделители
   и первые пункты сидят на одной линии независимо от высоты CTA-блока */
.plan .feat-list { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); }

.feat-list { list-style: none; display: grid; gap: 13px; }
.feat-list li { position: relative; padding-left: 30px; font-size: 15.5px; color: var(--ink); }
.feat-list li::before { content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: rgba(255,255,255,.06) no-repeat center / 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23868a94' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l4 4 10-11'/%3E%3C/svg%3E"); }
/* Более светлые отметки выделяют возможности Pro. */
.plan.pro .feat-list li:not(.off)::before { background: var(--amber-soft) no-repeat center / 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e8e8e8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l4 4 10-11'/%3E%3C/svg%3E"); }
.feat-list li.off { color: var(--ink-3); }
.feat-list li.off::before { background: rgba(255,255,255,.04) no-repeat center / 11px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23656973' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E"); }

/* faq: нумерация вопросов моно-индексами */
.faq { display: grid; max-width: 760px; margin: 0 auto; counter-reset: q; }
.q { border-top: 1px solid var(--line); padding: 4px 0; counter-increment: q; }
.q:last-child { border-bottom: 1px solid var(--line); }
.q summary { font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: -0.02em; padding: 22px 40px 22px 46px; cursor: pointer; list-style: none; position: relative; transition: color .18s ease; color: #fbfbfd; }
.q summary::-webkit-details-marker { display: none; }
.q summary::before { content: counter(q, decimal-leading-zero); position: absolute; left: 2px; top: 50%; transform: translateY(-50%); font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; color: var(--ink-3); transition: color .18s ease; }
/* ховер-дисциплина: на hover только светлеем, янтарь – привилегия [open] */
.q summary:hover::before { color: var(--ink-2); }
.q[open] summary::before { color: var(--amber-3); }
.q summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--font-body); font-size: 24px; font-weight: 400; color: var(--ink-3); transition: transform .24s var(--ease), color .18s ease; }
.q[open] summary::after { transform: translateY(-50%) rotate(45deg); color: var(--amber-3); }
.q summary:hover { color: #fff; }
.q p { color: var(--ink-2); font-size: 16px; padding: 0 40px 24px 46px; max-width: 600px; text-wrap: pretty; }
/* Мост из FAQ в /guides: раздел должен собирать ссылку из смыслового места,
   а не только из подвала. Той же строкой, что и ответы, без карточки. */
.faq-more { border-top: 1px solid var(--line); padding: 24px 0 0; margin-top: 0; color: var(--ink-3); font-size: 15.5px; }
.faq-more a { color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--line-bright); text-underline-offset: 3px; }
.faq-more a:hover { color: var(--ink); text-decoration-color: var(--ink); }
/* прогрессивное раскрытие: ответ разворачивается плавно (Chrome 131+ / Safari 18.4+),
   остальные браузеры открывают мгновенно – контент никогда не прячется */
@media (prefers-reduced-motion: no-preference) {
  .q { interpolate-size: allow-keywords; }
  .q::details-content { block-size: 0; overflow-y: clip; transition: block-size .32s var(--ease-out), content-visibility .32s allow-discrete; }
  .q[open]::details-content { block-size: auto; }
}

/* final */
.final { padding: 64px 28px 120px; max-width: var(--wrap); }
.final-inner { position: relative; max-width: 620px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
/* свечение центрировано ВНУТРИ своего холста с запасом со всех сторон:
   градиент затухает до прозрачного раньше любой кромки бокса – никакой
   жёсткой линии среза (раньше центр сидел на верхней границе, top-половина
   свечения обрезалась) */
.final-inner::before { content: ""; position: absolute; top: -380px; left: 50%; transform: translateX(-50%); width: 640px; max-width: 96vw; height: 640px; z-index: -1; background: radial-gradient(50% 50% at 50% 50%, rgba(255,255,255,.20), transparent 66%); }
/* Финальный заголовок был 88px – крупнее героя (78px) и вдвое крупнее
   заголовков секций (46px). Иерархия переворачивалась. Ставим между
   секцией и героем: это акцент, но не главный экран страницы. */
.final-inner h2 { font-size: clamp(32px, 4.6vw, 58px); font-weight: 800; letter-spacing: -0.04em; }
.final-inner p { color: var(--ink-2); font-size: 18px; max-width: 460px; text-wrap: pretty; }
.fineprint { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; color: var(--ink-3); margin-top: 4px; }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 60px 0 40px; background: var(--bg-deep); overflow: hidden; }
.footer-inner { display: flex; justify-content: space-between; gap: 48px; align-items: flex-start; flex-wrap: wrap; }
.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col span { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 5px; }
.footer-col a { font-size: 14.5px; color: var(--ink-2); transition: color .18s ease; }
.footer-col a:hover { color: var(--ink); }
.footer-col a:active { color: var(--ink); opacity: .7; }
@keyframes spin { to { transform: rotate(360deg); } }
.footer-base { display: flex; justify-content: space-between; gap: 20px; margin-top: 44px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; color: var(--ink-3); flex-wrap: wrap; }

/* ---------- Checkout modal ---------- */
.co-backdrop { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; background: rgba(0,0,0,0.66); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; visibility: hidden; transition: opacity .24s ease, visibility .24s ease; }
.co-backdrop.open { opacity: 1; visibility: visible; }
.co-card { position: relative; width: 100%; max-width: 432px; max-height: calc(100dvh - 48px); overflow-y: auto; overscroll-behavior: contain; background: var(--surface); border: 1px solid var(--line-bright); border-radius: var(--r-lg); padding: 36px 34px 30px; box-shadow: var(--shadow-lift); transform: translateY(14px) scale(0.98); transition: transform .2s var(--ease); }
.co-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 1px 0 rgba(255,255,255,0.07); }
.co-backdrop.open .co-card { transform: translateY(0) scale(1); }
.co-close { position: absolute; top: 18px; right: 18px; width: 32px; height: 32px; border: none; background: transparent; color: var(--ink-3); font-size: 16px; cursor: pointer; border-radius: var(--r-sm); transition: background .18s ease, color .18s ease; }
.co-close:hover { background: rgba(255,255,255,.07); color: var(--ink); }
.co-card h3 { font-size: 26px; margin-bottom: 6px; }
.co-price { font-family: var(--font-mono); font-size: 14px; color: var(--ink-2); margin-bottom: 12px; letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.co-price s { color: var(--ink-3); margin-right: 5px; }
/* JetBrains Mono подгружен только в 500 – держим 500, акцент несёт цвет (amber-3) */
.co-price b { color: var(--amber-3); font-weight: 500; }
.co-sub { color: var(--ink-2); font-size: 15px; margin-bottom: 22px; }
.co-form { display: grid; gap: 12px; }
.co-cur { display: flex; gap: 8px; }
.co-cur-btn { flex: 1; font-family: var(--font-mono); font-size: 13px; padding: 10px 8px; border: 1px solid var(--line); background: rgba(255,255,255,0.03); border-radius: var(--r-sm); cursor: pointer; color: var(--ink-2); transition: border-color .18s ease, background .18s ease, color .18s ease; }
.co-cur-btn:hover { border-color: var(--line-bright); }
.co-cur-btn.is-on { border-color: var(--amber-line); background: var(--amber-soft); color: var(--amber-3); font-weight: 500; }
.co-input { width: 100%; font-family: var(--font-body); font-size: 15.5px; padding: 14px 16px; border: 1px solid var(--line); background: rgba(255,255,255,0.03); border-radius: var(--r-sm); color: var(--ink); transition: border-color .18s ease, background .18s ease; }
.co-input::placeholder { color: var(--ink-3); }
.co-input:focus { outline: none; border-color: var(--amber-line); background: rgba(255,255,255,0.05); }
.co-promo-row { display: flex; gap: 8px; }
.co-promo { flex: 1; }
.co-apply { font-family: var(--font-body); font-weight: 600; font-size: 14px; padding: 0 18px; border: 1px solid var(--line); background: rgba(255,255,255,0.03); border-radius: var(--r-sm); cursor: pointer; color: var(--ink); transition: border-color .18s ease, background .18s ease, color .18s ease; }
.co-apply:hover { border-color: var(--amber-line); color: var(--amber-3); }
.co-apply:disabled { opacity: .5; cursor: default; }
.co-status { font-size: 13.5px; padding: 2px; }
.co-status.ok { color: #5bd07a; } .co-status.bad { color: #ff7a66; }
.co-submit { margin-top: 4px; }
.co-err { color: #ff7a66; font-size: 13.5px; margin-top: 10px; text-align: center; }
.co-fine { color: var(--ink-3); font-size: 12px; margin-top: 16px; text-align: center; line-height: 1.5; }
.co-fine + .co-fine { margin-top: 6px; }
.co-fine a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* ============================================================
   МОУШЕН: маск-ревилы + hero load + scroll-reveal. ВСЕГДА при html.js
   (владелец явно хочет моушн, поэтому НЕ под reduce-гейтом; ambient-петли
   ниже остаются под reduce). Без JS - watchdog показывает контент.
   ============================================================ */
/* Маске – воздух под свисающие хвосты Fraunces (y/g/j) и курсивные свесы:
   паддинги открывают окно, отрицательные маргины гасят влияние на макет.
   translateY у .w > 100% + нижний паддинг, чтобы слово не выглядывало. */
html.js .wm { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.1em 0.05em 0.18em; margin: -0.1em -0.05em -0.18em; }
  html.js .wm .w { display: inline-block; transform: translateY(140%); transition: transform .55s var(--ease); }
  html.js .in .wm .w, html.js .hero-title.in .wm .w { transform: none; }

  /* Короткое появление начинается до входа в экран. Двигаем только
     transform/opacity, без blur и длинного догоняющего подъёма. */
  html.js [data-reveal] { opacity: 0; transition: opacity var(--t-reveal) var(--ease-out); }
  html.js [data-reveal].in { opacity: 1; }
  @media (prefers-reduced-motion: no-preference) {
    html.js [data-reveal] { transform: translateY(12px);
      transition: opacity var(--t-reveal) var(--ease-out), transform var(--t-reveal) var(--ease-out); }
    html.js [data-reveal].in { transform: none; }
  }

  /* каскад строго внутри hero: .hero-cta живёт и в финальной секции –
     глобальный селектор прятал там кнопки покупки навсегда */
  html.js .hero .hero-eyebrow, html.js .hero .hero-lead, html.js .hero .hero-cta, html.js .hero .device {
    opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
  html.js .hero.loaded .hero-eyebrow { opacity: 1; transform: none; transition-delay: .04s; }
  html.js .hero.loaded .hero-lead { opacity: 1; transform: none; transition-delay: .16s; }
  html.js .hero.loaded .hero-cta { opacity: 1; transform: none; transition-delay: .26s; }
  /* devайс: на десктопе появляется со своим перспективным transform, не с translateY */
  @media (min-width: 900px) {
    html.js .hero > .device { transform: perspective(1200px) rotateY(-4deg) rotateX(2deg) translateY(20px); }
    html.js .hero.loaded .device { opacity: 1; transform: perspective(1200px) rotateY(-4deg) rotateX(2deg) translateY(0); transition-delay: .18s; transition-duration: .9s; }
    /* зажигание: янтарный glow загорается keyframe'ом (не transition – чтобы не драться с hover-переходом по transform) */
    html.js .hero.loaded > .device { animation: deviceIgnite 1.1s var(--ease-out) .95s both; }
  }
  @keyframes deviceIgnite {
    from { box-shadow: 0 60px 140px -20px rgba(0,0,0,.85), 0 0 0 1px var(--line), 0 0 80px -20px rgba(255,255,255,0); }
    to   { box-shadow: 0 60px 140px -20px rgba(0,0,0,.85), 0 0 0 1px var(--line), 0 0 80px -20px var(--amber-glow); }
  }
  @media (max-width: 899px) {
    html.js .hero.loaded .device { opacity: 1; transform: none; transition-delay: .2s; transition-duration: .8s; }
  }

  /* nav в увертюре: прозрачный до старта каскада, .up ставит JS вместе с hero.loaded */
  html.js .nav { opacity: 0; }
  html.js .nav.up { opacity: 1; }

  /* trust-strip замыкает hero-каскад (после .hero-cta с его .26s) */
  html.js .trust-strip { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
  html.js .hero.loaded .trust-strip { opacity: 1; transform: none; transition-delay: .38s; }

  /* зажигание прибора: после приземления девайса кольца апертуры загораются одно
     за другим, следом corner-ticks и статус-чип. Только opacity – ничего не едет. */
  html.js .apr { opacity: 0; transition: opacity .6s var(--ease-out); }
  html.js .hero.loaded .apr.r1 { opacity: 1; transition-delay: .75s; }
  html.js .hero.loaded .apr.r2 { opacity: 1; transition-delay: .9s; }
  html.js .hero.loaded .apr.r3 { opacity: 1; transition-delay: 1.05s; }
  html.js .device::after { opacity: 0; transition: opacity .5s var(--ease-out) 1.05s; }
  html.js .hero.loaded .device::after { opacity: 1; }

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

/* ---------- Адаптив ---------- */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .hero { padding-top: 112px; }
  .section { padding: 80px 24px; }
  .section-head { margin-bottom: 44px; }
  .plans { grid-template-columns: 1fr; max-width: none; }
  .device { margin-top: 48px; }
  .apr.r1 { width: 108px; } .apr.r2 { width: 176px; } .apr.r3 { width: 238px; }
  .poster-eye { width: 60px; }
  .footer-inner { flex-direction: column; gap: 40px; }
  .footer-cols { gap: 36px; }
  .footer-base { flex-direction: column; gap: 8px; }
  /* тач-зона ссылок футера: паддинг вместо gap – цели ~35px без разъезда колонок */
  .footer-col { gap: 4px; }
  .footer-col a { padding: 6px 0; }
}

/* ============================================================
   Компоненты: trust-полоса, social proof, vs-таблица, guarantee,
   burger, magnetic, focus, watchdog, fallback.
   ============================================================ */
/* Trust-полоса под hero CTA: спек-строка прибора. Разделитель – воздух:
   висячие тики/пайпы на переносе строк выглядят браком, поэтому их нет */
.trust-strip { list-style: none; display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 9px 26px; margin: 26px 0 0; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; color: var(--ink-2); max-width: 760px; }

/* Social proof: спек-полоса прибора на линии сгиба */
.proof { text-align: center; padding: 30px 28px; margin-bottom: 40px; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.proof-lead { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 18px; }
.proof-facts { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 30px; max-width: 760px; margin: 0 auto; font-size: 15px; color: var(--ink-2); }
.proof-facts li { position: relative; }
.proof-facts li + li::before { content: ""; position: absolute; left: -16px; top: 50%; transform: translateY(-50%); width: 1px; height: 13px; background: var(--line-bright); }
.proof-facts b { color: var(--ink); font-weight: 600; }
@media (max-width: 600px) { .proof-facts li + li::before { display: none; } }

/* Compare vs macOS zoom - открытый hairline-леджер в языке квадранта:
   без картона (рамка/радиус/заливка/тень убраны), только линии-оси сверху
   и снизу + янтарная колонка-свечение Gaze. Ширина = .quad (860). */
.vs { --vs-col: 128px; position: relative; max-width: 860px; margin: 0 auto;
  border-top: 1px solid var(--line-bright); border-bottom: 1px solid var(--line-bright); }
.vs-hi { position: absolute; top: 0; bottom: 0; right: 0; width: var(--vs-col); overflow: hidden;
  background: rgba(255,255,255,.025);
  border-left: 1px solid var(--line); }
.vs-row { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) var(--vs-col) var(--vs-col); align-items: center; min-height: 62px; font-size: 15px; }
.vs-row:not(.vs-head):not(.vs-price) { transition: background .12s ease; }
.vs-row:not(.vs-head):not(.vs-price):hover { background: rgba(255,255,255,.022); }
.vs-row > span { padding: 13px 8px; }
.vs-row > span:first-child { padding-left: 26px; color: var(--ink); }
.vs-row > span:nth-child(2), .vs-row > .vs-g { text-align: center; justify-self: center; }
.vs-row:not(:first-child) { border-top: 1px solid var(--line-2); }
.vs-head { min-height: 54px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); border-top: none !important; }
/* mono подгружен в 500 – колонку Gaze выделяет янтарный цвет, не faux-600 */
.vs-head .vs-g { color: var(--amber-3); font-weight: 500; }
.vs-g { font-weight: 600; color: var(--ink); }
.vs-no { display: flex; justify-content: center; }
.vs-no::before { content: ""; width: 12px; height: 2px; border-radius: 2px; background: var(--ink-3); opacity: .5; }
.vs-yes { display: flex; justify-content: center; }
.vs-yes::before { content: ""; width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,.18) no-repeat center / 13px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e8e8e8' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l4 4 10-11'/%3E%3C/svg%3E"); }
.vs-price .vs-g { font-size: 14px; }
.vs-row.vs-price { border-top: 1px solid var(--line); }
/* Театр строк: внутри reveal .vs строки проявляются каскадом сверху вниз,
   затем по колонке Gaze один раз проходит скан-свип. Reduce: только opacity. */
html.js .vs .vs-row { opacity: 0; transition: opacity .5s var(--ease-out); }
html.js .vs.in .vs-row { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  html.js .vs .vs-row { transform: translateY(10px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
  html.js .vs.in .vs-row { transform: none; }
  .vs-hi { overflow: hidden; }
  html.js .vs.in .vs-hi::after { content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent, rgba(255,255,255,.06) 50%, transparent);
    animation: vsSweep 1s var(--ease-out) .55s both; }
}
/* каскад ~.04s на строку (первый ребёнок .vs – это .vs-hi, поэтому счёт с 3) */
html.js .vs .vs-row:nth-child(3)  { transition-delay: .04s; }
html.js .vs .vs-row:nth-child(4)  { transition-delay: .08s; }
html.js .vs .vs-row:nth-child(5)  { transition-delay: .12s; }
html.js .vs .vs-row:nth-child(6)  { transition-delay: .16s; }
html.js .vs .vs-row:nth-child(7)  { transition-delay: .2s; }
html.js .vs .vs-row:nth-child(8)  { transition-delay: .24s; }
html.js .vs .vs-row:nth-child(9)  { transition-delay: .28s; }
html.js .vs .vs-row:nth-child(10) { transition-delay: .32s; }
html.js .vs .vs-row:nth-child(11) { transition-delay: .36s; }
html.js .vs .vs-row:nth-child(12) { transition-delay: .4s; }
html.js .vs .vs-row:nth-child(13) { transition-delay: .44s; }
html.js .vs .vs-row:nth-child(14) { transition-delay: .48s; }
html.js .vs .vs-row:nth-child(15) { transition-delay: .52s; }
@keyframes vsSweep { from { transform: translateY(-100%); } to { transform: translateY(100%); } }
/* Группы-главы таблицы: разметка прибора. «Уступка» нативному в первой
   группе покупает доверие к крестам второй; третья - бонусы поверх. */
.vs-row.vs-group { grid-template-columns: 1fr; min-height: 42px; align-items: end; border-top: 1px solid var(--line); }
.vs-row.vs-group > span:first-child { padding: 16px 8px 8px 26px; font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.vs-row.vs-group:hover { background: transparent; }
@media (max-width: 640px) {
  .vs { --vs-col: 64px; }
  .vs-row { min-height: 58px; font-size: 13.5px; }
  .vs-row > span:first-child { padding-left: 0; }
  .vs-row.vs-group > span:first-child { padding-left: 0; }
  .vs-head span { font-size: 9.5px; letter-spacing: .08em; }
  .vs-price .vs-g { font-size: 11px; }
}
/* самые узкие телефоны: колонки галочек ужимаются, фиче возвращается ширина –
   лейблы не рвутся в частокол 6-8 строк */
@media (max-width: 380px) {
  .vs { --vs-col: 60px; }
  .vs-row { font-size: 13px; }
  .vs-row > span { padding: 11px 5px; }
  .vs-row > span:first-child { padding-left: 0; }
  .vs-yes::before { width: 20px; height: 20px; background-size: 11px; }
}

/* Guarantee + price anchor */
.guarantee { display: inline-flex; align-items: center; justify-content: center; gap: 7px; font-size: 12.5px; color: var(--ink-2); margin-top: 4px; }
/* Старая цена: зачёркнута не text-decoration, а «чернилами Gaze» – штрих дорисовывается на reveal */
.plan-was { position: relative; display: inline-block; font-family: var(--font-mono); font-size: 19px; color: var(--ink-3); text-decoration: none; font-variant-numeric: tabular-nums; }
.plan-was .strike { position: absolute; left: -4px; top: -2px; width: calc(100% + 8px); height: calc(100% + 4px); overflow: visible; pointer-events: none; color: var(--amber-3); }
.plan-was .strike path { fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; opacity: .95; stroke-dasharray: 1; stroke-dashoffset: 0; }
.plan-was .strike .p2 { opacity: .3; stroke-width: 2; }
@media (prefers-reduced-motion: no-preference) {
  html.js:not(.ready-fallback) .plan.pro:not(.in) .strike path { stroke-dashoffset: 1; }
  html.js .plan.pro.in .strike path { transition: stroke-dashoffset .7s var(--ease-out) .55s; }
  html.js .plan.pro.in .strike .p2 { transition-delay: .82s; }
}

/* Mobile burger + drawer */
.nav-burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.04); cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.nav-burger span { display: block; width: 16px; height: 1.6px; background: var(--ink); border-radius: 2px; transition: transform .2s var(--ease), opacity .2s ease; }
.nav-burger.open span:nth-child(1) { transform: translateY(5.6px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-5.6px) rotate(-45deg); }
.nav-drawer { display: none; flex-direction: column; padding: 8px 24px 20px; background: rgba(12,13,17,.97); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.nav-drawer:not([hidden]) { display: flex; }
.nav-drawer a:not(.btn) { display: block; padding: 15px 2px; font-size: 16px; color: var(--ink); border-bottom: 1px solid var(--line-2); }
.nav-drawer a:not(.btn):active { background: rgba(255,255,255,.05); }
.nav-drawer .btn { margin-top: 14px; }
@media (max-width: 760px) { .nav-burger { display: flex; } }

/* Magnetic: базовый transform только на fine-pointer (JS-гейт FINE такой же) –
   на touch не создаём лишний композитный слой; press-отклик остаётся везде */
.magnetic:active { transform: scale(.985); }
@media (hover: hover) and (pointer: fine) {
  .magnetic { transform: translate(var(--mtx, 0px), var(--mty, 0px)); }
  .magnetic:active { transform: translate(var(--mtx, 0px), var(--mty, 0px)) scale(.97); }
}

/* A11y: видимый фокус + якоря не под навбар */
:focus-visible { outline: 2px solid var(--amber-3); outline-offset: 2px; border-radius: 4px; }
.co-input:focus-visible { outline: 2px solid var(--amber-3); outline-offset: 1px; }
/* skip-link кидает программный фокус на main (tabindex="-1") – контур не рисуем */
#main:focus { outline: none; }
section[id], #top, #download, #main { scroll-margin-top: var(--nav-h); }
/* forced-colors (Windows High Contrast): градиентный clip-текст становится
   невидимым (background режется, fill остаётся transparent) – возвращаем currentColor */
@media (forced-colors: active) {
  h1 em, .how-h em, .section-head h2 em, .showcase-text h2 em, .plan.pro .amount { background: none; -webkit-text-fill-color: currentColor; }
}

/* Watchdog: JS не отработал → принудительно показать контент */
html.ready-fallback [data-reveal], html.ready-fallback .hero-eyebrow, html.ready-fallback .hero-lead,
html.ready-fallback .hero-cta, html.ready-fallback .device, html.ready-fallback .nav,
html.ready-fallback .trust-strip { opacity: 1 !important; transform: none !important; }
html.ready-fallback .wm .w { transform: none !important; }
html.ready-fallback .vs .vs-row { opacity: 1 !important; transform: none !important; }
/* центрируемые transform'ом элементы – только opacity, transform не трогаем */
html.ready-fallback .apr,
html.ready-fallback .device::after { opacity: 1 !important; }

/* backdrop-filter fallback */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav.scrolled { background: rgba(10,11,14,.97); }
  .co-backdrop { background: rgba(0,0,0,.8); }
  .nav-drawer { background: rgba(12,13,17,1); }
}

/* disabled-кнопка, sr-only, skip-link, inert-фон */
.btn:disabled, .btn[disabled] { opacity: .6; cursor: default; box-shadow: none !important; pointer-events: none; }
.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: absolute; left: -9999px; top: 0; z-index: 200; background: var(--amber-grad); color: #1c1304; padding: 11px 18px; border-radius: 0 0 var(--r-sm) 0; font-family: var(--font-body); font-size: 14px; font-weight: 600; }
.skip:focus { left: 0; }
[inert] { filter: none; }

/* ============================================================
   МОУШЕН v2: золотой scroll-прогресс, ambient-свет (дыхание купола
   + дрейф блоба), пульс play-бейджа, каскад-стаггер сеток.
   Всё под prefers-reduced-motion: no-preference. transform/opacity.
   ============================================================ */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; transform: scaleX(var(--sp, 0)); transform-origin: 0 50%; background: linear-gradient(90deg, #bdbdbd, #ffffff); box-shadow: 0 0 12px -2px var(--amber-glow); opacity: 0; transition: opacity .4s ease; pointer-events: none; will-change: transform; }
.scroll-progress.on { opacity: 1; }

@media (prefers-reduced-motion: no-preference) {
  /* дыхание золотого купола - живой источник света */
  .dome { animation: domeBreathe 9s ease-in-out infinite; will-change: opacity, transform; }
  /* медленно дрейфующий ambient-блоб за героем */
  .atmos::after { content: ""; position: absolute; top: 40px; left: 50%; width: 680px; max-width: 92vw; height: 520px; border-radius: 50%; pointer-events: none;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.10), transparent 62%); filter: blur(22px);
    animation: orbDrift 24s ease-in-out infinite; will-change: transform; }
  /* апертура дышит, кольцо насечек медленно вращается */
  .apr.r1 { animation: aperBreathe 6s ease-in-out infinite; }
  .apr.r3::before { animation: spin 80s linear infinite; }
}
@keyframes domeBreathe {
  0%, 100% { opacity: .8; transform: translateX(-50%) scale(1); }
  50%      { opacity: 1; transform: translateX(-50%) scale(1.04); }
}
@keyframes orbDrift {
  0%   { transform: translate(-50%, 0) scale(1); }
  33%  { transform: translate(-62%, 26px) scale(1.08); }
  66%  { transform: translate(-38%, -18px) scale(0.95); }
  100% { transform: translate(-50%, 0) scale(1); }
}
@keyframes aperBreathe {
  0%, 100% { box-shadow: 0 0 44px -10px var(--amber-glow), inset 0 0 26px -14px var(--amber-glow); }
  50%      { box-shadow: 0 0 72px -8px rgba(255,255,255,.44), inset 0 0 34px -12px rgba(255,255,255,.4); }
}


/* ============================================================
   HOW – pinned scroll-storytelling. Дефолт (без JS / мобайл / reduce):
   главы видны стопкой (ничего не прячется). .how-cinematic (ставит JS
   на десктопе) включает sticky-сцену со сменой глав по скроллу.
   Без animation-timeline (он тут залипал на opacity:0).
   ============================================================ */
.how { position: relative; }
.how-track { position: relative; }
.how-pin { padding: 96px 0; }
/* весь акт центрован – в ритме остальной страницы: голова, индекс глав,
   сцена и текст глав сидят на одной оси */
.how-grid { display: grid; grid-template-columns: 1fr; gap: 44px; justify-items: center; }
.how-aside { text-align: center; }
.how-aside .eyebrow::before { content: ""; width: 40px; height: 1px; background: linear-gradient(270deg, var(--amber-line), transparent); margin-right: 14px; }
.how-h { font-size: clamp(34px, 5vw, 58px); line-height: 1.02; margin: 14px 0 26px; }
.how-h em { font-style: italic; background: var(--amber-em); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.how-nav { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; }
/* .hn – <button> внутри <ol> (доступен с клавиатуры); сбрасываем нативную кнопку */
.hn { display: inline-flex; align-items: baseline; gap: 8px; margin: 0; padding: 0; background: none; border: 0; cursor: pointer; font-family: var(--font-mono); font-size: 14px; letter-spacing: .03em; color: var(--ink-3); }
.hn b { color: var(--ink-2); font-weight: 500; font-size: 11px; }
.how-progress { display: none; }

.how-stage { display: grid; gap: 48px; margin-top: 6px; width: 100%; justify-items: center; }
.hchap { display: grid; gap: 22px; justify-items: center; width: 100%; }
.hk { display: inline-block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--amber-3); }
.hchap-txt { text-align: center; }
.hchap-txt h3 { font-size: clamp(24px, 3vw, 34px); margin: 12px 0 10px; }
.hchap-txt p { color: var(--ink-2); font-size: 17px; max-width: 46ch; margin-inline: auto; text-wrap: pretty; }

/* стадия-экран: живой мини-скрин, на котором Gaze реально работает */
.vis { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: radial-gradient(120% 120% at 50% 38%, #14171f, #090b10); box-shadow: var(--shadow-lift); color: var(--amber-3); }
.vis::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 1px 0 rgba(255,255,255,.06); pointer-events: none; }

/* скелет рабочего окна: тулбар, колонка текста, сайдбар */
.vis .mini { position: absolute; inset: 0; padding: 48px 30px 24px; display: grid; grid-template-columns: 1.55fr 1fr; gap: 24px; align-content: start; }
.mbar { position: absolute; top: 0; left: 0; right: 0; height: 29px; border-bottom: 1px solid var(--line-2); display: flex; align-items: center; gap: 5px; padding: 0 13px; }
.mbar i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); opacity: .32; flex: none; }
.mbar b { margin-left: auto; width: 40px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.08); }
.mcol, .mside { min-width: 0; }
.ln { display: block; height: 9px; border-radius: 5px; background: rgba(255,255,255,.15); margin-bottom: 16px; }
.ln.dim { opacity: .5; }
.l52{width:52%} .l58{width:58%} .l60{width:60%} .l68{width:68%} .l72{width:72%} .l74{width:74%} .l82{width:82%} .l90{width:90%}
/* «текстовая карточка»: мелкие строки внутри – под линзой превращаются в крупные */
.blk { display: block; height: 84px; border-radius: 8px; border: 1px solid var(--line-2); padding: 13px 15px; margin-bottom: 17px;
  background:
    repeating-linear-gradient(180deg, rgba(255,255,255,.11) 0 3.5px, transparent 3.5px 9.5px) content-box,
    linear-gradient(135deg, rgba(255,255,255,.05), rgba(255,255,255,.02)) border-box;
  background-clip: content-box, border-box; }
.chip { display: block; width: 58%; height: 24px; border-radius: var(--r-pill); border: 1px solid var(--line); background: rgba(255,255,255,.05); margin-bottom: 17px; }
.vis .mini::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 28px; border-top: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(255,255,255,.015), transparent); }
/* в стек-фолбэке сцена не должна распухать на всю ширину; width обязателен:
   контент .vis целиком абсолютный, под justify-items:center без width
   сцена схлопывается в точку */
.how-stage .vis { width: 100%; max-width: 680px; }

/* zoom: круглая линза с увеличенным клоном экрана вокруг точки курсора */
.vis-zoom .lens { position: absolute; inset: 0; clip-path: circle(88px at 44% 33%); background: #10131b; }
.vis-zoom .lens .mini { transform: scale(1.8); transform-origin: 44% 33%; filter: brightness(1.5); }
.lens-ring { position: absolute; left: 44%; top: 33%; width: 176px; height: 176px; transform: translate(-50%,-50%); border-radius: 50%; border: 1.5px solid rgba(255,255,255,.65);
  box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 18px 60px -12px rgba(0,0,0,.8), 0 0 44px -8px var(--amber-glow), inset 0 0 34px -20px var(--amber-glow); }
.lens-ring::before { content: ""; position: absolute; left: 50%; top: -7px; width: 1.5px; height: 6px; transform: translateX(-50%); background: rgba(255,255,255,.7); box-shadow: 0 184px 0 rgba(255,255,255,.7); }
.lens-ring::after { content: ""; position: absolute; top: 50%; left: -7px; width: 6px; height: 1.5px; transform: translateY(-50%); background: rgba(255,255,255,.7); box-shadow: 184px 0 0 rgba(255,255,255,.7); }
.lens-cur { position: absolute; left: 44%; top: 33%; width: 22px; color: #fff; filter: drop-shadow(0 2px 5px rgba(0,0,0,.65)); }

/* click-through: та же линза, но над кнопкой-чипом – клик попадает В ЦЕЛЬ
   под зумом. Пресс курсора, вспышка чипа и рябь живут на ОДНОЙ 2.6s-шкале
   (раздельные таймлайны рассинхронизируются – урок hlPath). */
.vis-click .lens { position: absolute; inset: 0; clip-path: circle(88px at 68% 44%); background: #10131b; }
.vis-click .lens .mini { transform: scale(1.8); transform-origin: 68% 44%; filter: brightness(1.5); }
.vis-click .lens-ring { left: 68%; top: 44%; }
/* кнопка-мишень: в базовой сцене мелкая, в линзе её увеличивает клон.
   Позиция подобрана так, чтобы увеличенная копия легла в круг линзы. */
.vis-click .tgt { position: absolute; left: 60%; top: 39.5%; width: 14%; height: 6.5%; border-radius: var(--r-pill); border: 1px solid var(--amber-line); background: rgba(255,255,255, .1); }
.vis-click .lens-cur { left: 66%; top: 42.5%; }
.click-ping { position: absolute; left: 66%; top: 42.5%; width: 0; height: 0; pointer-events: none; }
.click-ping i { position: absolute; left: 0; top: 0; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; border: 1.5px solid rgba(255,255,255, .75); opacity: 0; }

/* freeze: кадр остановлен – грейскейл, уголки кадрирования, чернила, чип */
.vis-freeze .mini { filter: grayscale(.9) brightness(.72); }
.fr-corners { position: absolute; inset: 13% 10%; pointer-events: none; --tk: rgba(255,255,255,.55);
  background:
    linear-gradient(var(--tk) 0 0) left 0 top 0 / 14px 1.5px,
    linear-gradient(var(--tk) 0 0) left 0 top 0 / 1.5px 14px,
    linear-gradient(var(--tk) 0 0) right 0 top 0 / 14px 1.5px,
    linear-gradient(var(--tk) 0 0) right 0 top 0 / 1.5px 14px,
    linear-gradient(var(--tk) 0 0) left 0 bottom 0 / 14px 1.5px,
    linear-gradient(var(--tk) 0 0) left 0 bottom 0 / 1.5px 14px,
    linear-gradient(var(--tk) 0 0) right 0 bottom 0 / 14px 1.5px,
    linear-gradient(var(--tk) 0 0) right 0 bottom 0 / 1.5px 14px;
  background-repeat: no-repeat; }
.fr-ink { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%) rotate(-2deg); width: 42%; color: var(--amber-3); filter: drop-shadow(0 0 12px var(--amber-glow)); }
.fr-ink path { stroke-dasharray: 1; stroke-dashoffset: 0; stroke-width: 2.4; }
.fr-chip { position: absolute; top: 14px; right: 14px; display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--amber-3); border: 1px solid var(--amber-line); border-radius: var(--r-pill); padding: 6px 11px; background: rgba(255,255,255,.07); }
.fr-chip i { width: 3px; height: 9px; background: currentColor; border-radius: 1px; flex: none; }
.fr-chip i + i { margin-left: -4px; }

/* pin: запертое окно-линза, под ним продолжается работа (печатается строка) */
.vis-pin .pin-win { position: absolute; left: 26%; top: 18%; width: 46%; height: 40%; border-radius: 10px; overflow: hidden; border: 1.5px solid rgba(255,255,255,.6); background: #0b0d12;
  box-shadow: 0 18px 54px -16px rgba(0,0,0,.75), 0 0 36px -10px var(--amber-glow); }
.vis-pin .pin-win .mini { inset: auto; left: -56.5%; top: -45%; width: 217.4%; height: 250%; transform: scale(1.5); transform-origin: 49% 38%; filter: brightness(1.2); }
.pin-tag { position: absolute; left: calc(26% + 12px); top: 18%; transform: translateY(-50%); font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--amber-3); background: var(--surface); border: 1px solid var(--amber-line); border-radius: var(--r-pill); padding: 5px 10px; box-shadow: 0 0 24px -8px var(--amber-glow); }
.ln.typing { position: relative; width: 34%; background: rgba(255,255,255,.35); margin-top: 2px; }
.ln.typing::after { content: ""; position: absolute; right: -6px; top: -3px; width: 2px; height: 13px; background: var(--ink); }

/* highlight: спотлайт дрейфует за курсором, клики дают рябь */
.vis-hl .mini { opacity: 1; }
.hl-shade { position: absolute; left: -75%; top: -75%; width: 250%; height: 250%; pointer-events: none;
  background: radial-gradient(circle at 50% 50%, transparent 0 48px, rgba(4,5,7,.86) 112px); }
.hl-cur { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.hl-cur svg { position: absolute; left: -3px; top: -3px; width: 22px; color: #fff; filter: drop-shadow(0 2px 6px rgba(0,0,0,.7)); }
.hl-cur .rp { position: absolute; left: 0; top: 0; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.75); opacity: 0; }

@media (max-width: 480px) {
  .vis .mini { padding: 32px 16px 12px; gap: 14px; }
  .mbar { height: 24px; }
  .ln { height: 7px; margin-bottom: 11px; }
  .blk { height: 58px; padding: 9px 10px; margin-bottom: 12px;
    background:
      repeating-linear-gradient(180deg, rgba(255,255,255,.11) 0 3px, transparent 3px 8px) content-box,
      linear-gradient(135deg, rgba(255,255,255,.05), rgba(255,255,255,.02)) border-box;
    background-clip: content-box, border-box; }
  .chip { height: 18px; margin-bottom: 12px; }
  .vis .mini::before { height: 20px; }
  .vis-zoom .lens { clip-path: circle(62px at 44% 33%); }
  .vis-click .lens { clip-path: circle(62px at 68% 44%); }
  .lens-ring { width: 124px; height: 124px; }
  .lens-ring::before { box-shadow: 0 132px 0 rgba(255,255,255,.7); }
  .lens-ring::after { box-shadow: 132px 0 0 rgba(255,255,255,.7); }
}

/* ---- кинематографичный режим (десктоп, класс ставит JS) ---- */
.how-cinematic .how-track { height: 460vh; }
.how-cinematic .how-pin { position: sticky; top: 0; min-height: 100vh; display: flex; align-items: center; padding: 28px 0; }
/* центрованная вертикаль: голова -> индекс -> сцена -> текст. Ширина сцены
   гардится высотой вьюпорта, чтобы состав акта помещался в 100vh на ноутбуках */
.how-cinematic .how-grid { grid-template-columns: 1fr; gap: clamp(18px, 3vh, 32px); align-items: center; justify-items: center; }
.how-cinematic .how-h { margin-bottom: 16px; }
/* высотный клэмп главнее ширины: min-width убран (он молча отменял клэмп на
   низких ноутбуках и акт вылезал за 100vh-пин), пол ширины – через max() */
.how-cinematic .how-stage .vis { width: 100%; max-width: min(660px, max(300px, calc((100vh - 470px) * 1.6))); }
.how-cinematic .how-progress { display: block; position: relative; overflow: visible; width: 100%; max-width: 220px; height: 2px; background: var(--line); margin: 24px auto 0; }
.how-cinematic .how-progress i { display: block; height: 100%; background: var(--amber-grad); transform: scaleX(0); transform-origin: 0 50%; }
/* тики границ глав: тихие hairline-деления, янтарный fill проходит под ними */
.how-cinematic .how-progress b { position: absolute; top: 50%; transform: translateY(-50%); width: 1px; height: 9px; background: var(--line-bright); }
.how-cinematic .how-progress b:nth-of-type(1) { left: 20%; }
.how-cinematic .how-progress b:nth-of-type(2) { left: 40%; }
.how-cinematic .how-progress b:nth-of-type(3) { left: 60%; }
.how-cinematic .how-progress b:nth-of-type(4) { left: 80%; }
.how-cinematic .how-stage { display: grid; margin-top: 0; }
.how-cinematic .hchap { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .55s var(--ease-out), visibility .55s; }
.how-cinematic .hchap.is-active { opacity: 1; visibility: visible; z-index: 2; }
/* lens-wipe: новая сцена раскрывается кругом линзы поверх удержанного кадра.
   Transition по классу (без animation-timeline); у неактивной главы clip
   захлопывается мгновенно – это происходит под покрытием активной сцены. */
.how-cinematic .hchap .vis { clip-path: circle(0% at var(--wipe-at, 50% 50%)); }
.how-cinematic .hchap.is-active .vis { clip-path: circle(142% at var(--wipe-at, 50% 50%)); transition: clip-path .6s var(--ease-io) .08s; }
.how-cinematic .vis-zoom { --wipe-at: 44% 33%; } /* точка линзы */
.how-cinematic .vis-click { --wipe-at: 68% 44%; }
.how-cinematic .vis-pin { --wipe-at: 49% 38%; }
/* ирис-вход в акт: до прихода трека в кадр активная сцена держится захлопнутой,
   .act-open (IO + страховочный таймер) раскрывает её кругом – шов с квадрантом:
   страница «зумирует» внутрь янтарной ячейки. Fallback раскрывает всё ниже. */
.how-cinematic:not(.act-open) .hchap.is-active .vis { clip-path: circle(0% at var(--wipe-at, 50% 50%)); transition: none; }
/* текст едет отдельно от экрана */
.how-cinematic .hchap .hchap-txt { opacity: 0; transform: translateY(14px); transition: opacity .45s var(--ease-out), transform .45s var(--ease-out); }
.how-cinematic .hchap.is-active .hchap-txt { opacity: 1; transform: none; transition-delay: .15s; }
/* film-hold: покидаемая глава держит кадр под wipe (яркость не проваливается),
   её текст гаснет быстро – двойного текста нет */
.how-cinematic .hchap.leaving { opacity: 1; visibility: visible; z-index: 1; transition: none; }
.how-cinematic .hchap.leaving .vis { clip-path: circle(142% at 50% 50%); transition: none; }
.how-cinematic .hchap.leaving .hchap-txt { opacity: 0; transform: none; transition: opacity .22s var(--ease-out); }
.how-cinematic .hn { cursor: pointer; transition: color var(--t-fast) var(--ease); }
.how-cinematic .hn:hover, .how-cinematic .hn:hover b { color: var(--ink-2); }
.how-cinematic .hn.is-on, .how-cinematic .hn.is-on b { color: var(--amber-3); }

/* механика оживает только у активной главы (и только без reduce) */
@media (prefers-reduced-motion: no-preference) {
  .how-cinematic .hchap.is-active .lens-ring { animation: lensBreathe 4.5s ease-in-out infinite; }
  .how-cinematic .hchap.is-active .vis-zoom .lens .mini { animation: lensMag 4.5s ease-in-out infinite; }
  .how-cinematic .vis-freeze .fr-ink path { stroke-dashoffset: 1; }
  .how-cinematic .hchap.is-active .vis-freeze .fr-ink path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.1s var(--ease-out) .45s; }
  .how-cinematic .hchap.is-active .ln.typing { animation: typeGrow 2.8s var(--ease-io) infinite; }
  .how-cinematic .hchap.is-active .ln.typing::after { animation: caretBlink 1s steps(1) infinite; }
  .how-cinematic .hchap.is-active .hl-shade, .how-cinematic .hchap.is-active .hl-cur { animation: hlPath 8s ease-in-out infinite; }
  .how-cinematic .hchap.is-active .hl-cur .rp { animation: hlRipple 2.7s ease-out infinite; }
  .how-cinematic .hchap.is-active .hl-cur .rp2 { animation-delay: 1.35s; }
  .how-cinematic .hchap.is-active .vis-click .lens-cur { animation: curPress 2.6s var(--ease-out) infinite; }
  .how-cinematic .hchap.is-active .vis-click .lens .tgt { animation: chipHit 2.6s var(--ease-out) infinite; }
  .how-cinematic .hchap.is-active .click-ping i { animation: pingBurst 2.6s ease-out infinite; }
  .how-cinematic .hchap.is-active .click-ping i:nth-child(2) { animation-delay: .16s; }
}
@keyframes curPress { 0%, 6% { transform: scale(1); } 9% { transform: scale(.84); } 14%, 100% { transform: scale(1); } }
@keyframes chipHit { 0%, 8% { background: rgba(255,255,255, .08); border-color: var(--amber-line); } 11%, 30% { background: rgba(255,255,255, .22); border-color: rgba(255,255,255, .6); } 46%, 100% { background: rgba(255,255,255, .08); border-color: var(--amber-line); } }
@keyframes pingBurst { 0%, 8% { transform: scale(.25); opacity: 0; } 10% { opacity: .9; } 36% { transform: scale(1.2); opacity: 0; } 100% { transform: scale(1.2); opacity: 0; } }
@keyframes lensBreathe { 0%,100% { transform: translate(-50%,-50%) scale(1); } 50% { transform: translate(-50%,-50%) scale(1.045); } }
@keyframes lensMag { 0%,100% { transform: scale(1.8); } 50% { transform: scale(1.92); } }
@keyframes typeGrow { 0% { width: 22%; } 55% { width: 64%; } 100% { width: 64%; } }
@keyframes caretBlink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }
@keyframes hlPath { 0% { transform: translate(-64px,-26px); } 36% { transform: translate(58px,22px); } 68% { transform: translate(-14px,46px); } 100% { transform: translate(-64px,-26px); } }
@keyframes hlRipple { 0% { transform: scale(.25); opacity: .9; } 60% { transform: scale(1.15); opacity: 0; } 100% { transform: scale(1.15); opacity: 0; } }

@media (max-width: 900px) { .how-pin { padding: 78px 0; } .how-stage { gap: 56px; } }
/* аварийный клапан коротких экранов (ноут с доком/панелью): акт садится от
   верхнего края пина и поджимает вертикальные гэпы – заголовок не режется */
@media (max-height: 720px) {
  .how-cinematic .how-pin { align-items: flex-start; padding-top: 20px; }
  .how-cinematic .how-grid { gap: clamp(10px, 1.6vh, 20px); }
}

/* акт-брейки: выдох после sticky-HOW и пауза перед деньгами. Id-специфичность
   внутри media (min-width: 761px), чтобы не перебить мобильные 80px у .section */
@media (min-width: 761px) {
  /* персональные надбавки сняты: ритм секций общий */
}

/* ============================================================
   «Gaze уже запущен»: янтарный ореол за курсором + рябь по клику –
   фича Highlight самого приложения, работающая на сайте. Ставит JS
   только на fine-pointer без reduce. Родной курсор не прячем.
   ============================================================ */
#halo { position: fixed; left: 0; top: 0; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%;
  border: 1.5px solid rgba(236,187,92,.5); box-shadow: 0 0 20px -6px var(--amber-glow);
  pointer-events: none; z-index: 120; opacity: 0; mix-blend-mode: screen; will-change: transform;
  transition: opacity .35s ease, width .22s var(--ease-out), height .22s var(--ease-out), margin .22s var(--ease-out), border-color .2s ease, background-color .2s ease; }
#halo.on { opacity: .9; }
#halo.hot { width: 54px; height: 54px; margin: -27px 0 0 -27px; border-color: rgba(236,187,92,.85); background: rgba(255,255,255,.06); }
/* lock-on: кольцо обводит интерактив скруглённым прямоугольником. Геометрию
   (width/height/margin) ведёт JS-лерп в rAF, поэтому она исключена из transition –
   иначе CSS-transition дерётся с лерпом и кольцо желейно отстаёт */
#halo.lock { border-color: rgba(236,187,92,.85); background: rgba(255,255,255,.05);
  transition: opacity .35s ease, border-color var(--t-ui) var(--ease-out), background-color var(--t-ui) var(--ease-out); }
/* над скриншотом с лупой ореол гаснет – янтарный круг там уже есть */
#halo.on.yield { opacity: 0; }
.click-rp { position: fixed; left: 0; top: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  border: 1.5px solid rgba(236,187,92,.85); pointer-events: none; z-index: 120; mix-blend-mode: screen; opacity: .8;
  transform: translate(var(--rx), var(--ry)) scale(1); animation: clickRp .6s var(--ease-out) forwards; }
@keyframes clickRp { to { transform: translate(var(--rx), var(--ry)) scale(4.6); opacity: 0; } }

/* ============================================================
   The trade-off: визитная карточка. Квадрант «в записи x
   интерактивный» - открытый hairline-график (НЕ карточка):
   две оси-насечки, крестовина в центре, Gaze в янтарном
   квадранте с кольцами апертуры. Честная геометрия рынка.
   ============================================================ */
/* приём-подпись проведён через ВСЕ акты: любой h2 секций несёт янтарный курсив */
.section-head h2 em, .showcase-text h2 em { font-style: italic;
  background: var(--amber-em);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
/* крестовина-прицел в пересечении внутренних hairline */
.quad-plot::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 14px;
  transform: translate(-50%, -50%);
  background:
    linear-gradient(var(--ink-3), var(--ink-3)) center / 1px 14px no-repeat,
    linear-gradient(var(--ink-3), var(--ink-3)) center / 14px 1px no-repeat;
  opacity: .65; }

/* подписи осей - разметка прибора */
.quad-ax { position: absolute; font-family: var(--font-mono); font-size: 10.5px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }

/* ячейки-квадранты: внутренние hairline без дублей */
.quad-cell { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 9px;
  padding: clamp(20px, 4vw, 36px); min-height: clamp(150px, 23vw, 216px); }
.q-native { border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.q-gaze { border-bottom: 1px solid var(--line-2); }
.q-empty { border-right: 1px solid var(--line-2); }
@media (hover: hover) { .quad-cell:not(.q-empty):hover { background: rgba(255, 255, 255, .022); } }

.q-dot { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--ink-3); margin-bottom: 2px; }
.q-dot.q-amber { border: none; background: var(--amber-grad);
  box-shadow: 0 0 14px var(--amber-glow), 0 0 36px -4px var(--amber-glow); }

/* Gaze-квадрант: единственный янтарный источник секции + кольца апертуры */
.q-gaze { background: radial-gradient(130% 130% at 88% 8%, rgba(255,255,255, .13), rgba(255,255,255, .035) 46%, transparent 72%); }
.q-gaze b { color: var(--amber-3); }
.q-gaze p { color: var(--ink); }
.q-rings { position: absolute; inset: 0; pointer-events: none; }
.q-rings i { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  border: 1px solid var(--amber-line); border-radius: 50%; }
.q-rings i:nth-child(1) { width: 76px;  height: 76px;  opacity: .42; }
.q-rings i:nth-child(2) { width: 138px; height: 138px; opacity: .24; }
.q-rings i:nth-child(3) { width: 204px; height: 204px; opacity: .12; }
.q-spec { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: auto; padding-top: 6px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.q-spec b { color: var(--green); font-weight: 500; letter-spacing: 0; }

/* пустой квадрант: сюда никто не доехал */
.q-empty { align-items: center; justify-content: center; text-align: center; gap: 10px; }
.q-empty .q-ghost { width: 16px; height: 16px; border-radius: 50%; border: 1px dashed var(--ink-3); opacity: .5; }
.q-empty b { color: var(--ink-3); opacity: .8; } /* .8 = контраст 4.6:1 (AA), всё ещё тише активных ячеек */

/* моушн: квадранты проявляются каскадом (двое «старых» -> пустота -> Gaze
   зажигается последним, следом кольца). Reduce: только opacity. Fallback ниже. */
html.js .quad .quad-cell { opacity: 0; transition: opacity var(--t-reveal) var(--ease-out); }
html.js .quad.in .quad-cell { opacity: 1; }
html.js .quad.in .q-native  { transition-delay: .1s; }
html.js .quad.in .q-overlay { transition-delay: .24s; }
html.js .quad.in .q-empty   { transition-delay: .38s; }
html.js .quad.in .q-gaze    { transition-delay: .54s; }
html.js .quad .q-rings i { opacity: 0; transition: opacity .6s var(--ease-out); }
html.js .quad.in .q-rings i:nth-child(1) { opacity: .42; transition-delay: .9s; }
html.js .quad.in .q-rings i:nth-child(2) { opacity: .24; transition-delay: 1.05s; }
html.js .quad.in .q-rings i:nth-child(3) { opacity: .12; transition-delay: 1.2s; }
@media (prefers-reduced-motion: no-preference) {
  html.js .quad .quad-cell { transform: translateY(10px);
    transition: opacity var(--t-reveal) var(--ease-out), transform var(--t-reveal) var(--ease-out); }
  html.js .quad.in .quad-cell { transform: none; }
}
html.ready-fallback .quad .quad-cell, html.ready-fallback .quad .q-rings i { opacity: 1 !important; transform: none !important; }
html.ready-fallback .quad .q-rings i:nth-child(1) { opacity: .42 !important; }
html.ready-fallback .quad .q-rings i:nth-child(2) { opacity: .24 !important; }
html.ready-fallback .quad .q-rings i:nth-child(3) { opacity: .12 !important; }

@media (max-width: 600px) {
  .quad-plot { margin-left: 26px; }
  .quad-cell { padding: 16px 14px; min-height: 148px; gap: 7px; }
  .quad-cell b { font-size: 9.5px; letter-spacing: .1em; }
  .quad-cell p { font-size: 12.5px; }
  .quad-ax { font-size: 9.5px; }
  .quad-ax-x { bottom: -28px; }
  .quad-ax-y { left: -28px; }
  .q-rings i:nth-child(3) { display: none; }
  .q-spec { gap: 4px 10px; font-size: 9.5px; }
}

/* ============================================================
   Нарративный акт (консилиум 2026-07-07): шов квадрант -> витрина,
   inline-CTA после витрины, видео-слоты глав.
   ============================================================ */
/* мост-шов: квадрант делает заявление, главы ниже его доказывают */
.quad-bridge { display: flex; justify-content: center; align-items: center; gap: 14px; margin: 38px 0 0;
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.quad-bridge::before, .quad-bridge::after { content: ""; width: 40px; height: 1px; flex: none; }
.quad-bridge::before { background: linear-gradient(270deg, var(--amber-line), transparent); }
.quad-bridge::after { background: linear-gradient(90deg, var(--amber-line), transparent); }

/* inline-CTA после витрины: тихий free-оффер на пике убеждённости */
.act-cta { padding: 44px 28px 8px; text-align: center; }
.act-cta-inner { display: inline-flex; flex-direction: column; align-items: center; gap: 16px; }
.act-cta-sub { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); transition: color var(--t-fast) var(--ease); }
.act-cta-sub:hover { color: var(--ink-2); }
.act-cta-sub:active { color: var(--ink); }

/* видео-слот главы: файл включается атрибутом data-video-src на .hchap –
   ноль перевёрстки. Постер (мини-сцена) уходит только когда видео РЕАЛЬНО
   играет (.video-live ставится по событию playing – iOS Low Power не даёт
   чёрный ящик). Сам <video> никогда не под clip-path (Safari-композитинг):
   wipe режет .vis, видео живёт внутри уже раскрытой сцены. */
.vis video.vis-demo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s var(--ease-out); }
.vis.video-live video.vis-demo { opacity: 1; }

/* watchdog: при мёртвом JS ни одна сцена не остаётся захлопнутой ирисом */
html.ready-fallback .how .hchap .vis { clip-path: none !important; }
@media (max-width: 600px) {
  .act-cta .btn { white-space: normal; text-align: center; line-height: 1.4; padding: 13px 22px; }
}


/* ============================================================
   ПЕРЕСБОРКА 2026-08: спокойный инструмент.
   Принципы: воздух вместо плотности, hairline вместо карточек,
   плоский цвет вместо свечений, один акцент. Весь декоративный
   слой прошлой редакции выключен. Идёт последним – перекрывает
   ранние правила каскадом.
   ============================================================ */

:root { --wrap: 1040px; }
.device::after, .device::before { display: none; }

/* Никаких янтарных ореолов и глубоких теней – поверхности плоские */
.device, .plan, .co-card, .showcase-media img, .q, .vs {
  box-shadow: none !important;
}

/* --- 2. Воздух: вертикальный ритм секций --- */
/* ритм секций задаётся ниже, в блоке пересборки */
.section-head { margin-bottom: clamp(48px, 7vw, 84px); }
.section-head p { max-width: 52ch; margin-left: auto; margin-right: auto; }

/* --- 3. Герой: одна колонка, по центру, текст дышит --- */
@media (min-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 132px; padding-bottom: 96px; }
  .hero-text { grid-column: 1; }
}
.hero { min-height: 0; text-align: center; }
.hero-text { align-items: center; }
.hero-title { font-size: clamp(38px, 5.2vw, 68px); line-height: 1.06; max-width: 960px; margin-inline: auto; }
.hero-title em { display: block; }
.lead, .hero-lead { max-width: 50ch; margin-inline: auto; }
.hero-cta { justify-content: center; }
.trust-strip { justify-content: center; }

/* Витрина героя: спокойное окно без рамок-уголков и свечения */
.device { margin-top: clamp(56px, 8vw, 92px); background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; }
.video-poster { background: var(--bg); }

/* --- 4. Кнопки: плоские, без глянца и бегущего блика --- */
.btn { min-height: 48px; justify-content: center; font-size: 15px; padding: 13px 22px; border-radius: 10px; font-weight: 600; }
.btn.sm { min-height: 38px; padding: 9px 16px; font-size: 13.5px; }
.btn-amber { background: var(--amber-3); color: #14100a; box-shadow: none !important; }
.btn-amber::before { display: none; }
.btn-amber:hover { background: var(--amber-1); transform: none; }
.btn-ink { box-shadow: none !important; }
.btn-ink:hover { transform: none; }
.btn-bordered { background: transparent; }
.btn-bordered:hover { background: rgba(255,255,255,.04); }

/* --- 5. Лейблы секций: тихая моно-строка, без чипов и хвостов --- */
.section-head .eyebrow, .how-aside .eyebrow {
  font-size: 10.5px; letter-spacing: .2em; color: var(--ink-3); background: none; border: 0; padding: 0;
}
.section-head .eyebrow::after, .how-aside .eyebrow::after,
.section-head.center .eyebrow::before { display: none; }
.section-head .eyebrow b { color: var(--ink-3); margin-right: 10px; font-weight: 500; }
.section-head h2 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.1; max-width: 22ch; }
/* Витрина жила на старой шкале (до 56px) и кричала громче соседних секций. */
.showcase-text h2 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.1; margin-bottom: 20px; }

/* FAQ – единственный лево-выровненный блок, начинавшийся не с общего края
   колонки: своя ширина 760px сдвигала его на 22px правее всех остальных
   строк страницы. Спина у контента одна. */
.faq { max-width: none; }

/* Тарифы стоят рядом – кнопки обязаны лежать на одной линии. У Pro строка
   цены выше (55 против 46), и весь низ карточки съезжал на 6px. Пол по
   высоте у цены и подписи ставит обе кнопки в одну линию. Только для
   двухколоночной раскладки: в одну колонку это была бы лишняя пустота. */
@media (min-width: 641px) {
  .plan-price { min-height: 56px; }
  .plan-note { min-height: 66px; }
}

/* Акцентное слово – плоский янтарь, без градиента по буквам */
h1 em, .how-h em, .section-head h2 em, .showcase-text h2 em {
  background: none !important; -webkit-text-fill-color: currentColor; color: var(--amber-3);
}

/* --- 6. Полоса фактов: тихая строка через разделители --- */
.proof { border: 0; border-block: 1px solid var(--line-2); padding-block: 28px; margin-bottom: 0; }
.proof-lead { font-family: var(--font-body); font-size: 14px; letter-spacing: 0; text-transform: none; }
.proof-facts { gap: 10px 26px; font-size: 14px; }
.proof-facts li { padding: 0; border: 0; background: none; }
.proof-facts li + li::before { display: none; }

/* --- 7. Таблица сравнения: только линии --- */
.vs { max-width: none; border: 0 !important; background: none !important; }
@media (min-width: 641px) { .vs-row { min-height: 64px; font-size: 15.5px; } }
@media (min-width: 641px) { .vs-row > span:first-child { padding-left: 0; } }
/* Подсветка и сетка делят --vs-col: край не может разрезать соседнюю колонку. */

/* Старая цена $29 тонула под двумя рукописными росчерками: в янтарной
   редакции они были тише текста, в грейскейле стали почти белыми и ярче
   самой цены – та читалась серым пятном, хотя это якорь всей скидки.
   Росчерк снят, зачёркивание – обычной линией в цвет текста. */
.plan-was .strike { display: none; }
.plan-was { text-decoration: line-through; text-decoration-thickness: 1px;
  text-decoration-color: rgba(255,255,255,.42); color: var(--ink-2); }
.vs-head { font-size: 10.5px; letter-spacing: .2em; }
.vs-row.vs-group span { color: var(--ink-3); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .2em; }

/* --- 8. Планы: плоские поверхности с hairline --- */
.plan { background: none; border: 1px solid var(--line); border-radius: 14px; }
.plan.pro { border-color: var(--amber-line); background: linear-gradient(180deg, rgba(255,255,255,.035), transparent 65%); }

/* --- 9. FAQ: строки с воздухом --- */
.q summary { padding-top: 24px; padding-bottom: 24px; font-size: 17px; }

/* --- 10. Футер: только ссылки --- */
/* Подвал занимает общую ширину контента, как таблица и строки выше. */
.footer-inner { justify-content: space-between; gap: 72px; }
.footer-base { margin-top: 40px; }

/* Витрина героя после перехода на одну колонку: разворачиваем на всю ширину,
   снимаем наклон и остаточный ореол из старой двухколонной раскладки. */
@media (min-width: 900px) {
  .hero > .device {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
    max-width: 780px;
    margin: clamp(40px, 5vw, 64px) auto 0;
    transform: none !important;
    box-shadow: none !important;
  }
  .hero > .device:hover { transform: none !important; }
}
.video-frame { aspect-ratio: 16 / 10; }

/* Реальный скриншот в витрине героя вместо декоративной заглушки */
.video-poster { position: relative; display: block; padding: 0; }
.hero-shot { display: block; width: 100%; height: auto; border-radius: 0 0 11px 11px; }
/* У скриншота свой тайтлбар – внешний убираем, чтобы не было двух подряд */
.device-bar { display: none; }
.device { border-radius: 12px; overflow: hidden; }
.hero-shot { border-radius: 0; }
/* Скриншот показываем целиком, без кадрирования под 16:10 */
.video-frame { aspect-ratio: auto; }

/* ============================================================
   GRAYSCALE 2026-08: полный отказ от цвета.
   Акцент несёт светлота и вес, а не тон. Янтарные токены
   переопределены в серые – так перекрашивается всё разом,
   включая компоненты, которые ссылались на бренд-цвет.
   ============================================================ */
:root {
  --amber-1: #ffffff;
  --amber-2: #d6d6d6;
  --amber-3: #ededed;
  --amber-grad: #ffffff;
  --amber-em: #ffffff;
  --amber-soft: rgba(255,255,255,.06);
  --amber-line: rgba(255,255,255,.22);
  --amber-glow: rgba(255,255,255,.10);
  --green: #d0d0d0;
}

/* Акцентное слово в заголовках – светлее фона, а не другого тона */
h1 em, .how-h em, .section-head h2 em, .showcase-text h2 em { color: #fff; }

/* Главная кнопка: белая пилюля, как единственный «яркий» элемент страницы */
.btn-amber { background: #f2f2f2; color: #0a0a0a; }
.btn-amber:hover { background: #fff; }

/* Светофор macOS в мокапах – в серый */
.device-bar .tl:nth-child(1),
.device-bar .tl:nth-child(2),
.device-bar .tl:nth-child(3) { background: rgba(255,255,255,.22); }

/* Галочки в таблице сравнения: нейтральные, без зелёного */
.vs-yes::before { background-color: rgba(255,255,255,.12); }

/* Скриншоты приложения – в родном цвете: это сам продукт, а не декор.
   Grayscale держит вся остальная страница. */
/* Брендовые пиктограммы тоже без тона */
.brand-mark { filter: grayscale(1); }

/* ---------- Ещё воздуха ---------- */
.section { padding-top: clamp(64px, 7vw, 96px); padding-bottom: clamp(64px, 7vw, 96px); }
.section-head { margin-bottom: clamp(36px, 4vw, 52px); }
.hero { padding-bottom: clamp(56px, 7vw, 96px); }
.q summary { padding-top: 28px; padding-bottom: 28px; }
@media (min-width: 641px) { .vs-row { min-height: 70px; } }

/* ---------- Пять движений: плоские строки через hairline ----------
   Номер | заголовок + текст | тег. Никаких карточек, мокапов и рамок:
   ритм держат линии и пустота. */
.frows { border-top: 1px solid var(--line-2); }
.fr {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 140px;
  gap: 28px;
  align-items: start;
  padding: 34px 0;
  border-bottom: 1px solid var(--line-2);
}
.fr-n {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em;
  color: var(--ink-3); padding-top: 5px;
}
.fr-txt h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 9px; }
.fr-txt p { font-size: 15px; line-height: 1.6; color: var(--ink-2); max-width: 56ch; }
.fr-tag {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--ink-3); text-align: right; padding-top: 6px;
}
@media (max-width: 720px) {
  .fr { grid-template-columns: 40px 1fr; gap: 16px; padding: 26px 0; }
  .fr-tag { grid-column: 2; text-align: left; padding-top: 2px; }
}

/* ---------- Trade-off: три строки вместо квадрант-схемы ----------
   Заявление держит текст и вес, а не диаграмма. Наш вариант выделен
   светлотой, а не цветом – страница остаётся grayscale. */
.tradeoff-rows { border-top: 1px solid var(--line-2); }
.tro {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) 250px;
  gap: 28px;
  align-items: baseline;
  padding: 30px 0;
  border-bottom: 1px solid var(--line-2);
}
.tro-name { font-size: 16px; font-weight: 600; color: var(--ink-2); }
.tro p { font-size: 15px; line-height: 1.6; color: var(--ink-3); }
.tro-verdict {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-3); text-align: right;
  line-height: 1.6; text-wrap: balance;
}
.tro-us .tro-name { color: #fff; font-weight: 700; }
.tro-us p { color: var(--ink); }
.tro-us .tro-verdict { color: var(--ink); }
.quad-bridge {
  margin-top: 44px; text-align: center;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--ink-3);
}
@media (max-width: 720px) {
  .tro { grid-template-columns: 1fr; gap: 10px; padding: 24px 0; }
  .tro-verdict { text-align: left; }
}

/* ---------- Поле знаков в герое ----------
   Готовый растр медленно дрейфует за текстом. Заголовок сидит поверх
   в difference – буквы инвертируют поле под собой. */
.hero { position: relative; }
.field {
  /* во всю ширину окна, а не колонки: герой должен дышать до краёв */
  position: absolute; top: 0; bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: var(--vwpx, 100vw); height: 100%;
  z-index: 0; pointer-events: none; opacity: 0;
  transition: opacity 1.2s var(--ease-out);
  /* Кольцо: в центре, под заголовком и лидом, поле уходит в ноль,
     разгорается по краям и снова тает к границам экрана. */
  -webkit-mask-image: radial-gradient(75% 62% at 50% 40%, transparent 0 32%, #000 64%, #000 76%, transparent 100%);
  mask-image: radial-gradient(75% 62% at 50% 40%, transparent 0 32%, #000 64%, #000 76%, transparent 100%);
}
.field.on { opacity: 1; }
.hero-text { position: relative; z-index: 2; }
.hero-title { mix-blend-mode: difference; }
.hero > .device { position: relative; z-index: 2; }

@media (prefers-reduced-motion: reduce) {
  /* поле остаётся, но рисуется одним статичным кадром (см. script.js) */
  .field { transition: none; }
}

/* Кадрировать витрину пробовал – любой срез 16:9 режет заголовок панели
   пополам, читается как брак. Показываем скриншот целиком. */

/* ---------- Приборный HUD ----------
   Тонкая моно-строка в углу: номер и имя секции + процент прокрутки.
   Страница читается как панель прибора, а не как лендинг. */
.hud {
  position: fixed; left: 22px; bottom: 20px; z-index: 45;
  display: flex; flex-wrap: wrap; align-items: center; gap: 7px 10px; max-width: 180px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink);
  pointer-events: none; opacity: 0; transition: opacity .5s var(--ease-out);
  mix-blend-mode: difference;
}
.hud.on { opacity: 1; }
.hud-name { flex-basis: 100%; }
.hud-bar { width: 64px; height: 2px; background: rgba(255,255,255,.28); position: relative; }
.hud-bar i { position: absolute; left: 0; top: 0; height: 100%; background: #fff; width: 100%; transform: scaleX(0); transform-origin: 0 50%; }
.hud-pct { color: var(--ink-2); font-variant-numeric: tabular-nums; }
@media (max-width: 1400px) { .hud { display: none; } }


/* ---------- Растр за финальным блоком ----------
   Страница открывается полем знаков и им же закрывается.
   Канвас вставляется скриптом, лежит под контентом секции. */
.final { position: relative; }
.finale {
  position: absolute; top: 0; bottom: 0; left: 50%;
  transform: translateX(-50%); width: var(--vwpx, 100vw); height: 100%;
  z-index: 0; pointer-events: none; opacity: 0;
  transition: opacity 1.2s var(--ease-out);
  /* мягкие края: середину не выбиваем, там читается сам знак */
  /* Кольцо вместо сплошного пятна: в центре, под заголовком и кнопками,
     растр уходит в ноль – глифы наползали на подзаголовок и мешали читать. */
  -webkit-mask-image: radial-gradient(76% 70% at 50% 50%, transparent 0 34%, #000 62%, transparent 100%);
  mask-image: radial-gradient(76% 70% at 50% 50%, transparent 0 34%, #000 62%, transparent 100%);
}
.final-inner { z-index: 1; }
@media (max-width: 720px) { .finale { display: none; } }


/* ---------- Растворение витрины ----------
   Скриншот больше не сидит в жёсткой рамке: его края уходят в тот же
   растр. Сетка знаков лежит под изображением, чтобы не мешать
   читать контролы. */
.device { border: 0; background: none; border-radius: 0; overflow: visible; }
.video-frame { overflow: visible; }
.video-poster { position: relative; }
.hero-shot {
  position: relative; z-index: 1;
  /* Растворение только по углам. Прежние 78%/76% с заливкой до 42% были
     посчитаны под широкую полосу 1218x620; на полном кадре 1218x1106 та же
     маска съедала низ окна, и скриншот снова выглядел обрезанным. Здесь
     вертикальный и горизонтальный края попадают внутрь заливки (0.5/0.92 =
     0.54 < 0.66), а гаснут только углы. */
  -webkit-mask-image: radial-gradient(92% 92% at 50% 50%, #000 66%, transparent 100%);
  mask-image: radial-gradient(92% 92% at 50% 50%, #000 66%, transparent 100%);
}
.shotgrid {
  /* размеры явно: канвас – замещаемый элемент, из одних insets он
     не растягивается, а берёт свой собственный размер */
  position: absolute; left: -4%; top: -6%; width: 108%; height: 112%;
  z-index: 0; pointer-events: none; opacity: 0;
  transition: opacity 1.2s var(--ease-out);
  -webkit-mask-image: radial-gradient(70% 68% at 50% 48%, transparent 34%, #000 78%);
  mask-image: radial-gradient(70% 68% at 50% 48%, transparent 34%, #000 78%);
}

/* Растр движется готовым полотном. За пределами экрана анимация
   стоит на паузе, а тысячи глифов не перерисовываются при скролле. */
@media (prefers-reduced-motion: no-preference) {
  .field, .finale { animation: drift 62s ease-in-out infinite alternate; animation-play-state: paused; }
  .finale { animation-direction: alternate-reverse; }
  .field.is-visible, .finale.is-visible { animation-play-state: running; }
}
@keyframes drift {
  from { transform: translateX(-50%) translate3d(0, 0, 0); }
  to   { transform: translateX(-50%) translate3d(-22px, -14px, 0); }
}

html.page-hidden .field, html.page-hidden .finale { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.js [data-reveal] { opacity: 1; transform: none; }
}

/* Кадр показывается целиком: окно настроек – это продукт, и резать его
   полосой значит прятать половину того, за что платят. Высоту задаёт сама
   картинка (1218x1106), никакого aspect-ratio с object-fit здесь быть не
   должно – иначе при следующей смене размеров окна снова поедет кроп. */

/* ---------- Финал: убрать свечение и лишнюю пустоту ----------
   Светящееся пятно над блоком снято – единственный источник «сияния»
   на монохромной странице. Нижний отступ секции и подвал ужаты:
   после кнопок оставалась длинная тёмная полоса, в которую можно
   было скроллить впустую. */
.final-inner::before { display: none; }
.final { padding-bottom: 48px; }
/* именно .footer – голый footer перебивался более специфичным правилом */
.footer { padding: 40px 0 26px; }

/* Растровые слои во всю ширину заданы через 100vw, а эта единица включает
   полосу прокрутки – отсюда лишние ~20px и возможность утащить страницу
   вбок на мобильном. clip убирает боковую прокрутку, не ломая sticky. */
html { overflow-x: clip; overflow-y: visible; }

/* Подсказка про клавиши в HUD */
.hud-keys { flex-basis: 100%; color: var(--ink-3); letter-spacing: .05em; }

/* ---------- Витрина настроек: в стопку, а не в две колонки ----------
   После сужения колонки до 860px картинка в двухколоннике ужималась до
   ~370px и переставала читаться – продукт на ней было не разобрать.
   Текст сверху по центру (как у остальных секций), скриншот под ним
   во всю ширину: та же композиция, что в герое. */
.showcase { grid-template-columns: 1fr; max-width: none; gap: clamp(32px, 4vw, 48px); }
.showcase-text { order: 1; text-align: center; display: flex; flex-direction: column; align-items: center; }
.showcase-text p { max-width: 52ch; }
.showcase-media { order: 2; }
.showcase-media::before { display: none; }   /* ореол за картинкой – лишний */
.shot { border-radius: 12px; box-shadow: none; }
/* Витрина обрывалась посреди строки «Plain Esc smoothly exits live zoom»:
   кадр обрезался по нижнему краю. Больше не режем: окно показывается
   целиком, высоту берём из самой картинки. Правило то же, что и в герое. */
.shot-note { justify-content: center; }

/* ---------- Один тир моно-лейблов ----------
   Аудит показал четыре разные пары кегль/трекинг у элементов, которые
   играют одну роль – «разметка прибора». Сводим к единой паре, иначе
   страница читается как собранная из разных наборов. */
.vs-head span,
.fr-tag,
.tro-verdict,
.plan-sub,
/* точный селектор: правило с > и :first-child выше по специфичности
   и перебивало унификацию */
.vs-row.vs-group > span:first-child {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

/* ---------- Остатки янтарной эпохи и ритм строк ----------
   1) Чернила на светлых плашках были тёпло-коричневыми (#1c1304) –
      единственный неоттеночный цвет, доставшийся от прежней палитры.
   2) Строки через hairline жили в трёх ритмах (34 / 30 / 28) при
      одинаковой роли. Сводим к 30. */
.skip, .btn-amber { color: #0a0a0a; }
.fr { padding-top: 30px; padding-bottom: 30px; }
.q summary { padding-top: 24px; padding-bottom: 24px; }

/* Ошибка чекаута: держим её заметной весом и светлотой, а не тоном –
   страница остаётся строго монохромной. */
.co-err { color: #f2f2f2; font-weight: 600; }

/* ---------- Пословный подъём заголовков: отключён ----------
   Слова поднимались из обёртки с обрезкой, и на части загрузок анимация
   замирала на полпути – заголовок секции оставался срезанным по
   горизонтали навсегда. Инлайн-сброс перебивался более сильным правилом.
   Читаемость заголовка важнее эффекта: снимаем обрезку и сдвиг. */
.wm { overflow: visible !important; }
html.js .wm .w,
html.js .in .wm .w,
html.js .hero-title.in .wm .w { transform: none !important; transition: none !important; }

/* Промежуточный CTA висел в пустоте между блоками: 44px сверху против
   130px общего ритма секций – кнопка читалась отдельным островком.
   Подтягиваем её к блоку «пять движений» как его завершение. */
.act-cta { padding-top: 8px; padding-bottom: 0; }

/* Карточки тарифов были 1fr / 1.12fr – Pro шире Free на 44px. Акцент на
   Pro уже несут рамка и залитая кнопка; разная ширина добавляла
   не иерархию, а ощущение сбитой сетки. Уравниваем. */
@media (min-width: 641px) { .plans { grid-template-columns: 1fr 1fr; } }

/* ---------- Зоны нажатия на телефоне ----------
   Ссылки подвала и меню были 24-29px по высоте – для пальца мало
   (норма ~44px). Расширяем только на малых экранах: на десктопе
   ритм не трогаем, там курсор точный. */
@media (max-width: 640px) {
  .footer-col a,
  .nav-drawer a,
  .nav-links a { display: inline-flex; align-items: center; min-height: 44px; }
  .footer-col { gap: 0; }
}

/* Кнопка оплаты была ниже полей формы (43 против 48). Главное действие
   последнего шага воронки не должно быть мельче того, что над ним. */
#co-submit { min-height: 50px; }
/* Download follow-up: the native DMG download never waits for this panel. */
.download-next { position: fixed; right: 24px; bottom: 24px; z-index: 90; width: min(390px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; padding: 24px; background: #111; color: #eee; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; font-size: 14px; }
.download-next[hidden] { display: none; }
.download-next strong { display: block; padding-right: 20px; font-size: 16px; }
.download-next p { margin: 12px 0 18px; line-height: 1.6; color: #aaa; }
.download-next .btn { width: 100%; justify-content: center; white-space: normal; text-align: center; line-height: 1.4; }
.download-next small { display: block; margin-top: 14px; font-size: 11px; line-height: 1.5; color: #999; }
.download-next-close { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 36px; height: 36px; color: #aaa; background: transparent; border: 0; border-radius: 8px; cursor: pointer; font-size: 22px; transition: background .15s ease, color .15s ease; }
.download-next-close:hover { color: #fff; background: rgba(255,255,255,.06); }
.download-next a:focus-visible, .download-next-close:focus-visible { outline: 2px solid #eee; outline-offset: 3px; }
.download-privacy { display: inline-block; margin-top: 8px; color: #aaa; font-size: 11px; }
.download-privacy:hover { color: #fff; }
@media (max-width: 600px) { .download-next { right: 16px; bottom: 16px; } }

/* ---------- Ритм, читаемость и адаптив лендинга ---------- */
.hero-eyebrow { color: var(--ink-2); line-height: 1.8; text-wrap: balance; }
.product-caption { position: relative; z-index: 3; display: flex; justify-content: space-between; gap: 12px; padding-top: 20px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .05em; color: var(--ink-3); }
.plans { max-width: none; gap: 24px; }
.amount, .plan.pro .amount { font-size: 52px; }
.guarantee { text-align: center; line-height: 1.5; }
.plan .btn { min-height: 48px; }
.plan .feat-list { gap: 14px; }
.feat-list li { font-size: 15px; }
.q p a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-bright); text-underline-offset: 3px; }
.final-inner h2 { line-height: 1.08; }
.final-line { display: block; }
.fineprint { line-height: 1.8; text-wrap: balance; }
.footer-cols { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-base { padding-top: 24px; border-top: 1px solid var(--line-2); }
.co-input, .co-promo { min-width: 0; }

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .nav-drawer { max-height: calc(100dvh - var(--nav-h)); overflow-y: auto; overscroll-behavior: contain; }
  .hero { padding-top: 116px; }
  .hero-title { max-width: 680px; }
  .hero-title em { display: inline; }
  .tro { grid-template-columns: 150px minmax(0, 1fr); gap: 12px 24px; }
  .tro-verdict { grid-column: 2; text-align: left; }
  .fr { grid-template-columns: 40px minmax(0, 1fr) 100px; gap: 20px; }
  .plans { grid-template-columns: 1fr; }
  .plan-note { min-height: 0; }
}

@media (max-width: 720px) {
  .field, .shotgrid { display: none; }
}

@media (max-width: 640px) {
  .wrap, .section, .final { padding-left: 20px; padding-right: 20px; }
  .nav-inner { padding-inline: 20px; }
  .hero { padding-top: 108px; }
  .hero-title { font-size: clamp(35px, 9.8vw, 46px); letter-spacing: -.045em; margin-bottom: 24px; }
  .hero-eyebrow { font-size: 10px; letter-spacing: .13em; max-width: 32ch; }
  .hero-lead { font-size: 16px; line-height: 1.65; margin-bottom: 28px; }
  .hero-cta { width: 100%; max-width: 360px; flex-direction: column; gap: 10px; }
  .hero-cta .btn { width: 100%; }
  .trust-strip { justify-content: center; gap: 8px 14px; font-size: 10px; letter-spacing: .02em; margin-top: 20px; }
  .trust-strip li:last-child { flex-basis: 100%; }
  .device { margin-top: 40px; }
  .product-caption { flex-direction: column; gap: 4px; font-size: 10px; }
  .proof-lead { font-size: 13px; line-height: 1.65; }
  .proof-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; font-size: 13px; }
  .section-head p, .showcase-text > p { font-size: 16px; line-height: 1.65; }
  .tro { grid-template-columns: 1fr; gap: 8px; }
  .tro-verdict { grid-column: auto; }
  .fr { grid-template-columns: 28px minmax(0, 1fr); gap: 10px 14px; padding-block: 26px; }
  .fr-tag { grid-column: 2; text-align: left; }
  .fr-txt h3 { font-size: 18px; line-height: 1.25; }
  .plan { padding: 28px 22px; }
  .plan-note { min-height: 0; }
  .plan .feat-list { margin-top: 8px; }
  .q summary { padding: 22px 28px 22px 32px; font-size: 16px; line-height: 1.5; }
  .q p { padding-left: 32px; padding-right: 12px; font-size: 15px; line-height: 1.7; }
  .final-inner p { font-size: 16px; line-height: 1.65; }
  .fineprint { font-size: 10.5px; letter-spacing: .04em; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-base { gap: 14px; }
  .co-backdrop { padding: 16px; }
  .co-card { max-height: calc(100dvh - 32px); padding: 32px 22px 24px; }
  .co-close { top: 8px; right: 8px; width: 44px; height: 44px; }
  .co-cur-btn { min-height: 44px; }
  .co-card h3 { font-size: 24px; line-height: 1.15; }
  .co-input { font-size: 16px; padding-inline: 12px; }
  .co-apply { padding-inline: 14px; }
  .co-submit { white-space: normal; line-height: 1.4; }
}
