/* =====================================================================
   Veranox Systems / GradiumOS — public site design system
   v2 · 2026-06-13 · "The Verified Artifact"
   Deep-navy registry canvas · gold as official mark only · Inter only
   (system mono for machine-readable data) · module accents quarantined.
   Plain CSS, no build step. Loaded under CSP script-src 'self'.
   ===================================================================== */

/* ── Self-hosted Inter (variable, latin) — no external font origin ──── */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter-latin.woff2') format('woff2');
  /* latin range only — matches the subset we self-host */
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── Self-hosted Space Grotesk (variable, latin) — display headlines ── */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/space-grotesk-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC,
    U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── Design tokens ──────────────────────────────────────────────────── */
:root {
  /* Veranox parent palette */
  --navy: #0F1F3D;
  --navy-raised: #16294D;
  --navy-deep: #060B14;
  --gold: #F59E0B;
  --gold-bright: #FBBF24;
  --slate: #475569;
  --slate-light: #9FB0CC;
  --silver: #F1F5F9;
  --ink: #0F172A;
  --white: #FFFFFF;

  /* Module accents (quarantined per scope) */
  --campus: #86198F;
  --workforce: #1E4DA1;
  --talent: #0B7165;
  --gos-teal: #5EEAD4;       /* GradiumOS sub-brand highlight */

  /* Verdict semantics (functional only — never brand decoration) */
  --valid: #16A34A;
  --valid-bright: #4ADE80;
  --invalid: #DC2626;
  /* amber in-flight === gold, used transiently only */

  /* Text on dark */
  --on-dark: #E7EDF7;
  --on-dark-muted: #9FB0CC;
  --on-dark-faint: #8294B0;  /* WCAG AA on navy surfaces */

  /* Measured-data accent — distinct from gold (official mark) and the
     green/red verdict colours. Used for the score dial + cluster bars. */
  --score: #5EEAD4;
  /* Text on light */
  --on-light: var(--ink);
  --on-light-muted: var(--slate);

  /* Type */
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --mono: ui-monospace, 'Cascadia Code', 'SFMono-Regular', Consolas, monospace;

  /* Spacing scale (8px base) */
  --s1: 8px;  --s2: 16px; --s3: 24px; --s4: 32px;
  --s5: 48px; --s6: 64px; --s7: 96px;

  /* Radius */
  --r-card: 18px;
  --r-btn: 10px;
  --r-pill: 999px;

  /* Layout */
  --container: 1120px;
  --gutter: 20px;

  /* Depth */
  --shadow-card: 0 14px 22px rgba(6, 11, 20, 0.45);
  --shadow-light: 0 10px 30px rgba(15, 31, 61, 0.10);
  --shadow-cta: 0 14px 34px rgba(245, 158, 11, 0.30);

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

@media (min-width: 720px) { :root { --gutter: 32px; } }

/* ── Reset / base ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--on-dark);
  background: var(--navy-deep);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
::selection { background: var(--gold); color: var(--navy-deep); }

:focus-visible {
  outline: 3px solid var(--gold-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: 50%; top: -60px; transform: translateX(-50%);
  z-index: 200; background: var(--gold); color: var(--navy-deep);
  font-weight: 700; padding: 10px 18px; border-radius: 0 0 10px 10px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; }

.container {
  width: 100%; max-width: var(--container);
  margin-inline: auto; padding-inline: var(--gutter);
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ── Surfaces (the shared gold top-rule unifies every page) ─────────── */
body::before {
  content: ''; position: fixed; inset: 0 0 auto 0; height: 4px; z-index: 100;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold) 30%, rgba(245,158,11,0) 92%);
  background-size: 200% 100%;
  animation: railShimmer 9s linear infinite;
}
@keyframes railShimmer { to { background-position: -200% 0; } }

/* film grain — a fixed, faint crafted texture over the whole surface */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.zone-dark {
  background: var(--navy);
  color: var(--on-dark);
}
.zone-light {
  background: var(--silver);
  color: var(--on-light);
  position: relative;
}
/* soft seam: faint navy fade at top & bottom edges so dark↔light isn't a hard cut */
.zone-light::after {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(15,31,61,0.06), transparent 11%, transparent 89%, rgba(15,31,61,0.06));
}
.zone-light > .container { position: relative; z-index: 1; }
.zone-light .eyebrow { color: var(--slate); }
.zone-light .lede { color: var(--slate); }

/* a faint registry-ledger grid behind dark sections (CSS only) */
.ledger {
  background-image:
    linear-gradient(rgba(159,176,204,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(159,176,204,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
}

section { padding-block: clamp(40px, 9vw, 124px); }
.section-tight { padding-block: clamp(32px, 7vw, 84px); }

/* ── Typography helpers ─────────────────────────────────────────────── */
h1, h2, h3 { font-family: var(--display); line-height: 1.08; letter-spacing: -0.015em; font-weight: 700; }
.display {
  font-family: var(--display);
  font-size: clamp(2.1rem, 6.2vw, 3.9rem); font-weight: 700;
  letter-spacing: -0.018em; line-height: 1.03;
}
h2.section-title { font-size: clamp(1.7rem, 4.2vw, 2.85rem); letter-spacing: -0.018em; }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.4rem); letter-spacing: -0.01em; }

.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.18em; color: var(--on-dark-muted);
}
.lede {
  font-size: clamp(1.02rem, 1.6vw, 1.18rem); line-height: 1.6;
  color: var(--on-dark-muted); max-width: 62ch;
}
.measure { max-width: 64ch; }
.gold-text { color: var(--gold); }
.mono { font-family: var(--mono); font-feature-settings: 'ss01'; }

/* ── Header / nav (always navy — consistent chrome on every page) ───── */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(8, 14, 26, 0.82);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s3); min-height: 64px;
}
.brand-lockup { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-lockup img { height: 31px; width: auto; margin-left: -3px; }
.brand-lockup .powered {
  font-size: 10px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--on-dark-muted);
  border-left: 1px solid rgba(255,255,255,0.14); padding-left: 10px; line-height: 1.25;
  max-width: 92px;
}
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  text-decoration: none; font-size: 14.5px; font-weight: 600;
  color: var(--on-dark-muted); padding: 10px 14px; border-radius: 8px;
  min-height: 44px; display: inline-flex; align-items: center;
  transition: color .2s, background .2s;
}
.nav-links a:not(.btn):hover { color: var(--white); background: rgba(255,255,255,0.06); }
.nav-links a[aria-current="page"]:not(.btn) { color: var(--white); }
/* the nav CTA is a button — keep its own colours, not the muted nav-link colour */
.nav-links a.btn-primary { color: var(--navy-deep); background: linear-gradient(180deg, var(--gold-bright), var(--gold)); }
.nav-links a.btn-primary:hover { color: var(--navy-deep); background: linear-gradient(180deg, var(--gold-bright), var(--gold)); }
.nav-links a[aria-current="page"]::after {
  content: ''; display: block; position: absolute;
}

.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.18); color: var(--on-dark);
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; stroke: currentColor; }

