/* shunt — v2 · minimal · conversion-focused */

:root {
  --bg: #06070a;
  --bg-elev: #0b0d11;
  --bg-soft: #11141a;
  --line: #1a1f27;
  --line-2: #252b35;
  --ink: #f0f3f5;
  --ink-dim: #8a939c;
  --ink-mute: #4a525c;
  --accent: oklch(0.88 0.22 130);
  --accent-2: oklch(0.78 0.16 130);
  --warn: oklch(0.82 0.18 65);
  --danger: oklch(0.72 0.22 25);
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-display: "JetBrains Mono", ui-monospace, monospace;
  --font-serif: "Instrument Serif", "Times New Roman", serif;
  --maxw: 1180px;
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--accent); color: #000; }

/* subtle grid background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.02) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
  mask-image: linear-gradient(180deg, black, transparent 90%);
}

/* ───────── NAV ───────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  backdrop-filter: blur(14px);
  background: rgba(6, 7, 10, 0.72);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  transition: padding 0.2s;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.01em;
}
.nav-brand svg { display: block; }
.nav-brand .ver {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 2px 6px;
  border: 1px solid var(--line-2);
  border-radius: 3px;
  color: var(--ink-mute);
  font-weight: 400;
}
.nav-links {
  display: flex;
  gap: 28px;
  color: var(--ink-dim);
  font-size: 13px;
}
.nav-links a { transition: color 0.15s; white-space: nowrap; }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: var(--r-sm);
  background: var(--accent);
  color: #000;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0;
  transition: all 0.15s;
}
.nav-cta:hover { background: oklch(0.94 0.22 130); transform: translateY(-1px); }
.nav-cta .arrow { transition: transform 0.15s; }
.nav-cta:hover .arrow { transform: translateX(3px); }

/* ───────── LAYOUT ───────── */
section, main, footer { position: relative; z-index: 2; }
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

/* ───────── HERO ───────── */
.hero {
  padding: 140px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% -10%, rgba(180,255,100,0.10), transparent 60%);
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px 6px 10px;
  background: rgba(180,255,100,0.04);
  border: 1px solid rgba(180,255,100,0.18);
  border-radius: 999px;
  font-size: 11px;
  color: var(--ink-dim);
  margin-bottom: 36px;
  white-space: nowrap;
}
.hero-eyebrow .pulse {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 1.6s ease-in-out infinite;
}
.hero-eyebrow .ver { color: var(--ink-mute); }
@keyframes pulse { 50% { opacity: 0.4; transform: scale(0.85); } }

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 116px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.92;
  max-width: 14ch;
  margin: 0 auto 28px;
}
.hero h1 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.hero-sub {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--ink-dim);
  max-width: 540px;
  margin: 0 auto 44px;
  line-height: 1.55;
}
.hero-sub strong { color: var(--ink); font-weight: 500; }

/* the install command — hero CTA */
.install-block {
  display: inline-flex;
  align-items: stretch;
  background: var(--bg-elev);
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  overflow: hidden;
  font-family: var(--font-mono);
  margin-bottom: 24px;
  box-shadow:
    0 0 0 1px rgba(180,255,100,0.05) inset,
    0 20px 60px -20px rgba(180,255,100,0.12),
    0 8px 24px -8px rgba(0,0,0,0.6);
  position: relative;
  max-width: 100%;
}
.install-block::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(90deg, transparent, rgba(180,255,100,0.4), transparent);
  border-radius: var(--r-md);
  opacity: 0.5;
  z-index: -1;
  filter: blur(8px);
  animation: shimmer 4s ease-in-out infinite;
}
@keyframes shimmer {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.7; }
}
.install-block .prefix {
  display: flex;
  align-items: center;
  padding: 14px 6px 14px 16px;
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
  user-select: none;
}
.install-block .cmd {
  display: flex;
  align-items: center;
  padding: 14px 8px;
  color: var(--ink);
  font-size: clamp(13px, 1.3vw, 15px);
  font-weight: 500;
  white-space: nowrap;
  overflow: auto;
}
.install-block .cmd::-webkit-scrollbar { display: none; }
.install-block .copy-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 18px;
  background: rgba(180,255,100,0.06);
  color: var(--accent);
  border-left: 1px solid var(--line-2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background 0.15s;
}
.install-block .copy-btn:hover { background: rgba(180,255,100,0.14); }
.install-block .copy-btn svg { width: 14px; height: 14px; }

