/* ============================================================
   Gaze - landing. ТЁМНЫЙ КИНЕМАТОГРАФИЧНЫЙ редизайн (dev-tool,
   дух Linear/Raycast): слоистый near-black, hairline-границы,
   золото Gaze как источник света + glow. Шрифты Fraunces (дисплей)
   + Hanken (текст) + JetBrains Mono (лейблы/числа). Не чистый #000
   (OLED-смаз). Fallback без JS - всё видно. Контраст 7:1+.
   ============================================================ */

:root {
  /* Слоистый тёмный фон: глубина через тон, не через тени */
  --bg-deep:  #060709;
  --bg:       #0a0b0e;
  --bg-2:     #0d0f13;
  --surface:  #14161c;
  --surface-2:#1b1e26;

  --ink:      #f3f4f7;
  --ink-2:    #a8acb6;
  --ink-3:    #868a94;
  --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:  #f0cf86;
  --amber-2:  #d8a93f;
  --amber-3:  #ecbb5c;
  --amber-grad: linear-gradient(135deg, #f3d489 0%, #d49a32 100%);
  /* единый градиент фирменного Fraunces-курсива во всех заголовках */
  --amber-em: linear-gradient(120deg, #f6d791 0%, #e0a83c 60%, #c98f2b 100%);
  --amber-soft: rgba(225, 168, 70, 0.12);
  --amber-line: rgba(225, 168, 70, 0.40);
  --amber-glow: rgba(232, 176, 80, 0.28);
  --green:  #57c06a;

  /* Тени = свет: тайтовый контактный слой + 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(232, 176, 80, 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: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, 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: 520ms;
  --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; }

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;
  overflow-x: hidden;
}
::selection { background: rgba(225, 168, 70, 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(232,176,80,.05) 54px 55px),
    radial-gradient(42% 52% at 50% 0%, rgba(232,176,80,.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: 500; letter-spacing: -0.025em; line-height: 1.02; font-optical-sizing: auto; color: #fbfbfd; }
h1 em { position: relative; font-style: italic; background: var(--amber-em); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* Рукописное подчёркивание: чернила Gaze, дорисовываются после появления слова */
/* Свош – НИЖЕ свисающих хвостов, а не поверх букв */
.swash { position: absolute; left: -1%; bottom: -0.11em; width: 102%; height: 0.22em; overflow: visible; pointer-events: none; color: var(--amber-3); }
.swash path { fill: none; stroke: currentColor; stroke-width: 6.5; stroke-linecap: round; opacity: .9; stroke-dasharray: 1; stroke-dashoffset: 0; }
.swash .p2 { opacity: .35; stroke-width: 4.5; }
@media (prefers-reduced-motion: no-preference) {
  html.js:not(.ready-fallback) .hero-title:not(.in) .swash path { stroke-dashoffset: 1; }
  html.js .hero-title.in .swash path { transition: stroke-dashoffset .85s var(--ease-out) .72s; }
  html.js .hero-title.in .swash .p2 { transition-delay: .98s; }
}

.eyebrow { display: inline-block; font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.14em; 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(232,176,80,.5), 0 0 0 1px rgba(232,176,80,.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; padding: 16px 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; transition: padding .3s ease; }
.nav.scrolled .nav-inner { padding: 10px 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { border-radius: 8px; display: block; box-shadow: 0 0 0 1px var(--line); }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 21px; letter-spacing: -0.02em; color: #fbfbfd; }
.nav-links { display: flex; gap: 30px; }
.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(42px, 9vw, 100px); margin: 0 0 28px; line-height: .98; text-shadow: 0 0 80px rgba(0,0,0,.6); }
.lead { font-size: clamp(16px, 1.7vw, 19px); color: var(--ink-2); max-width: 48ch; margin: 0 0 36px; line-height: 1.6; }
.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 .8s 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(232,176,80,.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: #ff5f57; }
.device-bar .tl:nth-child(2) { background: #febc2e; }
.device-bar .tl:nth-child(3) { background: #28c840; }
.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(232,176,80,.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)); }
.apr { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); aspect-ratio: 1; border-radius: 50%; }
.apr.r1 { width: 148px; border: 1px solid rgba(232,176,80,.38); box-shadow: 0 0 44px -10px var(--amber-glow), inset 0 0 26px -14px var(--amber-glow); }
.apr.r2 { width: 248px; border: 1px solid rgba(232,176,80,.13); }
.apr.r3 { width: 356px; }
.apr.r3::before { content: ""; position: absolute; inset: 0; border-radius: 50%; opacity: .45;
  background: repeating-conic-gradient(rgba(232,176,80,.55) 0deg 0.7deg, transparent 0.7deg 6deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6px)); }
.poster-eye { position: absolute; top: 50%; left: 50%; transform: translate(calc(-50% + var(--ex, 0px)), calc(-50% + var(--ey, 0px))); width: 82px; opacity: .55; pointer-events: none; user-select: none;
  filter: invert(1) sepia(1) saturate(3.2) hue-rotate(-16deg) brightness(1.02); }
.video-cap { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2);
  padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--r-pill); background: rgba(10,11,14,.5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.cap-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--amber-3); box-shadow: 0 0 10px var(--amber-glow); flex: none; }

/* ---------- Секции ---------- */
.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; }
.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(232,176,80,.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(232,176,80,.7); background-repeat: no-repeat; background-color: #0b0d12;
  box-shadow: 0 0 0 1px rgba(232,176,80,.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; }
.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 в одном блоке */
/* Launch-строка: моно спек-строка в духе .trust-strip (вместо pill-баннера),
   hairline-хвосты как у .eyebrow; янтарь только на «$19» и «locked forever» */
.launch-banner { display: flex; align-items: center; justify-content: center; gap: 14px; text-align: center;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-2); margin: 0 auto 36px; max-width: 900px; }
.launch-banner::before, .launch-banner::after { content: ""; width: 40px; height: 1px; flex: none; }
.launch-banner::before { background: linear-gradient(270deg, var(--amber-line), transparent); }
.launch-banner::after { background: linear-gradient(90deg, var(--amber-line), transparent); }
.launch-banner b, .launch-banner span { color: var(--amber-3); font-weight: 500; }
/* узкий телефон: перенос разрешён, декоративные hairline-хвосты не торчат за кромку */
@media (max-width: 480px) {
  .launch-banner { flex-wrap: wrap; gap: 8px; }
  .launch-banner::before, .launch-banner::after { display: none; }
}
.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(232,176,80,.20), transparent 50%), var(--surface-2); border-color: rgba(225,168,70,.55); box-shadow: 0 0 0 1px rgba(232,176,80,.15), 0 24px 80px -20px rgba(232,176,80,.22), var(--shadow); }
.plan.pro::after { content: ""; position: absolute; inset: -10px; pointer-events: none; --tk: rgba(232,176,80,.45);
  background:
    linear-gradient(var(--tk) 0 0) left 0 top 0 / 13px 1px,
    linear-gradient(var(--tk) 0 0) left 0 top 0 / 1px 13px,
    linear-gradient(var(--tk) 0 0) right 0 top 0 / 13px 1px,
    linear-gradient(var(--tk) 0 0) right 0 top 0 / 1px 13px,
    linear-gradient(var(--tk) 0 0) left 0 bottom 0 / 13px 1px,
    linear-gradient(var(--tk) 0 0) left 0 bottom 0 / 1px 13px,
    linear-gradient(var(--tk) 0 0) right 0 bottom 0 / 13px 1px,
    linear-gradient(var(--tk) 0 0) right 0 bottom 0 / 1px 13px;
  background-repeat: no-repeat; }
