/* ============================================================================
   TAKOA OS — StoryBrand landing for corporate IT & security.
   Hero = the IT/security leader. Takoa = the guide.
   Light "enterprise" body, bookended by dark "control-room" bands (hero + CTA)
   for contrast. Teal = Autonomy, Violet = Control — the brand's real duality,
   deepened and used with more conviction.
   ========================================================================== */

:root {
  /* Foundation — soft cool off-white / light slate. */
  --bg: #f4f6fb;
  --bg-2: #e8edf6;        /* alternating bands / insets */
  --surface: #ffffff;
  --panel: #ffffff;
  --panel-solid: #ffffff;

  /* Dark "control room" surfaces — used in hero + CTA for contrast. */
  --ink: #0a1424;        /* deepest navy */
  --ink-2: #101e35;      /* raised dark panel */
  --ink-3: #18294a;      /* dark inset / hover */
  --ink-line: rgba(150, 180, 230, 0.16);
  --on-ink: #eaf0fb;     /* primary text on dark */
  --on-ink-mut: #9fb1cf; /* muted text on dark */
  --on-ink-faint: #6c80a3;

  /* Elevation — soft navy-tinted shadows. */
  --shadow: 0 1px 2px rgba(20, 40, 80, 0.05), 0 12px 30px rgba(20, 40, 80, 0.08);
  --shadow-sm: 0 1px 2px rgba(20, 40, 80, 0.04), 0 5px 16px rgba(20, 40, 80, 0.06);
  --shadow-lg: 0 2px 4px rgba(20, 40, 80, 0.05), 0 30px 60px rgba(20, 40, 80, 0.13);

  /* Lines + text — navy-tinted. */
  --border: rgba(28, 52, 94, 0.13);
  --border-soft: rgba(28, 52, 94, 0.08);
  --fg: #111f36;
  --muted: #4d5b74;
  --faint: #828ea3;

  /* Anchor — trust blue. The dominant brand color. */
  --blue: #2a5ee0;
  --blue-rgb: 42, 94, 224;
  --blue-deep: #1f4ac4;

  /* Plane signals — deepened/saturated for more conviction. */
  --cyan: #0a9ab2;  /* Autonomy · teal */
  --cyan-rgb: 10, 154, 178;
  --cyan-bright: #2fd0e6; /* on dark */
  --violet: #6a45e0; /* Control Plane */
  --violet-rgb: 106, 69, 224;
  --violet-bright: #a98bff; /* on dark */

  /* Status signals */
  --amber: #c47914;
  --green: #149a5c;
  --red: #d83b3b;

  --font-title: 'Saira', system-ui, sans-serif;
  --font-body: 'Hanken Grotesk', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --maxw: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* Subtle dual color wash + blueprint grid on the light field. */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(70% 45% at 100% 30%, rgba(var(--violet-rgb), 0.05), transparent 55%),
    radial-gradient(75% 45% at 0% 60%, rgba(var(--cyan-rgb), 0.045), transparent 55%),
    var(--bg);
}
body::after {
  content: '';
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(28, 52, 94, 0.038) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 52, 94, 0.038) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(130% 90% at 50% 40%, #000 30%, transparent 90%);
  mask-image: radial-gradient(130% 90% at 50% 40%, #000 30%, transparent 90%);
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; }

::selection { background: rgba(var(--blue-rgb), 0.22); color: var(--fg); }

::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: rgba(28, 52, 94, 0.18); border-radius: 6px; border: 3px solid var(--bg-2); }
::-webkit-scrollbar-thumb:hover { background: rgba(28, 52, 94, 0.3); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-left: max(28px, env(safe-area-inset-left)); padding-right: max(28px, env(safe-area-inset-right)); }

/* ── Shared atoms ─────────────────────────────────────────────────────── */
.kicker {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint);
}
.kicker.cyan { color: var(--cyan); }
.kicker.violet { color: var(--violet); }
.kicker.blue { color: var(--blue); }

.mono { font-family: var(--font-mono); }

.dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.dot.pulse { animation: pulse 1.8s ease-in-out infinite; }

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-body); font-size: 14.5px; font-weight: 600;
  padding: 12px 22px; border-radius: 9px; cursor: pointer;
  border: 1px solid transparent; transition: all 0.18s var(--ease); white-space: nowrap;
}
.btn-primary {
  background: var(--blue); border-color: var(--blue); color: #fff;
  box-shadow: 0 1px 2px rgba(var(--blue-rgb), 0.25), 0 6px 18px rgba(var(--blue-rgb), 0.22);
}
.btn-primary:hover {
  background: var(--blue-deep); border-color: var(--blue-deep);
  box-shadow: 0 12px 28px rgba(var(--blue-rgb), 0.34); transform: translateY(-1px);
}
.btn-ghost {
  background: var(--surface); border-color: var(--border); color: var(--muted);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { border-color: rgba(var(--blue-rgb), 0.45); color: var(--fg); }
/* Ghost button on dark */
.on-dark .btn-ghost {
  background: rgba(255,255,255,0.05); border-color: var(--ink-line); color: var(--on-ink-mut);
  box-shadow: none;
}
.on-dark .btn-ghost:hover { border-color: rgba(150,180,230,0.4); color: var(--on-ink); background: rgba(255,255,255,0.09); }

.arrow { transition: transform 0.18s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ── Nav ──────────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(244, 246, 251, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-logo { display: block; height: 26px; width: auto; }
.footer .brand-logo { height: 24px; }
/* Wordmark art is navy+teal for light surfaces; white it out on the dark footer. */
.brand-logo--on-dark { filter: brightness(0) invert(1); opacity: 0.92; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 8px; flex-shrink: 0;
  background: linear-gradient(140deg, var(--blue), var(--cyan));
  display: grid; place-items: center;
  box-shadow: 0 2px 8px rgba(var(--blue-rgb), 0.28);
}
.brand-mark span { width: 11px; height: 11px; border-radius: 3px; border: 2px solid rgba(255, 255, 255, 0.92); }
.brand-name { font-family: var(--font-title); font-size: 18px; font-weight: 700; letter-spacing: 0.06em; color: var(--fg); white-space: nowrap; }
.nav-links { display: flex; gap: 26px; margin-left: 22px; }
.nav-links a { font-size: 14px; color: var(--muted); transition: color 0.15s; position: relative; padding: 4px 0; }
.nav-links a:hover { color: var(--fg); }
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--blue); transition: right 0.25s var(--ease); border-radius: 2px;
}
.nav-links a:hover::after { right: 0; }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.nav-env {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em;
  color: var(--faint); border: 1px solid var(--border); border-radius: 5px; padding: 4px 8px;
}

/* ════════════════════════════════════════════════════════════════════════
   HERO — dark control room. Customer's problem + the resolution.
   ════════════════════════════════════════════════════════════════════════ */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(80% 60% at 8% -10%, rgba(var(--violet-rgb), 0.28), transparent 55%),
    radial-gradient(70% 60% at 100% 0%, rgba(var(--cyan-rgb), 0.20), transparent 52%),
    radial-gradient(90% 80% at 50% 120%, rgba(var(--blue-rgb), 0.22), transparent 60%),
    var(--ink);
  color: var(--on-ink);
  border-bottom: 1px solid var(--ink-line);
}
.hero::after { /* faint grid on the dark hero */
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image:
    linear-gradient(rgba(150,180,230,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(150,180,230,0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 35%, transparent 88%);
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 35%, transparent 88%);
}
.hero-inner { position: relative; z-index: 1; padding-top: 86px; padding-bottom: 84px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 24px;
  padding: 6px 14px; border-radius: 100px;
  border: 1px solid var(--ink-line); background: rgba(255,255,255,0.04);
}
.hero-eyebrow .kicker { color: var(--on-ink-mut); }
.hero h1 {
  font-family: var(--font-title); font-weight: 600;
  font-size: clamp(38px, 5.6vw, 64px); line-height: 1.03;
  letter-spacing: -0.022em; margin-bottom: 22px; color: var(--on-ink);
}
.hero h1 .hl {
  background: linear-gradient(100deg, var(--cyan-bright), var(--violet-bright));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero-sub {
  font-size: clamp(15.5px, 1.5vw, 18px); color: var(--on-ink-mut);
  max-width: 545px; line-height: 1.64; margin-bottom: 32px;
}
.hero-sub b { color: var(--on-ink); font-weight: 600; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 38px; }
.hero-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.hstat .n { font-family: var(--font-title); font-size: 25px; font-weight: 600; line-height: 1; color: var(--on-ink); }
.hstat .n.cyan { color: var(--cyan-bright); }
.hstat .n.violet { color: var(--violet-bright); }
.hstat .l { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; color: var(--on-ink-faint); margin-top: 7px; text-transform: uppercase; }

/* ── Console mock (hero visual) — dark variant ────────────────────────── */
.console {
  background: var(--ink-2); border: 1px solid var(--ink-line); border-radius: 14px;
  overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,0.45);
  animation: float 7s ease-in-out infinite;
}
.console-bar {
  display: flex; align-items: center; gap: 8px; padding: 13px 16px;
  border-bottom: 1px solid var(--ink-line); background: rgba(255,255,255,0.02);
}
.console-bar .tl { display: flex; gap: 7px; }
.console-bar .tl i { width: 10px; height: 10px; border-radius: 50%; background: rgba(150,180,230,0.22); }
.console-bar .ttl { font-family: var(--font-mono); font-size: 11px; color: var(--on-ink-faint); margin-left: 6px; }
.console-bar .live { margin-left: auto; display: flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 10px; color: var(--cyan-bright); letter-spacing: 0.08em; font-weight: 600; }

.toggle {
  display: flex; gap: 4px; margin: 16px; padding: 4px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--ink-line); border-radius: 9px;
}
.toggle button {
  flex: 1; padding: 8px; border-radius: 6px; border: none; cursor: pointer;
  font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: 0.08em;
  background: transparent; color: var(--on-ink-faint); transition: all 0.18s;
}
.toggle button.on.violet { background: rgba(var(--violet-rgb), 0.22); color: var(--violet-bright); }
.toggle button.on.cyan { background: rgba(var(--cyan-rgb), 0.2); color: var(--cyan-bright); }