.hero-meta {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--ink-dim);
  margin-bottom: 64px;
}
.hero-meta .item { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta .item::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
}
.hero-meta .sep { color: var(--ink-mute); opacity: 0.4; }

/* hero product showcase — the TUI */
.hero-tui {
  max-width: 980px;
  margin: 0 auto;
  position: relative;
}
.hero-tui::before {
  content: "";
  position: absolute;
  inset: -40px -40px 0;
  background: radial-gradient(ellipse 60% 60% at 50% 0%, rgba(180,255,100,0.12), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* hero · 3D viz wrapper */
.hero-viz {
  max-width: 1080px;
  margin: 0 auto;
  background: var(--bg-elev);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 60px 120px -40px rgba(0,0,0,0.7),
    0 30px 60px -10px rgba(0,0,0,0.4),
    0 0 80px -20px rgba(180,255,100,0.12);
}
#route-canvas-wrap {
  width: 100%;
  min-height: 400px;
  position: relative;
}
#route-canvas-wrap canvas {
  display: block;
  width: 100% !important;
}

/* hero · live dashboard */
.hero-dash {
  max-width: 1080px;
  margin: 0 auto;
  background: var(--bg-elev);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 60px 120px -40px rgba(0,0,0,0.7),
    0 30px 60px -10px rgba(0,0,0,0.4),
    0 0 80px -20px rgba(180,255,100,0.12);
  text-align: left;
  font-family: var(--font-mono);
}

.dash-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: linear-gradient(180deg, var(--bg-elev), var(--bg-soft));
  border-bottom: 1px solid var(--line-2);
  font-size: 11.5px;
  color: var(--ink-mute);
}
.dash-bar .dash-dots { display: inline-flex; gap: 6px; align-items: center; }
.dash-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: #2a2e35; }
.dash-bar .dot.r { background: oklch(0.65 0.18 25); }
.dash-bar .dot.y { background: oklch(0.78 0.16 80); }
.dash-bar .dot.g { background: oklch(0.72 0.18 145); }
.dash-bar .dash-title { color: var(--ink-dim); }
.dash-bar .dash-meta { margin-left: auto; }
.dash-bar .live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  background: rgba(180,255,100,0.06);
  border: 1px solid rgba(180,255,100,0.22);
  border-radius: 999px;
  color: var(--accent);
  font-size: 11px;
}
.dash-bar .live-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--accent);
  animation: pulse 1.6s ease-in-out infinite;
}

.dash-body {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 0;
}

/* ── ACCOUNTS column ── */
.dash-accounts {
  padding: 20px 22px;
  border-right: 1px solid var(--line);
  display: grid;
  gap: 14px;
  align-content: start;
}
.acct-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 4px;
}
.acct-head-right {
  color: var(--ink-dim);
  letter-spacing: 0;
  text-transform: none;
  font-size: 11px;
}

.acct {
  background: #050608;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 12px 14px;
  display: grid;
  gap: 10px;
  transition: border-color 0.4s, box-shadow 0.4s;
}
.acct[data-just-routed] {
  border-color: var(--accent);
  border-width: 2px;
  box-shadow: 0 0 0 2px rgba(180,255,100,0.4), 0 0 24px rgba(180,255,100,0.3);
  background: rgba(180,255,100,0.06);
}
.acct-row {
  display: grid;
  grid-template-columns: minmax(70px, auto) auto 1fr auto;
  gap: 12px;
  align-items: baseline;
  font-size: 12px;
}
.acct-name { color: var(--ink); font-weight: 600; }
.acct-plan { color: var(--ink-mute); font-size: 10px; }
.acct-email { color: var(--ink-mute); font-size: 11px; }
.acct-status { font-size: 10.5px; }
.acct-status.ok { color: var(--accent); }
.acct-status.warn { color: var(--warn); }
.acct-status.err { color: var(--danger); }

