/* =========================================================
   LOCAL FONTS — Google Fonts removed, served from /fonts/
   ========================================================= */

/* Cormorant Garamond */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/cormorant-garamond-v21-cyrillic_latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/cormorant-garamond-v21-cyrillic_latin-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/cormorant-garamond-v21-cyrillic_latin-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/cormorant-garamond-v21-cyrillic_latin-700.woff2') format('woff2');
}

/* Manrope */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/manrope-v20-cyrillic_latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/manrope-v20-cyrillic_latin-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/manrope-v20-cyrillic_latin-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/manrope-v20-cyrillic_latin-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/manrope-v20-cyrillic_latin-800.woff2') format('woff2');
}

/* JetBrains Mono */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/jetbrains-mono-v24-cyrillic_latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/jetbrains-mono-v24-cyrillic_latin-500.woff2') format('woff2');
}

/* cyrillic-ext для Cormorant Garamond (казахские Ә Ғ Қ Ң Ө Ұ Ү Һ) — variable woff2 с Google Fonts;
   грузится только если на странице есть такие символы. Блок на каждый вес, а не диапазон:
   Chrome склеивает unicode-range только у @font-face с одинаковыми дескрипторами.
   UI-шрифт казахской страницы — Golos Text, см. /kk/fonts-kk.css. */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/cormorant-garamond-v21-cyrillic-ext-variable.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/cormorant-garamond-v21-cyrillic-ext-variable.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/cormorant-garamond-v21-cyrillic-ext-variable.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/cormorant-garamond-v21-cyrillic-ext-variable.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* =========================================================
   Neurogenie — Early Access Landing
   Design tokens distilled from the brief + game design system. */

:root {
  /* Bases — deep midnight indigo, not pure black */
  --bg-0: #08091a;
  --bg-1: #0d0e22;
  --bg-2: #14152e;
  --bg-3: #1c1d3a;

  /* Magical accents — neon cyan + electric indigo + mystic magenta */
  --c-cyan:    #4FE3FF;
  --c-cyan-2:  #66F2FF;
  --c-indigo:  #5B7FFF;
  --c-magenta: #B65BFF;
  --c-violet:  #7A5BFF;

  /* Premium / offer — gold */
  --c-gold:    #F5C46B;
  --c-gold-2:  #FFE49C;
  --c-bronze:  #C58A3D;

  /* Text */
  --t-1: #F4F5FB;
  --t-2: #B8BCD8;
  --t-3: #7A7F9F;
  --t-muted: rgba(244,245,251,0.55);

  /* Glass */
  --glass-bg: rgba(255,255,255,0.04);
  --glass-bg-strong: rgba(255,255,255,0.06);
  --glass-border: rgba(255,255,255,0.08);
  --glass-border-strong: rgba(255,255,255,0.14);

  /* Glow */
  --glow-cyan:    0 0 60px rgba(79,227,255,0.35);
  --glow-magenta: 0 0 60px rgba(182,91,255,0.30);
  --glow-gold:    0 0 60px rgba(245,196,107,0.30);

  /* Type */
  --f-display: "Cormorant Garamond", "Gabriela", Georgia, serif;
  --f-ui:      "Manrope", "Inter", system-ui, sans-serif;
  --f-mono:    "JetBrains Mono", ui-monospace, monospace;

  /* Layout */
  --max: 1280px;
  --gutter: 32px;
  --radius-card: 20px;
  --radius-pill: 999px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  background: var(--bg-0);
  color: var(--t-1);
  font-family: var(--f-ui);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }

/* ---------- BACKGROUND FIELD ---------- */
.bg-field {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 0%,  rgba(91,127,255,0.18), transparent 60%),
    radial-gradient(ellipse 50% 40% at 90% 30%, rgba(182,91,255,0.14), transparent 60%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(79,227,255,0.10), transparent 60%),
    var(--bg-0);
}
.bg-grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 1;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.06) 1px, transparent 0);
  background-size: 3px 3px;
  mix-blend-mode: overlay;
  opacity: 0.25;
}
.bg-particles {
  position: fixed; inset: 0; pointer-events: none; z-index: 2;
}

/* ---------- TYPOGRAPHY ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-ui);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--c-gold-2);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, rgba(245,196,107,0.10), rgba(245,196,107,0.04));
  border: 1px solid rgba(245,196,107,0.25);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--c-gold);
  box-shadow: 0 0 10px var(--c-gold);
}
.eyebrow.cyan { color: var(--c-cyan-2); border-color: rgba(79,227,255,0.30); background: linear-gradient(135deg, rgba(79,227,255,0.10), rgba(79,227,255,0.03)); }
.eyebrow.cyan .dot { background: var(--c-cyan); box-shadow: 0 0 10px var(--c-cyan); }
.eyebrow.magenta { color: #ff7adf; border-color: rgba(255,120,220,0.30); background: linear-gradient(135deg, rgba(255,120,220,0.10), rgba(255,120,220,0.03)); }
.eyebrow.magenta .dot { background: var(--c-magenta); box-shadow: 0 0 10px var(--c-magenta); }

h1, h2, h3 { margin: 0; font-family: var(--f-display); font-weight: 500; line-height: 1.05; letter-spacing: -0.01em; }
h1 { font-size: 84px; }
h2 { font-size: 56px; }
h3 { font-size: 24px; font-family: var(--f-ui); font-weight: 600; letter-spacing: 0; line-height: 1.3; }

.lede { color: var(--t-2); font-size: 18px; line-height: 1.6; max-width: 56ch; }

/* Подзаголовок в hero — между H1 (84px) и body-lede (18px). Семантически H2. */
.hero-sub { color: var(--t-3); font-size: 32px; font-weight: 400; line-height: 1.25; max-width: 56ch; margin-top: 12px; }