/* ── Buttons ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-size: 15.5px; font-weight: 700; text-decoration: none;
  min-height: 48px; padding: 0 24px; border-radius: var(--r-btn);
  transition: transform .22s var(--ease), box-shadow .22s, background .2s, border-color .2s, color .2s;
  white-space: nowrap;
}
.btn .arr { transition: transform .22s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

.btn-primary {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: var(--navy-deep); box-shadow: var(--shadow-cta);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 46px rgba(245,158,11,0.42); }

.btn-ghost {
  background: rgba(255,255,255,0.03);
  border: 1.5px solid rgba(245, 158, 11, 0.55); color: var(--gold-bright);
}
.btn-ghost:hover { border-color: var(--gold); background: rgba(245,158,11,0.10); }

.zone-light .btn-ghost { color: #B45309; border-color: rgba(180,83,9,0.45); background: rgba(245,158,11,0.06); }
.zone-light .btn-ghost:hover { background: rgba(245,158,11,0.12); border-color: var(--gold); }

.btn-pill { border-radius: var(--r-pill); padding: 0 20px; min-height: 44px; font-size: 14.5px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ── Chips / seals ──────────────────────────────────────────────────── */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; padding: 7px 13px;
  border-radius: var(--r-pill); border: 1px solid transparent;
}
.chip .dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }

.honesty-seal {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12.5px; font-weight: 600; color: var(--on-dark-muted);
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12);
  padding: 8px 15px; border-radius: var(--r-pill);
}
.honesty-seal .gauge { width: 16px; height: 16px; flex: none; }
.zone-light .honesty-seal { color: var(--slate); background: #fff; border-color: rgba(15,31,61,0.12); box-shadow: var(--shadow-light); }

/* ── The GradiumOS Signal card (THE motif — always dark) ────────────── */
.signal-card {
  position: relative; width: 100%; max-width: 460px;
  background: linear-gradient(135deg, var(--navy-raised) 0%, var(--navy) 55%, var(--navy-deep) 100%);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  color: var(--on-dark);
}
.signal-card::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--gold), rgba(245,158,11,0));
  transform: scaleX(0); transform-origin: left;
  transition: transform .6s var(--ease);
}
.signal-card.is-verified::before,
.signal-card.is-final::before { transform: scaleX(1); }

.signal-pad { padding: 18px 20px 16px; }

.signal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px 14px; flex-wrap: wrap; }
.signal-id { display: flex; gap: 12px; align-items: flex-start; min-width: 0; flex: 1 1 auto; }
.signal-id .meta { min-width: 0; }
.signal-id .mark { width: 38px; height: 38px; flex: none; }
.verify-chip { margin-left: auto; }
.signal-id .meta .k {
  font-family: var(--mono); font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.16em; color: var(--on-dark-muted);
}
.signal-id .meta .holder { font-size: 15px; font-weight: 800; color: var(--white); margin-top: 2px; }
.signal-id .meta .track { font-size: 11.5px; color: var(--on-dark-faint); margin-top: 1px; }

/* status chip — amber → green/red */
.verify-chip {
  display: inline-flex; align-items: center; gap: 7px; flex: none;
  font-size: 11.5px; font-weight: 700; padding: 6px 11px; border-radius: var(--r-pill);
  border: 1px solid rgba(245,158,11,0.4); color: var(--gold-bright);
  background: rgba(245,158,11,0.10); text-decoration: none;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.verify-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-bright); flex: none; }
.verify-chip .label { white-space: nowrap; }
.verify-chip.is-loading .dot { animation: pulse 1.2s ease-in-out infinite; }
.verify-chip.is-valid {
  color: var(--valid-bright); border-color: rgba(22,163,74,0.55); background: rgba(22,163,74,0.14);
}
.verify-chip.is-valid .dot { background: var(--valid-bright); animation: none; }
.verify-chip.is-invalid {
  color: #FCA5A5; border-color: rgba(220,38,38,0.55); background: rgba(220,38,38,0.14);
}
.verify-chip.is-invalid .dot { background: var(--invalid); animation: none; }
.verify-chip.is-idle { cursor: default; }

@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

/* readiness dial — clean progress ring, number centred */
.dial { position: relative; width: 84px; height: 84px; flex: none; }
.dial svg { width: 84px; height: 84px; transform: rotate(-90deg); }
.dial .track { stroke: rgba(244,246,250,0.10); }
.dial .fill {
  stroke: var(--score); stroke-linecap: round;
  stroke-dasharray: 0 999;
  transition: stroke-dasharray 1.1s var(--ease);
}
.dial .val { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; }
.dial .val b { font-size: 23px; font-weight: 800; color: var(--white); line-height: 1; letter-spacing: -0.02em; }
.dial .val span { font-size: 6.5px; font-weight: 700; letter-spacing: 0.08em; color: var(--on-dark-muted); }

.signal-scoreRow { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 12px; }
.signal-scoreRow .summary { min-width: 0; }
.signal-scoreRow .summary .lab { font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-faint); }
.signal-scoreRow .summary .num { font-size: 26px; font-weight: 800; color: var(--white); }
.signal-scoreRow .summary .num small { font-size: 14px; color: var(--on-dark-muted); font-weight: 600; }

/* cluster bars — single line: short key | bar | score */
.clusters { display: grid; gap: 7px; margin-top: 12px; }
.cluster { display: grid; grid-template-columns: 86px 1fr 28px; align-items: center; gap: 10px; }
.cluster .name { font-size: 11px; font-weight: 600; color: var(--on-dark-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cluster .bar { height: 6px; border-radius: 3px; background: rgba(244,246,250,0.10); overflow: hidden; }
.cluster .bar > i { display: block; height: 100%; border-radius: 3px; background: var(--score); width: 0; transition: width .8s var(--ease); }
/* issuance choreography — the eight clusters tally in one-by-one as the Signal verifies */
.cluster:nth-child(1) .bar > i { transition-delay: .15s; }
.cluster:nth-child(2) .bar > i { transition-delay: .23s; }
.cluster:nth-child(3) .bar > i { transition-delay: .31s; }
.cluster:nth-child(4) .bar > i { transition-delay: .39s; }
.cluster:nth-child(5) .bar > i { transition-delay: .47s; }
.cluster:nth-child(6) .bar > i { transition-delay: .55s; }
.cluster:nth-child(7) .bar > i { transition-delay: .63s; }
.cluster:nth-child(8) .bar > i { transition-delay: .71s; }
.cluster .score { font-family: var(--mono); font-size: 11px; font-weight: 700; color: var(--white); text-align: right; }

/* GOS code strip */
.gos-strip {
  margin-top: 13px; padding: 10px 14px; border-radius: 10px;
  background: rgba(245,158,11,0.08); border: 1px solid rgba(245,158,11,0.35);
}
.gos-strip .lab { font-size: 8.5px; font-weight: 700; letter-spacing: 0.18em; color: var(--on-dark-muted); }
.gos-strip .code { font-family: var(--mono); font-size: clamp(12px, 3.4vw, 15px); font-weight: 600; letter-spacing: 0.04em; color: var(--gold); margin-top: 3px; word-break: break-all; }

/* signature row */
.sig-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 13px; padding-top: 11px; border-top: 1px solid rgba(255,255,255,0.08); }
.sig-row .sig-ok { display: flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 700; color: var(--on-dark); }
.sig-row .sig-ok .tick { width: 16px; height: 16px; border-radius: 50%; background: var(--valid); display: grid; place-items: center; flex: none; opacity: 0; transition: opacity .3s var(--ease) .2s; }
.signal-card.is-verified .sig-row .sig-ok .tick { opacity: 1; }
.sig-row .sig-ok .tick svg { width: 10px; height: 10px; stroke: #fff; }
.sig-row .dates { font-family: var(--mono); font-size: 9.5px; color: var(--on-dark-faint); text-align: right; }

/* ── Hero ───────────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  display: flex; align-items: center;
  min-height: calc(100svh - 65px); /* fill the viewport below the sticky header */
  padding-block: clamp(20px, 3.2vh, 56px);
}
.hero > .container { width: 100%; }
.hero-canvas { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; opacity: 0.55; pointer-events: none; }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 60% at 72% 18%, rgba(245,158,11,0.10), transparent 60%),
    radial-gradient(60% 70% at 12% 90%, rgba(30,77,161,0.16), transparent 62%);
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; gap: clamp(28px, 5vw, 56px); align-items: center; }
.hero-grid > * { min-width: 0; } /* allow grid items to shrink below content min-size */
@media (min-width: 940px) { .hero-grid { grid-template-columns: 1fr 0.9fr; } }