.acct-bars { display: grid; gap: 6px; }
.bar-pair {
  display: grid;
  grid-template-columns: 22px 1fr 44px auto;
  gap: 10px;
  align-items: center;
  font-size: 11px;
}
.bar-pair .bar-lbl { color: var(--ink-mute); font-size: 10.5px; }
.bar-pair .bar-track {
  position: relative;
  height: 8px;
  background: var(--bg-soft);
  border: 1px solid var(--line-2);
  border-radius: 2px;
  overflow: hidden;
}
.bar-pair .bar-fill {
  position: absolute; inset: 0;
  background: var(--accent);
  transform-origin: left;
  transform: scaleX(0.6);
  transition: transform 0.6s cubic-bezier(.4,.8,.3,1), background 0.4s;
}
.bar-pair .bar-fill.warn { background: var(--warn); }
.bar-pair .bar-fill.danger { background: var(--danger); }
.bar-pair .bar-fill::after {
  content: "";
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 12px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4));
  animation: shimmer-bar 2.4s linear infinite;
}
.bar-pair .bar-pct {
  text-align: right;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  font-size: 10.5px;
}
.bar-pair .bar-reset {
  font-size: 10.5px;
  color: var(--ink-mute);
  white-space: nowrap;
}

/* ── STREAMING CODE column ── */
.dash-feed {
  padding: 20px 22px;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 12px;
  min-height: 320px;
}
.feed-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.feed-head-right {
  color: var(--ink-dim);
  letter-spacing: 0;
  text-transform: none;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.feed-head-right .acc {
  color: var(--accent);
  font-weight: 600;
  transition: color 0.2s;
  display: inline-block;
}
.feed-head-right .acc.swap {
  animation: acct-swap 0.32s cubic-bezier(.3,.7,.3,1);
}
@keyframes acct-swap {
  0%   { transform: translateY(0); opacity: 1; }
  45%  { transform: translateY(-8px); opacity: 0; filter: blur(1px); }
  55%  { transform: translateY(8px); opacity: 0; filter: blur(1px); }
  100% { transform: translateY(0); opacity: 1; }
}
.feed-head-right .route-arrow {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--accent);
  animation: pulse 1.6s ease-in-out infinite;
}

.code-stream {
  background: #050608;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 14px 16px 12px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 10px;
  min-height: 280px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.55;
  position: relative;
  overflow: hidden;
}
.code-prompt {
  color: var(--ink-dim);
  font-size: 11.5px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--line);
}
.code-prompt .cp-mute { color: var(--accent); margin-right: 6px; }
.code-out {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink);
  white-space: pre;
  overflow: hidden;
  max-height: 220px;
  position: relative;
}
.code-out::after {
  content: "▍";
  color: var(--accent);
  margin-left: 1px;
  animation: caret-blink 0.9s steps(2) infinite;
}
@keyframes caret-blink { 50% { opacity: 0; } }
.code-out .kw { color: var(--accent); }
.code-out .str { color: oklch(0.82 0.14 60); }
.code-out .com { color: var(--ink-mute); font-style: italic; }
.code-out .num { color: oklch(0.78 0.14 200); }
.code-out .fn  { color: oklch(0.78 0.14 280); }
.code-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  font-size: 10.5px;
  color: var(--ink-mute);
  font-variant-numeric: tabular-nums;
}
.code-status .cs-spin {
  color: var(--accent);
  animation: cs-spin 1s linear infinite;
  display: inline-block;
  margin-right: 6px;
}
@keyframes cs-spin { to { transform: rotate(360deg); } }

@media (max-width: 800px) {
  .code-out { max-height: 180px; }
}

@media (max-width: 800px) {
  .dash-body { grid-template-columns: 1fr; }
  .dash-accounts { border-right: 0; border-bottom: 1px solid var(--line); }
  .bar-pair { grid-template-columns: 22px 1fr 44px; }
  .bar-pair .bar-reset { grid-column: 1 / -1; text-align: right; }
  .acct-row { grid-template-columns: 1fr auto; }
  .acct-plan, .acct-email { display: none; }
}
.hero-3d {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  overflow: hidden;
  background:
    radial-gradient(ellipse 50% 50% at 50% 50%, rgba(180,255,100,0.05), transparent 70%),
    linear-gradient(180deg, #07090c 0%, #050608 100%);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 60px 120px -40px rgba(0,0,0,0.8),
    0 30px 60px -10px rgba(0,0,0,0.5),
    0 0 80px -20px rgba(180,255,100,0.18);
}
.hero-3d::before {
  /* subtle grid backdrop */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at center, black, transparent 78%);
  pointer-events: none;
}
.hero-3d canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  z-index: 1;
}