/* глэр по указателю: мягкое янтарное свечение следует за курсором (--mx/--my ведёт JS, fine-pointer) */
.plan.pro::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity var(--t-ui) ease;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(232,176,80,.10), transparent 60%); }
.plan.pro:hover::before { opacity: 1; }
.plan-flag { position: absolute; top: -14px; left: 32px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #1c1304; background: var(--amber-grad); padding: 7px 14px; border-radius: var(--r-pill); box-shadow: 0 0 36px -4px var(--amber-glow); }
.plan-top { display: flex; align-items: baseline; gap: 10px; }
.plan-name { font-family: var(--font-display); font-weight: 600; font-size: 25px; letter-spacing: -0.02em; 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; }
.plan-note b { color: var(--ink); }
.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='%23ecbb5c' 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: 500; font-size: 20px; 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; }
/* прогрессивное раскрытие: ответ разворачивается плавно (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(232,176,80,.20), transparent 66%); }
/* апертура-bookend: тонкое кольцо с насечками (рецепт .apr.r3) за финальным
   заголовком – прибор открывает страницу в герое и закрывает её здесь */
.final-aperture { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 520px; max-width: 92vw; aspect-ratio: 1; border-radius: 50%; z-index: -1; pointer-events: none; }
.final-aperture::before { content: ""; position: absolute; inset: 0; border-radius: 50%; opacity: .25;
  background: repeating-conic-gradient(rgba(232,176,80,.55) 0deg 0.7deg, transparent 0.7deg 6deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6px)); }
