/* Meridian — Landing
   Dark, vanguardista, inspirado en el sistema interno */

:root {
  --bg-0: oklch(0.16 0.008 250);
  --bg-1: oklch(0.20 0.009 250);
  --bg-2: oklch(0.24 0.010 250);
  --bg-3: oklch(0.28 0.012 250);
  --bg-elev: oklch(0.22 0.010 250);

  --border: oklch(0.30 0.012 250);
  --border-strong: oklch(0.40 0.015 250);
  --border-subtle: oklch(0.24 0.010 250);

  --fg-0: oklch(0.97 0.005 250);
  --fg-1: oklch(0.82 0.010 250);
  --fg-2: oklch(0.62 0.012 250);
  --fg-3: oklch(0.45 0.012 250);

  --accent: oklch(0.85 0.17 145);          /* lime */
  --accent-fg: oklch(0.20 0.05 145);
  --accent-dim: oklch(0.40 0.10 145);
  --accent-soft: oklch(0.30 0.06 145);

  --violet: oklch(0.72 0.18 300);
  --amber:  oklch(0.80 0.14 75);
  --rose:   oklch(0.72 0.17 20);
  --cyan:   oklch(0.78 0.13 220);

  --font-ui: "Inter Tight", "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;
  --font-editorial: "Fraunces", "Tiempos", Georgia, serif;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;

  --max: 1240px;
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--bg-0);
  color: var(--fg-0);
  font-family: var(--font-ui);
  font-feature-settings: "cv11", "ss01", "ss03";
  -webkit-font-smoothing: antialiased;
  font-size: 15px;
  line-height: 1.5;
}
body {
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; padding: 0; }

.mono { font-family: var(--font-mono); }
.editorial { font-family: var(--font-editorial); font-style: italic; font-weight: 400; }

/* ===== Background field ===== */
.bg-field {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(80vw 60vh at 50% -10%, oklch(0.28 0.10 145 / 0.18), transparent 60%),
    radial-gradient(60vw 60vh at 100% 30%, oklch(0.30 0.14 300 / 0.12), transparent 65%),
    radial-gradient(60vw 60vh at 0% 70%, oklch(0.30 0.10 220 / 0.10), transparent 65%);
}
.bg-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, oklch(0.30 0.012 250 / 0.45) 1px, transparent 1px),
    linear-gradient(to bottom, oklch(0.30 0.012 250 / 0.45) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 0%, transparent 75%);
  opacity: 0.5;
}
.bg-noise {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.04;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.6'/></svg>");
  mix-blend-mode: overlay;
}

/* ===== 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) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: oklch(0.16 0.008 250 / 0.55);
  border-bottom: 1px solid oklch(0.30 0.012 250 / 0.5);
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; letter-spacing: -0.01em;
}
.brand .logo {
  width: 26px; height: 26px; border-radius: 7px;
  background:
    conic-gradient(from 200deg, var(--accent), var(--violet), var(--cyan), var(--accent));
  position: relative;
  box-shadow: 0 0 30px oklch(0.85 0.17 145 / 0.45);
}
.brand .logo::after {
  content: ""; position: absolute; inset: 5px;
  border-radius: 3px;
  background: var(--bg-0);
  mask: radial-gradient(circle at 30% 30%, #000 40%, transparent 41%);
}
.brand .name { font-size: 15px; }
.brand .ws { font-family: var(--font-mono); font-size: 11px; color: var(--fg-2); margin-left: 4px; }

.nav-links { display: flex; gap: 4px; }
.nav-links a {
  padding: 7px 12px; border-radius: 8px;
  font-size: 13.5px; color: var(--fg-1);
  transition: background 120ms, color 120ms;
}
.nav-links a:hover { background: oklch(0.28 0.012 250 / 0.6); color: var(--fg-0); }

.nav-actions { display: flex; gap: 8px; align-items: center; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 9px;
  font-size: 13.5px; font-weight: 500;
  border: 1px solid var(--border);
  background: var(--bg-1);
  color: var(--fg-0);
  transition: all 140ms;
  white-space: nowrap;
}
.btn:hover { background: var(--bg-2); border-color: var(--border-strong); transform: translateY(-1px); }
.btn.primary {
  background: var(--accent); color: var(--accent-fg);
  border-color: transparent;
  box-shadow: 0 6px 24px oklch(0.85 0.17 145 / 0.30), inset 0 1px 0 oklch(1 0 0 / 0.30);
}
.btn.primary:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--fg-1); }
.btn.ghost:hover { background: oklch(0.28 0.012 250 / 0.6); color: var(--fg-0); }
.btn.lg { padding: 12px 20px; font-size: 14.5px; border-radius: 11px; }

.kbd { font-family: var(--font-mono); font-size: 10.5px; padding: 2px 6px; border: 1px solid var(--border); border-radius: 4px; color: var(--fg-2); background: oklch(0.20 0.009 250 / 0.6); }

/* ===== Section base ===== */
.section { position: relative; z-index: 1; padding: 120px 28px; }
.wrap { max-width: var(--max); margin: 0 auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11.5px;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--fg-2);
  padding: 5px 10px; border: 1px solid var(--border); border-radius: 999px;
  background: oklch(0.20 0.009 250 / 0.6);
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.025em; }
h1 { font-size: clamp(48px, 7.2vw, 96px); line-height: 1.02; }
h2 { font-size: clamp(36px, 4.8vw, 60px); line-height: 1.05; }
h3 { font-size: 22px; line-height: 1.2; }