.grad-text {
  background: linear-gradient(120deg, var(--c-cyan-2) 0%, var(--c-indigo) 50%, var(--c-magenta) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.grad-gold {
  background: linear-gradient(120deg, var(--c-gold-2) 0%, var(--c-gold) 60%, var(--c-bronze) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- LAYOUT ---------- */
.shell { position: relative; z-index: 3; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
section { position: relative; padding: 120px 0; }
.section-head { display: flex; flex-direction: column; gap: 18px; max-width: 760px; margin-bottom: 64px; }
.section-head.center { margin-left: auto; margin-right: auto; align-items: center; text-align: center; }

/* ---------- HEADER ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  background: rgba(8,9,26,0.6);
  border-bottom: 1px solid var(--glass-border);
}
.site-header .row {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: 0.02em; }
.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: block;
  object-fit: cover;
  /* Лёгкое свечение бренда вокруг иконки */
  box-shadow: 0 0 22px rgba(91, 127, 255, 0.45);
}
.nav { display: flex; gap: 28px; }
.nav a { color: var(--t-2); font-size: 14px; font-weight: 500; transition: color 160ms ease; }
.nav a:hover { color: var(--t-1); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 14px;
  border: 1px solid var(--glass-border-strong);
  background: var(--glass-bg-strong);
  color: var(--t-1);
  font-weight: 600; font-size: 14px;
  letter-spacing: 0.01em;
  transition: transform 160ms ease, background 160ms ease, box-shadow 220ms ease, border-color 160ms ease;
}
.btn:hover { background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.22); transform: translateY(-1px); }
.btn-primary {
  border: none;
  color: #0a0d20;
  font-weight: 700;
  background: linear-gradient(135deg, #6FF0FF 0%, #4FE3FF 35%, #5B7FFF 100%);
  box-shadow:
    0 8px 28px rgba(79,227,255,0.35),
    0 0 0 1px rgba(255,255,255,0.18) inset,
    0 -8px 16px rgba(91,127,255,0.35) inset;
  padding: 18px 28px;
  font-size: 15px;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(79,227,255,0.5), 0 0 0 1px rgba(255,255,255,0.22) inset; }
.btn-primary svg { transition: transform 200ms ease; }
.btn-primary:hover svg { transform: translateX(3px); }

.btn-gold {
  border: none;
  color: #2A1A05;
  font-weight: 700;
  background: linear-gradient(135deg, #FFE49C 0%, #F5C46B 50%, #C58A3D 100%);
  box-shadow:
    0 8px 28px rgba(245,196,107,0.35),
    0 0 0 1px rgba(255,255,255,0.25) inset;
  padding: 18px 28px; font-size: 15px;
}
.btn-gold:hover {
  /* Явно сохраняем золотой градиент — иначе .btn:hover накладывает translucent white и текст #2A1A05 становится нечитаемым. */
  background: linear-gradient(135deg, #FFEDB5 0%, #FFD279 50%, #D89A4A 100%);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(245,196,107,0.55), 0 0 0 1px rgba(255,255,255,0.32) inset;
}

.btn-ghost {
  background: transparent; border: 1px solid var(--glass-border-strong);
}

/* ---------- GLASS CARD ---------- */
.glass {
  background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  position: relative;
  overflow: hidden;
}
.glass::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
}

/* ---------- HERO ---------- */
.hero { padding: 64px 0 80px; min-height: 760px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.hero h1 { letter-spacing: -0.02em; }
.hero h1 .accent { color: var(--c-gold); display: inline-block; }
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 28px; color: var(--t-3); font-size: 13px; flex-wrap: wrap; }
.hero-meta .item { display: flex; align-items: center; gap: 8px; }
.hero-meta svg { color: var(--c-cyan); }

.offer-card {
  display: grid; grid-template-columns: auto 1fr;
  gap: 18px; align-items: center;
  padding: 18px 22px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(245,196,107,0.10), rgba(245,196,107,0.02));
  border: 1px solid rgba(245,196,107,0.25);
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 12px 36px rgba(0,0,0,0.35);
}
.offer-card::after {
  content: ""; position: absolute; inset: -1px; border-radius: 18px; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, rgba(245,196,107,0.6), transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.offer-percent {
  font-family: var(--f-display);
  font-size: 56px; line-height: 1; font-weight: 600;
  letter-spacing: -0.02em;
}
.offer-text .label { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--c-gold-2); margin-bottom: 4px; }
.offer-text .price { display: flex; align-items: baseline; gap: 10px; margin: 2px 0 6px; flex-wrap: wrap; }
.offer-text .price-now { font-family: var(--f-display); font-size: 26px; line-height: 1; font-weight: 600; letter-spacing: -0.01em; }
.offer-text .price-old { color: var(--t-3); font-weight: 400; font-size: 14px; text-decoration-thickness: 1px; }
.offer-text .price-footnote { color: var(--t-3); font-size: 13px; line-height: 1.2; margin: 0 0 4px; }
.offer-text .value { font-size: 15px; color: var(--t-1); font-weight: 600; }
.offer-text .value s { color: var(--t-3); font-weight: 400; margin-left: 6px; font-size: 13px; }

/* Hero visual */
.hero-visual { position: relative; height: 620px; }
.hero-character {
  position: absolute; inset: 0;
  border-radius: 28px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 40%, rgba(91,127,255,0.20), transparent 60%);
}
.hero-character img {
  width: 100%; height: 100%; object-fit: cover;
  filter: contrast(1.05) saturate(1.05);
}
.hero-character::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, transparent 55%, rgba(8,9,26,0.85) 100%),
    radial-gradient(circle at 30% 30%, transparent 40%, rgba(8,9,26,0.6) 100%);
}
.hero-character .ring {
  position: absolute; inset: 12px; border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.10);
  pointer-events: none;
}

