/* =====================================================================
   VoidLens — voidai-site-v1/css/styles.css
   Dark + teal + multi-gradient palette, atmospheric, premium-tech.
   Inherits from voidlens-customer-pitch-v6 design language.
   ===================================================================== */

:root {
  color-scheme: dark;

  /* Base palette */
  --black: #020608;
  --bg-deep: #04161a;
  --bg: #062528;
  --panel: #072a2c;
  --panel-2: #0e3a3c;
  --line: rgba(94, 234, 212, 0.18);
  --line-soft: rgba(94, 234, 212, 0.10);

  /* Brand spectrum */
  --teal: #14b8a6;
  --teal-l: #5eead4;
  --teal-glow: rgba(20, 184, 166, 0.50);
  --blue: #3b82f6;
  --blue-l: #60a5fa;
  --rose: #be185d;
  --rose-l: #f472b6;
  --rose-deep: #831843;
  --gold: #d97706;
  --gold-l: #fbbf24;
  --gold-soft: #fef3c7;
  --emerald: #059669;
  --emerald-l: #34d399;
  --violet: #a78bfa;

  /* Department colors */
  --dept-eng: #3b82f6;
  --dept-mkt: #fb923c;
  --dept-ops: #34d399;
  --dept-rev: #fbbf24;
  --dept-cx:  #a78bfa;
  --dept-fin: #86efac;
  --dept-dae: #f472b6;

  /* Text */
  --text: #e6f4f1;
  --text-soft: #94a3b8;
  --text-mute: #64748b;

  /* Status */
  --status-green: #34d399;
  --status-yellow: #fbbf24;
  --status-red: #f87171;

  /* Gradients */
  --grad-brand: linear-gradient(135deg, var(--teal-l) 0%, var(--blue-l) 50%, var(--rose-l) 100%);
  --grad-warm: linear-gradient(135deg, var(--rose) 0%, var(--gold) 60%, var(--gold-l) 100%);
  --grad-cool: linear-gradient(135deg, var(--teal) 0%, var(--blue) 100%);
  --grad-aurora: linear-gradient(120deg, #5eead4 0%, #60a5fa 30%, #a78bfa 60%, #f472b6 85%, #fbbf24 100%);

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.30);
  --shadow: 0 4px 18px rgba(0,0,0,0.40);
  --shadow-lg: 0 24px 60px -20px rgba(0,0,0,0.65);
  --glow-teal: 0 0 32px var(--teal-glow);

  /* Hero video opacity — set > 0 to show the licensed Adobe Stock loop
     (assets/video/hero.mp4, AdobeStock #385426386). Tuned to 0.35 so the
     text and stat tiles below the h1 remain readable. */
  --hero-video-opacity: 0.35;
}

/* =====================================================================
   Base
   ===================================================================== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  font-size: 15px; line-height: 1.6; color: var(--text);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; margin: 0 0 0.5em; color: white; }
h1 { font-size: clamp(38px, 6.5vw, 80px); letter-spacing: -0.04em; }
h2 { font-size: clamp(28px, 4.4vw, 48px); }
h3 { font-size: clamp(20px, 2.4vw, 26px); }
h4 { font-size: 16px; letter-spacing: -0.01em; }
p  { margin: 0 0 0.9em; color: var(--text-soft); }
a  { color: var(--teal-l); text-decoration: none; transition: color 0.18s; }
a:hover { color: white; }
img, svg, video, canvas { display: block; max-width: 100%; height: auto; }

code, .mono {
  font-family: "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  font-size: 12.5px;
  background: rgba(94, 234, 212, 0.10);
  padding: 2px 7px; border-radius: 4px;
  color: var(--teal-l);
  border: 1px solid rgba(94, 234, 212, 0.18);
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 28px; }
@media (max-width: 640px) { .container { padding: 0 18px; } }
.container-narrow { max-width: 980px; margin: 0 auto; padding: 0 28px; }

section { padding: clamp(56px, 9vw, 120px) 0; position: relative; }

.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 800;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--teal-l); margin-bottom: 18px;
  text-shadow: 0 0 18px rgba(94, 234, 212, 0.6);
}
.lead {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-soft);
  max-width: 780px;
  margin: 0 0 28px;
  line-height: 1.55;
}

.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.warm-text {
  background: var(--grad-warm);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* =====================================================================
   Navigation
   ===================================================================== */
header.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(2, 6, 8, 0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(94, 234, 212, 0.10);
}
.nav-inner {
  display: flex; align-items: center; gap: 32px;
  padding: 18px 28px; max-width: 1280px; margin: 0 auto;
}
.brand {
  font-size: 26px; font-weight: 900;
  letter-spacing: -0.025em; color: white;
  display: flex; align-items: center; gap: 12px;
  text-shadow: 0 0 24px rgba(94, 234, 212, 0.45);
}
.brand .logo-dot {
  width: 18px; height: 18px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--teal-l), var(--teal) 60%, transparent 100%);
  box-shadow: 0 0 18px var(--teal-glow), 0 0 6px rgba(94, 234, 212, 0.9);
  display: inline-block; animation: brand-pulse 3s ease-in-out infinite;
}
.brand .void { color: white; }
.brand .lens {
  background: var(--grad-aurora);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 12px rgba(94, 234, 212, 0.35));
}
@keyframes brand-pulse {
  0%, 100% { box-shadow: 0 0 18px var(--teal-glow), 0 0 6px rgba(94, 234, 212, 0.9); }
  50%      { box-shadow: 0 0 28px rgba(94, 234, 212, 0.95), 0 0 10px rgba(94, 234, 212, 1); }
}
.nav-links { display: flex; gap: 24px; flex: 1; }
.nav-links a {
  font-size: 13.5px; font-weight: 600;
  color: var(--text-soft); transition: color 0.18s;
}
.nav-links a:hover { color: white; }
.nav-cta {
  font-size: 13.5px; font-weight: 700;
  padding: 10px 18px; border-radius: 8px;
  background: var(--teal); color: var(--black) !important;
  box-shadow: 0 0 28px var(--teal-glow), inset 0 1px 0 rgba(255, 255, 255, 0.30);
}
.nav-cta:hover { background: var(--teal-l); color: var(--black) !important; }
@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-inner { gap: 16px; }
}

/* =====================================================================
   Hero
   ===================================================================== */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(72px, 10vw, 140px) 0 clamp(60px, 7vw, 100px);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(20, 184, 166, 0.22) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 20% 100%, rgba(190, 24, 93, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 100%, rgba(217, 119, 6, 0.16) 0%, transparent 60%),
    var(--black);
}
/* WebGL canvas covers the hero, behind text */
#hero-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0; opacity: 0.85;
  pointer-events: none;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(94, 234, 212, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94, 234, 212, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 40%, #000 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 40%, #000 0%, transparent 100%);
  z-index: 1;
}
.hero .container { position: relative; z-index: 2; }