/* corner crosshairs */
.hero-3d .ch {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid var(--accent);
  opacity: 0.45;
  z-index: 3;
}
.hero-3d .ch.tl { top: 14px; left: 14px; border-right: 0; border-bottom: 0; }
.hero-3d .ch.tr { top: 14px; right: 14px; border-left: 0; border-bottom: 0; }
.hero-3d .ch.bl { bottom: 14px; left: 14px; border-right: 0; border-top: 0; }
.hero-3d .ch.br { bottom: 14px; right: 14px; border-left: 0; border-top: 0; }

/* HUD chips */
.hero-3d .hud {
  position: absolute;
  border: 1px solid var(--line-2);
  background: rgba(11, 13, 17, 0.7);
  backdrop-filter: blur(10px);
  padding: 10px 14px;
  border-radius: var(--r-sm);
  font-family: var(--font-mono);
  font-size: 11px;
  pointer-events: none;
  z-index: 4;
  white-space: nowrap;
}
.hero-3d .hud .hud-lbl {
  color: var(--ink-mute);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.hero-3d .hud .hud-val { color: var(--ink); font-weight: 600; }
.hero-3d .hud .hud-val.acc { color: var(--accent); }
.hero-3d .hud .hud-dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--accent);
  margin-right: 6px;
  vertical-align: middle;
  animation: pulse 1.6s ease-in-out infinite;
}
.hero-3d .hud.hud-tl { top: 26px; left: 26px; }
.hero-3d .hud.hud-tr { top: 26px; right: 26px; text-align: right; }
.hero-3d .hud.hud-bl { bottom: 26px; left: 26px; }
.hero-3d .hud.hud-br { bottom: 26px; right: 26px; text-align: right; }

@media (max-width: 700px) {
  .hero-3d { aspect-ratio: 4 / 5; }
  .hero-3d .hud { font-size: 10px; padding: 8px 10px; }
}

.tui {
  background: #050608;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 60px 120px -40px rgba(0,0,0,0.8),
    0 20px 40px -10px rgba(0,0,0,0.5);
  font-family: var(--font-mono);
  text-align: left;
}
.tui-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--bg-elev);
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  color: var(--ink-mute);
  white-space: nowrap;
}
.tui-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: #2a2e35; }
.tui-bar .dot.r { background: oklch(0.65 0.18 25); }
.tui-bar .dot.y { background: oklch(0.78 0.16 80); }
.tui-bar .dot.g { background: oklch(0.72 0.18 145); }
.tui-bar .ttl { margin-left: 10px; }
.tui-bar .live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
}
.tui-bar .live::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--accent);
  animation: pulse 1.4s ease-in-out infinite;
}
.tui-body {
  padding: 22px 26px 26px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-dim);
  font-family: var(--font-mono);
  white-space: pre;
  overflow-x: auto;
}
.tui-body .acc { color: var(--accent); }
.tui-body .em { color: var(--ink); }
.tui-body .em-b { color: var(--ink); font-weight: 700; }
.tui-body .warn { color: var(--warn); }
.tui-body .err { color: var(--danger); }
.tui-body .dim { color: var(--ink-mute); }
.tui-body .ok { color: var(--accent); }
.tui-body .logo { color: var(--accent); font-weight: 700; }

/* ───────── SECTIONS ───────── */
.section { padding: 100px 0; position: relative; }
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  text-transform: uppercase;
  margin-bottom: 18px;
  font-family: var(--font-mono);
}
.section-eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--accent);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin-bottom: 18px;
  max-width: 22ch;
}
.section-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.section-lead {
  font-size: 16px;
  color: var(--ink-dim);
  line-height: 1.6;
  max-width: 580px;
  margin-bottom: 56px;
}
.section-lead strong { color: var(--ink); font-weight: 500; }

/* ───────── PROBLEM ───────── */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.problem-card {
  background: var(--bg-elev);
  padding: 28px 26px 24px;
  position: relative;
  min-height: 280px;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 12px;
}
.problem-card .num {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-mute);
  letter-spacing: 0.2em;
}
.problem-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
  margin: 0;
}
.problem-card h3 em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}
.problem-card p {
  color: var(--ink-dim);
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
  align-self: start;
}

/* visual element — anchored to bottom of card */
.problem-vis {
  align-self: end;
  font-family: var(--font-mono);
  font-size: 11.5px;
  display: grid;
  gap: 8px;
}
.vis-mute { color: var(--ink-mute); }
.vis-bad { color: var(--danger); }