/* Tablet mockup */
.hero-mockup {
  position: absolute;
  bottom: -20px; right: -40px;
  width: 280px; height: 380px;
  transform: rotate(8deg);
  filter: drop-shadow(0 30px 60px rgba(91,127,255,0.35));
}
.hero-mockup .device {
  width: 100%; height: 100%;
  border-radius: 22px;
  background: #0a0c1f;
  border: 2px solid #1a1c3a;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
  padding: 14px;
  display: flex; flex-direction: column;
}

/* Floating abacus glyphs */
.glyph {
  position: absolute; pointer-events: none;
  filter: drop-shadow(0 0 18px rgba(79,227,255,0.4));
  opacity: 0.85;
}

/* ---------- SECTION 2: VIDEO ---------- */
.video-wrap {
  position: relative;
  border-radius: 28px;
  padding: 28px;
  background: linear-gradient(180deg, rgba(91,127,255,0.10), rgba(182,91,255,0.05));
  border: 1px solid var(--glass-border);
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
}
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, #1a1d3f 0%, #0c0d24 60%, #06081c 100%);
  border: 1px solid var(--glass-border-strong);
}
.video-frame .scanlines {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(180deg, transparent 0 2px, rgba(255,255,255,0.02) 2px 3px);
  pointer-events: none;
  z-index: 2;
}
.gameplay-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #06081c;
  z-index: 1;
}
.video-frame .video-corner { z-index: 3; }
.play-btn {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 96px; height: 96px; border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #6FF0FF, #4FE3FF 40%, #5B7FFF);
  box-shadow: 0 0 0 8px rgba(79,227,255,0.15), 0 0 60px rgba(79,227,255,0.5);
  display: grid; place-items: center;
  transition: transform 220ms ease;
}
.play-btn:hover { transform: translate(-50%,-50%) scale(1.06); }
.play-btn .tri { width: 0; height: 0; border-left: 22px solid #0a0d20; border-top: 14px solid transparent; border-bottom: 14px solid transparent; margin-left: 6px; }
.video-controls { position: absolute; left: 20px; right: 20px; bottom: 16px; display: flex; align-items: center; gap: 14px; }
.video-bar { flex: 1; height: 4px; border-radius: 2px; background: rgba(255,255,255,0.10); position: relative; overflow: hidden; }
.video-bar > i { position: absolute; left: 0; top: 0; bottom: 0; width: 28%; background: linear-gradient(90deg, var(--c-cyan), var(--c-indigo)); border-radius: 2px; }
.video-time { font-family: var(--f-mono); font-size: 12px; color: var(--t-2); }
.video-corner { position: absolute; top: 16px; left: 20px; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--t-2); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-magenta); box-shadow: 0 0 12px var(--c-magenta); }

/* Decorative orbs around video */
.video-orbits { position: absolute; inset: -40px; pointer-events: none; }

/* ---------- SECTION 3: VS ---------- */
.vs-grid {
  display: grid; grid-template-columns: 1fr 80px 1fr; gap: 24px; align-items: stretch;
}
.vs-card { padding: 36px; min-height: 420px; display: flex; flex-direction: column; gap: 20px; }
.vs-card.muted { background: linear-gradient(180deg, rgba(120,120,140,0.05), rgba(120,120,140,0.02)); }
.vs-card.muted h3 { color: var(--t-2); }
.vs-card.hero {
  background:
    linear-gradient(180deg, rgba(91,127,255,0.10), rgba(182,91,255,0.06)),
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border-color: rgba(91,127,255,0.30);
  box-shadow: 0 0 0 1px rgba(91,127,255,0.10) inset, 0 30px 80px rgba(91,127,255,0.18);
}
.vs-tag { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--t-3); }
.vs-card.hero .vs-tag { color: var(--c-cyan-2); }
.vs-list { display: flex; flex-direction: column; gap: 14px; }
.vs-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--t-2); font-size: 14px; line-height: 1.55; list-style: none; }
.vs-list .ic {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; margin-top: 1px;
  background: rgba(255,255,255,0.06); border: 1px solid var(--glass-border);
}
.vs-card.hero .vs-list .ic { background: rgba(79,227,255,0.12); border-color: rgba(79,227,255,0.4); color: var(--c-cyan-2); }
.vs-divider {
  display: grid; place-items: center;
  font-family: var(--f-display);
  font-size: 28px; color: var(--t-3);
  position: relative;
}
.vs-divider::before, .vs-divider::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%);
  width: 1px; background: linear-gradient(180deg, transparent, var(--glass-border-strong), transparent);
}
.vs-divider::before { top: 0; bottom: 50%; height: 40%; }
.vs-divider::after { top: 60%; bottom: 0; height: 40%; }
.vs-stats {
  display: flex; gap: 32px; padding-top: 16px; margin-top: auto;
  border-top: 1px solid var(--glass-border);
}
.vs-stats .num { font-family: var(--f-display); font-size: 32px; line-height: 1; }
.vs-stats .num.cyan { color: var(--c-cyan-2); }
.vs-stats .lbl { font-size: 12px; color: var(--t-3); margin-top: 4px; }