/* product lockup — brings GradiumOS out under the Veranox parent */
.product-lockup { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.product-lockup .pl-logo { height: 27px; width: auto; }
.product-lockup .pl-powered { font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-muted); border-left: 1px solid rgba(255,255,255,0.18); padding-left: 12px; line-height: 1.3; }

.hero-copy .eyebrow { color: var(--on-dark-muted); margin-bottom: 14px; }
.hero-copy h1 { margin-bottom: 18px; }
.hero-copy .sub { font-size: clamp(1.02rem, 1.5vw, 1.18rem); color: var(--on-dark-muted); max-width: 56ch; margin-bottom: 14px; }
.hero-copy .honesty-line { font-size: 13px; color: var(--on-dark-faint); margin-bottom: 24px; display: flex; align-items: center; gap: 8px; }
.hero-copy .honesty-line .gauge { width: 15px; height: 15px; flex: none; }
.hero-stage { display: flex; flex-direction: column; align-items: center; }
@media (min-width: 940px) { .hero-stage { align-items: flex-end; } }
.card-note { font-size: 11.5px; line-height: 1.5; color: var(--on-dark-faint); margin-top: 12px; max-width: 460px; text-align: center; }
@media (min-width: 940px) { .card-note { text-align: right; } }

/* ── Section heading block ──────────────────────────────────────────── */
.sec-head { max-width: 64ch; margin-bottom: clamp(28px, 4vw, 44px); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head .eyebrow { margin-bottom: 12px; }
.sec-head h2 { margin-bottom: 12px; }

/* convergence diagram — scrolls rather than shrinking illegibly on phones */
.diagram-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; text-align: center; margin-top: 8px; padding-bottom: 4px; }

/* divider with gauge-G */
.rule-g { display: flex; align-items: center; gap: 16px; opacity: 0.6; }
.rule-g::before, .rule-g::after { content: ''; height: 1px; flex: 1; background: currentColor; opacity: 0.18; }
.rule-g svg { width: 20px; height: 20px; flex: none; }