.lead { font-size: 19px; color: var(--fg-2); max-width: 60ch; line-height: 1.5; }

/* ===== Hero ===== */
.hero { padding-top: 160px; padding-bottom: 80px; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center;
}
.hero h1 .cursor {
  display: inline-block; width: 0.55ch; height: 0.9em;
  background: var(--accent); margin-left: 0.05em; vertical-align: -0.06em;
  animation: blink 1.05s steps(2,end) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.hero .badge-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.hero h1 { margin-bottom: 24px; }
.hero h1 .word-shimmer {
  background: linear-gradient(120deg, var(--fg-0) 30%, var(--accent) 50%, var(--fg-0) 70%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 5s linear infinite;
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.hero p.lead { margin-bottom: 32px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-meta { display: flex; gap: 20px; margin-top: 36px; color: var(--fg-2); font-size: 12.5px; flex-wrap: wrap; }
.hero-meta .d { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta .d .ind { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }

/* ===== Hero "video" — animated UI mock ===== */
.hero-video {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--bg-1);
  box-shadow:
    0 40px 100px oklch(0 0 0 / 0.6),
    0 0 0 1px oklch(0.85 0.17 145 / 0.15),
    inset 0 1px 0 oklch(1 0 0 / 0.05);
  aspect-ratio: 16 / 11;
  transform: perspective(1400px) rotateY(-7deg) rotateX(4deg);
  transition: transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.hero-video:hover { transform: perspective(1400px) rotateY(-3deg) rotateX(2deg); }
.hv-chrome {
  height: 32px; display: flex; align-items: center; gap: 8px;
  padding: 0 12px; border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}
.hv-chrome .dot { width: 9px; height: 9px; border-radius: 50%; }
.hv-chrome .url {
  margin-left: 12px; font-family: var(--font-mono); font-size: 11px;
  color: var(--fg-2); padding: 2px 10px; border-radius: 6px;
  background: var(--bg-1); border: 1px solid var(--border);
  flex: 1;
}
.hv-stage { position: absolute; inset: 32px 0 0 0; overflow: hidden; display: flex; flex-direction: column; }

/* fake toolbar */
.hv-toolbar { display: flex; align-items: center; justify-content: space-between; padding: 8px 14px; border-bottom: 1px solid var(--border-subtle); background: var(--bg-1); flex-shrink: 0; }
.hv-tabs { display: inline-flex; gap: 2px; background: var(--bg-2); border: 1px solid var(--border); border-radius: 7px; padding: 2px; }
.hv-tabs span { padding: 3px 10px; font-size: 11px; color: var(--fg-2); border-radius: 5px; }
.hv-tabs span.on { background: var(--bg-0); color: var(--fg-0); box-shadow: var(--shadow-sm); }
.hv-presence { display: inline-flex; align-items: center; gap: 8px; }
.hv-presence .pa { width: 22px; height: 22px; border-radius: 50%; font-size: 9.5px; color: white; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; border: 2px solid var(--bg-1); margin-left: -8px; }
.hv-presence .pa-1 { background: linear-gradient(135deg, var(--violet), var(--cyan)); margin-left: 0; }
.hv-presence .pa-2 { background: linear-gradient(135deg, var(--rose), var(--amber)); }
.hv-presence .pa-3 { background: linear-gradient(135deg, var(--cyan), var(--accent)); }
.hv-presence .pn { font-family: var(--font-mono); font-size: 10.5px; color: var(--fg-2); display: inline-flex; align-items: center; gap: 6px; margin-left: 6px; }
.hv-presence .pn-d { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); animation: pulse 1.4s infinite; }

/* sub-anim: live kanban */
.kanban {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  padding: 12px; flex: 1; min-height: 0;
}
.kcol { background: var(--bg-2); border: 1px solid var(--border); border-radius: 10px; padding: 10px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.kcol h5 {
  margin: 0; font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--fg-2); display: flex; align-items: center; gap: 6px;
}
.kcol h5 .ct { margin-left: auto; font-family: var(--font-mono); color: var(--fg-3); }
.kcol h5 .sd { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.kcol.todo h5 { color: oklch(0.65 0.012 250); }
.kcol.prog h5 { color: var(--amber); }
.kcol.done h5 { color: var(--accent); }
.kcol.is-target { background: oklch(0.30 0.06 145 / 0.18); border-color: var(--accent-soft); transition: background 200ms, border-color 200ms; }

.kcard {
  background: var(--bg-1); border: 1px solid var(--border); border-radius: 8px;
  padding: 8px 9px; font-size: 11px; color: var(--fg-1);
  display: flex; flex-direction: column; gap: 5px;
  transition: opacity 220ms;
}
.kcard .id { font-family: var(--font-mono); font-size: 9.5px; color: var(--fg-3); }
.kcard .title { color: var(--fg-0); font-weight: 500; line-height: 1.3; }
.kcard .meta { display: flex; align-items: center; gap: 6px; font-size: 10px; color: var(--fg-2); }
.kcard .meta .av { width: 14px; height: 14px; border-radius: 50%; background: linear-gradient(135deg, var(--violet), var(--cyan)); flex-shrink: 0; }
.kcard .tag { display: inline-flex; padding: 1px 5px; border-radius: 3px; background: var(--bg-3); font-family: var(--font-mono); font-size: 9px; color: var(--fg-2); }
.kcard.k-target.is-ghost { opacity: 0.18; }

/* moving card — JS-driven, smooth grab+drop */
.kcard.moving {
  position: absolute; z-index: 7;
  width: 28%; left: 0; top: 0;
  pointer-events: none;
  background: var(--bg-elev);
  box-shadow: 0 18px 40px oklch(0 0 0 / 0.55), 0 0 0 1.5px var(--accent);
  opacity: 0;
  transition: left 1100ms cubic-bezier(0.5, 0, 0.3, 1),
              top 1100ms cubic-bezier(0.5, 0, 0.3, 1),
              transform 350ms cubic-bezier(0.2, 0.7, 0.2, 1),
              opacity 250ms,
              box-shadow 250ms;
}
.kcard.moving.is-grabbed {
  transform: rotate(2.5deg) scale(1.04);
  box-shadow: 0 24px 50px oklch(0 0 0 / 0.6), 0 0 0 1.5px var(--accent), 0 0 30px oklch(0.85 0.17 145 / 0.4);
}
.kcard.moving.is-visible { opacity: 1; }

/* live cursor */
/* live cursor — JS-driven, follows the card */
.cursor-fly {
  position: absolute; width: 18px; height: 18px; z-index: 8;
  left: 0; top: 0;
  pointer-events: none; opacity: 0;
  transition: left 1100ms cubic-bezier(0.5, 0, 0.3, 1),
              top 1100ms cubic-bezier(0.5, 0, 0.3, 1),
              opacity 250ms;
}
.cursor-fly.is-visible { opacity: 1; }
.cursor-fly svg { width: 100%; height: 100%; filter: drop-shadow(0 2px 4px oklch(0 0 0 / 0.6)); }
.cursor-fly .label {
  position: absolute; top: 16px; left: 16px;
  font-size: 9.5px; font-family: var(--font-mono);
  background: var(--accent); color: var(--accent-fg);
  padding: 2px 6px; border-radius: 4px;
  white-space: nowrap; font-weight: 600;
}

/* bottom stats strip (replaces ticker + floating badges) */
.hv-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-1);
  flex-shrink: 0;
}
.hv-stat { padding: 8px 12px; border-right: 1px solid var(--border-subtle); display: flex; flex-direction: column; gap: 3px; min-width: 0; overflow: hidden; }
.hv-stat:last-child { border-right: none; }
.hv-k { font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--fg-3); }
.hv-v { font-size: 11.5px; color: var(--fg-0); font-family: var(--font-mono); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hv-d { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.hv-d-ok { background: var(--accent); box-shadow: 0 0 6px var(--accent); }
.hv-bar { display: block !important; width: 100%; height: 6px; border-radius: 3px; background: var(--bg-3); overflow: hidden; padding: 0; }
.hv-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--violet)); border-radius: 3px; transition: width 1.2s ease-out; }

/* Floating badges (deprecated, hidden) */
.float-badge { display: none !important; }

/* ===== Logo strip ===== */
.logos {
  padding: 20px 28px 60px;
  position: relative; z-index: 1;
}
.logos .row {
  display: flex; align-items: center; justify-content: center; gap: 60px;
  flex-wrap: wrap;
  color: var(--fg-2); font-size: 13px;
  font-family: var(--font-mono);
  opacity: 0.7;
}
.logos .row span { letter-spacing: 0.05em; }
.logos .label {
  text-align: center; font-family: var(--font-mono); font-size: 11px;
  color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.18em;
  margin-bottom: 24px;
}

/* ===== Features grid ===== */
.feature-head { text-align: center; max-width: 760px; margin: 0 auto 64px; }
.feature-head h2 { margin-top: 16px; margin-bottom: 16px; }
.feature-head p { color: var(--fg-2); font-size: 18px; margin: 0; }

.features {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.f-card {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(180deg, var(--bg-1), oklch(0.18 0.008 250));
  padding: 22px;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 320px;
  transition: border-color 200ms, transform 300ms;
}
.f-card:hover { border-color: var(--border-strong); transform: translateY(-4px); }
.f-card .label {
  font-family: var(--font-mono); font-size: 10.5px; color: var(--fg-3);
  text-transform: uppercase; letter-spacing: 0.16em; margin-bottom: 12px;
  display: flex; align-items: center; gap: 6px;
}
.f-card .label .n { color: var(--accent); }
.f-card h3 { font-size: 22px; margin-bottom: 10px; letter-spacing: -0.02em; }
.f-card p { color: var(--fg-2); margin: 0 0 16px 0; font-size: 14px; }
.f-card .canvas { flex: 1; position: relative; margin-top: auto; min-height: 130px; border-radius: 12px; overflow: hidden; background: oklch(0.16 0.008 250); border: 1px solid var(--border-subtle); }

.f-wide-3 { grid-column: span 3; }
.f-wide-4 { grid-column: span 4; }
.f-wide-2 { grid-column: span 2; }

/* feature canvases — Sparkline / orbit / stream / type */
.spark-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.spark-svg .ln { fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-dasharray: 600; stroke-dashoffset: 600; animation: dashIn 3.2s cubic-bezier(0.6,0.05,0.2,1) infinite; }
.spark-svg .area { fill: url(#g-area); opacity: 0; animation: areaIn 3.2s cubic-bezier(0.6,0.05,0.2,1) infinite; }
.spark-svg .pt { fill: var(--accent); }
@keyframes dashIn { 0% { stroke-dashoffset: 600; } 60%,100% { stroke-dashoffset: 0; } }
@keyframes areaIn { 0%,40% { opacity: 0; } 70%,100% { opacity: 1; } }

/* orbit (collab) */
.orbit { position: absolute; inset: 0; }
.orbit .ring {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  border: 1px dashed var(--border-strong); border-radius: 50%;
}
.orbit .ring.r1 { width: 90px; height: 90px; animation: spin 18s linear infinite; }
.orbit .ring.r2 { width: 150px; height: 150px; animation: spin 30s linear infinite reverse; }
.orbit .ring.r3 { width: 220px; height: 220px; animation: spin 50s linear infinite; }
@keyframes spin { to { transform: translate(-50%,-50%) rotate(360deg); } }
.orbit .core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 36px; height: 36px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--accent), var(--accent-dim));
  box-shadow: 0 0 30px oklch(0.85 0.17 145 / 0.5);
}
.orbit .av {
  position: absolute; width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), var(--cyan)); border: 2px solid var(--bg-1);
  font-size: 9px; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700;
}
.orbit .av.a1 { left: 50%; top: 50%; transform: translate(-50%,-50%) translateX(45px); animation: orbita 18s linear infinite; }
.orbit .av.a2 { left: 50%; top: 50%; background: linear-gradient(135deg, var(--rose), var(--amber)); transform: translate(-50%,-50%) translateX(75px); animation: orbita 30s linear infinite reverse; }
.orbit .av.a3 { left: 50%; top: 50%; background: linear-gradient(135deg, var(--cyan), var(--accent)); transform: translate(-50%,-50%) translateX(110px); animation: orbita 50s linear infinite; }
@keyframes orbita {
  from { transform: translate(-50%,-50%) rotate(0deg) translateX(var(--r, 45px)) rotate(0deg); }
  to   { transform: translate(-50%,-50%) rotate(360deg) translateX(var(--r, 45px)) rotate(-360deg); }
}
.orbit .av.a1 { --r: 45px; }
.orbit .av.a2 { --r: 75px; }
.orbit .av.a3 { --r: 110px; }