/* ---------- SECTION 4: FEATURES ---------- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature {
  padding: 28px;
  display: flex; flex-direction: column; gap: 18px;
  min-height: 360px;
  position: relative;
}
.feature .num {
  font-family: var(--f-display);
  font-size: 13px; letter-spacing: 0.3em;
  color: var(--t-3);
}
.feature h3 { font-size: 22px; }
.feature p { color: var(--t-2); font-size: 14px; line-height: 1.6; margin: 0; }
.feature-art {
  height: 160px; border-radius: 14px;
  background: linear-gradient(180deg, rgba(91,127,255,0.10), rgba(182,91,255,0.05));
  border: 1px solid var(--glass-border);
  position: relative; overflow: hidden;
  display: grid; place-items: center;
}

/* video placeholder */
.video-art { padding: 0; }
.video-art .va-thumb,
.feature-art .va-thumb {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.va-tutorial   { background-image: url('/assets/feature-tutorial.webp');   background-color: #0E1124; }
.va-tournament { background-image: url('/assets/feature-tournament.webp'); background-color: #0E1124; }
.va-fullcycle  { background-image: url('/assets/feature-fullcycle.webp');  background-color: #0E1124; }
.video-art .va-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  z-index: 2;
  transition: transform 0.25s ease;
}
.video-art:hover .va-play { transform: translate(-50%,-50%) scale(1.08); }
.video-art .va-play .tri {
  width: 0; height: 0;
  border-left: 14px solid #fff;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  margin-left: 4px;
}
.video-art .va-bar {
  position: absolute; left: 12px; right: 12px; bottom: 12px; height: 3px;
  border-radius: 2px; background: rgba(255,255,255,0.15);
  overflow: hidden; z-index: 2;
}
.video-art .va-bar > i { display: block; height: 100%; background: linear-gradient(90deg, #4FE3FF, #B65BFF); box-shadow: 0 0 8px rgba(79,227,255,0.6); }
.video-art .va-corner {
  position: absolute; top: 12px; right: 12px;
  display: flex; align-items: center; gap: 6px;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.85);
  background: rgba(0,0,0,0.35); padding: 4px 8px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  z-index: 2;
}
.video-art .live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #FF5C7A; box-shadow: 0 0 8px rgba(255,92,122,0.8);
}
.twinkle { animation: twinkle 1.4s ease-in-out infinite; }
@keyframes twinkle { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

/* RuStore card */
.rustore-card {
  position: relative;
  padding: 28px;
  background: rgba(11,14,30,0.85);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  display: flex; flex-direction: column; gap: 22px;
}
.rs-head { display: flex; align-items: center; gap: 14px; }
.rs-logo svg { display: block; }
.rs-title { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--t-3); }
.rs-name { font-family: var(--f-display, var(--f-serif, serif)); font-size: 24px; color: var(--t-1); line-height: 1.1; margin-top: 2px; }
.rs-row {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.rs-meta { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.rs-meta + .rs-meta { padding-left: 14px; border-left: 1px solid rgba(255,255,255,0.06); }
.rs-big { font-family: var(--f-mono); font-size: 18px; color: var(--t-1); }
.rs-sub { font-size: 11px; letter-spacing: 0.06em; color: var(--t-3); }
.rs-cta { width: 100%; justify-content: center; }

/* Disabled-состояние CTA (используется platform.js для iOS-юзеров) */
.btn.is-disabled,
a.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
  filter: grayscale(0.4);
}
.btn.is-disabled:hover,
a.is-disabled:hover { transform: none; box-shadow: none; }
.rs-qr-row { display: flex; gap: 14px; align-items: center; }
/* Настоящий QR-код (PNG из /assets/qr-rustore.png).
   Был CSS-арт — декоративный, не сканировался. */
.rs-qr {
  width: 76px; height: 76px; flex-shrink: 0;
  border-radius: 10px;
  border: 6px solid #fff;
  background: #fff;
  display: block;
}
.rs-qr-title { font-size: 13px; color: var(--t-1); margin-bottom: 4px; }
.rs-qr-sub { font-size: 12px; color: var(--t-3); line-height: 1.5; }

/* abacus art */
.abacus { display: flex; flex-direction: column; gap: 6px; padding: 12px 18px; width: 100%; }
.abacus-row {
  height: 14px;
  display: flex; align-items: center; gap: 4px;
  position: relative;
}
.abacus-row::before {
  content: ""; position: absolute; left: 8px; right: 8px; top: 50%; height: 1px;
  background: rgba(255,255,255,0.10);
}
.bead { width: 12px; height: 12px; border-radius: 50%; background: linear-gradient(135deg, #6FF0FF, #5B7FFF); box-shadow: 0 0 8px rgba(79,227,255,0.6); position: relative; z-index: 1; }
.bead.gold { background: linear-gradient(135deg, #FFE49C, #C58A3D); box-shadow: 0 0 8px rgba(245,196,107,0.6); }
.bead.muted { background: rgba(255,255,255,0.10); box-shadow: none; }

/* trophy art */
.trophy-art { display: flex; gap: 8px; align-items: end; }
.bar { width: 18px; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--c-cyan-2), var(--c-indigo)); box-shadow: 0 0 12px rgba(79,227,255,0.4); }

/* ---------- SECTION 5: ACHIEVEMENTS ---------- */
.skills-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.skill {
  padding: 24px;
  display: flex; flex-direction: column; gap: 16px;
  position: relative;
  min-height: 280px;
}
.skill .ring-art {
  position: relative;
  width: 120px; height: 120px;
  margin: 4px auto 8px;
}
.skill h3 { font-size: 17px; text-align: center; }
.skill .lvl {
  font-family: var(--f-mono);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--c-cyan-2); text-align: center;
}
.skill .stat-bar {
  height: 6px; border-radius: 3px;
  background: rgba(255,255,255,0.07);
  overflow: hidden; position: relative;
  margin-top: auto;
}
.skill .stat-bar > i {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: linear-gradient(90deg, var(--c-cyan), var(--c-indigo));
  box-shadow: 0 0 14px rgba(79,227,255,0.6);
  border-radius: 3px;
}
.skill .stat-row { display: flex; justify-content: space-between; font-size: 11px; color: var(--t-3); margin-bottom: 6px; font-family: var(--f-mono); letter-spacing: 0.06em; }

/* ---------- SECTION: EVIDENCE (заменяет старый results) ---------- */
.evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.evidence-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  color: var(--t-1);
  text-decoration: none;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 220ms ease;
}

.evidence-card:hover {
  transform: translateY(-3px);
  border-color: rgba(79,227,255,0.30);
  box-shadow: 0 20px 50px rgba(0,0,0,0.45), 0 0 30px rgba(79,227,255,0.15);
}

.evidence-journal {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-cyan-2);
}

.evidence-card h3 {
  font-size: 22px;
  line-height: 1.22;
}

.evidence-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--t-2);
  margin: 0;
}

/* Mini bar chart — visualises Cohen's d for the hero study (Wang 2019).
   Shows the headline effect (training vs control) more vividly than just a number. */
.evidence-chart {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(79,227,255,0.06), rgba(91,127,255,0.04));
  border: 1px solid rgba(79,227,255,0.15);
}
.evidence-chart-title {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--t-2);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.evidence-chart-title span {
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--t-3);
  letter-spacing: 0.06em;
}
.evidence-bar-row {
  display: grid;
  grid-template-columns: 78px 1fr 48px;
  align-items: center;
  gap: 10px;
}
.evidence-bar-label {
  font-size: 12px;
  color: var(--t-2);
}
.evidence-bar-track {
  height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
}
.evidence-bar-fill {
  display: block;
  height: 100%;
  border-radius: 4px;
}
.evidence-bar-fill.train {
  background: linear-gradient(90deg, var(--c-cyan), var(--c-indigo));
  box-shadow: 0 0 14px rgba(79,227,255,0.55);
}
.evidence-bar-fill.ctrl {
  background: rgba(255,255,255,0.20);
}
.evidence-bar-value {
  font-family: var(--f-mono);
  font-size: 14px;
  color: var(--c-cyan-2);
  text-align: right;
  font-weight: 600;
}
.evidence-bar-value.muted {
  color: var(--t-3);
  font-weight: 400;
}
.evidence-chart-note {
  font-size: 11px;
  line-height: 1.4;
  color: var(--t-3);
  margin-top: 2px;
}