/* Loud-and-proud brand display above the hero h1 */
.brand-display {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 28px;
}
.brand-display-mark {
  display: inline-block;
  font-size: clamp(56px, 9vw, 112px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.95;
  text-shadow: 0 0 60px rgba(94, 234, 212, 0.45);
}
.brand-display-mark .void { color: white; }
.brand-display-mark .lens {
  background: var(--grad-aurora);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 24px rgba(94, 234, 212, 0.35));
}
.brand-display-tagline {
  display: inline-block;
  font-size: clamp(13px, 1.3vw, 15px);
  font-weight: 800;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--teal-l);
  padding-left: 16px;
  border-left: 3px solid var(--teal);
  text-shadow: 0 0 24px rgba(94, 234, 212, 0.55);
}

.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.22em; text-transform: uppercase;
  padding: 8px 16px;
  background: rgba(94, 234, 212, 0.08);
  color: var(--teal-l);
  border: 1px solid rgba(94, 234, 212, 0.30);
  border-radius: 100px; margin-bottom: 28px;
  backdrop-filter: blur(8px);
}
.hero-tag::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal-l);
  box-shadow: 0 0 12px var(--teal-l);
  animation: dot-pulse 2.4s ease-in-out infinite;
}
@keyframes dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.45; transform: scale(0.7); }
}

.hero h1 {
  color: white; max-width: 860px;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.4);
}
.hero h1 .grad { background: var(--grad-aurora); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero .lede {
  font-size: clamp(16px, 1.9vw, 20px);
  color: rgba(230, 244, 241, 0.82);
  max-width: 680px; margin-top: 22px; line-height: 1.55;
}

.hero-cta-row {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-top: 36px;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--teal); color: var(--black);
  font-weight: 800; font-size: 15px;
  padding: 16px 28px; border-radius: 10px;
  border: none; cursor: pointer;
  box-shadow: 0 0 36px var(--teal-glow), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 48px var(--teal-glow), 0 12px 32px rgba(0, 0, 0, 0.5);
  color: var(--black);
}
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: white;
  font-weight: 600; font-size: 15px;
  padding: 15px 26px; border-radius: 10px;
  border: 1px solid rgba(94, 234, 212, 0.35);
  cursor: pointer;
  transition: border-color 0.18s, color 0.18s, background 0.18s;
}
.btn-secondary:hover {
  border-color: var(--teal-l);
  color: var(--teal-l);
  background: rgba(94, 234, 212, 0.08);
}

.hero-meta {
  display: flex; gap: 28px; flex-wrap: wrap;
  margin-top: 44px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(230, 244, 241, 0.92);
  letter-spacing: 0.08em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}
.hero-meta span::before {
  content: "● ";
  color: var(--teal-l);
  margin-right: 4px;
  text-shadow: 0 0 10px var(--teal-l);
}

/* Hero stat strip */
.hero-stats {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
}
.hero-stat {
  background: rgba(4, 22, 26, 0.45);
  border: 1px solid rgba(94, 234, 212, 0.28);
  border-radius: 14px;
  padding: 18px 20px;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 6px 18px -8px rgba(0, 0, 0, 0.5);
  transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s;
}
.hero-stat:hover {
  transform: translateY(-2px);
  border-color: rgba(94, 234, 212, 0.45);
  box-shadow: var(--glow-teal);
}
.hero-stat .num {
  font-size: 30px; font-weight: 800; color: white;
  letter-spacing: -0.03em; line-height: 1;
  display: flex; align-items: baseline; gap: 4px;
}
.hero-stat .num .suffix {
  font-size: 14px; font-weight: 700;
  color: var(--teal-l); margin-left: 2px;
}
.hero-stat .label {
  font-size: 10.5px; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-soft); margin-top: 8px;
}
.hero-stat .sub { font-size: 11.5px; color: var(--text-mute); margin-top: 3px; line-height: 1.4; }

/* =====================================================================
   Section primitives
   ===================================================================== */
.section-head {
  max-width: 760px; margin-bottom: 56px;
}
.section-head.center { margin-inline: auto; text-align: center; }

.card {
  background: linear-gradient(165deg, rgba(94, 234, 212, 0.04), rgba(20, 184, 166, 0.01));
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s;
}
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(94, 234, 212, 0.40);
  box-shadow: 0 0 36px rgba(94, 234, 212, 0.10), 0 20px 50px -20px rgba(0, 0, 0, 0.6);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.grid-2 {
  display: grid; gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
.grid-3 {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* =====================================================================
   Departments grid (the 7)
   ===================================================================== */
.dept-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 40px;
}
.dept-card {
  --c: var(--teal);
  position: relative; overflow: hidden;
  background: linear-gradient(165deg, rgba(7, 42, 44, 0.85), rgba(4, 22, 26, 0.95));
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 22px;
  transition: transform 0.20s, border-color 0.20s, box-shadow 0.20s;
}
.dept-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: var(--c);
  box-shadow: 0 0 18px var(--c);
}
.dept-card:hover {
  transform: translateY(-4px);
  border-color: var(--c);
  box-shadow: 0 0 36px color-mix(in srgb, var(--c) 30%, transparent),
              0 20px 50px -20px rgba(0, 0, 0, 0.6);
}
.dept-card .dept-icon {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: color-mix(in srgb, var(--c) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--c) 30%, transparent);
  color: var(--c);
  font-size: 18px; font-weight: 800;
  margin-bottom: 16px;
}
.dept-card .dept-role {
  font-size: 10px; font-weight: 800;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--c); opacity: 0.85;
  margin-bottom: 6px;
}
.dept-card .dept-name {
  font-size: 18px; font-weight: 800; color: white;
  letter-spacing: -0.01em; margin-bottom: 8px;
}
.dept-card .dept-tag {
  font-size: 13px; color: var(--text-soft); line-height: 1.45;
  margin-bottom: 12px;
}
.dept-card .dept-count {
  font-size: 24px; font-weight: 800; color: white;
  letter-spacing: -0.02em; line-height: 1;
}
.dept-card .dept-count small {
  font-size: 12px; color: var(--text-mute);
  font-weight: 600; margin-left: 6px;
}
.dept-card.eng { --c: var(--dept-eng); }
.dept-card.mkt { --c: var(--dept-mkt); }
.dept-card.ops { --c: var(--dept-ops); }
.dept-card.rev { --c: var(--dept-rev); }
.dept-card.cx  { --c: var(--dept-cx); }
.dept-card.fin { --c: var(--dept-fin); }
.dept-card.dae { --c: var(--dept-dae); }

/* =====================================================================
   Steps (how it works)
   ===================================================================== */
.steps {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  counter-reset: step;
  margin-top: 40px;
}
.step {
  background: linear-gradient(165deg, rgba(94, 234, 212, 0.05), rgba(20, 184, 166, 0.01));
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  position: relative;
  counter-increment: step;
}
.step::before {
  content: "0" counter(step);
  position: absolute; top: 22px; right: 24px;
  font-family: "SF Mono", monospace;
  font-size: 32px; font-weight: 800;
  color: var(--teal);
  opacity: 0.45;
  letter-spacing: -0.04em;
}
.step h3 { font-size: 20px; margin-bottom: 12px; padding-right: 60px; }
.step p { font-size: 14px; color: var(--text-soft); margin: 0; }

/* =====================================================================
   3D org chart container
   ===================================================================== */