.final-aperture img { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 40px; opacity: .55; user-select: none;
  filter: invert(1) sepia(1) saturate(3.2) hue-rotate(-16deg) brightness(1.02); }
.final-inner h2 { font-size: clamp(44px, 7.5vw, 88px); font-weight: 400; letter-spacing: -0.03em; }
.final-inner p { color: var(--ink-2); font-size: 18px; max-width: 460px; }
.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; }
.footer-seal { position: relative; width: 124px; height: 124px; flex: none; }
.seal { width: 100%; height: 100%; animation: spin 28s linear infinite; }
.seal text { font-family: var(--font-mono); font-size: 7.4px; letter-spacing: 0.22em; fill: var(--ink-3); text-transform: uppercase; }
.seal-eye { position: absolute; inset: 0; margin: auto; width: 42px; height: 42px; filter: invert(1) brightness(1.4); opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }
/* гигантская подпись-водяной знак: тающий градиент через background-clip, чисто декоративная */
.footer-word { margin-top: 48px; font-family: var(--font-display); font-weight: 400; font-size: clamp(96px, 18vw, 260px); line-height: .8; letter-spacing: -0.04em; text-align: center; user-select: none; -webkit-user-select: none; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.015)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.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; 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 .26s 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: 8px; 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; }
.co-price b { color: var(--amber-3); font-weight: 600; }
.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: all .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: all .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; }

/* ============================================================
   МОУШЕН: маск-ревилы + 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; }

  /* scroll-reveal: opacity ВСЕГДА (виден и при reduced-motion), transform+blur
     только без reduce. Дистанция увеличена + 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(32px); filter: blur(6px);
      transition: opacity var(--t-reveal) var(--ease-out), transform var(--t-reveal) var(--ease-out), filter var(--t-reveal) var(--ease-out); }
    html.js [data-reveal].in { transform: none; filter: 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(232,176,80,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; }
  html.js .video-cap { opacity: 0; transition: opacity .5s var(--ease-out) 1.15s; }
  html.js .hero.loaded .video-cap { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .dome, .seal { 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 { 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: 210px; overflow: hidden;
  background: radial-gradient(200% 140% at 50% -10%, rgba(232,176,80,.20), rgba(232,176,80,.06) 48%, transparent 72%);
  border-left: 1px solid var(--amber-line); }
.vs-row { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 148px 210px; 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; }
.vs-head .vs-g { color: var(--amber-3); font-weight: 600; }
.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(87,192,106,.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='%2357c06a' 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: 600px) {
  .vs-hi { width: 126px; }
  .vs-row { grid-template-columns: 1fr 74px 126px; min-height: 54px; font-size: 13px; }
  .vs-row > span:first-child { padding-left: 14px; }
  .vs-row.vs-group > span:first-child { padding-left: 14px; }
  .vs-price .vs-g { font-size: 11px; }
}
/* самые узкие телефоны: колонки галочек ужимаются, фиче возвращается ширина –
   лейблы не рвутся в частокол 6-8 строк */