/* ── Flywheel band ──────────────────────────────────────────────────── */
.flywheel-band { text-align: center; }
/* animated loop: static SVG + a slow dashed ring + a gold radar sweep */
.loop { position: relative; width: min(440px, 84vw); aspect-ratio: 1; margin: 8px auto 0; display: grid; place-items: center; }
.loop img { width: 100%; height: auto; position: relative; z-index: 2; }
.loop-ring, .loop-sweep { position: absolute; inset: 14%; border-radius: 50%; z-index: 1; pointer-events: none; }
.loop-ring { border: 1.5px dashed rgba(245, 158, 11, 0.26); animation: spin 80s linear infinite; }
.loop-sweep {
  background: conic-gradient(from 0deg, rgba(245,158,11,0) 0 70%, rgba(245,158,11,0.22) 88%, rgba(245,158,11,0) 100%);
  -webkit-mask: radial-gradient(closest-side, transparent 80%, #000 81%);
          mask: radial-gradient(closest-side, transparent 80%, #000 81%);
  animation: spin 8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Statement band — one editorial line, lots of air ───────────────── */
.statement { text-align: center; }
.statement .statement-line {
  font-family: var(--display);
  max-width: 20ch; margin-inline: auto;
  font-size: clamp(1.7rem, 4.6vw, 3rem); font-weight: 700;
  letter-spacing: -0.018em; line-height: 1.12; color: var(--on-dark);
}
.statement .statement-line .muted { color: var(--on-dark-faint); }
.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 28px; }
@media (min-width: 760px) { .pillars { grid-template-columns: repeat(4, 1fr); } }
.pillar { position: relative; text-align: left; padding: 16px 16px 18px; border-radius: 14px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.09); }
/* signature: a gold highlight cycles around the four pillars, mirroring the loop turning */
.pillar::after { content: ''; position: absolute; inset: 0; border-radius: 14px; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(245,158,11,0.5); opacity: 0; animation: pillarCycle 8s ease-in-out infinite; }
.pillar:nth-child(2)::after { animation-delay: 2s; }
.pillar:nth-child(3)::after { animation-delay: 4s; }
.pillar:nth-child(4)::after { animation-delay: 6s; }
@keyframes pillarCycle { 0%, 100% { opacity: 0; } 5%, 14% { opacity: 0.85; } 25% { opacity: 0; } }
.zone-light .pillar { background: #fff; border-color: rgba(15,31,61,0.10); box-shadow: var(--shadow-light); }
.pillar .num { font-family: var(--mono); font-size: 11px; font-weight: 700; color: var(--gold); letter-spacing: 0.1em; }
.pillar h3 { font-size: 1.02rem; margin: 6px 0 6px; }
.pillar p { font-size: 13.5px; color: var(--on-dark-muted); }
.zone-light .pillar p { color: var(--slate); }

/* ── Portal cards (module accents quarantined here) ─────────────────── */
.portals { display: grid; gap: 18px; }
@media (min-width: 760px) { .portals { grid-template-columns: repeat(3, 1fr); } }
.portal-card {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  padding: 24px 22px 22px; border-radius: var(--r-card);
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.10);
  text-decoration: none; color: inherit; overflow: hidden;
  transition: transform .22s var(--ease), border-color .22s, background .22s;
}
.zone-light .portal-card { background: #fff; border-color: rgba(15,31,61,0.10); box-shadow: var(--shadow-light); }
.portal-card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--accent, var(--gold)); }
.portal-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 60%, transparent); }
.portal-card .p-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.portal-card .p-icon { width: 28px; height: 28px; color: var(--accent); }
.portal-card h3 { font-size: 1.2rem; }
.portal-card p { font-size: 14px; color: var(--on-dark-muted); flex: 1; }
.zone-light .portal-card p { color: var(--slate); }
.portal-card .p-link { font-size: 13.5px; font-weight: 700; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; }
.portal-card.campus { --accent: #B843C4; }   /* lifted toward accessible contrast on dark */
.portal-card.workforce { --accent: #5B8DE6; }
.portal-card.talent { --accent: var(--gos-teal); }
.zone-light .portal-card.campus { --accent: var(--campus); }
.zone-light .portal-card.workforce { --accent: var(--workforce); }
.zone-light .portal-card.talent { --accent: var(--talent); }

/* ── Stats ledger ───────────────────────────────────────────────────── */
.ledger-card { border-radius: var(--r-card); border: 1px solid rgba(255,255,255,0.10); background: rgba(255,255,255,0.03); padding: clamp(20px,3vw,30px); }
.zone-light .ledger-card { background: #fff; border-color: rgba(15,31,61,0.10); box-shadow: var(--shadow-light); }
.ledger-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 16px; }
@media (min-width: 620px) { .ledger-grid { grid-template-columns: repeat(4, 1fr); } }
.stat .num { font-family: var(--mono); font-size: clamp(1.5rem, 3.4vw, 2rem); font-weight: 700; color: var(--white); letter-spacing: -0.01em; }
.zone-light .stat .num { color: var(--ink); }
.stat .lab { font-size: 12px; color: var(--on-dark-muted); margin-top: 2px; }
.zone-light .stat .lab { color: var(--slate); }
.ledger-note { font-size: 12px; color: var(--on-dark-faint); margin-top: 18px; display: flex; align-items: center; gap: 8px; }
.zone-light .ledger-note { color: var(--slate); }

/* ── Demo / Full split ──────────────────────────────────────────────── */
.doors { display: grid; gap: 18px; }
@media (min-width: 760px) { .doors { grid-template-columns: 1.05fr 0.95fr; } }
.door { border-radius: var(--r-card); padding: clamp(22px,3vw,30px); }
.door-demo { background: linear-gradient(160deg, rgba(245,158,11,0.10), rgba(245,158,11,0.02)); border: 1px solid rgba(245,158,11,0.34); }
.door-full { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.12); }
.zone-light .door-full { background: #fff; border-color: rgba(15,31,61,0.10); box-shadow: var(--shadow-light); }
.door .d-tag { font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.door-demo .d-tag { color: var(--gold-bright); }
.door-full .d-tag { color: var(--on-dark-muted); }
.zone-light .door-full .d-tag { color: var(--slate); }
.door h3 { font-size: 1.3rem; margin: 8px 0 6px; }
.door p { font-size: 14px; color: var(--on-dark-muted); margin-bottom: 18px; }
.zone-light .door-full p { color: var(--slate); }
.door-links { display: flex; flex-wrap: wrap; gap: 10px; }
.door-link {
  display: inline-flex; align-items: center; gap: 7px; text-decoration: none;
  font-size: 13.5px; font-weight: 700; min-height: 44px; padding: 0 16px; border-radius: 10px;
  transition: transform .2s var(--ease), filter .2s;
}
.door-link:hover { transform: translateY(-2px); filter: brightness(1.08); }
.door-link.campus { background: var(--campus); color: #fff; }
.door-link.workforce { background: var(--workforce); color: #fff; }
.door-link.talent { background: var(--talent); color: #fff; }
.door-link.ghost { background: transparent; border: 1.5px solid rgba(255,255,255,0.22); color: var(--on-dark); }
.zone-light .door-link.ghost { border-color: rgba(15,31,61,0.2); color: var(--ink); }

/* ── Generic content cards / feature grid ───────────────────────────── */
.cards { display: grid; gap: 18px; }
.cards > * { min-width: 0; } /* let grid tracks shrink below content min-size */
.cards.cols-2 { grid-template-columns: 1fr; }
.cards.cols-3 { grid-template-columns: 1fr; }
@media (min-width: 720px) { .cards.cols-2 { grid-template-columns: repeat(2,1fr); } .cards.cols-3 { grid-template-columns: repeat(3,1fr); } }
.card {
  border-radius: var(--r-card); padding: 22px; min-width: 0;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.10);
}
.zone-light .card { background: #fff; border-color: rgba(15,31,61,0.10); box-shadow: var(--shadow-light); }
.card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.card p { font-size: 14.5px; color: var(--on-dark-muted); }
.zone-light .card p { color: var(--slate); }
.card .c-num { font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--gold); letter-spacing: 0.08em; }

/* cluster legend (product page) */
.cluster-legend { display: grid; gap: 12px; }
@media (min-width: 640px) { .cluster-legend { grid-template-columns: repeat(2,1fr); gap: 12px 28px; } }
.cl-item { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(15,31,61,0.08); }
.zone-dark .cl-item { border-color: rgba(255,255,255,0.08); }
.cl-item .cl-key { font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--gold); }
.cl-item .cl-name { font-size: 14.5px; font-weight: 600; }
.cl-item .cl-score { font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--slate); }
.zone-dark .cl-item .cl-score { color: var(--on-dark-muted); }

/* stepper (signal lifecycle) */
.stepper { display: grid; gap: 14px; counter-reset: step; }
@media (min-width: 760px) { .stepper { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding: 18px 18px 18px; border-radius: 14px; background: #fff; border: 1px solid rgba(15,31,61,0.10); box-shadow: var(--shadow-light); }
.zone-dark .step { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.10); box-shadow: none; }
.step .s-n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--navy-deep); background: var(--gold); margin-bottom: 10px; }
.step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; letter-spacing: -0.01em; }
.step p { font-size: 13px; color: var(--slate); }
.zone-dark .step p { color: var(--on-dark-muted); }

/* comparison table */
.cmp { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.cmp th, .cmp td { text-align: left; padding: 13px 14px; border-bottom: 1px solid rgba(15,31,61,0.10); vertical-align: top; }
.zone-dark .cmp th, .zone-dark .cmp td { border-color: rgba(255,255,255,0.08); }
.cmp thead th { font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--slate); font-weight: 700; }
.zone-dark .cmp thead th { color: var(--on-dark-muted); }
.cmp td:first-child { font-weight: 600; }
.cmp-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 12px; }

/* exploded card annotations */
.exploded { display: grid; gap: 24px; align-items: center; }
.exploded > * { min-width: 0; }
@media (min-width: 880px) { .exploded { grid-template-columns: 0.95fr 1.05fr; } }
.annot { display: grid; gap: 12px; }
.annot li { list-style: none; display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; }
.annot .a-key { font-family: var(--mono); font-size: 11px; font-weight: 700; color: var(--gold); border: 1px solid rgba(245,158,11,0.4); border-radius: 6px; padding: 3px 7px; white-space: nowrap; }
.annot .a-txt b { font-weight: 700; }
.annot .a-txt { font-size: 14px; color: var(--slate); }
.zone-dark .annot .a-txt { color: var(--on-dark-muted); }

/* ── Verify console (/verify) ───────────────────────────────────────── */
.console { max-width: 720px; margin-inline: auto; }
.console-input { display: flex; gap: 10px; flex-wrap: wrap; }
.console-input label { width: 100%; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 4px; }
.console-input .field { flex: 1 1 260px; min-width: 0; }
.console-input input {
  width: 100%; font-family: var(--mono); font-size: 16px; letter-spacing: 0.03em;
  color: var(--white); background: rgba(8,14,26,0.6); border: 1px solid rgba(245,158,11,0.35);
  border-radius: 10px; padding: 0 14px; min-height: 52px;
}
/* 16px is the iOS Safari no-auto-zoom floor; restore the tighter desktop size once
   the viewport is wide enough that zoom-on-focus can't happen anyway. */
@media (min-width: 768px) { .console-input input { font-size: 15px; } }
.console-input input:focus-visible { border-color: var(--gold); outline-offset: 2px; }
.console-input .btn { min-height: 52px; }
.console-hint { font-size: 12px; color: var(--on-dark-faint); margin-top: 8px; }