.org-3d-stage {
  position: relative;
  width: 100%;
  height: clamp(560px, 75vw, 760px);
  margin-top: 32px;
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 60% at 50% 50%, rgba(20, 184, 166, 0.15), transparent 70%),
    linear-gradient(180deg, #02080a 0%, var(--black) 100%);
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8);
}
#org-canvas {
  position: absolute; inset: 0;
  width: 100% !important; height: 100% !important;
}
.org-iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0; display: block;
  background: transparent;
}
.org-3d-overlay {
  position: absolute; bottom: 18px; left: 20px;
  z-index: 2;
  background: rgba(2, 6, 8, 0.65);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 11px; color: var(--text-soft);
  font-weight: 600; letter-spacing: 0.06em;
  backdrop-filter: blur(8px);
  max-width: 75%;
}
.org-3d-overlay strong { color: white; font-weight: 800; }
.org-3d-hint {
  position: absolute; top: 18px; right: 20px;
  z-index: 2;
  font-size: 10.5px; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--teal-l);
  padding: 7px 12px;
  background: rgba(2, 6, 8, 0.65);
  border: 1px solid var(--line);
  border-radius: 100px;
  backdrop-filter: blur(8px);
}
.org-3d-hint::before {
  content: "●"; margin-right: 6px;
  animation: dot-pulse 2.4s ease-in-out infinite;
}

/* =====================================================================
   Live KPI strip
   ===================================================================== */
.kpi-strip {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
}
.kpi {
  background: rgba(7, 42, 44, 0.45);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 22px;
}
.kpi .kpi-num {
  font-size: 36px; font-weight: 800; color: white;
  letter-spacing: -0.03em; line-height: 1;
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.kpi .kpi-label {
  font-size: 10.5px; font-weight: 800;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-soft); margin-top: 10px;
}
.kpi .kpi-sub {
  font-size: 11.5px; color: var(--text-mute);
  margin-top: 4px; line-height: 1.4;
}
.kpi.green .kpi-num { background: linear-gradient(135deg, var(--emerald-l), var(--teal-l)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.kpi.gold  .kpi-num { background: linear-gradient(135deg, var(--gold-l), var(--rose-l)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* =====================================================================
   Product showcase (VoidLens flagship section)
   ===================================================================== */
.product-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 1000px) {
  .product-showcase { grid-template-columns: 1fr; gap: 32px; }
}
.product-visual {
  position: relative;
  border-radius: 18px; overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(94, 234, 212, 0.18),
    0 0 80px -20px rgba(20, 184, 166, 0.45),
    0 30px 80px -30px rgba(0, 0, 0, 0.7);
  transform: perspective(1000px) rotateY(-3deg);
  transition: transform 0.4s ease;
}
.product-visual:hover { transform: perspective(1000px) rotateY(0deg); }
.product-visual img { width: 100%; height: auto; display: block; }
.product-visual::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(94, 234, 212, 0.08) 100%);
  pointer-events: none;
}

.feature-list { margin-top: 24px; list-style: none; padding: 0; }
.feature-list li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px 0;
  border-top: 1px solid var(--line-soft);
}
.feature-list li:first-child { border-top: none; }
.feature-list .check {
  flex: 0 0 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 6px;
  background: rgba(20, 184, 166, 0.18);
  border: 1px solid rgba(20, 184, 166, 0.40);
  color: var(--teal-l);
  font-size: 13px; font-weight: 900;
}
.feature-list .feat-text strong {
  color: white; font-weight: 800;
  display: block; margin-bottom: 2px;
}
.feature-list .feat-text small { font-size: 13px; color: var(--text-soft); }

/* =====================================================================
   Pricing
   ===================================================================== */
.pricing-grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 40px;
}
.price-card {
  background: linear-gradient(165deg, rgba(7, 42, 44, 0.7), rgba(4, 22, 26, 0.95));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px 28px;
  position: relative;
  transition: transform 0.20s, border-color 0.20s, box-shadow 0.20s;
}
.price-card:hover {
  transform: translateY(-4px);
  border-color: rgba(94, 234, 212, 0.40);
  box-shadow: 0 0 60px -10px var(--teal-glow), 0 24px 60px -20px rgba(0, 0, 0, 0.6);
}
.price-card.featured {
  border-color: var(--teal);
  background: linear-gradient(165deg, rgba(20, 184, 166, 0.10), rgba(4, 22, 26, 0.95));
  box-shadow: 0 0 0 1px var(--teal), 0 0 60px -10px var(--teal-glow);
}
.price-card.featured::before {
  content: "Most popular";
  position: absolute; top: -12px; right: 24px;
  font-size: 10px; font-weight: 800;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 100px;
  background: var(--teal); color: var(--black);
  box-shadow: 0 0 18px var(--teal-glow);
}
.price-card .tier {
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.20em; text-transform: uppercase;
  color: var(--teal-l); margin-bottom: 8px;
}
.price-card .name { font-size: 22px; font-weight: 800; color: white; letter-spacing: -0.02em; margin-bottom: 18px; }
.price-card .price {
  font-size: 44px; font-weight: 800; color: white;
  letter-spacing: -0.03em; line-height: 1;
}
.price-card .price small { font-size: 14px; color: var(--text-mute); font-weight: 600; margin-left: 4px; }
.price-card .price-sub { font-size: 12.5px; color: var(--text-mute); margin-top: 8px; }
.price-card ul.bullets {
  list-style: none; padding: 0; margin: 24px 0 28px;
  font-size: 13.5px; color: var(--text-soft); line-height: 1.7;
}
.price-card ul.bullets li {
  position: relative; padding-left: 22px;
}
.price-card ul.bullets li::before {
  content: "→"; position: absolute; left: 0;
  color: var(--teal-l); font-weight: 800;
}
.price-card .price-cta {
  display: block; text-align: center;
  padding: 13px 18px; border-radius: 10px;
  font-size: 14px; font-weight: 700;
  background: rgba(94, 234, 212, 0.10);
  border: 1px solid rgba(94, 234, 212, 0.35);
  color: var(--teal-l);
  transition: background 0.18s, border-color 0.18s, color 0.18s;
}
.price-card .price-cta:hover {
  background: var(--teal); color: var(--black);
  border-color: var(--teal);
}
.price-card.featured .price-cta {
  background: var(--teal); color: var(--black); border-color: var(--teal);
}
.price-card.featured .price-cta:hover {
  background: var(--teal-l); border-color: var(--teal-l);
}

/* =====================================================================
   FAQ
   ===================================================================== */
.faq {
  max-width: 900px; margin: 40px auto 0;
  display: grid; gap: 14px;
}
.faq details {
  background: rgba(7, 42, 44, 0.45);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 22px;
  transition: border-color 0.18s, background 0.18s;
}
.faq details[open] {
  border-color: rgba(94, 234, 212, 0.35);
  background: rgba(20, 184, 166, 0.05);
}
.faq summary {
  font-weight: 800; color: white;
  font-size: 16px; cursor: pointer;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 22px; font-weight: 400; color: var(--teal-l);
  transition: transform 0.18s;
}
.faq details[open] summary::after { content: "−"; }
.faq details p {
  margin-top: 12px; font-size: 14px; color: var(--text-soft);
  line-height: 1.65;
}