@media (max-width: 380px) {
  .vs-hi { width: 96px; }
  .vs-row { grid-template-columns: 1fr 52px 96px; font-size: 12.5px; }
  .vs-row > span { padding: 11px 5px; }
  .vs-row > span:first-child { padding-left: 12px; }
  .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; }
.guarantee svg { width: 15px; height: 15px; color: var(--green); flex: none; }
/* Старая цена: зачёркнута не 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, .footer-word { 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 .video-cap,
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, #d49a32, #f3d489); 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(232,176,80,.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; }
  .cap-dot { animation: capPulse 2.4s ease-in-out 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(232,176,80,.44), inset 0 0 34px -12px rgba(232,176,80,.4); }
}
@keyframes capPulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: .35; }
}

/* МОУШЕН v3: scroll-linked (параллакс) перенесён в script.js - CSS
   scroll-timeline (animation-timeline: view() + fill:both) залипал на
   opacity:0, если таймлайн не активировался. JS-вариант ничего не прячет. */
[data-parallax] { will-change: transform; }

/* ============================================================
   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 { display: inline-flex; align-items: baseline; gap: 8px; 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; }

/* стадия-экран: живой мини-скрин, на котором 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(232,176,80,.65);
  box-shadow: 0 0 0 1px rgba(232,176,80,.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(232,176,80,.7); box-shadow: 0 184px 0 rgba(232,176,80,.7); }
.lens-ring::after { content: ""; position: absolute; top: 50%; left: -7px; width: 6px; height: 1.5px; transform: translateY(-50%); background: rgba(232,176,80,.7); box-shadow: 184px 0 0 rgba(232,176,80,.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(232, 176, 80, .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(232, 176, 80, .75); opacity: 0; }

/* freeze: кадр остановлен – грейскейл, уголки кадрирования, чернила, чип */
.vis-freeze .mini { filter: grayscale(.9) brightness(.72); }
.fr-corners { position: absolute; inset: 13% 10%; pointer-events: none; --tk: rgba(232,176,80,.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(232,176,80,.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(232,176,80,.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(232,176,80,.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(232,176,80,.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(232,176,80,.7); }
  .lens-ring::after { box-shadow: 132px 0 0 rgba(232,176,80,.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(232, 176, 80, .08); border-color: var(--amber-line); } 11%, 30% { background: rgba(87, 192, 106, .22); border-color: rgba(87, 192, 106, .6); } 46%, 100% { background: rgba(232, 176, 80, .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) {
  #menubar, #pricing { padding-top: clamp(150px, 18vh, 210px); }
  #why { padding-top: 120px; }
}

/* ============================================================
   «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(232,176,80,.06); }
/* lock-on: кольцо обводит интерактив скруглённым прямоугольником. Геометрию
   (width/height/margin) ведёт JS-лерп в rAF, поэтому она исключена из transition –
   иначе CSS-transition дерётся с лерпом и кольцо желейно отстаёт */
#halo.lock { border-color: rgba(236,187,92,.85); background: rgba(232,176,80,.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; }

.quad { max-width: 860px; margin: 0 auto; }
.quad-plot { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr;
  margin-left: 34px; border-left: 1px solid var(--line-bright); border-bottom: 1px solid var(--line-bright); }
/* крестовина-прицел в пересечении внутренних 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; }
.quad-ax::after { content: " →"; color: var(--amber-3); }
.quad-ax-x { right: 0; bottom: -32px; }
.quad-ax-y { left: -32px; bottom: 0; writing-mode: vertical-rl; transform: rotate(180deg); }

/* ячейки-квадранты: внутренние 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); } }

.quad-cell b { font-family: var(--font-mono); font-size: 10.5px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.quad-cell p { font-size: 14px; line-height: 1.55; color: var(--ink-2); max-width: 30ch; }

.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(232, 176, 80, .13), rgba(232, 176, 80, .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; }
}
