/* ============ Self-hosted variable fonts ============ */
@font-face {
  font-family: 'Inter';
  src: url('fonts/InterVariable.woff2') format('woff2-variations'),
       url('fonts/InterVariable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('fonts/JetBrainsMono-Variable.woff2') format('woff2-variations'),
       url('fonts/JetBrainsMono-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ============ Tokens ============ */
:root {
  --bg: #0A0A0F;
  --bg-elev: #0E1117;
  --bg-card: #14141C;
  --bg-card-2: #1A1A24;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #F5F5F7;
  --text-dim: #A1A1AA;
  --text-mute: #6B6B78;
  --accent: #7C3AED;        /* electric purple */
  --accent-2: #00D4FF;      /* cyan */
  --accent-glow: rgba(124, 58, 237, 0.45);
  --accent-2-glow: rgba(0, 212, 255, 0.35);
  --good: #34D399;
  --warn: #FBBF24;
  --bad: #F87171;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-feature-settings: 'cv11', 'ss01', 'cv02';
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body {
  overflow-x: hidden;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

/* ============ Background canvas ============ */
.bg-noise::before {
  content: "";
  position: fixed; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 3px 3px;
  pointer-events: none;
  z-index: 0;
}
.bg-glow {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  filter: blur(120px);
  opacity: 0.5;
}
.bg-glow.purple { width: 600px; height: 600px; background: var(--accent); top: -200px; left: -150px; opacity: 0.25; }
.bg-glow.cyan   { width: 500px; height: 500px; background: var(--accent-2); top: 30%; right: -200px; opacity: 0.12; }

/* ============ Layout ============ */
main { position: relative; z-index: 1; }
section {
  position: relative;
  padding: 120px 32px;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: rgba(255,255,255,0.02);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 12px var(--accent-2); }

h1, h2, h3 { font-family: 'Inter', sans-serif; font-weight: 800; letter-spacing: -0.025em; line-height: 1.05; margin: 0; }
h1 { font-size: clamp(36px, 4.5vw, 56px); text-wrap: balance; }
h2 { font-size: clamp(32px, 4.5vw, 56px); text-wrap: balance; line-height: 1.08; }
h3 { font-size: clamp(20px, 2vw, 28px); }

.text-dim { color: var(--text-dim); }
.accent { color: var(--accent); }
.accent-2 { color: var(--accent-2); }
.gradient-text {
  background: linear-gradient(135deg, var(--accent-2) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 12px;
  border: none;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, #8B45F0 0%, #6D28D9 100%);
  color: #fff;
  box-shadow: 0 10px 30px -10px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -12px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.25); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); }
.btn-large { padding: 20px 36px; font-size: 18px; }
.btn-block { width: 100%; }

/* ============ Sticky nav ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(10, 10, 15, 0.75);
  border-bottom: 1px solid var(--border);
  padding: 14px 32px;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex; align-items: baseline; gap: 2px;
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, monospace;
  font-weight: 700; letter-spacing: 0; font-size: 18px;
  text-decoration: none;
  line-height: 1;
}
.brand-prompt {
  color: var(--accent);
  margin-right: 6px;
  font-weight: 700;
  text-shadow: 0 0 12px var(--accent-glow);
}
.brand-name {
  color: var(--text);
  font-weight: 700;
}
.brand-cursor {
  color: var(--accent-2);
  font-weight: 700;
  margin-left: 1px;
  text-shadow: 0 0 10px var(--accent-2-glow);
  animation: brand-blink 1.05s steps(1, end) infinite;
}
@keyframes brand-blink {
  0%, 49%   { opacity: 1; }
  50%, 100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .brand-cursor { animation: none; opacity: 1; }
}
.nav .btn { padding: 10px 18px; font-size: 14px; }
.nav-meta { color: var(--text-dim); font-size: 14px; }
@media (max-width: 720px) {
  .nav-meta { display: none; }
}

/* ============ HERO ============ */
.hero {
  padding-top: 80px;
  padding-bottom: 100px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}
.hero h1 {
  text-wrap: balance;
}
.hero h1 .hl {
  display: inline-block;
  position: relative;
  color: #fff;
}
.hero h1 .hl::after {
  content: "";
  position: absolute;
  left: -4px; right: -4px; bottom: 4px; height: 14px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  z-index: -1;
  opacity: 0.55;
  border-radius: 4px;
  transform: skewX(-6deg);
}
.hero-sub {
  margin: 24px 0 36px;
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--text-dim);
  max-width: 560px;
  line-height: 1.55;
}
.hero-sub b { color: var(--text); font-weight: 600; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 36px 0;
}
@media (max-width: 560px) {
  .hero-stats { grid-template-columns: 1fr; }
}
.stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  position: relative;
  overflow: hidden;
}
.stat::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--accent-glow) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.stat:hover::before { opacity: 0.35; }
.stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(124,58,237,0.25), rgba(0,212,255,0.18));
  color: var(--accent-2);
  margin-bottom: 12px;
  border: 1px solid var(--border-strong);
}
.stat-value {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.1;
}
.stat-value.accent { color: var(--accent-2); }
.stat-label {
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 4px;
}