/* =====================================================================
   CTA banner
   ===================================================================== */
.cta-banner {
  margin: 0; padding: clamp(48px, 7vw, 96px) 0;
  background:
    radial-gradient(ellipse 70% 80% at 50% 50%, rgba(20, 184, 166, 0.20), transparent 70%),
    var(--bg-deep);
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cta-banner h2 {
  max-width: 760px; margin-left: auto; margin-right: auto;
}
.cta-banner .lead { margin-inline: auto; }
.cta-banner .hero-cta-row { justify-content: center; }

/* =====================================================================
   Investors teaser
   ===================================================================== */
.investors-teaser {
  background:
    radial-gradient(ellipse 60% 50% at 80% 30%, rgba(217, 119, 6, 0.10), transparent 60%),
    radial-gradient(ellipse 50% 50% at 20% 70%, rgba(190, 24, 93, 0.10), transparent 60%),
    var(--bg-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.investors-teaser .grid-2 { align-items: center; }
.investors-teaser .teaser-meta {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  margin-top: 24px;
}
.investors-teaser .meta-tile {
  background: rgba(7, 42, 44, 0.45);
  border: 1px solid var(--line);
  border-radius: 12px; padding: 14px 18px;
}
.investors-teaser .meta-tile .num {
  font-size: 24px; font-weight: 800; color: white;
  background: var(--grad-warm);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.investors-teaser .meta-tile .lbl {
  font-size: 10.5px; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-soft); margin-top: 8px;
}

/* =====================================================================
   Footer
   ===================================================================== */
footer.site-footer {
  background: var(--bg-deep);
  padding: 64px 0 32px;
  border-top: 1px solid var(--line);
  font-size: 13px; color: var(--text-mute);
}
footer .footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 36px;
  margin-bottom: 40px;
}
@media (max-width: 720px) {
  footer .footer-grid { grid-template-columns: 1fr 1fr; }
}
footer h5 {
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--teal-l); margin-bottom: 14px;
}
footer ul { list-style: none; padding: 0; margin: 0; }
footer ul li { margin-bottom: 8px; }
footer a { color: var(--text-soft); font-weight: 500; }
footer a:hover { color: white; }
footer .footer-bottom {
  border-top: 1px solid var(--line-soft);
  padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  font-size: 12px; color: var(--text-mute);
}

/* =====================================================================
   Scroll-triggered reveal — progressive enhancement
   Visible by default; fade-in only when html.js is set by the inline
   script in <head>. Without JS / CSP-blocked inline / IO never fires
   => content stays visible. Heal for fp:21be50ad90d0 (2026-05-12).
   ===================================================================== */
/* Fade-in animation retired 2026-05-12 — too brittle (blanked the page 3x).
   .reveal is now a visual no-op; legacy JS still toggles .in-view but it has no CSS effect.
   The page is always visible. */
.reveal { opacity: 1 !important; transform: none !important; }
.reveal.in-view { opacity: 1 !important; transform: none !important; }
.reveal.delay-1 { transition-delay: 0.10s; }
.reveal.delay-2 { transition-delay: 0.20s; }
.reveal.delay-3 { transition-delay: 0.30s; }
.reveal.delay-4 { transition-delay: 0.40s; }

/* =====================================================================
   Misc accents
   ===================================================================== */
.aurora-divider {
  height: 1px;
  background: var(--grad-aurora);
  margin: 0;
  border: 0;
  opacity: 0.4;
}
.glow-text {
  color: white;
  text-shadow: 0 0 24px rgba(94, 234, 212, 0.45);
}

/* =====================================================================
   Motion layer (added 2026-05-12) — CSS-driven animations that run
   regardless of WebGL/JS state. Lives below the WebGL canvas. If a
   <video> is later dropped into #hero-video, it sits on top of these.
   ===================================================================== */

/* Hero aurora pulse — always-on radial gradient that breathes.
   Sits behind the WebGL canvas; if WebGL fails, this still gives motion. */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 40% at 30% 30%, rgba(20,184,166,0.18), transparent 65%),
    radial-gradient(ellipse 55% 45% at 70% 70%, rgba(190,24,93,0.16), transparent 65%),
    radial-gradient(ellipse 50% 50% at 50% 50%, rgba(94,234,212,0.10), transparent 65%);
  background-size: 200% 200%, 200% 200%, 200% 200%;
  animation: hero-bg-drift 22s ease-in-out infinite;
  mix-blend-mode: screen;
}
@keyframes hero-bg-drift {
  0%   { background-position:   0% 0%,   100% 100%,  50% 50%; opacity: 0.95; }
  33%  { background-position:  60% 30%,   30% 70%,  20% 80%; opacity: 1.00; }
  66%  { background-position:  30% 70%,   70% 20%,  80% 30%; opacity: 0.90; }
  100% { background-position:   0% 0%,   100% 100%,  50% 50%; opacity: 0.95; }
}

/* Bottom-of-hero readability floor — darkens below the h1 so the
   stat tiles + feature bullets remain crisp against the bright video.
   Sits ABOVE the video (z-index 0) but BELOW the container text (z-index 2). */
.hero {
  position: relative;
}
.hero::before {
  /* augmented — also adds the bottom darkening gradient */
}
.hero .hero-readability-floor,
section.hero::after {
  /* the existing ::after already handles top-aurora pulse; the floor below is on a new layer */
}
/* New: a third pseudo via wrapper would conflict. Instead extend the hero background with an extra gradient. */
.hero {
  background:
    linear-gradient(180deg, transparent 50%, rgba(2,6,8,0.55) 80%, rgba(2,6,8,0.85) 100%),
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(20, 184, 166, 0.22) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 20% 100%, rgba(190, 24, 93, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 100%, rgba(217, 119, 6, 0.16) 0%, transparent 60%),
    var(--black);
}

/* Hero video slot — invisible until you set --hero-video-opacity > 0 */
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: var(--hero-video-opacity, 0);
  pointer-events: none;
  transition: opacity 0.8s ease;
}

/* Animated aurora divider — sweeps gradient horizontally forever */
.aurora-divider {
  height: 2px;
  background: var(--grad-aurora);
  background-size: 200% 100%;
  opacity: 0.55;
  animation: aurora-sweep 9s linear infinite;
  border: 0; margin: 0;
}
@keyframes aurora-sweep {
  0%   { background-position:   0% 0%; }
  100% { background-position: 200% 0%; }
}

/* Brand display gentle float — gives the wordmark life */
.brand-display-mark {
  animation: brand-float 7s ease-in-out infinite;
}
@keyframes brand-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* Tagline pulse — pulses the teal glow */
.brand-display-tagline {
  animation: tagline-glow 4s ease-in-out infinite;
}
@keyframes tagline-glow {
  0%, 100% { text-shadow: 0 0 18px rgba(94, 234, 212, 0.45); }
  50%      { text-shadow: 0 0 36px rgba(94, 234, 212, 0.95); }
}