.console-body { padding: 0 16px 18px; display: flex; flex-direction: column; gap: 11px; }
.crow {
  border: 1px solid var(--ink-line); border-radius: 9px; padding: 13px 15px;
  background: rgba(255,255,255,0.025);
}
.crow.accent-cyan { border-left: 2px solid var(--cyan-bright); }
.crow.accent-violet { border-left: 2px solid var(--violet-bright); }
.crow-top { display: flex; align-items: center; gap: 9px; margin-bottom: 9px; }
.crow-top .name { font-family: var(--font-title); font-weight: 600; font-size: 15px; color: var(--on-ink); }
.crow-top .ns { font-family: var(--font-mono); font-size: 10px; color: var(--on-ink-faint); margin-left: auto; }
.tag { font-family: var(--font-mono); font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: 5px; }
.tag.run { background: rgba(var(--cyan-rgb), 0.18); color: var(--cyan-bright); }
.tag.ok { background: rgba(20, 154, 92, 0.2); color: #4fd693; }
.tag.appr { background: rgba(196, 121, 20, 0.22); color: #f0ad4e; }
.meter { height: 4px; border-radius: 3px; background: rgba(150,180,230,0.14); overflow: hidden; }
.meter > i { display: block; height: 100%; border-radius: 3px; }
.meter > i.c { background: var(--cyan-bright); }
.meter > i.v { background: var(--violet-bright); }
.meter > i.a { background: #f0ad4e; }
.crow-foot { display: flex; align-items: center; gap: 8px; margin-top: 9px; font-family: var(--font-mono); font-size: 10.5px; color: var(--on-ink-mut); }
.crow-foot .sp { margin-left: auto; color: #f0ad4e; }
.crow-step {
  display: flex; align-items: center; gap: 8px; margin-top: 9px; padding: 7px 9px;
  background: rgba(var(--violet-rgb), 0.12); border: 1px solid rgba(var(--violet-rgb), 0.3);
  border-radius: 6px; font-family: var(--font-mono); font-size: 10.5px; color: var(--violet-bright);
}

/* ── Section scaffolding ──────────────────────────────────────────────── */
.section { padding: 86px 0; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 {
  font-family: var(--font-title); font-weight: 600; color: var(--fg);
  font-size: clamp(28px, 3.6vw, 42px); line-height: 1.1; letter-spacing: -0.015em;
  margin: 14px 0 16px;
}
.section-head p { font-size: 16.5px; color: var(--muted); max-width: 640px; }
.section-head.center p { margin: 0 auto; }
.section-head em { font-style: normal; color: var(--fg); font-weight: 600; }

/* ════════════════════════════════════════════════════════════════════════
   STAKES — "the cost of ungoverned AI" (the PROBLEM + foreshadow FAILURE)
   ════════════════════════════════════════════════════════════════════════ */
.stakes-band { border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); background: var(--bg-2); }
.stakes-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 560px; margin: 0 0 40px;
}
.stakes-stat {
  border: 1px solid var(--border); border-left: 3px solid var(--red); border-radius: 12px;
  padding: 20px 22px; background: var(--surface); box-shadow: var(--shadow-sm);
}
.stakes-stat b { font-family: var(--font-title); font-size: 34px; font-weight: 600; color: var(--red); display: block; line-height: 1; }
.stakes-stat span { font-size: 13px; color: var(--muted); display: block; margin-top: 8px; line-height: 1.45; }
.stakes-stat sup { color: var(--faint); }
.stakes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.stake {
  border: 1px solid var(--border); border-radius: 13px; padding: 26px 24px;
  background: var(--surface); box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  transition: transform 0.22s var(--ease), box-shadow 0.22s;
}
.stake:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.stake::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--red), transparent);
}
.stake .st-ey { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); font-weight: 600; }
.stake h4 { font-family: var(--font-title); font-size: 18px; font-weight: 600; margin: 12px 0 8px; color: var(--fg); }
.stake p { font-size: 13.5px; color: var(--muted); line-height: 1.58; }

/* ════════════════════════════════════════════════════════════════════════
   GUIDE — empathy + authority
   ════════════════════════════════════════════════════════════════════════ */