/* terminal-typing card */
.term { padding: 14px; height: 100%; font-family: var(--font-mono); font-size: 11px; color: var(--fg-1); display: flex; flex-direction: column; gap: 4px; }
.term .l { white-space: nowrap; overflow: hidden; }
.term .l .pr { color: var(--accent); }
.term .l .key { color: var(--cyan); }
.term .l .str { color: var(--amber); }
.term .l .com { color: var(--fg-3); }
.term .l.l1 { animation: typing 4s steps(40, end) infinite; }
.term .blink { display: inline-block; width: 6px; height: 11px; background: var(--accent); margin-left: 2px; vertical-align: -2px; animation: blink 1s steps(2) infinite; }

/* timeline canvas */
.tl { position: absolute; inset: 12px; display: flex; flex-direction: column; gap: 6px; }
.tl .row { display: flex; align-items: center; gap: 8px; height: 16px; font-family: var(--font-mono); font-size: 10px; color: var(--fg-2); }
.tl .row .lab { width: 60px; }
.tl .bar { height: 9px; border-radius: 3px; background: var(--accent-soft); position: relative; }
.tl .bar .fill { position: absolute; left: 0; top: 0; bottom: 0; background: var(--accent); border-radius: 3px; animation: fill 4s ease-out infinite; }
.tl .bar.b1 .fill { width: 0; animation-delay: 0s; }
.tl .bar.b2 { background: oklch(0.30 0.07 300); }
.tl .bar.b2 .fill { background: var(--violet); width: 0; animation-delay: 0.4s; }
.tl .bar.b3 { background: oklch(0.30 0.06 75); }
.tl .bar.b3 .fill { background: var(--amber); width: 0; animation-delay: 0.8s; }
.tl .bar.b4 { background: oklch(0.30 0.07 220); }
.tl .bar.b4 .fill { background: var(--cyan); width: 0; animation-delay: 1.2s; }
@keyframes fill {
  0% { width: 0; }
  60%,100% { width: var(--w, 70%); }
}
.tl .bar.b1 .fill { --w: 80%; }
.tl .bar.b2 .fill { --w: 55%; }
.tl .bar.b3 .fill { --w: 70%; }
.tl .bar.b4 .fill { --w: 30%; }
.tl .marker { position: absolute; right: 16%; top: 0; bottom: 0; width: 1px; background: var(--accent); }
.tl .marker::before { content: "today"; position: absolute; top: -14px; right: -16px; font-size: 9px; color: var(--accent); font-family: var(--font-mono); }