/* Section ambient particles — three small floating dots per section background */
section { isolation: isolate; }
section::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle 2px at 12% 20%, rgba(94,234,212,0.45), transparent 70%),
    radial-gradient(circle 2px at 78% 35%, rgba(244,114,182,0.40), transparent 70%),
    radial-gradient(circle 2px at 45% 75%, rgba(251,191,36,0.35), transparent 70%),
    radial-gradient(circle 1.5px at 88% 80%, rgba(96,165,250,0.40), transparent 70%);
  background-size: 100% 200%;
  animation: section-drift 28s linear infinite;
  opacity: 0.85;
}
@keyframes section-drift {
  0%   { background-position: 0% 0%,   0% 0%,   0% 0%,   0% 0%; }
  100% { background-position: 0% 200%, 0% 200%, 0% 200%, 0% 200%; }
}
/* Keep section contents above the particle layer */
section > .container, section > .container-narrow { position: relative; z-index: 1; }
.hero::after { z-index: 0; }   /* hero stays as-is */
.hero::before { z-index: 1; }  /* grid above particles */
.hero .container { z-index: 2; }

/* Card hover lift + glow ring — applies to everything card-shaped */
.card, .dept-card, .price-card, .hero-stat, .kpi, .step, .arch-tile, .pillar, .tam-tile, .meta-tile {
  position: relative;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.25s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.25s ease;
}
.card:hover, .dept-card:hover, .price-card:hover, .hero-stat:hover, .kpi:hover, .step:hover, .arch-tile:hover, .pillar:hover, .tam-tile:hover, .meta-tile:hover {
  transform: translateY(-4px);
}

/* CTA button shimmer — sweeping highlight across the primary button */
.btn-primary { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.30) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: cta-shimmer 4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes cta-shimmer {
  0%, 60%, 100% { transform: translateX(-100%); }
  80%           { transform: translateX(120%); }
}

/* Logo dot orbit ring — gives the nav brand a subtle ring pulse */
.brand .logo-dot::after {
  content: ""; position: absolute;
  inset: -6px; border-radius: 50%;
  border: 1px solid rgba(94, 234, 212, 0.30);
  animation: logo-ring 3s ease-out infinite;
}
.brand .logo-dot { position: relative; }
@keyframes logo-ring {
  0%   { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* KPI number breath — the gradient text pulses brightness */
.kpi .kpi-num, .hero-stat .num {
  animation: num-breath 5s ease-in-out infinite;
}
@keyframes num-breath {
  0%, 100% { filter: brightness(1.0); }
  50%      { filter: brightness(1.20); }
}

/* Reduced motion — disable everything that moves */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html.js .reveal { opacity: 1; transform: none; }
}
/* =====================================================================
   2026-05-12 patch — hero readability, anchor-cards, wordmark cutoff,
   scroll-progress, click ripple, magnetic hover, eyebrow shimmer.
   Loaded last so cascade wins over earlier rules.
   ===================================================================== */

/* --- Wordmark cutoff fix --- */
.brand-display { width: 100%; }
.brand-display-mark {
  max-width: 100%;
  padding-right: 28px;          /* absorb drop-shadow + text-shadow overhang */
  font-size: clamp(48px, 8.4vw, 108px);
  word-break: keep-all;
  white-space: nowrap;          /* keep VoidLens on one line */
  overflow: visible;
}
.brand-display-mark .lens {
  filter: drop-shadow(0 0 18px rgba(94, 234, 212, 0.32));  /* slightly tighter */
  padding-right: 0.04em;        /* tiny intrinsic breathing room */
}
@media (max-width: 640px) {
  .brand-display-mark { font-size: clamp(42px, 14vw, 76px); padding-right: 20px; }
  .brand-display-tagline { letter-spacing: 0.32em; }
}

/* --- Hero-stat / KPI / meta-tile / dept-card readability fix --- */
.hero-stats { z-index: 5; position: relative; }
.hero-stat,
a.hero-stat {
  display: block;
  text-decoration: none;
  background: linear-gradient(165deg,
              rgba(7, 42, 44, 0.92) 0%,
              rgba(4, 22, 26, 0.95) 100%);
  border: 1px solid rgba(94, 234, 212, 0.42);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow:
    0 8px 24px -10px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.hero-stat .label { color: var(--teal-l); }       /* brighten label */
.hero-stat .sub   { color: rgba(230, 244, 241, 0.78); }  /* brighten sub */
.hero-stat-arrow {
  position: absolute; right: 14px; top: 14px;
  font-size: 14px; color: var(--teal-l);
  opacity: 0; transform: translateX(-6px);
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.22,1,0.36,1);
}
.hero-stat:hover .hero-stat-arrow { opacity: 1; transform: translateX(0); }
.hero-stat::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg,
              rgba(94,234,212,0.18) 0%,
              transparent 40%,
              rgba(244,114,182,0.12) 100%);
  opacity: 0; transition: opacity 0.35s ease;
  pointer-events: none;
}
.hero-stat:hover::before { opacity: 1; }

/* KPI strip parity */
a.kpi {
  display: block; text-decoration: none;
  position: relative; overflow: hidden;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}
a.kpi, .kpi {
  background: linear-gradient(165deg,
              rgba(7, 42, 44, 0.92) 0%,
              rgba(4, 22, 26, 0.95) 100%) !important;
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
}
a.kpi:hover { border-color: rgba(94, 234, 212, 0.55) !important; }

/* Meta-tile parity */
a.meta-tile {
  display: block; text-decoration: none;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  position: relative; overflow: hidden;
}
a.meta-tile, .meta-tile {
  background: linear-gradient(165deg,
              rgba(7, 42, 44, 0.90) 0%,
              rgba(4, 22, 26, 0.94) 100%) !important;
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
}

/* Dept-card anchor styling */
a.dept-card {
  display: block; text-decoration: none;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  position: relative; overflow: hidden;
}
a.dept-card .dept-icon { transition: transform 0.45s cubic-bezier(0.22,1,0.36,1); }
a.dept-card:hover .dept-icon { transform: rotate(8deg) scale(1.12); }

/* --- Click ripple --- */
.ripple {
  position: absolute; border-radius: 50%; pointer-events: none;
  transform: scale(0); opacity: 0.55;
  background: radial-gradient(circle, rgba(94,234,212,0.45) 0%, transparent 70%);
  animation: ripple-pop 0.65s cubic-bezier(0.22,1,0.36,1) forwards;
}
@keyframes ripple-pop {
  to { transform: scale(2.4); opacity: 0; }
}

/* --- Scroll-progress bar --- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 3px; z-index: 1000;
  background: rgba(94, 234, 212, 0.08);
  pointer-events: none;
}
.scroll-progress-bar {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--teal), var(--rose-l), var(--gold-l));
  box-shadow: 0 0 14px rgba(94, 234, 212, 0.6);
  transition: width 0.08s linear;
}

/* --- Animated eyebrow underline --- */
.eyebrow {
  position: relative;
  padding-bottom: 6px;
}
.eyebrow::after {
  content: ""; position: absolute;
  left: 0; bottom: 0; height: 2px; width: 32px;
  background: linear-gradient(90deg, var(--teal-l), transparent);
  animation: eyebrow-sweep 3.5s ease-in-out infinite;
}
@keyframes eyebrow-sweep {
  0%, 100% { transform: scaleX(1); opacity: 0.8; }
  50%      { transform: scaleX(2.2); opacity: 1; }
}