.guide { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 50px; align-items: center; }
.guide-empathy .kicker { color: var(--blue); }
.guide-empathy h2 {
  font-family: var(--font-title); font-weight: 600; color: var(--fg);
  font-size: clamp(27px, 3.4vw, 40px); line-height: 1.12; letter-spacing: -0.015em; margin: 14px 0 18px;
}
.guide-empathy p { font-size: 16px; color: var(--muted); line-height: 1.62; max-width: 460px; }
.guide-empathy p + p { margin-top: 14px; }
.guide-empathy b { color: var(--fg); font-weight: 600; }
.auth-card {
  border: 1px solid var(--border); border-radius: 18px; padding: 36px 34px; box-shadow: var(--shadow);
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(var(--cyan-rgb), 0.06), transparent 52%),
    radial-gradient(80% 120% at 0% 100%, rgba(var(--violet-rgb), 0.06), transparent 52%),
    var(--panel);
}
.auth-card .ac-h { font-family: var(--font-title); font-size: 21px; font-weight: 600; color: var(--fg); letter-spacing: -0.01em; margin-bottom: 6px; }
.auth-card .ac-s { font-size: 13.5px; color: var(--muted); margin-bottom: 24px; }
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.tcell .th { display: flex; align-items: center; gap: 9px; font-family: var(--font-title); font-size: 15px; font-weight: 600; margin-bottom: 7px; color: var(--fg); }
.tcell .td { font-size: 12.5px; color: var(--muted); line-height: 1.52; }

/* ════════════════════════════════════════════════════════════════════════
   PLAN — three simple steps (Connect → Govern → Grow)
   ════════════════════════════════════════════════════════════════════════ */