.result-panel { margin-top: 22px; border-radius: var(--r-card); border: 1px solid rgba(255,255,255,0.10); background: rgba(255,255,255,0.03); overflow: hidden; min-height: 120px; }
.result-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 1px solid rgba(255,255,255,0.08); flex-wrap: wrap; }
.result-verdict { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; font-weight: 800; }
.result-verdict .seal { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.result-verdict.valid { color: var(--valid-bright); }
.result-verdict.valid .seal { background: var(--valid); }
.result-verdict.invalid { color: #FCA5A5; }
.result-verdict.invalid .seal { background: var(--invalid); }
.result-verdict.pending { color: var(--gold-bright); }
.result-verdict.pending .seal { background: rgba(245,158,11,0.25); }
.result-verdict .seal svg { width: 15px; height: 15px; stroke: #fff; }
.result-body { padding: 18px; display: grid; gap: 18px; }
.kv { display: grid; grid-template-columns: 1fr; gap: 8px; }
@media (min-width: 520px) { .kv { grid-template-columns: repeat(2,1fr); } }
.kv .row { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.kv .row .k { color: var(--on-dark-muted); }
.kv .row .v { font-family: var(--mono); font-weight: 600; color: var(--white); text-align: right; word-break: break-all; }
.kv .row .v.green { color: var(--valid-bright); }
.kv .row .v.red { color: #FCA5A5; }

.note-box { font-size: 12.5px; color: var(--on-dark-muted); background: rgba(245,158,11,0.06); border: 1px solid rgba(245,158,11,0.22); border-radius: 10px; padding: 12px 14px; }
.note-box b { color: var(--on-dark); }

details.raw { border-radius: 10px; border: 1px solid rgba(255,255,255,0.10); overflow: hidden; }
details.raw summary { cursor: pointer; padding: 12px 14px; font-size: 13px; font-weight: 700; color: var(--on-dark-muted); list-style: none; display: flex; align-items: center; gap: 8px; }
details.raw summary::-webkit-details-marker { display: none; }
details.raw summary::before { content: '▸'; color: var(--gold); transition: transform .2s; }
details.raw[open] summary::before { transform: rotate(90deg); }
details.raw pre { margin: 0; padding: 0 14px 14px; overflow-x: auto; }
details.raw code, .code-block { font-family: var(--mono); font-size: 12.5px; line-height: 1.6; color: var(--gos-teal); }
.code-block { display: block; background: rgba(8,14,26,0.6); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; padding: 14px; overflow-x: auto; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--on-dark); }
.code-block .tok-key { color: var(--gold); }
.code-block .tok-str { color: var(--gos-teal); }
.code-block .tok-bool { color: var(--valid-bright); }

/* sample chooser buttons on /verify */
.samples { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.sample-btn { font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--on-dark-muted); border: 1px solid rgba(255,255,255,0.16); border-radius: 8px; padding: 8px 11px; min-height: 44px; display: inline-flex; align-items: center; transition: border-color .2s, color .2s; }
.sample-btn:hover { border-color: var(--gold); color: var(--gold-bright); }

/* ── Legal / prose ──────────────────────────────────────────────────── */
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.4rem; margin-top: 36px; margin-bottom: 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 14px; color: var(--slate); }
.zone-dark .prose p { color: var(--on-dark-muted); }
.prose ul { margin: 0 0 16px 20px; }
.prose li { margin-bottom: 8px; color: var(--slate); }
.zone-dark .prose li { color: var(--on-dark-muted); }
.prose a { color: #B45309; font-weight: 600; }
.zone-dark .prose a { color: var(--gold-bright); }

/* ── Footer (always navy) ───────────────────────────────────────────── */
.site-footer { background: var(--navy-deep); color: var(--on-dark-muted); border-top: 1px solid rgba(255,255,255,0.08); padding-block: clamp(40px,5vw,56px); }
.footer-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 30px; margin-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-cta .fc-copy h3 { font-size: clamp(1.3rem, 3vw, 1.7rem); color: var(--white); margin-bottom: 6px; }
.footer-cta .fc-copy p { font-size: 14px; }
.footer-cta .fc-actions { display: flex; flex-direction: column; gap: 10px; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; justify-content: space-between; }
.footer-grid .f-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-grid .f-brand img { height: 34px; width: auto; margin-left: -4px; }
.footer-meta { font-size: 12.5px; line-height: 1.7; }
.footer-meta a { color: var(--gold-bright); text-decoration: none; }
.footer-meta a:hover { text-decoration: underline; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13px; }
.footer-links a { color: var(--on-dark-muted); text-decoration: none; display: inline-block; padding: 6px 0; }
.footer-links a:hover { color: var(--white); }

/* ── Reveal-on-scroll (one-shot, transform/opacity only) ────────────── */
.reveal { opacity: 0; transform: translateY(8px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ── Responsive: mobile nav ─────────────────────────────────────────── */
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: rgba(8, 14, 26, 0.98); border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 12px var(--gutter) 18px;
    transform: translateY(-12px); opacity: 0; pointer-events: none; visibility: hidden;
    /* visibility is NOT transitioned: it flips to visible on the same tick the
       panel opens, so focus() into the first link succeeds (no transition race). */
    transition: opacity .2s var(--ease), transform .2s var(--ease);
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; visibility: visible; }
  .nav-links a { width: 100%; }
  .nav-links .btn { margin-top: 8px; }
}

/* ── Premium polish: ambient light, hover depth, sheen ──────────────── */

/* a slow neon light that drifts behind EVERY section, site-wide — subtle */
.ledger { position: relative; }
section.zone-dark, section.zone-light { position: relative; }
section.zone-dark > .container, section.zone-light > .container, .ledger > .container { position: relative; z-index: 1; }
/* dark sections (the hero has its own evidence-graph, so skip it) */
section.zone-dark:not(.hero)::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(34% 42% at 22% 30%, rgba(94, 234, 212, 0.13), transparent 68%),
    radial-gradient(40% 48% at 78% 64%, rgba(245, 158, 11, 0.10), transparent 68%),
    radial-gradient(38% 46% at 52% 96%, rgba(56, 138, 221, 0.12), transparent 68%);
  background-size: 200% 200%; background-repeat: no-repeat;
  animation: lightDrift 22s ease-in-out infinite alternate;
}
/* light sections — much fainter, teal/gold only */
section.zone-light::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(36% 44% at 24% 30%, rgba(11, 113, 101, 0.06), transparent 70%),
    radial-gradient(40% 46% at 78% 68%, rgba(245, 158, 11, 0.05), transparent 70%);
  background-size: 220% 220%; background-repeat: no-repeat;
  animation: lightDrift 26s ease-in-out infinite alternate;
}
@keyframes lightDrift {
  0%   { background-position: 0% 18%; }
  50%  { background-position: 70% 82%; }
  100% { background-position: 100% 28%; }
}

/* card / panel hover depth */
.card, .door, .portal-card { transition: transform .26s var(--ease), box-shadow .26s var(--ease), border-color .26s var(--ease); }
.zone-dark .card:hover { transform: translateY(-3px); border-color: rgba(245,158,11,0.30); box-shadow: 0 22px 52px rgba(6,11,20,0.55); }
.zone-light .card:hover { transform: translateY(-3px); box-shadow: 0 22px 46px rgba(15,31,61,0.16); }
.portal-card:hover { box-shadow: 0 20px 48px color-mix(in srgb, var(--accent) 24%, rgba(6,11,20,0.40)); }
.door-demo:hover { border-color: rgba(245,158,11,0.55); box-shadow: 0 22px 52px rgba(245,158,11,0.15); }

/* the Signal card — soft ambient glow + a gentle hover lift */
.signal-card { transition: transform .3s var(--ease), box-shadow .3s var(--ease); box-shadow: var(--shadow-card), 0 0 60px rgba(94,234,212,0.07); }
@media (hover: hover) and (pointer: fine) {
  .signal-card:hover { transform: translateY(-4px); box-shadow: 0 30px 66px rgba(6,11,20,0.62), 0 0 72px rgba(245,158,11,0.12); }
}
/* pointer-reactive glow — rewards inspecting the credential (desktop only) */
.card-glow {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit;
  opacity: 0; transition: opacity .3s var(--ease);
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(245,158,11,0.12), transparent 60%);
}
@media (hover: hover) and (pointer: fine) {
  .signal-card:hover .card-glow { opacity: 1; }
}

/* one-time light "scan" across the card the moment it verifies — proof made visible */
.signal-card::after {
  content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(115deg, transparent 38%, rgba(94,234,212,0.20) 50%, transparent 62%);
  transform: translateX(-130%); opacity: 0;
}
.signal-card.is-verified::after { animation: cardScan 1.15s var(--ease) 0.1s 1; }
@keyframes cardScan {
  0% { transform: translateX(-130%); opacity: 0; }
  18% { opacity: 1; }
  100% { transform: translateX(130%); opacity: 0; }
}

/* a one-shot light sheen across the primary CTA on hover */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: -70%; width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: skewX(-18deg); opacity: 0; pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover::after { animation: sheen .75s var(--ease); }
}
@keyframes sheen { 0% { left: -70%; opacity: 0; } 25% { opacity: 1; } 100% { left: 130%; opacity: 0; } }