/* --- Nav-link animated underline --- */
.nav-links a {
  position: relative;
}
.nav-links a::after {
  content: ""; position: absolute;
  left: 0; bottom: -4px; height: 2px; width: 100%;
  background: linear-gradient(90deg, var(--teal-l), var(--rose-l));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.32s cubic-bezier(0.22,1,0.36,1);
}
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

/* --- Magnetic-hover float (combined with existing transform on hover) --- */
[data-magnet] { will-change: transform; }

/* --- Section-head emerge --- */
.section-head.in-view { animation: section-emerge 0.85s cubic-bezier(0.22,1,0.36,1) both; }
@keyframes section-emerge {
  from { letter-spacing: 0.04em; }
  to   { letter-spacing: normal; }
}

/* --- CTA primary - add a subtle outer ring pulse --- */
.btn-primary {
  box-shadow:
    0 4px 18px -4px rgba(20, 184, 166, 0.45),
    0 0 0 0 rgba(20, 184, 166, 0.45);
  animation: btn-ring-pulse 3s ease-out infinite;
}
@keyframes btn-ring-pulse {
  0%   { box-shadow: 0 4px 18px -4px rgba(20,184,166,0.45), 0 0 0 0 rgba(20,184,166,0.45); }
  70%  { box-shadow: 0 4px 18px -4px rgba(20,184,166,0.45), 0 0 0 12px rgba(20,184,166,0); }
  100% { box-shadow: 0 4px 18px -4px rgba(20,184,166,0.45), 0 0 0 0 rgba(20,184,166,0); }
}

/* --- Faq summary chevron animation --- */
.faq details summary {
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}
.faq details[open] summary { color: var(--teal-l); }

/* --- Reduced motion: disable the additions too --- */
@media (prefers-reduced-motion: reduce) {
  .scroll-progress-bar, .eyebrow::after, .btn-primary,
  a.dept-card .dept-icon, .hero-stat-arrow { animation: none !important; transition: none !important; }
  .scroll-progress-bar { width: 0 !important; }
}

/* --- Dual-brain section (2026-05-12 patch) --- */
.brain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}
.brain-card {
  position: relative;
  display: block;
  text-decoration: none; color: inherit;
  padding: 30px 28px;
  border-radius: 22px;
  background: linear-gradient(165deg,
              rgba(7, 42, 44, 0.92) 0%,
              rgba(4, 22, 26, 0.95) 100%);
  border: 1px solid rgba(94, 234, 212, 0.30);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1),
              border-color 0.3s,
              box-shadow 0.3s;
  -webkit-tap-highlight-color: transparent;
}
.brain-card:hover {
  transform: translateY(-6px);
  border-color: rgba(94, 234, 212, 0.55);
  box-shadow: 0 18px 40px -16px rgba(0,0,0,0.8), 0 0 32px rgba(94,234,212,0.15);
}
.brain-card.primary   { border-color: rgba(94, 234, 212, 0.40); }
.brain-card.secondary { border-color: rgba(167, 139, 250, 0.40); }
.brain-card.primary::after,
.brain-card.secondary::after {
  content: ""; position: absolute; inset: -2px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(94,234,212,0.20), transparent 50%);
  z-index: -1; pointer-events: none;
  opacity: 0; transition: opacity 0.3s ease;
}
.brain-card.secondary::after {
  background: linear-gradient(135deg, rgba(167,139,250,0.20), transparent 50%);
}
.brain-card:hover::after { opacity: 1; }

.brain-icon {
  font-size: 36px; line-height: 1;
  color: var(--teal-l);
  margin-bottom: 14px;
  display: inline-block;
  filter: drop-shadow(0 0 18px rgba(94,234,212,0.45));
  animation: brain-pulse 4s ease-in-out infinite;
}
.brain-card.secondary .brain-icon {
  color: var(--violet);
  filter: drop-shadow(0 0 18px rgba(167,139,250,0.55));
  animation-delay: 2s;
}
@keyframes brain-pulse {
  0%, 100% { transform: scale(1) rotate(0deg); filter: drop-shadow(0 0 18px rgba(94,234,212,0.45)); }
  50%      { transform: scale(1.08) rotate(8deg); filter: drop-shadow(0 0 28px rgba(94,234,212,0.85)); }
}
.brain-card.secondary .brain-icon { animation-name: brain-pulse-v; }
@keyframes brain-pulse-v {
  0%, 100% { transform: scale(1) rotate(0deg); filter: drop-shadow(0 0 18px rgba(167,139,250,0.55)); }
  50%      { transform: scale(1.08) rotate(-8deg); filter: drop-shadow(0 0 28px rgba(167,139,250,0.95)); }
}

.brain-badge {
  display: inline-block;
  font-size: 10.5px; font-weight: 800;
  letter-spacing: 0.20em; text-transform: uppercase;
  color: var(--teal-l);
  padding: 5px 11px;
  border: 1px solid rgba(94, 234, 212, 0.40);
  border-radius: 100px;
  margin-bottom: 14px;
  background: rgba(94, 234, 212, 0.08);
}
.brain-card.secondary .brain-badge {
  color: var(--violet);
  border-color: rgba(167, 139, 250, 0.40);
  background: rgba(167, 139, 250, 0.10);
}
.brain-card h3 {
  font-size: 22px; color: white; margin-bottom: 12px;
}
.brain-card p {
  font-size: 14.5px;
  color: rgba(230, 244, 241, 0.82);
  line-height: 1.6;
  margin-bottom: 18px;
}
.brain-bullets {
  list-style: none; padding: 0; margin: 0 0 20px;
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.65;
}
.brain-bullets li { padding: 4px 0; }
.brain-bullets strong { color: var(--teal-l); font-weight: 700; }
.brain-card.secondary .brain-bullets strong { color: var(--violet); }

.brain-link {
  display: inline-block;
  font-size: 13px; font-weight: 700;
  color: var(--teal-l);
  transition: transform 0.25s cubic-bezier(0.22,1,0.36,1), letter-spacing 0.25s;
}
.brain-card.secondary .brain-link { color: var(--violet); }
.brain-card:hover .brain-link { transform: translateX(6px); letter-spacing: 0.02em; }

/* Router strip */
.brain-router {
  padding: 22px 26px;
  border-radius: 16px;
  background: linear-gradient(165deg, rgba(7, 42, 44, 0.78), rgba(4, 22, 26, 0.85));
  border: 1px solid rgba(94, 234, 212, 0.22);
}
.router-row {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 10px; margin-bottom: 12px;
}
.router-label {
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.20em; text-transform: uppercase;
  color: var(--teal-l);
}
.router-pill {
  display: inline-block;
  font-size: 12px; font-weight: 700;
  padding: 5px 12px;
  border-radius: 100px;
  background: rgba(94, 234, 212, 0.10);
  border: 1px solid rgba(94, 234, 212, 0.30);
  color: var(--teal-l);
  animation: pill-shimmer 6s ease-in-out infinite;
}
.router-pill:nth-child(2) { animation-delay: 0s; }
.router-pill:nth-child(3) { animation-delay: 1.0s; }
.router-pill:nth-child(4) { animation-delay: 2.0s; }
.router-pill:nth-child(5) { animation-delay: 3.0s; }
.router-pill:nth-child(6) { animation-delay: 4.0s; }
@keyframes pill-shimmer {
  0%, 80%, 100% { box-shadow: 0 0 0 rgba(94,234,212,0); }
  50%           { box-shadow: 0 0 14px rgba(94,234,212,0.45); }
}
.router-note {
  font-size: 13.5px;
  color: var(--text-soft);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 560px) {
  .brain-card { padding: 24px 22px; }
  .brain-card h3 { font-size: 19px; }
}