/* 01 — bar */
.problem-vis .vis-bar {
  position: relative;
  height: 8px;
  background: var(--bg-soft);
  border: 1px solid var(--line-2);
  border-radius: 2px;
  overflow: hidden;
}
.problem-vis .vis-bar span {
  position: absolute;
  inset: 0;
  background: var(--danger);
  transform-origin: left;
  width: 84%;
  animation: vis-grow 2.4s cubic-bezier(.3,.8,.4,1) infinite alternate;
}
@keyframes vis-grow {
  0% { width: 60%; background: var(--accent); }
  60% { background: var(--warn); }
  100% { width: 90%; background: var(--danger); }
}
.problem-vis .vis-lab {
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
  color: var(--ink-mute);
  font-variant-numeric: tabular-nums;
}

/* 02 — cmd lines */
.problem-vis .vis-cmd {
  background: #050608;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 12px 14px;
  display: grid;
  gap: 4px;
  font-size: 11px;
  color: var(--ink);
  line-height: 1.5;
}

/* 03 — error */
.problem-vis .vis-err {
  background: #050608;
  border: 1px solid var(--line);
  border-left: 2px solid var(--danger);
  border-radius: 4px;
  padding: 12px 14px;
  display: grid;
  gap: 4px;
  font-size: 11px;
  color: var(--ink);
  line-height: 1.5;
}
.problem-vis .vis-err-line { display: block; }

/* ───────── HOW IT WORKS ───────── */
.how {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.how-steps { display: grid; gap: 18px; }
.how-step {
  padding: 22px 24px;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  border-radius: var(--r-md);
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 18px;
  align-items: start;
  transition: all 0.2s;
  cursor: default;
}
.how-step:hover { border-color: var(--line-2); transform: translateY(-1px); }
.how-step .n {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-top: 2px;
}
.how-step h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  color: var(--ink);
}
.how-step p {
  font-size: 13px;
  color: var(--ink-dim);
  line-height: 1.55;
}
.how-step code {
  display: inline-block;
  margin-top: 8px;
  padding: 2px 6px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
}

.how-visual {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 32px;
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: grid;
  place-items: center;
}
.how-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  pointer-events: none;
}

/* ───────── FEATURES ───────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.feat {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: all 0.2s;
}
.feat:hover { border-color: var(--line-2); transform: translateY(-2px); }
.feat-6 { grid-column: span 6; }
.feat-4 { grid-column: span 4; }
.feat-8 { grid-column: span 8; }
.feat-12 { grid-column: span 12; }

.feat .num {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-mute);
  letter-spacing: 0.2em;
  margin-bottom: 14px;
}
.feat h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  line-height: 1.15;
}
.feat h3 em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}
.feat p {
  color: var(--ink-dim);
  font-size: 13px;
  line-height: 1.6;
  max-width: 52ch;
}
.feat-art {
  margin-top: 22px;
  position: relative;
}

/* bars demo (reused) */
.bars-demo { display: grid; gap: 10px; }
.bar-line {
  display: grid;
  grid-template-columns: 80px 1fr 56px;
  gap: 14px;
  align-items: center;
  font-size: 11.5px;
  font-family: var(--font-mono);
}
.bar-line .nm { color: var(--ink); }
.bar-line .pc { color: var(--ink-mute); text-align: right; font-variant-numeric: tabular-nums; }
.bar-track {
  position: relative;
  height: 8px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
}
.bar-fill {
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform-origin: left center;
  transition: transform 0.6s cubic-bezier(.4,.8,.3,1);
}
.bar-fill.warn { background: var(--warn); }
.bar-fill.danger { background: var(--danger); }
.bar-fill::after {
  content: "";
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 12px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4));
  animation: shimmer-bar 2s linear infinite;
}
@keyframes shimmer-bar { 0% { opacity: 0; } 50% { opacity: 1; } 100% { opacity: 0; } }

/* small code block */
.code-mini {
  background: #050608;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-dim);
  line-height: 1.6;
}
.code-mini .pr { color: var(--accent); margin-right: 6px; }
.code-mini .em { color: var(--ink); }
.code-mini .acc { color: var(--accent); }
.code-mini .dim { color: var(--ink-mute); }