/* sticky conversion dock — slides up once the hero scrolls away */
.cta-dock {
  position: fixed; left: 50%; bottom: max(16px, calc(env(safe-area-inset-bottom) + 8px)); z-index: 80;
  transform: translateX(-50%) translateY(160%);
  display: flex; align-items: center; gap: 14px; max-width: calc(100% - 28px);
  background: rgba(8,14,26,0.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(245,158,11,0.32); border-radius: var(--r-pill);
  padding: 8px 8px 8px 18px; box-shadow: 0 18px 48px rgba(6,11,20,0.55);
  opacity: 0; pointer-events: none;
  transition: transform .4s var(--ease), opacity .4s var(--ease);
}
.cta-dock.show { transform: translateX(-50%) translateY(0); opacity: 1; pointer-events: auto; }
.cta-dock .cd-text { font-size: 13px; font-weight: 600; color: var(--on-dark); white-space: nowrap; }
.cta-dock .btn { min-height: 42px; padding: 0 18px; font-size: 13.5px; }
@media (max-width: 560px) { .cta-dock .cd-text { display: none; } }

/* ── Reduced motion: collapse all motion to final state ─────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .signal-card::before, .signal-card.is-final::before { transform: scaleX(1); }
}

/* ════════════════════════════════════════════════════════════════════
   v5 — stakeholder pages, router, journey, outcomes, FAQ, footer columns
   (premium visual system reused; --accent set per stakeholder)
   ════════════════════════════════════════════════════════════════════ */

/* per-stakeholder accent (dark-context values) */
.stk-learner { --accent: #5EEAD4; }
.stk-institution { --accent: #C457D0; }
.stk-employer { --accent: #6E9CEC; }
.stk-investor { --accent: #FBBF24; }

/* ── Stakeholder router (home + footer-of-funnel) ───────────────────── */
.router { display: grid; gap: 14px; }
@media (min-width: 680px) { .router { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .router { grid-template-columns: repeat(4, 1fr); } }
.router-card { position: relative; display: flex; flex-direction: column; gap: 7px; padding: 22px 20px 20px; border-radius: var(--r-card); background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.10); text-decoration: none; color: inherit; overflow: hidden; transition: transform .24s var(--ease), border-color .24s, box-shadow .24s; }
.zone-light .router-card { background: #fff; border-color: rgba(15,31,61,0.10); box-shadow: var(--shadow-light); }
.router-card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--accent, var(--gold)); }
.router-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 55%, transparent); box-shadow: 0 18px 42px color-mix(in srgb, var(--accent) 20%, rgba(6,11,20,0.45)); }
.router-card .r-who { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.router-card h3 { font-size: 1.12rem; }
.router-card p { font-size: 13px; color: var(--on-dark-muted); flex: 1; }
.zone-light .router-card p { color: var(--slate); }
.router-card .r-go { font-size: 13px; font-weight: 700; color: var(--accent); margin-top: 4px; display: inline-flex; align-items: center; gap: 6px; }

/* ── Stakeholder page hero ──────────────────────────────────────────── */
.page-hero { padding-block: clamp(44px, 7vh, 92px); }
.page-hero .ph-eyebrow { color: var(--accent, var(--gold)); margin-bottom: 12px; }
.page-hero h1 { margin: 0 0 16px; max-width: 17ch; }
.page-hero .ph-sub { font-size: clamp(1.05rem, 1.7vw, 1.28rem); color: var(--on-dark-muted); max-width: 56ch; margin-bottom: 26px; }
.zone-light .page-hero .ph-sub { color: var(--slate); }

/* ── Journey: three plain steps ─────────────────────────────────────── */
.journey { display: grid; gap: 16px; }
@media (min-width: 820px) { .journey { grid-template-columns: repeat(3, 1fr); } }
.journey-step { position: relative; padding: 24px 22px; border-radius: var(--r-card); background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.10); }
.zone-light .journey-step { background: #fff; border-color: rgba(15,31,61,0.10); box-shadow: var(--shadow-light); }
.journey-step .j-n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-weight: 700; font-size: 14px; color: var(--navy-deep); background: var(--accent, var(--gold)); margin-bottom: 13px; }
.journey-step h3 { font-size: 1.08rem; margin-bottom: 6px; }
.journey-step p { font-size: 14px; color: var(--on-dark-muted); }
.zone-light .journey-step p { color: var(--slate); }

/* ── Outcomes (what you get) ────────────────────────────────────────── */
.outcomes { display: grid; gap: 14px; }
@media (min-width: 680px) { .outcomes { grid-template-columns: repeat(2, 1fr); } }
.outcome { display: flex; gap: 13px; align-items: flex-start; padding: 18px; border-radius: 14px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); }
.zone-light .outcome { background: #fff; border-color: rgba(15,31,61,0.08); box-shadow: var(--shadow-light); }
.outcome .o-tick { flex: none; width: 24px; height: 24px; border-radius: 50%; background: rgba(94,234,212,0.16); color: var(--gos-teal); display: grid; place-items: center; margin-top: 1px; }
.outcome .o-tick svg { width: 14px; height: 14px; stroke: currentColor; }
.outcome h4 { font-size: 1rem; font-weight: 700; margin-bottom: 3px; }
.outcome p { font-size: 13.5px; color: var(--on-dark-muted); }
.zone-light .outcome p { color: var(--slate); }

/* ── FAQ accordion + glossary ───────────────────────────────────────── */
.faq-group { margin-bottom: 30px; }
.faq-group .eyebrow { display: block; margin-bottom: 8px; }
.faq-item { border-bottom: 1px solid rgba(15,31,61,0.10); }
.zone-dark .faq-item { border-color: rgba(255,255,255,0.10); }
.faq-item summary { cursor: pointer; list-style: none; padding: 16px 0; font-size: 1.02rem; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--gold); flex: none; transition: transform .2s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 0 18px; font-size: 14.5px; line-height: 1.6; color: var(--slate); max-width: 72ch; }
.zone-dark .faq-item .faq-a { color: var(--on-dark-muted); }
.glossary { display: grid; }
.glossary .g-row { display: grid; grid-template-columns: 1fr; gap: 3px; padding: 14px 0; border-bottom: 1px solid rgba(15,31,61,0.08); }
@media (min-width: 680px) { .glossary .g-row { grid-template-columns: 230px 1fr; gap: 24px; } }
.zone-dark .glossary .g-row { border-color: rgba(255,255,255,0.08); }
.glossary .g-term { font-weight: 700; color: var(--ink); }
.zone-dark .glossary .g-term { color: var(--white); }
.glossary .g-def { font-size: 14.5px; color: var(--slate); }
.zone-dark .glossary .g-def { color: var(--on-dark-muted); }

/* ── Two-column contrast (degree vs need) ───────────────────────────── */
.contrast { display: grid; gap: 14px; }
@media (min-width: 720px) { .contrast { grid-template-columns: 1fr 1fr; } }
.contrast .c-col { padding: 22px; border-radius: var(--r-card); }
.contrast .c-was { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); }
.contrast .c-now { background: linear-gradient(160deg, rgba(245,158,11,0.10), rgba(245,158,11,0.02)); border: 1px solid rgba(245,158,11,0.30); }
.zone-light .contrast .c-was { background: #fff; border-color: rgba(15,31,61,0.08); box-shadow: var(--shadow-light); }
.contrast .c-lab { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-faint); margin-bottom: 8px; }
.zone-light .contrast .c-lab { color: var(--slate); }
.contrast .c-col p { font-size: 15px; }