.plan-band { background: var(--ink); color: var(--on-ink); position: relative; overflow: hidden; border-top: 1px solid var(--ink-line); border-bottom: 1px solid var(--ink-line); }
.plan-band::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.45;
  background-image:
    linear-gradient(rgba(150,180,230,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(150,180,230,0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(120% 100% at 50% 0%, #000 30%, transparent 85%);
  mask-image: radial-gradient(120% 100% at 50% 0%, #000 30%, transparent 85%);
}
.plan-band .wrap { position: relative; z-index: 1; }
.plan-band .section-head h2 { color: var(--on-ink); }
.plan-band .section-head p { color: var(--on-ink-mut); }
.plan-band .section-head .kicker { color: var(--cyan-bright); }
.plan-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; }
.plan-steps::before {
  /* Connect the CENTRES of the (left-aligned) number blocks, not the column
     centres. Each .pn centre sits 36px in from its column edge (6px pstep
     padding + 30px half of the 60px block); column width = (100% − 44px)/3
     for the two 22px gaps, so the right end stops 36px short of block 3. */
  content: ''; position: absolute; top: 30px; left: 36px; right: calc((100% - 44px) / 3 - 36px); height: 2px;
  background: linear-gradient(90deg, var(--violet-bright), var(--blue), var(--cyan-bright)); opacity: 0.5;
}
.pstep2 {
  position: relative; padding: 0 6px; text-align: left;
}
.pstep2 .pn {
  width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center;
  font-family: var(--font-title); font-size: 24px; font-weight: 600; color: #fff;
  margin-bottom: 20px; position: relative; z-index: 1;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.pstep2:nth-child(1) .pn { background: linear-gradient(140deg, var(--violet), #4a30b0); }
.pstep2:nth-child(2) .pn { background: linear-gradient(140deg, var(--blue), var(--blue-deep)); }
.pstep2:nth-child(3) .pn { background: linear-gradient(140deg, var(--cyan), #07788a); }
.pstep2 h3 { font-family: var(--font-title); font-size: 21px; font-weight: 600; color: var(--on-ink); margin-bottom: 9px; }
.pstep2 p { font-size: 14px; color: var(--on-ink-mut); line-height: 1.6; }
.pstep2 .pmeta { font-family: var(--font-mono); font-size: 11px; color: var(--on-ink-faint); margin-top: 14px; letter-spacing: 0.03em; }
.plan-cap { text-align: center; margin-top: 42px; font-size: 15px; color: var(--on-ink-mut); }
.plan-cap b { color: var(--on-ink); font-weight: 600; }

/* ── Feature deep-dive grids (Control / wedge / autonomy) ─────────────── */
.deep-band { border-top: 1px solid var(--border-soft); }
.deep-tag {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.1em;
  padding: 5px 12px; border-radius: 6px; text-transform: uppercase;
}
.deep-tag.cyan { background: rgba(var(--cyan-rgb), 0.1); color: var(--cyan); }
.deep-tag.violet { background: rgba(var(--violet-rgb), 0.1); color: var(--violet); }
.deep-tag.blue { background: rgba(var(--blue-rgb), 0.1); color: var(--blue); }

.fgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fcard {
  border: 1px solid var(--border); border-radius: 13px; padding: 24px 22px;
  background: var(--panel); box-shadow: var(--shadow-sm);
  transition: transform 0.22s var(--ease), box-shadow 0.22s, border-color 0.22s; position: relative; overflow: hidden;
}
.fcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.fcard .fc-ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 16px; border: 1px solid var(--border); }
.fcard h4 { font-family: var(--font-title); font-size: 17px; font-weight: 600; margin-bottom: 8px; color: var(--fg); }
.fcard p { font-size: 13.5px; color: var(--muted); line-height: 1.58; }
.fcard .fc-meta { font-family: var(--font-mono); font-size: 11px; color: var(--faint); margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border-soft); }
.fcard code { font-family: var(--font-mono); font-size: 12px; color: var(--blue); background: rgba(var(--blue-rgb), 0.08); padding: 1px 5px; border-radius: 4px; }
.tint-cyan .fc-ico { background: rgba(var(--cyan-rgb), 0.08); border-color: rgba(var(--cyan-rgb), 0.25); }
.tint-cyan:hover { border-color: rgba(var(--cyan-rgb), 0.32); }
.tint-violet .fc-ico { background: rgba(var(--violet-rgb), 0.08); border-color: rgba(var(--violet-rgb), 0.25); }
.tint-violet:hover { border-color: rgba(var(--violet-rgb), 0.32); }

.fc-list { list-style: none; margin-top: 12px; display: flex; flex-direction: column; gap: 7px; }
.fc-list li { display: flex; gap: 8px; font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.fc-list li::before { content: '→'; color: var(--violet); flex-shrink: 0; }

/* ── Shadow-AI callout (inside the wedge) ─────────────────────────────── */
.shadow-callout {
  border: 1px solid var(--border); border-left: 3px solid var(--violet); border-radius: 16px;
  padding: 30px 34px; margin-bottom: 22px;
  background: radial-gradient(70% 130% at 0 0, rgba(var(--violet-rgb), 0.05), transparent 58%), var(--panel);
  box-shadow: var(--shadow);
}
.shadow-callout .big {
  font-family: var(--font-title); font-size: clamp(19px, 2.2vw, 25px); font-weight: 600; color: var(--fg);
  line-height: 1.3; margin: 10px 0 12px; letter-spacing: -0.01em; max-width: 760px;
}
.shadow-callout .small { font-size: 14px; color: var(--muted); line-height: 1.6; max-width: 760px; }
.footnote { font-family: var(--font-mono); font-size: 10.5px; color: var(--faint); margin-top: 16px; letter-spacing: 0.02em; }

/* ── The two planes (diptych) — "grow into autonomy" ──────────────────── */
.diptych { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; position: relative; }
.diptych::before {
  content: ''; position: absolute; top: 8%; bottom: 8%; left: 50%; width: 1px;
  background: linear-gradient(var(--cyan), var(--violet)); opacity: 0.25;
}
.plane {
  position: relative; border-radius: 16px; padding: 34px 32px 36px;
  border: 1px solid var(--border); background: var(--panel); box-shadow: var(--shadow);
  overflow: hidden; transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
}
.plane:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.plane.autonomy { border-top: 3px solid var(--cyan); }
.plane.autonomy:hover { border-color: rgba(var(--cyan-rgb), 0.4); }
.plane.control { border-top: 3px solid var(--violet); }
.plane.control:hover { border-color: rgba(var(--violet-rgb), 0.4); }
.plane::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.6; }
.plane.autonomy::after { background: radial-gradient(70% 50% at 100% 0%, rgba(var(--cyan-rgb), 0.06), transparent 60%); }
.plane.control::after { background: radial-gradient(70% 50% at 0% 0%, rgba(var(--violet-rgb), 0.06), transparent 60%); }
.plane > * { position: relative; z-index: 1; }
.plane-ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 20px; }
.plane.autonomy .plane-ico { background: rgba(var(--cyan-rgb), 0.1); border: 1px solid rgba(var(--cyan-rgb), 0.28); }
.plane.control .plane-ico { background: rgba(var(--violet-rgb), 0.1); border: 1px solid rgba(var(--violet-rgb), 0.28); }
.plane h3 { font-family: var(--font-title); font-size: 25px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 4px; }
.plane .tagline { font-size: 14.5px; color: var(--muted); margin-bottom: 24px; min-height: 44px; }
.plane.autonomy h3 { color: var(--cyan); }
.plane.control h3 { color: var(--violet); }
.feat { display: flex; gap: 13px; padding: 14px 0; border-top: 1px solid var(--border-soft); }
.feat:first-of-type { border-top: none; }
.feat .fi { flex-shrink: 0; margin-top: 2px; }
.feat .ft { font-size: 14.5px; font-weight: 600; color: var(--fg); margin-bottom: 3px; }
.feat .fd { font-size: 13px; color: var(--muted); line-height: 1.55; }
.feat code { font-family: var(--font-mono); font-size: 12px; color: var(--blue); background: rgba(var(--blue-rgb), 0.08); padding: 1px 5px; border-radius: 4px; }

/* ── Lifecycle pipeline ───────────────────────────────────────────────── */
.pipeline { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; }
.pstep { position: relative; padding: 22px 16px 0; }
.pstep::before { content: ''; position: absolute; top: 7px; left: 0; right: 0; height: 2px; background: var(--border); }
.pstep::after {
  content: ''; position: absolute; top: 2px; left: 0; width: 13px; height: 13px;
  border-radius: 50%; background: var(--surface); border: 2px solid var(--c, var(--faint));
  box-shadow: 0 0 0 3px var(--bg);
}
.pstep .pn { font-family: var(--font-mono); font-size: 10px; color: var(--faint); letter-spacing: 0.1em; }
.pstep .ph { font-family: var(--font-title); font-size: 16px; font-weight: 600; margin: 8px 0 6px; color: var(--fg); }
.pstep .pd { font-size: 12.5px; color: var(--muted); line-height: 1.5; }

/* ── Defense & Space vertical ─────────────────────────────────────────── */
.vband {
  border: 1px solid var(--border); border-radius: 20px; padding: 50px 46px; position: relative; overflow: hidden;
  box-shadow: var(--shadow);
  background:
    radial-gradient(60% 90% at 100% 0%, rgba(var(--violet-rgb), 0.06), transparent 55%),
    radial-gradient(50% 80% at 0% 100%, rgba(var(--blue-rgb), 0.05), transparent 55%),
    var(--surface);
}
.vband::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.6;
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(28, 52, 94, 0.015) 3px 4px);
}
.vband > * { position: relative; z-index: 1; }
.vband .vhead { max-width: 660px; margin-bottom: 14px; }
.vband h2 { font-family: var(--font-title); font-size: clamp(26px, 3.4vw, 38px); font-weight: 600; letter-spacing: -0.015em; line-height: 1.1; margin: 14px 0 16px; color: var(--fg); }
.vband .vsub { font-size: 15.5px; color: var(--muted); max-width: 680px; line-height: 1.62; }
.vband .vsub em { font-style: normal; color: var(--fg); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; margin: 24px 0 36px; }
.chip {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.05em; color: var(--muted);
  border: 1px solid var(--border); border-radius: 6px; padding: 5px 11px; background: var(--bg-2);
}
.vgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.vprop { border-top: 2px solid var(--border); padding-top: 18px; }
.vprop .vp-h { display: flex; align-items: center; gap: 9px; font-family: var(--font-title); font-size: 16.5px; font-weight: 600; margin-bottom: 9px; color: var(--fg); }
.vprop p { font-size: 13.5px; color: var(--muted); line-height: 1.58; }
.vnote {
  margin-top: 30px; padding: 15px 18px; border-radius: 10px;
  border: 1px solid var(--border-soft); background: var(--bg-2);
  font-size: 13px; color: var(--muted); line-height: 1.55;
}
.vnote b { color: var(--fg); font-weight: 600; }

/* ════════════════════════════════════════════════════════════════════════
   SUCCESS + CTA — paint the after-state, then the ask. (dark)
   ════════════════════════════════════════════════════════════════════════ */
.close {
  position: relative; overflow: hidden; color: var(--on-ink);
  background:
    radial-gradient(60% 90% at 22% 0%, rgba(var(--violet-rgb), 0.34), transparent 60%),
    radial-gradient(60% 90% at 78% 100%, rgba(var(--cyan-rgb), 0.26), transparent 60%),
    radial-gradient(80% 80% at 50% 120%, rgba(var(--blue-rgb), 0.24), transparent 62%),
    var(--ink);
  border-top: 1px solid var(--ink-line);
}
.close::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.4;
  background-image:
    linear-gradient(rgba(150,180,230,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(150,180,230,0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(120% 110% at 50% 0%, #000 30%, transparent 86%);
  mask-image: radial-gradient(120% 110% at 50% 0%, #000 30%, transparent 86%);
}
.close .wrap { position: relative; z-index: 1; }
.success { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; margin-bottom: 64px; }
.success h2 {
  font-family: var(--font-title); font-weight: 600; color: var(--on-ink);
  font-size: clamp(27px, 3.6vw, 42px); line-height: 1.1; letter-spacing: -0.018em; margin: 14px 0 0;
}
.success .kicker { color: var(--cyan-bright); }
.success-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.success-list li { display: flex; gap: 13px; align-items: flex-start; font-size: 15.5px; color: var(--on-ink-mut); line-height: 1.5; }
.success-list li b { color: var(--on-ink); font-weight: 600; }
.success-check {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 7px; margin-top: 1px;
  display: grid; place-items: center;
  background: rgba(var(--cyan-rgb), 0.18); border: 1px solid rgba(var(--cyan-rgb), 0.4);
}

.cta {
  text-align: center; border-radius: 22px; padding: 60px 32px;
  border: 1px solid var(--ink-line); overflow: hidden; position: relative;
  background: rgba(255,255,255,0.035); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.cta .kicker { color: var(--on-ink-faint); }
.cta h2 { font-family: var(--font-title); font-size: clamp(28px, 4vw, 46px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.07; margin: 12px 0 16px; color: var(--on-ink); }
.cta h2 .hl { background: linear-gradient(100deg, var(--cyan-bright), var(--violet-bright)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.cta p { font-size: 16px; color: var(--on-ink-mut); max-width: 540px; margin: 0 auto 30px; }
.cta-form { display: flex; gap: 10px; max-width: 460px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.cta-form input {
  flex: 1; min-width: 220px; padding: 13px 16px; border-radius: 9px;
  background: rgba(255,255,255,0.06); border: 1px solid var(--ink-line); color: var(--on-ink);
  font-family: var(--font-body); font-size: 14.5px; outline: none; transition: border-color 0.15s;
}
.cta-form input:focus { border-color: rgba(150,180,230,0.55); }
.cta-form input::placeholder { color: var(--on-ink-faint); }
.cta-note { font-family: var(--font-mono); font-size: 11px; color: var(--on-ink-faint); margin-top: 18px; letter-spacing: 0.04em; }

/* ── Footer ───────────────────────────────────────────────────────────── */
.footer { background: var(--ink); color: var(--on-ink-mut); padding: 40px 0 56px; border-top: 1px solid var(--ink-line); }
.footer-inner { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.footer .brand-name { color: var(--on-ink); }
.footer .muted { font-size: 13px; color: var(--on-ink-faint); }
.footer-links { margin-left: auto; display: flex; gap: 24px; }
.footer-links a { font-size: 13px; color: var(--on-ink-mut); }
.footer-links a:hover { color: var(--on-ink); }

/* ── Reveal-on-scroll ─────────────────────────────────────────────────── */
/* Only hide when JS is active (html.js). If scripting fails or the scroll
   observer never fires (a known iOS Safari fragility), content stays visible
   instead of blank. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.06s; }
.reveal.d2 { transition-delay: 0.12s; }
.reveal.d3 { transition-delay: 0.18s; }
.reveal.d4 { transition-delay: 0.24s; }

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal, .js .reveal { opacity: 1; transform: none; }
}

/* ── Responsive ───────────────────────────────────────────────────────── */
/* Below the desktop layout the hero stacks and the in-page nav links no
   longer fit beside the brand + CTA, so the nav condenses to brand + action. */
@media (max-width: 940px) {
  .nav-links { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-inner { padding-top: 56px; padding-bottom: 60px; }
  .console { max-width: 460px; }
  .guide { grid-template-columns: 1fr; gap: 36px; }
  .success { grid-template-columns: 1fr; gap: 32px; }
  .diptych { grid-template-columns: 1fr; }
  .diptych::before { display: none; }
  .pipeline { grid-template-columns: 1fr 1fr; gap: 8px 20px; }
  .pstep { padding-top: 26px; }
  .pstep::before { display: none; }
  .fgrid { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .stakes-grid { grid-template-columns: 1fr; }
  .stakes-stats { grid-template-columns: 1fr 1fr; }
  .plan-steps { grid-template-columns: 1fr; gap: 30px; }
  .plan-steps::before { display: none; }
  .vgrid { grid-template-columns: 1fr; gap: 18px; }
  .vband { padding: 42px 32px; }
}
/* iPad / tablet (portrait): the desktop hero stacks for width, but these
   sections shouldn't collapse all the way to one column — that wastes the
   tablet's width and turns short cards into full-width strips. Keep them
   multi-column down to the phone breakpoint. */
@media (min-width: 768px) and (max-width: 940px) {
  .stakes-grid { grid-template-columns: repeat(3, 1fr); }
  .vgrid { grid-template-columns: repeat(3, 1fr); }
  .pipeline { grid-template-columns: repeat(3, 1fr); }
  .plan-steps { grid-template-columns: repeat(3, 1fr); }
  .plan-steps::before { display: block; }
  .diptych { grid-template-columns: 1fr 1fr; }
  .diptych::before { display: block; }
}
@media (max-width: 620px) {
  .wrap { padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
  .section { padding: 60px 0; }
  .fgrid, .pipeline, .trust-grid, .stakes-stats { grid-template-columns: 1fr; }
  .hero-stats { gap: 22px 26px; }
  /* Condense the sticky nav so brand + CTA always fit on a phone. */
  .nav-env { display: none; }
  .nav .btn-primary { padding: 9px 15px; font-size: 13px; }
  .nav-inner { gap: 12px; }
  .brand-logo { height: 20px; }
  /* Ease the dense card paddings for narrow screens. */
  .auth-card { padding: 28px 22px; }
  .shadow-callout { padding: 26px 22px; }
  .cta { padding: 48px 22px; }
  .vband { padding: 34px 22px; }
  .footer-inner { gap: 12px; }
  .footer-links { margin-left: 0; flex-basis: 100%; }
}
@media (max-width: 400px) {
  .wrap { padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
  .nav-inner { gap: 10px; }
  .nav .btn-primary { padding: 8px 13px; }
  .nav .btn-primary .arrow { display: none; }
  .brand-name { font-size: 16px; }
  .brand-logo { height: 18px; }
  .hero-eyebrow .kicker { letter-spacing: 0.1em; font-size: 10px; }
  .hero-stats { gap: 20px; }
}

/* ── Verticals — clickable selectors that drive the detail card below ──── */
.vert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.vcard {
  display: block; width: 100%; text-align: left; font: inherit; cursor: pointer; position: relative;
  border: 1px solid var(--border); border-top: 3px solid var(--vc, var(--blue));
  border-radius: 13px; padding: 22px 20px 20px; background: var(--panel); box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease), box-shadow 0.2s, border-color 0.2s; color: inherit;
}
.vcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.vcard:focus-visible { outline: 2px solid var(--vc, var(--blue)); outline-offset: 3px; }
.vcard[aria-selected="true"] {
  border-color: var(--vc, var(--blue)); box-shadow: var(--shadow); transform: translateY(-2px);
}
.vc-ey { display: block; font-family: var(--font-title); font-size: 16px; font-weight: 600; color: var(--fg); margin-bottom: 12px; }
.vcard p { font-size: 13px; color: var(--muted); line-height: 1.55; }
.deep-tag.amber { background: rgba(196, 121, 20, 0.1); color: var(--amber); }
.vband[hidden] { display: none; }
/* Pull the detail card up close to the selectors that drive it. */
#verticals { padding-bottom: 30px; }
#vertical { padding-top: 10px; }

/* ── About page ────────────────────────────────────────────────────────── */
.page-hero { padding: 76px 0 38px; }
.page-hero h1 { font-family: var(--font-title); font-weight: 600; font-size: clamp(34px, 4.4vw, 52px); letter-spacing: -0.02em; line-height: 1.06; color: var(--fg); margin: 14px 0 16px; max-width: 20ch; }
.page-hero p { font-size: clamp(15px, 1.5vw, 18px); color: var(--muted); max-width: 640px; line-height: 1.62; }
.about-facts { display: flex; gap: 36px; flex-wrap: wrap; margin-top: 32px; }
.about-fact b { font-family: var(--font-title); font-size: 22px; font-weight: 600; color: var(--blue); display: block; line-height: 1; }
.about-fact span { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); margin-top: 7px; display: block; }
.founders { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.founder { border: 1px solid var(--border); border-radius: 14px; padding: 26px 24px; background: var(--panel); box-shadow: var(--shadow-sm); }
.founder.placeholder { opacity: 0.74; }
.founder-top { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.f-avatar { width: 54px; height: 54px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; font-family: var(--font-title); font-weight: 600; font-size: 21px; }
.founder h3 { font-family: var(--font-title); font-size: 19px; font-weight: 600; color: var(--fg); }
.founder .role { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--violet); margin-top: 3px; }
.founder .bio { font-size: 13.5px; color: var(--muted); line-height: 1.62; }
.founder .bio b { color: var(--fg); font-weight: 600; }
.founder .soon { font-family: var(--font-mono); font-size: 11px; color: var(--faint); }
@media (max-width: 900px) { .vert-grid { grid-template-columns: 1fr 1fr; } .founders { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .vert-grid { grid-template-columns: 1fr; } }

/* ── Request-access modal ──────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000; display: none;
  align-items: flex-start; justify-content: center; padding: 5vh 16px;
  background: rgba(10, 20, 36, 0.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  overflow-y: auto;
}
.modal-overlay.open { display: flex; }
.modal {
  position: relative; width: 100%; max-width: 540px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-lg);
  padding: 32px 32px 28px; animation: modalIn 0.22s var(--ease) both;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(10px) scale(0.98); } to { opacity: 1; transform: none; } }
.modal-x {
  position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; border-radius: 8px;
  border: 1px solid var(--border); background: var(--surface); color: var(--muted);
  font-size: 19px; line-height: 1; cursor: pointer; transition: all 0.15s var(--ease);
}
.modal-x:hover { color: var(--fg); border-color: rgba(var(--blue-rgb), 0.4); }
.modal h2 { font-family: var(--font-title); font-size: 24px; font-weight: 600; color: var(--fg); margin-bottom: 6px; }
.modal-sub { font-size: 14px; color: var(--muted); margin-bottom: 22px; max-width: 42ch; }
#demoForm { display: flex; flex-direction: column; gap: 15px; }
.mf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mf { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.mf .req { color: var(--red); }
.mf input, .mf textarea {
  display: block; margin-top: 7px; width: 100%;
  font-family: var(--font-body); font-size: 14.5px; text-transform: none; letter-spacing: normal;
  color: var(--fg); background: var(--bg); border: 1px solid var(--border); border-radius: 9px;
  padding: 11px 13px; outline: none; transition: border-color 0.15s;
}
.mf input:focus, .mf textarea:focus { border-color: rgba(var(--blue-rgb), 0.5); }
.mf input::placeholder, .mf textarea::placeholder { color: var(--faint); }
.mf textarea { resize: vertical; min-height: 76px; }
.mf-spam { background: var(--bg-2); border: 1px solid var(--border); border-radius: 10px; padding: 14px 15px; }
.mf-spam .mf input { max-width: 150px; }
.mf-spam b { color: var(--fg); }
.modal-submit { justify-content: center; margin-top: 4px; }
.modal-note { font-family: var(--font-mono); font-size: 11px; color: var(--faint); text-align: center; min-height: 16px; }
@media (max-width: 480px) { .mf-row { grid-template-columns: 1fr; } .modal { padding: 26px 20px 22px; } }