/* =====================================================================
   Sprint 1 — 2026-05-12 — founder + live audit strip + 48h ladder
   ===================================================================== */

/* --- Live audit row strip --- */
.audit-strip-section {
  padding: 36px 0 28px;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(4,22,26,0.55), rgba(2,6,8,0.85));
}
.audit-strip-head {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-l);
  font-weight: 800;
}
.audit-pulse {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--emerald-l);
  box-shadow: 0 0 12px var(--emerald-l);
  animation: audit-pulse 1.6s ease-in-out infinite;
}
@keyframes audit-pulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 12px var(--emerald-l); }
  50%      { opacity: 0.55; transform: scale(0.72); box-shadow: 0 0 4px var(--emerald-l); }
}
.audit-strip-label { flex-grow: 1; }
.audit-strip-meta {
  font-size: 10.5px;
  color: var(--text-mute);
  letter-spacing: 0.08em;
  text-transform: none;
  font-weight: 500;
  font-family: ui-monospace, "SF Mono", "Cascadia Mono", monospace;
}
.audit-strip-track {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(4,22,26,0.85);
  padding: 0;
  mask-image: linear-gradient(90deg, transparent 0, black 5%, black 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, black 5%, black 95%, transparent 100%);
}
.audit-strip-rail {
  display: flex;
  align-items: stretch;
  gap: 0;
  white-space: nowrap;
  will-change: transform;
  animation: audit-marquee 90s linear infinite;
  padding: 12px 0;
}
.audit-strip-rail:hover { animation-play-state: paused; }
@keyframes audit-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.audit-row {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 8px 18px;
  margin: 0 6px;
  font-size: 12.5px;
  font-family: ui-monospace, "SF Mono", "Cascadia Mono", monospace;
  border-right: 1px solid var(--line-soft);
  color: var(--text-soft);
}
.audit-row:last-child { border-right: none; }
.audit-row .ar-ts {
  color: var(--text-mute);
  font-size: 11px;
}
.audit-row .ar-agent {
  color: var(--teal-l);
  font-weight: 700;
}
.audit-row .ar-action {
  color: white;
}
.audit-row .ar-target {
  color: var(--text-mute);
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
  vertical-align: middle;
}
.audit-row .ar-cost {
  color: var(--gold-l);
}
.audit-row .ar-dur {
  color: var(--blue-l);
}
.audit-row .ar-outcome {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 100px;
}
.audit-row .ar-outcome.success { color: var(--emerald-l); background: rgba(52,211,153,0.10); border: 1px solid rgba(52,211,153,0.30); }
.audit-row .ar-outcome.allowed { color: var(--blue-l); background: rgba(96,165,250,0.10); border: 1px solid rgba(96,165,250,0.30); }
.audit-row .ar-outcome.failure { color: var(--rose-l); background: rgba(244,114,182,0.10); border: 1px solid rgba(244,114,182,0.30); }
.audit-row .ar-outcome.skipped { color: var(--text-mute); background: rgba(148,163,184,0.10); border: 1px solid rgba(148,163,184,0.30); }
.audit-row .ar-outcome.healed  { color: var(--violet); background: rgba(167,139,250,0.10); border: 1px solid rgba(167,139,250,0.30); }
.audit-strip-footer {
  margin: 16px 0 0;
  font-size: 12.5px;
  color: var(--text-mute);
  line-height: 1.6;
}
.audit-strip-footer code {
  background: rgba(94,234,212,0.08);
  color: var(--teal-l);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 11.5px;
}
@media (prefers-reduced-motion: reduce) {
  .audit-strip-rail { animation: none; }
  .audit-pulse { animation: none; }
}

/* --- Founder section --- */
.founder-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 36px;
  align-items: center;
  padding: 36px 38px;
  border-radius: 22px;
  background: linear-gradient(165deg, rgba(7,42,44,0.92), rgba(4,22,26,0.95));
  border: 1px solid rgba(94,234,212,0.30);
  position: relative;
  overflow: hidden;
}
.founder-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 18% 20%, rgba(94,234,212,0.10), transparent 50%),
              radial-gradient(circle at 90% 80%, rgba(244,114,182,0.06), transparent 60%);
  pointer-events: none;
}
@media (max-width: 760px) {
  .founder-card { grid-template-columns: 1fr; gap: 22px; padding: 28px 24px; }
}
.founder-portrait { position: relative; z-index: 1; }
.founder-portrait img {
  width: 220px; height: 220px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(94,234,212,0.40);
  box-shadow: 0 0 36px rgba(94,234,212,0.20);
}
.founder-portrait-placeholder {
  position: relative;
  width: 220px; height: 220px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(94,234,212,0.12), rgba(244,114,182,0.08));
  border: 3px solid rgba(94,234,212,0.40);
  box-shadow: 0 0 36px rgba(94,234,212,0.18), inset 0 0 24px rgba(0,0,0,0.4);
}
.founder-initials {
  font-size: 64px; font-weight: 800; letter-spacing: -0.04em;
  background: var(--grad-aurora);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 18px rgba(94,234,212,0.30));
}
.founder-portrait-ring {
  position: absolute; inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(94,234,212,0.20);
  animation: founder-ring 5s ease-in-out infinite;
}
@keyframes founder-ring {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50%      { transform: scale(1.05); opacity: 0.9; }
}
.founder-body { position: relative; z-index: 1; }
.founder-name-row {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px;
  margin-bottom: 18px;
}
.founder-name {
  font-size: 28px; font-weight: 800; color: white;
  letter-spacing: -0.02em;
}
.founder-role {
  font-size: 11.5px; font-weight: 800;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--teal-l);
  padding: 4px 12px;
  border: 1px solid rgba(94,234,212,0.35);
  background: rgba(94,234,212,0.08);
  border-radius: 100px;
}
.founder-bio {
  font-size: 15px;
  color: rgba(230,244,241,0.85);
  line-height: 1.66;
  margin: 0 0 14px;
  max-width: 660px;
}
.founder-meta {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 18px 0 22px;
}
.founder-tag {
  font-size: 11px;
  letter-spacing: 0.10em;
  color: var(--text-soft);
  padding: 5px 11px;
  border-radius: 6px;
  background: rgba(7,42,44,0.65);
  border: 1px solid var(--line);
}
.founder-cta-row {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 6px;
}