/* ── Footer columns ─────────────────────────────────────────────────── */
.footer-cols { display: grid; gap: 24px 28px; grid-template-columns: 1fr 1fr; margin-bottom: 8px; }
@media (min-width: 720px) { .footer-cols { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; } }
.footer-cols .fc-col h4 { font-family: var(--sans); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-faint); margin-bottom: 12px; font-weight: 700; }
.footer-cols .fc-col a { display: block; font-size: 13.5px; color: var(--on-dark-muted); text-decoration: none; padding: 5px 0; }
.footer-cols .fc-col a:hover { color: var(--white); }

/* router-card accents (home is a light zone — use module accents) */
.router-card.learner { --accent: #0B7165; }
.router-card.institution { --accent: #86198F; }
.router-card.employer { --accent: #1E4DA1; }
.router-card.investor { --accent: #B45309; }
.zone-dark .router-card.learner { --accent: #5EEAD4; }
.zone-dark .router-card.institution { --accent: #C457D0; }
.zone-dark .router-card.employer { --accent: #6E9CEC; }
.zone-dark .router-card.investor { --accent: #FBBF24; }

/* ════════════════════════════════════════════════════════════════════
   v7 — scannable visual system (less prose, more illustration)
   ════════════════════════════════════════════════════════════════════ */

/* ── Spec tiles: icon chip + label + one scannable line ─────────────── */
.spec-tiles { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .spec-tiles.cols-2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 880px) {
  .spec-tiles.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .spec-tiles.cols-4 { grid-template-columns: repeat(4, 1fr); }
}
.spec { padding: 20px 18px; border-radius: 14px; background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10); transition: transform .24s var(--ease), border-color .24s; }
.spec:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent, var(--gold)) 50%, transparent); }
.zone-light .spec { background: #fff; border-color: rgba(15,31,61,0.08); box-shadow: var(--shadow-light); }
.spec .spec-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px;
  background: color-mix(in srgb, var(--accent, var(--gold)) 15%, transparent); color: var(--accent, var(--gold)); }
.spec .spec-ico svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.spec h4 { font-size: 1.02rem; font-weight: 700; margin-bottom: 4px; line-height: 1.25; }
.spec p { font-size: 13px; color: var(--on-dark-muted); line-height: 1.5; }
.zone-light .spec p { color: var(--slate); }

/* ── Hero with side illustration (2-col desktop, stacked mobile) ────── */
.page-hero.has-figure .container { display: grid; gap: clamp(24px, 4vw, 48px); align-items: center; }
@media (min-width: 900px) { .page-hero.has-figure .container { grid-template-columns: 1.08fr 0.92fr; } }
.ph-figure { position: relative; }
.ph-figure svg, .ph-figure img { width: 100%; height: auto; max-width: 460px; display: block; margin-inline: auto; }
@media (max-width: 899px) { .ph-figure { max-width: 360px; margin: 6px auto 0; } }

/* ── Centered illustration figure + caption ────────────────────────── */
.figure { display: block; margin: clamp(20px, 3vw, 34px) auto 0; max-width: 720px; }
.figure svg, .figure img { width: 100%; height: auto; display: block; }
.fig-cap { text-align: center; font-size: 12.5px; color: var(--on-dark-faint); margin: 20px auto 0; max-width: 58ch; }
.zone-light .fig-cap { color: var(--slate); }

/* ── Mini-figure inside a card/spec (decorative) ───────────────────── */
.spec .spec-fig { width: 100%; height: auto; margin-top: 12px; opacity: .9; }

/* ── Pull-stat: one big number + label (scannable proof) ───────────── */
.pull { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .pull.cols-3 { grid-template-columns: repeat(3, 1fr); } .pull.cols-4 { grid-template-columns: repeat(4, 1fr); } }
.pull .p-item { padding: 18px; border-radius: 14px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.09); }
.zone-light .pull .p-item { background: #fff; border-color: rgba(15,31,61,0.08); box-shadow: var(--shadow-light); }
.pull .p-num { font-family: var(--display); font-size: clamp(1.7rem, 4vw, 2.3rem); font-weight: 700; color: var(--accent, var(--gold)); line-height: 1; letter-spacing: -0.02em; }
.pull .p-lab { font-size: 12.5px; color: var(--on-dark-muted); margin-top: 6px; line-height: 1.4; }
.zone-light .pull .p-lab { color: var(--slate); }

/* ── Compact lifecycle/stepper row with connector ──────────────────── */
.stepper { display: grid; gap: 14px; }
@media (min-width: 760px) { .stepper { grid-template-columns: repeat(4, 1fr); } }
.stepper .step { position: relative; padding: 20px 18px; border-radius: 14px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); }
.zone-light .stepper .step { background: #fff; border-color: rgba(15,31,61,0.08); box-shadow: var(--shadow-light); }
.stepper .s-n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-weight: 700; font-size: 13px; color: var(--navy-deep); background: var(--gold); margin-bottom: 11px; }
.stepper .step h3 { font-size: 0.98rem; margin-bottom: 5px; }
.stepper .step p { font-size: 12.5px; color: var(--on-dark-muted); line-height: 1.5; }
.zone-light .stepper .step p { color: var(--slate); }

/* ── Cluster legend (the 8-skill vocabulary, scannable grid) ───────── */
.cluster-legend { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .cluster-legend { grid-template-columns: 1fr 1fr; } }
@media (min-width: 880px) { .cluster-legend { grid-template-columns: repeat(4, 1fr); } }
.cl-item { display: flex; align-items: center; gap: 10px; padding: 13px 14px; border-radius: 12px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.09); }
.cl-key { font-family: var(--mono); font-weight: 700; font-size: 13px; color: var(--score); flex: none; }
.cl-name { font-size: 12.5px; color: var(--on-dark-muted); line-height: 1.3; }

/* ── v8 micro-interaction polish ───────────────────────────────────── */
.spec .spec-ico { transition: transform .26s var(--ease), background-color .26s; }
.spec:hover .spec-ico { transform: translateY(-2px) scale(1.06); }
.pull .p-item { transition: transform .24s var(--ease), border-color .24s; }
.pull .p-item:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent, var(--gold)) 45%, transparent); }
.cl-item { transition: transform .22s var(--ease), border-color .22s; }
.cl-item:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--score) 45%, transparent); }
.ph-figure img, .figure img { transition: transform .5s var(--ease); }
.page-hero.has-figure:hover .ph-figure img { transform: translateY(-4px); }
@media (prefers-reduced-motion: reduce) {
  .spec .spec-ico, .pull .p-item, .cl-item, .ph-figure img, .figure img { transition: none; }
}