/* AI inbox triage */
.ai-stream { position: absolute; inset: 12px; display: flex; flex-direction: column; gap: 6px; overflow: hidden; }
.ai-row {
  display: flex; align-items: center; gap: 8px; padding: 6px 8px;
  border: 1px solid var(--border); border-radius: 6px;
  background: oklch(0.20 0.009 250 / 0.7);
  font-size: 10.5px;
  animation: aiSlide 6s ease-in-out infinite;
}
.ai-row .av { width: 14px; height: 14px; border-radius: 50%; background: linear-gradient(135deg, var(--violet), var(--cyan)); flex-shrink: 0; }
.ai-row .t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--fg-1); }
.ai-row .tag { font-family: var(--font-mono); font-size: 9px; padding: 1px 5px; border-radius: 3px; background: var(--accent-soft); color: var(--accent); }
.ai-row.r2 { animation-delay: 1s; }
.ai-row.r3 { animation-delay: 2s; }
.ai-row.r4 { animation-delay: 3s; }
@keyframes aiSlide {
  0% { opacity: 0; transform: translateX(-10px); }
  10%,80% { opacity: 1; transform: translateX(0); }
  100% { opacity: 0; transform: translateX(0); }
}

/* counter */
.counter-canvas { display: flex; align-items: center; justify-content: center; height: 100%; flex-direction: column; gap: 6px; }
.counter-canvas .num { font-family: var(--font-editorial); font-size: 48px; line-height: 1; color: var(--fg-0); }
.counter-canvas .num em { font-style: normal; color: var(--accent); }
.counter-canvas .lab { font-family: var(--font-mono); font-size: 10.5px; color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.16em; }