/* providers */
.providers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 14px;
}
.provider {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  text-align: center;
  color: var(--ink);
}
.provider .nm { font-weight: 600; }
.provider .by { color: var(--ink-mute); font-size: 10px; margin-top: 4px; }
.provider.acc { border-color: var(--accent); color: var(--accent); background: rgba(180,255,100,0.04); }

/* ───────── STICKY INSTALL BAR ───────── */
.sticky-install {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 60;
  display: flex;
  align-items: stretch;
  background: rgba(11, 13, 17, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 13px;
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.5);
  transition: transform 0.4s cubic-bezier(.2,.7,.2,1);
  max-width: calc(100vw - 32px);
}
.sticky-install.shown {
  transform: translateX(-50%) translateY(0);
}
.sticky-install .pr {
  display: flex;
  align-items: center;
  padding: 12px 4px 12px 16px;
  color: var(--accent);
  font-weight: 700;
}
.sticky-install .cmd {
  display: flex;
  align-items: center;
  padding: 12px 8px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
}
.sticky-install .copy-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 18px;
  background: var(--accent);
  color: #000;
  border: 0;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.04em;
  transition: background 0.15s;
}
.sticky-install .copy-btn:hover { background: oklch(0.94 0.22 130); }

/* ───────── PRICING / TIERS ───────── */
.savings {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.save-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 28px;
  text-align: left;
  position: relative;
  transition: all 0.2s;
}
.save-card.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(180,255,100,0.04), var(--bg-elev) 50%);
}
.save-card.featured::before {
  content: "most users";
  position: absolute;
  top: -10px;
  left: 24px;
  padding: 3px 10px;
  background: var(--accent);
  color: #000;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 3px;
}
.save-card .accounts {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.save-card .accounts span { color: var(--accent); }
.save-card .big {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 4px;
}
.save-card .big sub {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-mute);
  vertical-align: 8px;
  margin-left: 4px;
}
.save-card .unit {
  font-size: 12px;
  color: var(--ink-mute);
  margin-bottom: 18px;
}
.save-card .desc {
  font-size: 12.5px;
  color: var(--ink-dim);
  line-height: 1.55;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

/* ───────── FAQ ───────── */
.faq { display: grid; gap: 0; }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  cursor: pointer;
}
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  list-style: none;
  cursor: pointer;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--accent);
  font-size: 22px;
  font-weight: 300;
  transition: transform 0.2s;
  line-height: 0.6;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .ans {
  margin-top: 12px;
  color: var(--ink-dim);
  font-size: 14px;
  line-height: 1.65;
  max-width: 64ch;
}
.faq-item .ans code {
  font-family: var(--font-mono);
  color: var(--accent);
  background: var(--bg-elev);
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 12px;
}

/* ───────── FINAL CTA ───────── */
.final-cta {
  text-align: center;
  padding: 140px 28px 100px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
}
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(180,255,100,0.10), transparent 60%);
}
.final-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.95;
  max-width: 14ch;
  margin: 0 auto 24px;
}
.final-cta h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.final-cta p {
  color: var(--ink-dim);
  font-size: 16px;
  max-width: 480px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/* ───────── FOOTER ───────── */
.footer {
  border-top: 1px solid var(--line);
  padding: 40px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--maxw);
  margin: 0 auto;
  font-size: 11px;
  color: var(--ink-mute);
}

/* reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s, transform 0.7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* responsive */
@media (max-width: 900px) {
  .problem-grid { grid-template-columns: 1fr; }
  .how { grid-template-columns: 1fr; }
  .features-grid > * { grid-column: span 12 !important; }
  .providers { grid-template-columns: 1fr 1fr; }
  .savings { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hero h1 { font-size: clamp(40px, 11vw, 80px); }
  .features { grid-template-columns: 1fr; }
  .feature.f-wide, .feature.f-mid, .feature.f-third, .feature.f-half, .feature.f-full { grid-column: 1; }
  .cta-glyph { font-size: clamp(64px, 16vw, 140px); }
}

/* ──────────────── V1 FEATURES BENTO ──────────────── */
.features {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
.feature {
  background: var(--bg-elev);
  padding: 36px 28px;
  position: relative;
  transition: background 0.2s;
  overflow: hidden;
}
.feature:hover { background: var(--bg-soft); }
.feature.f-wide { grid-column: span 7; }
.feature.f-mid { grid-column: span 5; }
.feature.f-third { grid-column: span 4; }
.feature.f-half { grid-column: span 6; }
.feature.f-full { grid-column: span 12; }

.f-num { font-size: 11px; color: var(--ink-mute); letter-spacing: 0.15em; }
.f-title {
  font-family: var(--font-display);
  font-size: 24px; font-weight: 700; letter-spacing: -0.02em;
  margin: 14px 0 10px; line-height: 1.1;
}
.f-title em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--accent); }
.f-desc { color: var(--ink-dim); font-size: 13px; line-height: 1.6; max-width: 60ch; }
.f-art { margin-top: 24px; position: relative; }