.evidence-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding-top: 18px;
  margin-top: auto;
  border-top: 1px solid var(--glass-border);
}

.evidence-stats > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.evidence-stats .num {
  font-family: var(--f-display);
  font-size: 22px;
  line-height: 1;
  color: var(--c-cyan-2);
  letter-spacing: -0.01em;
}

.evidence-stats .lbl {
  font-size: 11px;
  color: var(--t-3);
  line-height: 1.3;
}

.evidence-link {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--c-cyan);
  letter-spacing: 0.04em;
  margin-top: 4px;
  transition: color 160ms ease;
}

.evidence-card:hover .evidence-link {
  color: var(--c-cyan-2);
}

.evidence-disclaimer {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-size: 13px;
  line-height: 1.65;
  color: var(--t-3);
  padding-top: 28px;
  border-top: 1px solid var(--glass-border);
}

.evidence-disclaimer strong {
  color: var(--t-2);
  font-weight: 600;
}

/* Tablet ≤ 900px */
@media (max-width: 900px) {
  .evidence-grid { grid-template-columns: 1fr; gap: 16px; }
  .evidence-card h3 { font-size: 19px; }
}

/* ---------- SECTION: ADVANTAGES (electronic abacus) ---------- */
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.advantage-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 36px 32px;
}

.advantage-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(79,227,255,0.14), rgba(91,127,255,0.06));
  border: 1px solid rgba(79,227,255,0.30);
  color: var(--c-cyan-2);
  box-shadow: 0 0 24px rgba(79,227,255,0.20);
}

.advantage-card h3 {
  font-size: 22px;
  line-height: 1.25;
}

.advantage-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--t-2);
  margin: 0;
}