/* ===== Big stage section ===== */
.stage-section {
  padding: 100px 28px 140px; position: relative; z-index: 1;
}
.stage-shell {
  max-width: 1180px; margin: 0 auto;
  border-radius: 24px;
  border: 1px solid var(--border-strong);
  background: linear-gradient(180deg, var(--bg-1), oklch(0.16 0.008 250));
  overflow: hidden;
  box-shadow: 0 60px 120px oklch(0 0 0 / 0.55);
  position: relative;
}
.stage-tabs {
  display: flex; gap: 4px; padding: 16px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}
.stage-tabs button {
  padding: 8px 14px; border-radius: 8px; font-size: 13px; font-weight: 500;
  color: var(--fg-2); transition: all 140ms;
  border: 1px solid transparent;
}
.stage-tabs button:hover { color: var(--fg-0); background: var(--bg-3); }
.stage-tabs button.on { background: var(--bg-0); color: var(--fg-0); border-color: var(--border); }
.stage-content { aspect-ratio: 16 / 8; position: relative; }
.stage-pane { position: absolute; inset: 0; opacity: 0; transition: opacity 320ms; pointer-events: none; }
.stage-pane.on { opacity: 1; pointer-events: auto; }

/* Pane: gantt */
.gantt { padding: 24px; height: 100%; display: flex; flex-direction: column; gap: 10px; }
.gantt .head { display: grid; grid-template-columns: 180px 1fr; gap: 12px; font-family: var(--font-mono); font-size: 10.5px; color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.1em; }
.gantt .head .weeks { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; }
.gantt .grow { display: flex; flex-direction: column; gap: 8px; flex: 1; min-height: 0; }
.g-row { display: grid; grid-template-columns: 180px 1fr; gap: 12px; align-items: center; font-size: 12px; }
.g-row .nm { color: var(--fg-1); display: flex; align-items: center; gap: 8px; }
.g-row .nm .d { width: 8px; height: 8px; border-radius: 2px; }
.g-row .gtrack { position: relative; height: 22px; background: var(--bg-2); border-radius: 6px; }
.g-row .gtrack .b { position: absolute; top: 3px; bottom: 3px; border-radius: 4px; box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.15); }

/* Pane: kanban big */
.bk { padding: 16px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; height: 100%; }
.bk-col { border: 1px solid var(--border); border-radius: 12px; background: var(--bg-2); padding: 12px; display: flex; flex-direction: column; gap: 10px; min-height: 0; overflow: hidden; }
.bk-col h5 { margin: 0; font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--fg-2); display: flex; align-items: center; gap: 6px; justify-content: space-between; }
.bk-col h5 .ct { font-family: var(--font-mono); color: var(--fg-3); }
.bk-card { background: var(--bg-1); border: 1px solid var(--border); border-radius: 9px; padding: 9px; font-size: 11.5px; display: flex; flex-direction: column; gap: 6px; cursor: grab; user-select: none; transition: transform .35s cubic-bezier(.2,.8,.2,1), opacity .25s, box-shadow .25s, border-color .25s; will-change: transform; position: relative; }
.bk-card:hover { border-color: var(--fg-3); box-shadow: 0 4px 14px rgba(0,0,0,.25); transform: translateY(-1px); }
.bk-card.is-dragging { cursor: grabbing; opacity: .92; transform: rotate(-2deg) scale(1.04); box-shadow: 0 18px 40px rgba(0,0,0,.5), 0 0 0 1px var(--accent-soft); z-index: 50; pointer-events: none; }
.bk-card.is-floating { position: fixed; z-index: 9999; pointer-events: none; transition: none; }
.bk-card.just-landed { animation: cardPop .5s cubic-bezier(.2,.8,.2,1); }
@keyframes cardPop { 0% { transform: scale(.92); box-shadow: 0 0 0 2px var(--accent); } 60% { transform: scale(1.02); } 100% { transform: scale(1); } }
.bk-col.is-drop-target { background: color-mix(in oklch, var(--accent) 8%, var(--bg-2)); border-color: var(--accent-soft); }
.bk-col .drop-zone { min-height: 36px; border: 1.5px dashed var(--border); border-radius: 8px; transition: all .2s; opacity: 0; height: 0; padding: 0; margin: 0; pointer-events: none; }
.bk-col.is-drop-target .drop-zone { opacity: 1; height: 32px; padding: 4px; border-color: var(--accent-soft); background: color-mix(in oklch, var(--accent) 6%, transparent); }
.bk-card .id { font-family: var(--font-mono); font-size: 10px; color: var(--fg-3); }
.bk-card .t { color: var(--fg-0); font-weight: 500; line-height: 1.3; font-size: 12px; }
.bk-card .ft { display: flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 10px; color: var(--fg-2); }
.bk-card .pri { width: 6px; height: 6px; border-radius: 50%; }