.hero-cta-row {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.hero-microtext {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-mute);
  display: flex; align-items: center; gap: 8px;
}
.hero-microtext .dot { width: 6px; height: 6px; background: var(--good); border-radius: 50%; box-shadow: 0 0 8px var(--good); }

/* ============ Terminal mock ============ */
.terminal {
  background: #0B0B12;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  overflow: hidden;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 13.5px;
  line-height: 1.65;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.03), 0 0 80px -20px var(--accent-glow);
  position: relative;
}
.terminal-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: linear-gradient(180deg, #14141E 0%, #0E0E16 100%);
  border-bottom: 1px solid var(--border);
}
.term-dot { width: 11px; height: 11px; border-radius: 50%; }
.term-dot.r { background: #FF5F57; }
.term-dot.y { background: #FEBC2E; }
.term-dot.g { background: #28C840; }
.term-title {
  margin-left: auto; margin-right: auto;
  color: var(--text-mute);
  font-size: 12px;
  letter-spacing: 0.02em;
}
.terminal-body { padding: 22px 22px 26px; min-height: 340px; }
.term-line { display: flex; gap: 10px; }
.term-prompt { color: var(--accent-2); user-select: none; }
.term-cmd { color: var(--text); }
.term-arrow { color: var(--accent); user-select: none; }
.term-out { color: var(--text-dim); padding-left: 26px; }
.term-out.ok { color: var(--good); }
.term-out.ok::before { content: "✓ "; color: var(--good); font-weight: 700; }
.term-cursor {
  display: inline-block; width: 8px; height: 1.05em;
  background: var(--accent-2);
  vertical-align: text-bottom;
  margin-left: 2px;
  animation: blink 1.05s steps(2) infinite;
}
.term-spacer { height: 12px; }
@keyframes blink { 50% { opacity: 0; } }

/* ============ PAIN ============ */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.pain-grid > :nth-child(4),
.pain-grid > :nth-child(5) {
  grid-column: span 1;
}
@media (max-width: 880px) {
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .pain-grid { grid-template-columns: 1fr; }
}
.pain-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  position: relative;
  overflow: hidden;
}
.pain-card:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.pain-card::after {
  content: "";
  position: absolute; right: -40px; top: -40px;
  width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 65%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.pain-card:hover::after { opacity: 0.7; }
.pain-icon {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(124,58,237,0.15);
  color: var(--accent);
  border: 1px solid rgba(124,58,237,0.25);
}
.pain-task { color: var(--text); font-size: 16px; font-weight: 500; line-height: 1.35; }
.pain-time {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--bad);
  margin-top: auto;
}
.pain-time .unit { font-size: 16px; color: var(--text-dim); font-weight: 500; margin-left: 4px; }

.pain-summary {
  margin-top: 56px;
  padding: 36px;
  text-align: center;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.pain-summary .num { color: var(--accent-2); font-weight: 800; }

/* ============ COMPARE ============ */
.compare-wrap {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
@media (max-width: 720px) {
  .compare-wrap { grid-template-columns: 1fr; }
}
.compare-col {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.compare-col.left {
  background: #101015;
  color: var(--text-dim);
}
.compare-col.right {
  background: linear-gradient(160deg, rgba(124,58,237,0.18) 0%, rgba(0,212,255,0.08) 100%);
  border-left: 1px solid var(--border);
  color: var(--text);
  position: relative;
}
@media (max-width: 720px) {
  .compare-col.right { border-left: none; border-top: 1px solid var(--border); }
}
.compare-col.right::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 100% 0%, var(--accent-glow) 0%, transparent 50%);
  opacity: 0.4;
  pointer-events: none;
}
.compare-head {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
}
.compare-col.left .compare-head { color: var(--text-mute); }
.compare-col.right .compare-head { color: var(--accent-2); }
.compare-col.right .compare-head span:last-child { color: var(--text); }
.compare-row {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 16px;
  line-height: 1.45;
}
.compare-row .marker {
  flex-shrink: 0;
  margin-top: 5px;
  width: 14px; height: 14px;
  border-radius: 4px;
}
.compare-col.left .marker { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14); }
.compare-col.right .marker { background: var(--accent); box-shadow: 0 0 12px var(--accent-glow); }

.compare-examples {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 880px) {
  .compare-examples { grid-template-columns: 1fr; }
}
.example {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  display: flex; flex-direction: column; gap: 10px;
}
.example-prompt { font-size: 15px; color: var(--text-dim); font-style: italic; }
.example-prompt::before { content: "▸ "; color: var(--accent-2); font-style: normal; font-weight: 700; }
.example-result { color: var(--text); font-size: 15px; }
.example-time {
  margin-top: auto;
  display: flex; align-items: baseline; gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.example-time .new { font-size: 22px; font-weight: 800; color: var(--accent-2); letter-spacing: -0.02em; }
.example-time .old { font-size: 13px; color: var(--text-mute); text-decoration: line-through; }

/* ============ CASES ============ */
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 48px;
}
@media (max-width: 720px) { .case-grid { grid-template-columns: 1fr; } }
.case {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex; flex-direction: column; gap: 16px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.case:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.case-head { display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid; place-items: center;
  font-weight: 700;
  color: #fff;
  font-size: 18px;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px var(--bg-card), 0 0 0 3px var(--border-strong);
}
.case-name { font-weight: 600; font-size: 16px; }
.case-asst { font-size: 13px; color: var(--text-dim); margin-top: 2px; }
.case-asst b { color: var(--accent-2); font-weight: 700; }
.case-quote {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--text-dim);
  position: relative;
  padding-left: 16px;
  border-left: 2px solid var(--accent);
}
.case-quote b { color: var(--text); font-weight: 600; }

/* Mikhail's results plate */
.results-plate {
  margin-top: 56px;
  background: linear-gradient(135deg, rgba(124,58,237,0.18) 0%, rgba(0,212,255,0.08) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 44px;
  position: relative;
  overflow: hidden;
}
.results-plate::before {
  content: "";
  position: absolute; right: -100px; top: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
  opacity: 0.35;
  pointer-events: none;
}
.results-plate-head {
  display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  margin-bottom: 28px;
  position: relative;
}
.results-plate-head h3 { font-size: clamp(20px, 2.2vw, 26px); }
.results-plate-head .who { color: var(--text-dim); font-size: 14px; }
.results-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  position: relative;
}
@media (max-width: 720px) { .results-list { grid-template-columns: 1fr; } }
.result-row {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 18px;
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.result-row .ico {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(0,212,255,0.1);
  color: var(--accent-2);
  border: 1px solid rgba(0,212,255,0.2);
}
.result-row .what { font-size: 14.5px; line-height: 1.4; min-width: 0; }
.result-row .what b { color: #fff; font-weight: 600; }
.result-row .new { color: var(--accent-2); font-weight: 700; font-size: 14.5px; white-space: nowrap; }

@media (max-width: 540px) {
  .result-row { grid-template-columns: 36px 1fr; row-gap: 6px; }
  .result-row .new {
    grid-column: 2;
    grid-row: 2;
    white-space: normal;
    font-size: 13px;
    font-weight: 600;
    opacity: 0.9;
  }
}

.results-total {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  letter-spacing: -0.01em;
  position: relative;
}
.results-total .em { color: var(--accent-2); }

/* ============ PROGRAM ============ */
.program-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}
@media (max-width: 880px) { .program-grid { grid-template-columns: 1fr; } }
.day-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex; flex-direction: column;
}
.day-card.day-2 {
  border-color: rgba(124,58,237,0.4);
  background: linear-gradient(180deg, var(--bg-card) 0%, rgba(124,58,237,0.06) 100%);
}
.day-tag {
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 8px;
}
.day-card.day-2 .day-tag { color: var(--accent); }
.day-title { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.day-duration { color: var(--text-dim); font-size: 14px; margin-top: 4px; }

.timeline {
  margin-top: 28px;
  display: flex; flex-direction: column; gap: 18px;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 7px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-2) 0%, var(--accent) 100%);
  opacity: 0.35;
}
.tl-item { display: grid; grid-template-columns: 16px 1fr; gap: 16px; align-items: flex-start; position: relative; }
.tl-dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent-2);
  margin-top: 4px;
  z-index: 1;
}
.day-2 .tl-dot { border-color: var(--accent); }
.tl-time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  color: var(--text-mute);
  margin-bottom: 4px;
}
.tl-text { font-size: 15.5px; line-height: 1.45; }
.tl-text b { color: #fff; font-weight: 600; }

.day-result {
  margin-top: 24px;
  padding: 16px 18px;
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.25);
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--text);
}
.day-2 .day-result {
  background: rgba(124,58,237,0.12);
  border-color: rgba(124,58,237,0.35);
}
.day-result .label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 6px;
}
.day-2 .day-result .label { color: var(--accent); }