/* --- 48-hour shadow ladder --- */
#ladder { background: linear-gradient(180deg, var(--black) 0%, #04141680 50%, var(--black) 100%); }
.ladder-stage {
  margin: 32px 0 40px;
  padding: 30px 24px 18px;
  border-radius: 22px;
  background: linear-gradient(165deg, rgba(7,42,44,0.85), rgba(4,22,26,0.92));
  border: 1px solid rgba(94,234,212,0.25);
  overflow: hidden;
}
.ladder-svg {
  display: block;
  width: 100%;
  height: auto;
  max-width: 1100px;
  margin: 0 auto;
}
.ladder-tier-label {
  font-family: ui-monospace, monospace;
  font-size: 14px; font-weight: 800;
  fill: white;
  letter-spacing: 0.10em;
}
.ladder-tier-name {
  font-size: 13px; font-weight: 700;
  fill: var(--teal-l);
  letter-spacing: 0.04em;
}
.ladder-tier-sub {
  font-size: 11px;
  fill: var(--text-mute);
}
.ladder-gate-label {
  font-size: 11px; font-weight: 700;
  fill: var(--gold-l);
  letter-spacing: 0.04em;
}
.ladder-gate-sub {
  font-size: 9.5px;
  fill: var(--text-mute);
  letter-spacing: 0.04em;
}
.ladder-gate-detail {
  font-size: 10px;
  fill: rgba(94,234,212,0.55);
  letter-spacing: 0.10em;
}
.ladder-agent {
  animation: ladder-climb 12s cubic-bezier(0.55, 0, 0.45, 1) infinite;
}
@keyframes ladder-climb {
  0%   { transform: translate(120px, 220px); }
  6%   { transform: translate(120px, 220px); }
  10%  { transform: translate(170px, 170px); }
  14%  { transform: translate(263.5px, 170px); }
  20%  { transform: translate(360px, 170px); }
  24%  { transform: translate(407px, 220px); }
  30%  { transform: translate(407px, 220px); }
  34%  { transform: translate(460px, 170px); }
  38%  { transform: translate(550px, 170px); }
  44%  { transform: translate(640px, 170px); }
  48%  { transform: translate(693px, 220px); }
  54%  { transform: translate(693px, 220px); }
  58%  { transform: translate(750px, 170px); }
  62%  { transform: translate(836.5px, 170px); }
  68%  { transform: translate(925px, 170px); }
  72%  { transform: translate(980px, 220px); }
  82%  { transform: translate(980px, 220px); }
  100% { transform: translate(120px, 220px); }
}
@media (prefers-reduced-motion: reduce) {
  .ladder-agent { animation: none; transform: translate(550px, 220px); }
}
.ladder-tier circle:nth-of-type(2) {
  animation: tier-throb 3s ease-in-out infinite;
}
.ladder-tier[data-tier="L1"] circle:nth-of-type(2) { animation-delay: 0.6s; }
.ladder-tier[data-tier="L2"] circle:nth-of-type(2) { animation-delay: 1.2s; }
.ladder-tier[data-tier="L3"] circle:nth-of-type(2) { animation-delay: 1.8s; }
@keyframes tier-throb {
  0%, 100% { opacity: 0.7; r: 6; }
  50%      { opacity: 1; r: 7.5; }
}

.ladder-rules {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.ladder-rule {
  display: flex; gap: 16px;
  padding: 22px 24px;
  border-radius: 14px;
  background: linear-gradient(165deg, rgba(7,42,44,0.85), rgba(4,22,26,0.90));
  border: 1px solid var(--line);
  transition: border-color 0.28s, transform 0.28s cubic-bezier(0.22,1,0.36,1);
}
.ladder-rule:hover {
  transform: translateY(-3px);
  border-color: rgba(94,234,212,0.45);
}
.ladder-rule-num {
  font-family: ui-monospace, monospace;
  font-size: 24px; font-weight: 800;
  background: var(--grad-aurora);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.04em;
  line-height: 1;
  flex-shrink: 0;
  padding-top: 2px;
}
.ladder-rule-text {
  font-size: 13.5px;
  color: var(--text-soft);
  line-height: 1.6;
}
.ladder-rule-text strong {
  color: white;
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
}
.ladder-rule-text code {
  background: rgba(94,234,212,0.08);
  color: var(--teal-l);
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 11.5px;
}
.ladder-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--teal-l);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: transform 0.25s cubic-bezier(0.22,1,0.36,1);
}
.ladder-link:hover { transform: translateX(4px); }


/* =====================================================================
   Sprint 1 — red-lines.html page-specific styles
   ===================================================================== */
.redline-counters {
  display: flex; flex-wrap: wrap; gap: 22px;
  margin-top: 32px;
}
.redline-counter {
  padding: 14px 20px;
  border-radius: 14px;
  background: linear-gradient(165deg, rgba(7,42,44,0.85), rgba(4,22,26,0.92));
  border: 1px solid rgba(244,114,182,0.35);
  min-width: 160px;
}
.redline-counter .num {
  font-size: 36px; font-weight: 800;
  background: var(--grad-aurora);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.redline-counter .lbl {
  margin-top: 6px;
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-soft);
}

.redline-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 12px;
}
.redline {
  padding: 26px 28px;
  border-radius: 16px;
  background: linear-gradient(165deg, rgba(7,42,44,0.85), rgba(4,22,26,0.92));
  border: 1px solid var(--line);
  border-left: 4px solid var(--rose-l);
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), border-color 0.3s;
}
.redline:hover {
  transform: translateY(-3px);
  border-color: rgba(244,114,182,0.45);
}
.redline-head {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}
.redline-num {
  font-family: ui-monospace, monospace;
  font-size: 22px; font-weight: 800;
  color: var(--rose-l);
  letter-spacing: -0.04em;
  line-height: 1;
}
.redline-head h3 {
  font-size: 22px; font-weight: 800;
  color: white;
  margin: 0;
  letter-spacing: -0.02em;
  flex-grow: 1;
}
.redline-id {
  font-family: ui-monospace, monospace;
  font-size: 11.5px;
  color: var(--rose-l);
  padding: 4px 10px;
  background: rgba(244,114,182,0.10);
  border: 1px solid rgba(244,114,182,0.30);
  border-radius: 6px;
}
.redline-body p {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.65;
  margin: 0 0 12px;
}
.redline-body p:last-child { margin-bottom: 0; }
.redline-body strong {
  color: var(--rose-l);
  font-weight: 700;
}
.redline-body p.redline-rule strong { color: white; }
.redline-body p.redline-why strong { color: var(--gold-l); }
.redline-body p.redline-enforce strong { color: var(--teal-l); }
.redline-body code {
  background: rgba(94,234,212,0.08);
  color: var(--teal-l);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 12px;
  font-family: ui-monospace, monospace;
}

@media (max-width: 640px) {
  .redline { padding: 22px 20px; }
  .redline-head h3 { font-size: 18px; }
  .redline-counter { min-width: 100%; }
}

/* trust-and-safety nav-link active state */
.nav-links a.active { color: var(--teal-l); }
.nav-links a.active::after { transform: scaleX(1); }

/* trust-and-safety: kpi-strip standalone usage on red-lines.html */
.kpi-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