.advantage-fallback {
  margin: 32px auto 0;
  max-width: 640px;
  text-align: center;
  font-style: italic;
  font-size: 14px;
  color: var(--t-3);
  line-height: 1.55;
}

.advantage-fallback-row {
  margin: 48px auto 0;
  max-width: 720px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 20px 28px 20px 20px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255,205,120,0.05), rgba(20,15,45,0.0));
  border: 1px solid rgba(255,205,120,0.10);
}

.advantage-fallback-img {
  flex: 0 0 auto;
  width: 140px;
  height: 140px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 32px -20px rgba(0,0,0,0.5);
}

.advantage-fallback-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.advantage-fallback-row .advantage-fallback {
  margin: 0;
  text-align: left;
  font-size: 16px;
  color: var(--t-2);
  font-style: normal;
  line-height: 1.5;
}

/* Tablet ≤ 900px */
@media (max-width: 900px) {
  .advantage-grid { grid-template-columns: 1fr; gap: 16px; }
  .advantage-card { padding: 28px; }
}

/* ---------- MASCOTS — three heroes ---------- */
#mascots {
  position: relative;
  padding: 100px 0 80px;
}

.section-head .section-lede {
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
  color: var(--t-2);
  max-width: 640px;
}

.mascot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 8px;
}

.mascot-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.mascot-image {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(79,227,255,0.06), rgba(20,15,45,0.0));
}

.mascot-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 600ms ease;
}

.mascot-card:hover .mascot-image img {
  transform: scale(1.04);
}

.mascot-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 28px 32px;
}

.mascot-tag {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  font-family: var(--f-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-cyan-2);
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(79,227,255,0.10);
  border: 1px solid rgba(79,227,255,0.22);
}

.mascot-card:nth-child(2) .mascot-tag {
  color: #ff7adf;
  background: rgba(255,120,220,0.10);
  border-color: rgba(255,120,220,0.22);
}

.mascot-card:nth-child(3) .mascot-tag {
  color: var(--c-gold-2);
  background: rgba(255,205,120,0.10);
  border-color: rgba(255,205,120,0.22);
}

.mascot-body h3 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.mascot-body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--t-2);
}

.mascot-trio {
  margin: 56px 0 0;
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 30px 80px -40px rgba(0,0,0,0.6);
}

.mascot-trio img {
  width: 100%;
  height: auto;
  display: block;
}

.mascot-trio figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 28px 32px 24px;
  background: linear-gradient(180deg, rgba(10,8,30,0.0), rgba(10,8,30,0.78) 55%, rgba(10,8,30,0.92));
  font-family: var(--f-display);
  font-size: 22px;
  line-height: 1.3;
  color: var(--t-1);
  letter-spacing: -0.005em;
}

/* Tablet ≤ 900px */
@media (max-width: 900px) {
  #mascots { padding: 72px 0 60px; }
  .mascot-grid { grid-template-columns: 1fr; gap: 18px; }
  .mascot-image { aspect-ratio: 16 / 10; }
  .mascot-trio figcaption { font-size: 16px; padding: 20px 22px 18px; }
  .advantage-fallback-row { flex-direction: column; text-align: center; gap: 18px; padding: 24px 20px; }
  .advantage-fallback-img { width: 120px; height: 120px; }
  .advantage-fallback-row .advantage-fallback { text-align: center; font-size: 15px; }
}

/* ---------- SECTION 6: FINAL CTA ---------- */
.cta-final {
  position: relative;
  padding: 80px 0 140px;
}
.cta-card {
  position: relative;
  padding: 64px;
  border-radius: 32px;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(182,91,255,0.20), transparent 50%),
    radial-gradient(ellipse at 0% 100%, rgba(79,227,255,0.18), transparent 50%),
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid var(--glass-border-strong);
  overflow: hidden;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
}
.cta-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(135deg, rgba(245,196,107,0.20), transparent 30%);
}

/* Access perks (replaces fake countdown + spots counter) */
.access-perks {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.perk {
  display: flex;
  align-items: center;
  gap: 14px;
}
.perk-icon {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(245,196,107,0.12);
  border: 1px solid rgba(245,196,107,0.22);
  color: var(--c-gold-2);
}
.perk-title {
  font-family: var(--f-ui);
  font-weight: 600;
  font-size: 15px;
  color: var(--t-1);
  line-height: 1.25;
}
.perk-sub {
  font-size: 13px;
  color: var(--t-3);
  margin-top: 2px;
  line-height: 1.4;
}

.timer { display: flex; gap: 12px; }
.timer .unit {
  flex: 1;
  padding: 14px 8px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-border);
  text-align: center;
}
.timer .unit .v { font-family: var(--f-display); font-size: 36px; line-height: 1; color: var(--c-gold-2); letter-spacing: -0.02em; }
.timer .unit .l { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--t-3); margin-top: 6px; }

.form {
  position: relative;
  padding: 28px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(13,14,34,0.85), rgba(8,9,26,0.85));
  border: 1px solid var(--glass-border-strong);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.form h3 { font-size: 18px; margin-bottom: 4px; }
.form p { font-size: 13px; color: var(--t-3); margin: 0 0 18px; }
.field {
  display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px;
}
.field label { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--t-3); }
.field input {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-border);
  color: var(--t-1);
  padding: 14px 16px;
  border-radius: 12px;
  font: inherit;
  font-size: 14px;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}