/* Pane: docs */
.docs-pane { display: grid; grid-template-columns: 220px 1fr; height: 100%; }
.docs-side { border-right: 1px solid var(--border); padding: 16px 12px; background: var(--bg-2); overflow-y: auto; }
.docs-side .gr { font-family: var(--font-mono); font-size: 10px; color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.12em; padding: 10px 8px 6px; }
.docs-side .item { display: flex; align-items: center; gap: 8px; padding: 5px 8px; border-radius: 5px; font-size: 12px; color: var(--fg-1); }
.docs-side .item:hover, .docs-side .item.on { background: var(--bg-3); color: var(--fg-0); }
.docs-side .item .di { width: 12px; height: 12px; opacity: 0.6; }
.docs-body { padding: 32px 40px; overflow-y: auto; }
.docs-body h3 { font-family: var(--font-editorial); font-style: italic; font-weight: 400; font-size: 36px; letter-spacing: -0.02em; color: var(--fg-0); margin-bottom: 12px; }
.docs-body .meta { font-family: var(--font-mono); font-size: 10.5px; color: var(--fg-3); margin-bottom: 24px; text-transform: uppercase; letter-spacing: 0.12em; }
.docs-body p { color: var(--fg-1); margin: 0 0 14px; max-width: 60ch; line-height: 1.6; font-size: 13.5px; }
.docs-body p .hl { background: oklch(0.30 0.07 75 / 0.4); padding: 0 3px; border-radius: 2px; }
.docs-body .embed {
  border: 1px solid var(--border); border-radius: 10px; padding: 14px;
  background: var(--bg-2); display: flex; gap: 12px; align-items: center;
  font-size: 12px; color: var(--fg-1); margin: 18px 0;
}
.docs-body .embed .iv {
  width: 48px; height: 48px; border-radius: 8px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  display: inline-flex; align-items: center; justify-content: center;
  color: white; font-weight: 600;
}

/* ===== Quote block ===== */
.quote-section { padding: 80px 28px; position: relative; z-index: 1; }
.quote {
  max-width: 920px; margin: 0 auto; text-align: center;
  font-family: var(--font-editorial); font-style: italic; font-weight: 300;
  font-size: clamp(28px, 3vw, 42px); line-height: 1.25; color: var(--fg-0);
  letter-spacing: -0.02em;
}
.quote .who {
  margin-top: 32px;
  font-family: var(--font-ui); font-style: normal; font-weight: 500;
  font-size: 13px; color: var(--fg-2); letter-spacing: 0;
  display: flex; gap: 12px; align-items: center; justify-content: center;
}
.quote .who .av { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, var(--rose), var(--amber)); }

/* ===== Pricing ===== */
.pricing-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.pricing-head h2 { margin: 16px 0; }
.pricing-head p { color: var(--fg-2); font-size: 18px; margin: 0 0 24px; }
.bill-toggle {
  display: inline-flex; padding: 4px;
  background: var(--bg-1); border: 1px solid var(--border);
  border-radius: 999px;
  position: relative;
}
.bill-toggle button {
  padding: 8px 16px; font-size: 13px; font-weight: 500;
  border-radius: 999px; color: var(--fg-2);
  transition: color 200ms; position: relative; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
}
.bill-toggle button.on { color: var(--accent-fg); }
.bill-toggle button .save { font-family: var(--font-mono); font-size: 10px; padding: 2px 6px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }
.bill-toggle button.on .save { background: oklch(1 0 0 / 0.15); color: var(--accent-fg); }
.bill-toggle .pill {
  position: absolute; top: 4px; left: 4px;
  height: calc(100% - 8px);
  background: var(--accent); border-radius: 999px;
  transition: transform 280ms cubic-bezier(0.4, 0, 0.2, 1), width 280ms;
  z-index: 1;
}

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tier {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(180deg, var(--bg-1), oklch(0.18 0.008 250));
  padding: 28px;
  display: flex; flex-direction: column; gap: 18px;
  transition: border-color 200ms, transform 300ms;
  position: relative;
  overflow: hidden;
}
.tier:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.tier.featured {
  border-color: var(--accent);
  background:
    radial-gradient(60% 50% at 80% 0%, oklch(0.30 0.10 145 / 0.35), transparent 70%),
    linear-gradient(180deg, oklch(0.22 0.012 250), oklch(0.18 0.008 250));
  box-shadow: 0 30px 60px oklch(0.85 0.17 145 / 0.10);
}
.tier .badge {
  position: absolute; top: 18px; right: 18px;
  font-family: var(--font-mono); font-size: 10px;
  padding: 3px 8px; border-radius: 999px;
  background: var(--accent); color: var(--accent-fg);
  text-transform: uppercase; letter-spacing: 0.1em;
}
.tier h3 { font-size: 18px; }
.tier .desc { color: var(--fg-2); font-size: 13.5px; margin-top: 4px; min-height: 40px; }
.tier .price-row { display: flex; align-items: baseline; gap: 6px; }
.tier .price {
  font-family: var(--font-editorial); font-style: normal; font-weight: 400;
  font-size: 56px; line-height: 1; letter-spacing: -0.03em;
}
.tier .per { color: var(--fg-2); font-size: 12.5px; font-family: var(--font-mono); }
.tier .feats { display: flex; flex-direction: column; gap: 10px; padding: 12px 0; border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); }
.tier .feat { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--fg-1); line-height: 1.45; }
.tier .feat .ck { width: 16px; height: 16px; flex-shrink: 0; color: var(--accent); margin-top: 1px; }
.tier .btn { width: 100%; justify-content: center; }