/* ════════════════════════════════════════════════════════════════════
   v9 — universal hero motion + micro-interaction polish (landing → 90+)
   ════════════════════════════════════════════════════════════════════ */

/* the evidence-graph canvas is injected behind every dark .page-hero (site.js) */
.page-hero { position: relative; overflow: hidden; }
.page-hero > .hero-canvas { opacity: 0.40; }
@media (min-width: 940px) { .page-hero > .hero-canvas { opacity: 0.5; } }
.page-hero.has-canvas > .container { position: relative; z-index: 1; }
/* a soft vignette so the drifting graph never competes with the headline */
.page-hero.has-canvas::after {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(70% 80% at 28% 36%, rgba(6,11,20,0.55), transparent 70%);
}

/* hero copy entrance — a quiet staggered rise on first paint (one-shot) */
.page-hero .ph-eyebrow, .page-hero h1, .page-hero .ph-sub,
.page-hero .btn-row, .page-hero .ph-figure { animation: heroRise .7s var(--ease) both; }
.page-hero h1 { animation-delay: .06s; }
.page-hero .ph-sub { animation-delay: .12s; }
.page-hero .btn-row { animation-delay: .18s; }
.page-hero .ph-figure { animation-delay: .12s; }
@keyframes heroRise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* premium link affordance — underline grows from the left on hover */
.prose a, .faq-a a, .footer-meta a, .glossary .g-def a {
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1.5px; background-position: 0 100%; background-repeat: no-repeat;
  transition: background-size .3s var(--ease);
}
.prose a:hover, .faq-a a:hover, .footer-meta a:hover, .glossary .g-def a:hover { background-size: 100% 1.5px; }

/* FAQ accordion — hover affordance + smooth reveal of the answer */
.faq-item summary { transition: color .2s var(--ease); }
.faq-item summary:hover { color: var(--gold); }
.zone-dark .faq-item summary:hover { color: var(--gold-bright); }
.faq-item[open] .faq-a { animation: faqIn .34s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: none; } }

/* glossary rows — quiet hover lift */
.glossary .g-row { transition: background-color .2s var(--ease), padding-left .2s var(--ease); border-radius: 8px; }
.glossary .g-row:hover { background: rgba(245,158,11,0.05); padding-left: 8px; }
.zone-dark .glossary .g-row:hover { background: rgba(245,158,11,0.09); }

/* outcomes / journey hover depth (parity with .card) */
.outcome, .journey-step { transition: transform .24s var(--ease), border-color .24s var(--ease), box-shadow .24s var(--ease); }
.outcome:hover, .journey-step:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent, var(--gold)) 40%, transparent); }

/* bespoke "principle" tile — icon + heading + one line (legal / privacy pages) */
.principles { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .principles { grid-template-columns: 1fr 1fr; } }
.principle { position: relative; padding: 20px 20px 18px; border-radius: 14px; background: #fff;
  border: 1px solid rgba(15,31,61,0.08); box-shadow: var(--shadow-light);
  transition: transform .24s var(--ease), box-shadow .24s var(--ease); }
.zone-dark .principle { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.10); box-shadow: none; }
.principle:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(15,31,61,0.14); }
.zone-dark .principle:hover { box-shadow: 0 20px 48px rgba(6,11,20,0.55); border-color: rgba(245,158,11,0.28); }
.principle .pr-ico { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  margin-bottom: 13px; background: rgba(11,113,101,0.12); color: var(--talent); transition: transform .26s var(--ease); }
.zone-dark .principle .pr-ico { background: rgba(94,234,212,0.14); color: var(--gos-teal); }
.principle:hover .pr-ico { transform: translateY(-2px) scale(1.06); }
.principle .pr-ico svg { width: 21px; height: 21px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.principle h3 { font-size: 1.04rem; margin-bottom: 5px; }
.principle p { font-size: 13.5px; color: var(--slate); line-height: 1.55; }
.zone-dark .principle p { color: var(--on-dark-muted); }

@media (prefers-reduced-motion: reduce) {
  .page-hero .ph-eyebrow, .page-hero h1, .page-hero .ph-sub, .page-hero .btn-row,
  .page-hero .ph-figure, .faq-item[open] .faq-a { animation: none; }
}

/* ── Mobile-first hero fix (14-Jul-2026): on phones the Signal card sat almost
   entirely below the fold (top ~533px of a ~660px viewport, 571px tall). Two
   levers: tighten hero rhythm, and compact the card so the hero's proof is
   SEEN, not implied. Desktop (>640px) untouched. ─────────────────────────── */
@media (max-width: 640px) {
  .hero { padding-block: 14px 20px; }
  /* two CTAs side-by-side on phones — the stacked pair alone cost 110px of
     the first viewport; the labels are short enough for a 2-up row */
  .hero .btn-row { display: flex; flex-wrap: nowrap; gap: 8px; }
  .hero .btn-row .btn { flex: 1 1 0; min-width: 0; justify-content: center; padding-inline: 10px; font-size: 13.5px; white-space: nowrap; }
  .hero-copy h1.display { font-size: clamp(26px, 7.6vw, 30px); }
  .hero-grid { gap: 18px; }
  .hero-copy .eyebrow { margin-bottom: 10px; }
  .hero-copy h1 { margin-bottom: 12px; }
  .hero-copy .sub { margin-bottom: 10px; }
  .hero-copy .honesty-line { margin-bottom: 14px; }
  .product-lockup { margin-bottom: 14px; }

  /* Signal card compaction */
  .signal-pad { padding: 12px 14px 11px; }
  .signal-id .mark { width: 30px; height: 30px; }
  .signal-id .meta .holder { font-size: 13.5px; }
  .dial, .dial svg { width: 62px; height: 62px; }
  .dial .val b { font-size: 17px; }
  .signal-scoreRow { margin-top: 8px; gap: 12px; }
  .signal-scoreRow .summary .num { font-size: 20px; }
  .clusters { gap: 4px; margin-top: 8px; }
  .cluster { grid-template-columns: 70px 1fr 24px; gap: 8px; }
  .cluster .name { font-size: 9.5px; }
  .cluster .bar { height: 4px; }
  .cluster .score { font-size: 9.5px; }
  .gos-strip { margin-top: 9px; padding: 7px 10px; }
  .gos-strip .code { font-size: clamp(11px, 3vw, 13px); }
  .sig-row { margin-top: 9px; padding-top: 8px; }
  .sig-row .dates { font-size: 8.5px; }
}