.field input::placeholder { color: var(--t-3); }
.field input:focus { outline: none; border-color: rgba(79,227,255,0.5); background: rgba(255,255,255,0.06); box-shadow: 0 0 0 4px rgba(79,227,255,0.10); }
.legal { font-size: 11px; color: var(--t-3); margin-top: 12px; line-height: 1.5; }
.legal a { color: var(--t-2); border-bottom: 1px dashed var(--t-3); }

.spots {
  display: flex; align-items: center; gap: 10px; margin-bottom: 24px;
  font-size: 13px; color: var(--t-2);
}
.spots .bar { flex: 1; height: 6px; border-radius: 3px; background: rgba(255,255,255,0.06); position: relative; overflow: hidden; }
.spots .bar > i { position: absolute; left: 0; top: 0; bottom: 0; width: 78%; background: linear-gradient(90deg, var(--c-gold), var(--c-bronze)); border-radius: 3px; box-shadow: 0 0 12px rgba(245,196,107,0.5); }
.spots .num { font-family: var(--f-mono); color: var(--c-gold-2); font-size: 13px; }

/* ---------- FOOTER ---------- */
.site-footer {
  position: relative; z-index: 3;
  border-top: 1px solid var(--glass-border);
  padding: 40px 0;
  font-size: 13px; color: var(--t-3);
}
.site-footer .row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer .links { display: flex; gap: 24px; }
.site-footer a:hover { color: var(--t-1); }

/* ---------- ANIM ---------- */
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.float-1 { animation: float-y 6s ease-in-out infinite; }
.float-2 { animation: float-y 7s ease-in-out infinite -2s; }

@keyframes twinkle {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}
.twinkle { animation: twinkle 3s ease-in-out infinite; }