/* feature: rate bars (v1 style) */
.bars { display: grid; gap: 12px; }
.bar-row { display: grid; grid-template-columns: 80px 1fr 60px; gap: 12px; align-items: center; font-size: 11px; font-family: var(--font-mono); }
.bar-row .name { color: var(--ink); }
.bar-row .pct { color: var(--ink-mute); text-align: right; font-variant-numeric: tabular-nums; }

/* feature: flow */
.flow-art {
  position: relative;
  height: 180px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
}
.flow-col { display: grid; gap: 10px; }
.flow-node {
  border: 1px solid var(--line-2);
  background: var(--bg-soft);
  padding: 8px 10px;
  border-radius: 3px;
  font-size: 11px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
}
.flow-node .nm { color: var(--ink); }
.flow-node .vl { color: var(--ink-mute); font-variant-numeric: tabular-nums; }
.flow-node.active { border-color: var(--accent); background: rgba(180, 255, 100, 0.05); }
.flow-node.active .vl { color: var(--accent); }
.flow-shunt {
  width: 60px; height: 60px;
  border: 1px solid var(--accent);
  display: grid; place-items: center;
  border-radius: 50%;
  position: relative;
  background: rgba(180, 255, 100, 0.04);
}
.flow-shunt::before, .flow-shunt::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px dashed var(--line-2);
  border-radius: 50%;
  animation: spin 20s linear infinite;
}
.flow-shunt::after { inset: -16px; animation: spin 30s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.flow-shunt .core {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-family: var(--font-mono);
}

/* terminal block (live typing) */
.terminal {
  background: #050608;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 12.5px;
  position: relative;
}
.term-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--bg-elev);
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  color: var(--ink-mute);
  white-space: nowrap;
}
.term-dot { width: 9px; height: 9px; border-radius: 50%; background: #2a2e35; }
.term-dot.r { background: oklch(0.65 0.18 25); }
.term-dot.y { background: oklch(0.78 0.16 80); }
.term-dot.g { background: oklch(0.72 0.18 145); }
.term-title { margin-left: 8px; }
.term-body { padding: 18px 20px; line-height: 1.6; color: var(--ink-dim); font-family: var(--font-mono); }
.term-body .prompt { color: var(--accent); user-select: none; }
.term-body .cmd { color: var(--ink); }
.term-body .out { color: var(--ink-dim); }
.term-body .com { color: var(--ink-mute); }
.term-body .acc { color: var(--accent); }
.term-body .warn { color: var(--warn); }
.term-body .err { color: var(--danger); }
.term-body .dim { color: var(--ink-mute); }
.term-body .ok { color: var(--accent); }
.term-body pre { margin: 0; font-family: inherit; white-space: pre; }
.cursor {
  display: inline-block;
  width: 7px;
  height: 14px;
  background: var(--accent);
  vertical-align: -2px;
  margin-left: 2px;
  animation: blink 1s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ──────────────── BIG "SHUNT IT." CTA ──────────────── */
.cta-big {
  position: relative;
  text-align: center;
  padding: 140px 28px 80px;
  border-top: 1px solid var(--line);
  margin-top: 80px;
  overflow: hidden;
}
.cta-big::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(180,255,100,0.08), transparent 70%);
  pointer-events: none;
}
.cta-glyph {
  font-family: var(--font-display);
  font-size: clamp(80px, 18vw, 240px);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
  background: linear-gradient(180deg, var(--ink), transparent 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0;
  position: relative;
  z-index: 1;
}
.cta-glyph em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  -webkit-text-fill-color: var(--accent);
}
.cta-sub {
  color: var(--ink-dim);
  margin: 20px auto 36px;
  max-width: 540px;
  font-size: 16px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}
.cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
  margin-bottom: 28px;
}