/* ===== FAQ ===== */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 22px 4px;
}
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 17px; font-weight: 500; color: var(--fg-0);
  width: 100%; text-align: left; gap: 16px;
  letter-spacing: -0.01em;
}
.faq-q .pl {
  width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--border-strong);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); transition: transform 200ms, background 200ms;
  flex-shrink: 0; color: var(--fg-2);
}
.faq-item.open .faq-q .pl { transform: rotate(45deg); background: var(--accent); color: var(--accent-fg); border-color: transparent; }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 280ms cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item.open .faq-a { max-height: 280px; }
.faq-a p { color: var(--fg-2); font-size: 14.5px; margin: 12px 0 0; max-width: 60ch; line-height: 1.6; }

/* ===== CTA ===== */
.cta-section { padding: 80px 28px 140px; position: relative; z-index: 1; }
.cta-card {
  max-width: var(--max); margin: 0 auto;
  border-radius: 28px;
  background:
    radial-gradient(60% 80% at 50% 0%, oklch(0.30 0.12 145 / 0.4), transparent 70%),
    linear-gradient(180deg, var(--bg-1), oklch(0.16 0.008 250));
  border: 1px solid var(--border-strong);
  padding: 80px 40px;
  text-align: center;
  position: relative; overflow: hidden;
  box-shadow: 0 50px 120px oklch(0 0 0 / 0.5);
}
.cta-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, oklch(0.30 0.012 250 / 0.4) 1px, transparent 1px),
    linear-gradient(to bottom, oklch(0.30 0.012 250 / 0.4) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse at 50% 100%, black 0%, transparent 70%);
}
.cta-card h2 { margin: 16px 0 14px; max-width: 740px; margin-left: auto; margin-right: auto; }
.cta-card .lead { margin: 0 auto 32px; }
.cta-card .row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; align-items: center; position: relative; z-index: 2; }

/* ===== Footer ===== */
footer.foot {
  position: relative; z-index: 1;
  border-top: 1px solid var(--border);
  padding: 40px 28px 30px;
  font-size: 13px; color: var(--fg-2);
}
.foot-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 40px; }
.foot-grid h5 { font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--fg-3); margin: 0 0 12px; font-family: var(--font-mono); font-weight: 500; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.foot-grid a:hover { color: var(--fg-0); }
.foot-bot { max-width: var(--max); margin: 36px auto 0; padding-top: 20px; border-top: 1px solid var(--border-subtle); display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--fg-3); flex-wrap: wrap; gap: 12px; }

/* ===== Login modal ===== */
.lg-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: oklch(0 0 0 / 0.6);
  backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity 220ms;
}
.lg-overlay.open { opacity: 1; pointer-events: auto; }
.lg-modal {
  width: 440px; max-width: 100%;
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  padding: 36px 32px;
  box-shadow: 0 60px 120px oklch(0 0 0 / 0.6);
  transform: translateY(12px) scale(0.98);
  transition: transform 240ms cubic-bezier(0.2, 0.7, 0.2, 1);
  position: relative;
}
.lg-overlay.open .lg-modal { transform: translateY(0) scale(1); }
.lg-x { position: absolute; top: 14px; right: 14px; width: 30px; height: 30px; border-radius: 8px; color: var(--fg-2); display: inline-flex; align-items: center; justify-content: center; }
.lg-x:hover { background: var(--bg-2); color: var(--fg-0); }
.lg-modal h3 { font-size: 22px; margin-bottom: 4px; letter-spacing: -0.02em; }
.lg-modal p.sub { color: var(--fg-2); font-size: 13.5px; margin: 0 0 22px; }
.lg-field { margin-bottom: 12px; }
.lg-field label { display: block; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--fg-3); margin-bottom: 6px; font-family: var(--font-mono); }
.lg-field input {
  width: 100%; padding: 10px 12px; font-size: 14px;
  background: var(--bg-1); border: 1px solid var(--border);
  border-radius: 9px; color: var(--fg-0); outline: none;
  transition: border-color 140ms;
  font-family: inherit;
}
.lg-field input:focus { border-color: var(--accent); }
.lg-row { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; margin-bottom: 16px; font-size: 12.5px; color: var(--fg-2); }
.lg-row a { color: var(--accent); }
.lg-divider { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--fg-3); font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; }
.lg-divider::before, .lg-divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.lg-sso { display: flex; flex-direction: column; gap: 8px; }
.lg-sso .btn { justify-content: center; }
.lg-foot { margin-top: 22px; text-align: center; font-size: 12.5px; color: var(--fg-2); }
.lg-foot a { color: var(--accent); }

/* Reveal */
.rv { opacity: 0; transform: translateY(20px); transition: opacity 700ms, transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1); }
.rv.in { opacity: 1; transform: translateY(0); }