/* Tablet mockup tiny UI */
.mockup-ui { flex: 1; border-radius: 12px; padding: 12px; background: linear-gradient(180deg, #161a3c, #0c0e26); display: flex; flex-direction: column; gap: 10px; border: 1px solid rgba(255,255,255,0.06); }
.mockup-top { display: flex; justify-content: space-between; font-size: 9px; color: var(--t-3); font-family: var(--f-mono); }
.mockup-title { font-family: var(--f-display); font-size: 14px; color: var(--c-cyan-2); text-align: center; padding: 8px 0; }
.mockup-abacus-frame {
  flex: 1;
  border-radius: 8px;
  background: radial-gradient(ellipse at 50% 30%, rgba(91,127,255,0.20), transparent 60%), #0a0c20;
  border: 1px solid rgba(255,255,255,0.06);
  padding: 10px;
  display: flex; flex-direction: column; justify-content: center; gap: 4px;
}
.mockup-cta { padding: 8px; border-radius: 8px; background: linear-gradient(135deg, #4FE3FF, #5B7FFF); color: #0a0d20; font-size: 10px; font-weight: 700; text-align: center; box-shadow: 0 0 14px rgba(79,227,255,0.4); }

/* ---------- TABLET (≤ 900px) ---------- */
@media (max-width: 900px) {
  :root { --gutter: 24px; }
  section { padding: 80px 0; }
  h1 { font-size: 56px; }
  h2 { font-size: 40px; }
  .nav { display: none; }
  .hero { padding: 40px 0 60px; min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { height: 460px; }
  .hero-mockup { width: 220px; height: 300px; right: -10px; bottom: -10px; }
  .vs-grid { grid-template-columns: 1fr; gap: 16px; }
  .vs-divider { height: 60px; }
  .vs-divider::before, .vs-divider::after { width: 40%; height: 1px; left: 0; top: 50%; background: linear-gradient(90deg, transparent, var(--glass-border-strong), transparent); }
  .vs-divider::before { top: 50%; left: 0; right: auto; transform: none; bottom: auto; }
  .vs-divider::after { top: 50%; right: 0; left: auto; transform: none; bottom: auto; }
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .features-grid .feature:nth-child(3) { grid-column: 1 / -1; }
  .skills-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .cta-card { grid-template-columns: 1fr; padding: 40px; gap: 32px; }
  .timer .unit .v { font-size: 28px; }
  .site-footer .row { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ---------- MOBILE (≤ 480px) ---------- */
@media (max-width: 480px) {
  :root { --gutter: 18px; }
  section { padding: 60px 0; }
  h1 { font-size: 38px; line-height: 1.08; }
  h2 { font-size: 28px; }
  h3 { font-size: 18px; }
  .lede { font-size: 15px; }
  .hero-sub { font-size: 19px; margin-top: 8px; }
  .site-header .row { height: 60px; }
  .brand { font-size: 14px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-visual { height: 380px; }
  .hero-mockup { width: 160px; height: 220px; right: -10px; bottom: -10px; }
  .hero-meta { gap: 12px; font-size: 12px; }
  .offer-card { grid-template-columns: 1fr; text-align: center; gap: 4px; padding: 18px; }
  .offer-percent { font-size: 44px; }
  .features-grid { grid-template-columns: 1fr; }
  .features-grid .feature:nth-child(3) { grid-column: auto; }
  .skills-grid { grid-template-columns: 1fr; }
  .vs-card { padding: 24px; min-height: auto; }
  /* 3 стата фиксированно в одну строку — grid, чтобы третий не сваливался вниз. */
  .vs-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .vs-stats > div { min-width: 0; }
  .vs-stats .num { font-size: 22px; }
  .vs-stats .lbl { font-size: 11px; line-height: 1.3; }
  .cta-card { padding: 28px; border-radius: 22px; }
  .timer { gap: 6px; }
  .timer .unit { padding: 10px 4px; }
  .timer .unit .v { font-size: 22px; }
  .timer .unit .l { font-size: 9px; }
  .form { padding: 22px; }
  .section-head { margin-bottom: 36px; }
  .video-wrap { padding: 14px; border-radius: 20px; }
  .play-btn { width: 64px; height: 64px; }
  .play-btn .tri { border-left-width: 14px; border-top-width: 9px; border-bottom-width: 9px; }
  .site-footer .links { flex-wrap: wrap; gap: 14px; font-size: 12px; }
}


/* ---------- SECTION: SPRINT ---------- */

/* Section root */
#sprint {
  position: relative;
}

/* Step heading block above the tablet mock */
.sprint-step-head {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 32px;
}

.sprint-step-head h3 {
  font-family: var(--f-display);
  font-size: 32px;
  color: var(--t-1);
  margin: 8px 0 0;
  line-height: 1.2;
}

/* Tablet stage container */
.sprint-stage {
  position: relative;
}

/* SVG tablet mock */
.sprint-svg {
  width: 100%;
  max-width: 1080px;
  height: auto;
  display: block;
  margin: 0 auto;
  filter:
    drop-shadow(0 30px 60px rgba(91,127,255,0.30))
    drop-shadow(0 0 80px rgba(255,182,41,0.15));
}

/* Sprint screen — single step block (header + SVG + description). Three of these stacked vertically. */
.sprint-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 96px;
}
.sprint-screen:last-of-type {
  margin-bottom: 0;
}
.sprint-screen .sprint-step-head {
  margin-bottom: 28px;
  text-align: center;
}

/* Tablet bezel — wraps the SVG to give it a "device frame" look (camera, home indicator). */
.sprint-tablet-frame {
  position: relative;
  width: 100%;
  max-width: 1000px;
  padding: 24px 18px;
  border-radius: 32px;
  background: linear-gradient(180deg, #1c1d3a 0%, #0d0e22 100%);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow:
    0 30px 60px rgba(91,127,255,0.30),
    0 0 80px rgba(255,182,41,0.15);
}
/* Camera dot at the top */
.sprint-tablet-frame::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  box-shadow: inset 0 0 2px rgba(0,0,0,0.5);
}
/* Home indicator at the bottom */
.sprint-tablet-frame::after {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.18);
}

/* Standalone SVG artefact (per-screen). Sits inside the tablet frame.
   Each SVG has its own viewBox and intrinsic aspect-ratio, so width:100% + height:auto is enough. */
.sprint-svg-embed {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  overflow: hidden;
}

/* Legacy tablet container (kept for any non-SVG fallback) — rounded frame around the in-game screenshot */
.sprint-tablet {
  position: relative;
  width: 100%;
  max-width: 1000px;
  /* Keep aspect ratio of inner screenshot (898×551 ≈ 1.63:1) so the box
     doesn't collapse or balloon if the image fails to load. */
  aspect-ratio: 898 / 551;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, #1c1d3a 0%, #0d0e22 100%);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow:
    0 30px 60px rgba(91,127,255,0.30),
    0 0 80px rgba(255,182,41,0.15);
}

/* In-game screenshot fills the tablet inner area */
.sprint-screenshot {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

/* Animated tutorial arrow — positioned over the heaven bead in the screenshot.
   Coords are in % of the .sprint-tablet inner area (matches screenshot 898×551).
   Heaven bead is roughly at 50% x, 38% y. Arrow points down at the bead from above. */
.sprint-arrow {
  position: absolute;
  width: 4%;
  height: auto;
  left: 50%;
  top: 18%;
  transform: translateX(-50%);
  pointer-events: none;
  filter: drop-shadow(0 0 8px rgba(255,182,41,0.7));
  /* Behavior: bounce + fade in/out period 2s — копирует логику AbacusRowArrowsMovementHints
     (где _arrowHideDelaySeconds = 2f, стрелка появляется и через 2с скрывается на мгновение). */
  animation: sprint-arrow-flash 2s ease-in-out infinite;
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes sprint-arrow-flash {
    0%   { opacity: 0; transform: translate(-50%, -8px); }
    10%  { opacity: 1; transform: translate(-50%, -8px); }
    50%  { opacity: 1; transform: translate(-50%, 12px); }
    85%  { opacity: 1; transform: translate(-50%, -8px); }
    95%  { opacity: 0; transform: translate(-50%, -8px); }
    100% { opacity: 0; transform: translate(-50%, -8px); }
  }
}

@media (prefers-reduced-motion: reduce) {
  .sprint-arrow { animation: none; opacity: 1; }
}

/* Step description under the tablet */
.sprint-step-desc {
  text-align: center;
  max-width: 640px;
  margin: 24px auto 0;
  color: var(--t-2);
  font-size: 16px;
  line-height: 1.6;
}

/* Tablet ≤ 900px */
@media (max-width: 900px) {
  #sprint { padding: 80px 0; }
  .sprint-tablet { max-width: 100%; padding: 10px; border-radius: 18px; }
  .sprint-step-head h3 { font-size: 26px; }
}

/* Mobile ≤ 480px */
@media (max-width: 480px) {
  .sprint-step-head h3 { font-size: 22px; }
  .sprint-step-desc { font-size: 14px; }
}