/* Integrations strip */
.integrations {
  margin-top: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.integrations-text {
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.55;
  max-width: 920px;
}
.integrations-text b { color: var(--text); font-weight: 600; }
.int-icons {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.int-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text);
  transition: background 0.15s ease, border-color 0.15s ease;
}
.int-chip:hover { background: rgba(255,255,255,0.08); border-color: var(--border-strong); }
.int-chip .ico {
  width: 14px; height: 14px; border-radius: 4px;
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  flex-shrink: 0;
}

/* ============ SPEAKERS ============ */
.speakers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 48px;
}
@media (max-width: 720px) { .speakers-grid { grid-template-columns: 1fr; } }
.speaker {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.speaker-head { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.speaker-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid; place-items: center;
  font-weight: 700; color: #fff; font-size: 22px;
  box-shadow: 0 0 0 2px var(--bg-card), 0 0 0 3px var(--border-strong);
}
.speaker-avatar.a1 { background: linear-gradient(135deg, #7C3AED, #00D4FF); }
.speaker-avatar.a2 { background: linear-gradient(135deg, #00D4FF, #34D399); }
.speaker-name { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.speaker-role { font-size: 14px; color: var(--text-dim); margin-top: 2px; }
.speaker-bio { font-size: 15.5px; line-height: 1.55; color: var(--text-dim); }
.speaker-bio b { color: var(--text); font-weight: 600; }
.speaker-link {
  margin-top: 16px;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px;
  color: var(--accent-2);
  text-decoration: none;
}
.speaker-link:hover { text-decoration: underline; }

.speakers-quote {
  margin-top: 36px;
  text-align: center;
  font-style: italic;
  color: var(--text-dim);
  font-size: 17px;
}

/* ============ PRICING ============ */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 48px;
}
@media (max-width: 880px) { .pricing-grid { grid-template-columns: 1fr; } }
.price-card, .roi-card {
  border-radius: var(--radius);
  padding: 36px;
  position: relative;
  overflow: hidden;
}
.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
}
.price-card h3 { font-size: 18px; font-weight: 700; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.08em; }
.price-rows { margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.price-row {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px dashed var(--border);
}
.price-row:last-of-type { border-bottom: none; }
.price-row .label { font-size: 15px; color: var(--text-dim); }
.price-row .val { font-weight: 600; font-size: 16px; }
.price-row .val .strike { color: var(--text-mute); text-decoration: line-through; margin-right: 8px; font-weight: 400; }
.price-row .val .now { color: var(--accent-2); font-weight: 800; font-size: 20px; letter-spacing: -0.01em; }
.price-total {
  margin-top: 8px;
  padding: 18px 0 0;
  border-top: 2px solid var(--border-strong);
  display: flex; justify-content: space-between; align-items: baseline;
}
.price-total .label { font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text); }
.price-total .val { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; color: #fff; }

.roi-card {
  background: linear-gradient(150deg, var(--accent) 0%, #4F1D9C 100%);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.1);
}
.roi-card::before {
  content: "";
  position: absolute; right: -100px; top: -100px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(0,212,255,0.4) 0%, transparent 60%);
  pointer-events: none;
}
.roi-card h3 { font-size: 18px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.85; }
.roi-body { margin-top: 20px; font-size: 16px; line-height: 1.55; position: relative; }
.roi-body b { color: #fff; font-weight: 800; }
.roi-body .big { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.roi-list { margin-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.roi-list .row { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.roi-list .dot { width: 10px; height: 10px; border-radius: 50%; background: #34D399; box-shadow: 0 0 12px #34D399; }

/* Waitlist form */
.waitlist {
  margin-top: 56px;
  max-width: 640px;
  margin-left: auto; margin-right: auto;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 44px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.waitlist::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, var(--accent-glow) 0%, transparent 65%);
  opacity: 0.3;
  pointer-events: none;
}
.waitlist h3 { font-size: clamp(24px, 3vw, 32px); position: relative; }
.waitlist-sub { color: var(--text-dim); margin-top: 10px; position: relative; }
.waitlist-form {
  margin-top: 28px;
  display: flex; flex-direction: column; gap: 12px;
  text-align: left;
  position: relative;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.field input {
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 15px;
  color: var(--text);
  font-family: inherit;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.field input::placeholder { color: var(--text-dim); }
.field input:focus { outline: none; border-color: var(--accent); background: rgba(0,0,0,0.6); }
.field-error { font-size: 12px; color: var(--bad); min-height: 14px; }
.waitlist-fineprint {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
  position: relative;
}

.waitlist-success {
  text-align: center;
  padding: 24px 0;
}
.success-check {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(52,211,153,0.15);
  border: 2px solid var(--good);
  display: grid; place-items: center;
  margin: 0 auto 16px;
  color: var(--good);
  font-size: 28px;
}
.waitlist-success h4 { font-size: 22px; font-weight: 700; margin: 0 0 8px; }
.waitlist-success p { color: var(--text-dim); }

/* ============ FAQ ============ */
.faq {
  padding-top: 80px;
  padding-bottom: 80px;
}
.faq-list { margin-top: 32px; max-width: 820px; margin-left: auto; margin-right: auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-q {
  width: 100%;
  background: transparent;
  border: none;
  text-align: left;
  padding: 22px 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  letter-spacing: -0.01em;
}
.faq-q .arrow {
  width: 24px; height: 24px;
  flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-strong);
  transition: transform 0.25s ease, background 0.2s ease;
}
.faq-item.open .faq-q .arrow { transform: rotate(180deg); background: var(--accent); border-color: var(--accent); }
.faq-q .arrow svg { width: 12px; height: 12px; }
.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
  color: var(--text-dim);
  font-size: 15.5px;
  line-height: 1.6;
}
.faq-item.open .faq-a { max-height: 400px; }
.faq-a-inner { padding: 0 0 22px; }

/* ============ FOOTER ============ */
footer {
  border-top: 1px solid var(--border);
  padding: 36px 32px 100px;
  text-align: center;
  color: var(--text-mute);
  font-size: 13.5px;
  position: relative;
  z-index: 1;
}
footer .links {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 18px;
  margin-bottom: 14px;
}
footer a { color: var(--text-dim); text-decoration: none; }
footer a:hover { color: var(--text); }

/* ============ Sticky mobile CTA ============ */
.mobile-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(10,10,15,0) 0%, rgba(10,10,15,0.95) 30%, var(--bg) 100%);
  display: none;
}
.mobile-cta .btn { width: 100%; }
.mobile-cta.mobile-cta--hidden { transform: translateY(120%); pointer-events: none; }
.mobile-cta { transition: transform 0.25s ease; }
@media (max-width: 720px) {
  .mobile-cta { display: block; }
  body { padding-bottom: 92px; }
}

/* Mobile-tuned hero headline: keep clamp() in charge,
   add overflow-wrap so long Russian compounds break gracefully,
   pull min-width:0 onto grid items so they don't blow out the row. */
.hero-headline {
  overflow-wrap: anywhere;
  word-break: normal;
}
.hero-grid > * { min-width: 0; }
.terminal,
.terminal-body,
.term-cmd { overflow-wrap: anywhere; }

@media (max-width: 540px) {
  .hero-headline { font-size: clamp(28px, 9vw, 38px); line-height: 1.12; }
  .hero h1 .hl::after { bottom: 2px; height: 8px; }
  .hero-sub { font-size: 16px; margin: 18px 0 28px; }
  .terminal-body { font-size: 12.5px; padding: 18px 16px 20px; }
  .term-cmd { white-space: normal; }
}

/* ============ Reveal animations ============ */
/* Content is visible by default. JS opts in to a pre-animation state
   by adding .reveal-pending, which an IntersectionObserver clears. */
.reveal { transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.reveal-pending { opacity: 0; transform: translateY(20px); }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.reveal-pending { opacity: 1; transform: none; transition: none; }
  .term-cursor { animation: none; }
}

/* Smaller screens spacing */
@media (max-width: 720px) {
  section { padding: 80px 20px; }
  .nav { padding: 12px 16px; }
  .results-plate { padding: 28px 22px; }
  .waitlist { padding: 32px 22px; }
  .price-card, .roi-card, .day-card, .speaker { padding: 24px; }
}

/* ============================================================
   Auth (login page)
   ============================================================ */
.auth-card {
  width: 100%;
  max-width: 460px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 36px 36px;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.6),
              inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.auth-sub {
  color: var(--text-dim);
  text-align: center;
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1.5;
}
.auth-microtext {
  margin: 16px 0 0;
  text-align: center;
  font-size: 13px;
  color: var(--text-mute);
  line-height: 1.55;
}
.auth-microtext a { color: var(--accent-2); text-decoration: none; border-bottom: 1px dashed rgba(0, 212, 255, 0.4); }
.auth-microtext a:hover { color: #fff; border-bottom-color: var(--accent-2); }

.auth-spinner {
  width: 38px; height: 38px;
  margin: 4px auto 18px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--accent-2);
  border-radius: 50%;
  animation: auth-spin 0.9s linear infinite;
}
@keyframes auth-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .auth-spinner { animation: none; }
}
.auth-status {
  text-align: center;
  margin: 0 0 4px;
  font-size: 16px;
  color: var(--text);
}
.auth-error {
  text-align: center;
}
.auth-error p {
  margin: 0 0 18px;
  color: var(--bad);
  font-size: 15px;
}

@media (max-width: 540px) {
  .auth-card { padding: 32px 22px 24px; border-radius: var(--radius); }
}

/* ============================================================
   Member cabinet
   ============================================================ */
.lk-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 32px;
  margin-bottom: 22px;
}
.lk-card h2 { color: #fff; }
.lk-list {
  margin: 18px 0 0;
  padding-left: 0;
  list-style: none;
}
.lk-list li {
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  margin-bottom: 8px;
  color: var(--text-dim);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
}
.lk-list li strong { color: var(--text); font-weight: 600; }
.lk-list li::after {
  content: 'скоро';
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-mute);
  background: rgba(255, 255, 255, 0.03);
  padding: 4px 10px;
  border-radius: 999px;
}

@media (max-width: 540px) {
  .lk-card { padding: 22px 20px; }
  .lk-list li { flex-direction: column; align-items: flex-start; gap: 6px; }
}