/* === Scroll progress bar === */
.scroll-prog {
  position: fixed; top: 0; left: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--accent), var(--violet));
  box-shadow: 0 0 10px var(--accent);
  z-index: 200; transition: width 80ms linear;
}

/* === Hero floating particles === */
.particles { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.particles span {
  position: absolute; bottom: -20px; width: 3px; height: 3px;
  border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
  opacity: 0;
  animation: rise linear infinite;
}
.particles span:nth-child(1) { left: 8%;  animation-duration: 14s; animation-delay: 0s; }
.particles span:nth-child(2) { left: 18%; animation-duration: 18s; animation-delay: 2s; background: var(--violet); box-shadow: 0 0 6px var(--violet); }
.particles span:nth-child(3) { left: 28%; animation-duration: 22s; animation-delay: 4s; }
.particles span:nth-child(4) { left: 42%; animation-duration: 16s; animation-delay: 1s; background: var(--cyan); box-shadow: 0 0 6px var(--cyan); }
.particles span:nth-child(5) { left: 56%; animation-duration: 20s; animation-delay: 3s; }
.particles span:nth-child(6) { left: 68%; animation-duration: 24s; animation-delay: 5s; background: var(--amber); box-shadow: 0 0 6px var(--amber); }
.particles span:nth-child(7) { left: 82%; animation-duration: 17s; animation-delay: 0.5s; }
.particles span:nth-child(8) { left: 92%; animation-duration: 19s; animation-delay: 2.5s; background: var(--rose); box-shadow: 0 0 6px var(--rose); }
@keyframes rise {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  10%  { opacity: 1; }
  100% { transform: translateY(-110vh) translateX(60px); opacity: 0; }
}

/* === Mouse spotlight === */
.spotlight {
  position: fixed; pointer-events: none; z-index: 1;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, oklch(0.85 0.17 145 / 0.10), transparent 60%);
  transform: translate(-50%, -50%);
  transition: opacity 300ms;
  mix-blend-mode: screen;
}

/* === Magnetic CTA glow === */
.btn.primary { position: relative; overflow: hidden; }
.btn.primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, oklch(1 0 0 / 0.35) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 800ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.btn.primary:hover::after { transform: translateX(100%); }

/* === Logos marquee === */
.logos-marquee {
  overflow: hidden; mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
}
.logos-marquee .track {
  display: inline-flex; gap: 80px; align-items: center;
  animation: marquee 32s linear infinite;
  white-space: nowrap;
  padding-right: 80px;
}
.logos-marquee .track span { color: var(--fg-2); font-family: var(--font-mono); font-size: 14px; letter-spacing: 0.05em; opacity: 0.7; transition: opacity 300ms, color 300ms; }
.logos-marquee .track span:hover { opacity: 1; color: var(--fg-0); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* === Hero h1 letter rise === */
.hero h1 .ww { display: inline-block; }
.hero h1 .ww > span {
  display: inline-block;
  opacity: 0; transform: translateY(20px) rotateX(-30deg);
  animation: rise-letter 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
@keyframes rise-letter { to { opacity: 1; transform: translateY(0) rotateX(0); } }

/* === Big number counters === */
.stats-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border: 1px solid var(--border); border-radius: 18px;
  background: linear-gradient(180deg, var(--bg-1), oklch(0.18 0.008 250));
  overflow: hidden;
}
.stats-strip .st { padding: 28px 24px; border-right: 1px solid var(--border-subtle); position: relative; }
.stats-strip .st:last-child { border-right: none; }
.stats-strip .st .num {
  font-family: var(--font-editorial); font-style: normal; font-weight: 400;
  font-size: 52px; line-height: 1; letter-spacing: -0.03em;
  color: var(--fg-0);
}
.stats-strip .st .num em { color: var(--accent); font-style: normal; }
.stats-strip .st .lab { font-family: var(--font-mono); font-size: 11px; color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.14em; margin-top: 8px; }
.stats-strip .st .sub { font-size: 12.5px; color: var(--fg-2); margin-top: 4px; }
@media (max-width: 900px) {
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .stats-strip .st:nth-child(2) { border-right: none; }
  .stats-strip .st:nth-child(1), .stats-strip .st:nth-child(2) { border-bottom: 1px solid var(--border-subtle); }
}

/* === Glow pulse around hero card === */
.hero-video::before {
  content: ""; position: absolute; inset: -2px; border-radius: 19px;
  background: conic-gradient(from 0deg, transparent 0%, var(--accent) 25%, transparent 50%, var(--violet) 75%, transparent 100%);
  opacity: 0.4; z-index: -1;
  animation: spin 8s linear infinite;
  filter: blur(8px);
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-video { transform: none; aspect-ratio: 16/10; }
  .hero-video:hover { transform: none; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .f-wide-3, .f-wide-4 { grid-column: span 2; }
  .tiers { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .float-badge { display: none; }
  .nav-links { display: none; }
  .stage-content { aspect-ratio: 16/12; }
  .docs-pane { grid-template-columns: 1fr; }
  .docs-side { display: none; }
}
@media (max-width: 600px) {
  .features { grid-template-columns: 1fr; }
  .f-wide-3, .f-wide-4 { grid-column: span 1; }
  .foot-grid { grid-template-columns: 1fr; }
  .section { padding: 80px 20px; }
  .nav { padding: 12px 16px; }
  .bk { grid-template-columns: repeat(2, 1fr); }
}
