/* ============================================================
   MetaTechAI — FounderOS
   Instrument-panel design system. Two complete themes:
   dark = mission control, light = field-notes paper.
   Palette matched to the FounderOS app: signal green on charcoal,
   amber for live status. No frameworks, no images.
   ============================================================ */

/* ---------- Fonts (self-hosted, latin subset) ---------- */
@font-face {
  font-family: "Inter Tight";
  src: url("../assets/fonts/inter-tight-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter Tight";
  src: url("../assets/fonts/inter-tight-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Plex Mono";
  src: url("../assets/fonts/plex-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plex Mono";
  src: url("../assets/fonts/plex-mono-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --sans: "Inter Tight", -apple-system, "SF Pro Text", system-ui, sans-serif;
  --mono: "Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --gutter: clamp(20px, 4.6vw, 64px);
  --maxw: 1180px;
  --head-h: 60px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 34px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.45, .5, 1);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0A0A09;
  --bg2: #0E0E0C;
  --surface: #141411;
  --surface2: #1A1A16;
  --text: #F2F0EA;
  --text-dim: rgba(242, 240, 234, .60);
  --text-faint: rgba(242, 240, 234, .38);
  --line: rgba(242, 240, 234, .09);
  --line-strong: rgba(242, 240, 234, .18);
  --accent: #19C2E3;           /* MetaTech teal: live / approved / go */
  --accent-btn: #14AFCF;       /* solid fills; carries dark text */
  --accent-text: #6FDFF5;      /* bright readout teal for text on dark */
  --accent-soft: rgba(25, 194, 227, .12);
  --on-accent: #041519;
  --agent: #D97757;            /* agent energy: working, routing, thinking */
  --agent-text: #F09B78;
  --agent-soft: rgba(217, 119, 87, .13);
  --on-agent: #1B0E08;
  --ok: #19C2E3;
  --warn: #E2A53E;
  --danger: #E2604B;
  --grain-op: .05;
  --shadow: 0 30px 90px -24px rgba(0, 0, 0, .6);
  --glow: 0 -20px 140px -20px rgba(25, 194, 227, .12);
  --head-bg: rgba(10, 10, 9, .74);
  --grid-line: rgba(242, 240, 234, .035);
  --page-shadow: 0 -34px 80px -36px rgba(0, 0, 0, .65);
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #F8F4EC;
  --bg2: #F2ECDF;
  --surface: #FFFFFF;
  --surface2: #FCFAF5;
  --text: #131512;
  --text-dim: rgba(19, 21, 18, .62);
  --text-faint: rgba(19, 21, 18, .4);
  --line: rgba(19, 21, 18, .12);
  --line-strong: rgba(19, 21, 18, .26);
  --accent: #0FA0BF;
  --accent-btn: #13B7D8;
  --accent-text: #0A7A95;
  --accent-soft: rgba(15, 160, 191, .10);
  --on-accent: #03161B;
  --agent: #C05A36;
  --agent-text: #A8431F;
  --agent-soft: rgba(192, 90, 54, .10);
  --on-agent: #FFF8F4;
  --ok: #0FA0BF;
  --warn: #A66E12;
  --danger: #BC4030;
  --grain-op: .03;
  --shadow: 0 24px 70px -28px rgba(34, 40, 30, .25);
  --glow: 0 -20px 140px -20px rgba(15, 160, 191, .09);
  --head-bg: rgba(247, 245, 240, .78);
  --grid-line: rgba(19, 21, 18, .04);
  --page-shadow: 0 -30px 70px -38px rgba(40, 34, 22, .35);
}

/* Theme switch crossfade — class is added by JS for the duration of the morph */
html.theme-anim,
html.theme-anim body,
html.theme-anim *,
html.theme-anim *::before,
html.theme-anim *::after {
  transition: background-color .5s ease, color .5s ease, border-color .5s ease,
    fill .5s ease, stroke .5s ease, box-shadow .5s ease !important;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.62;
  letter-spacing: 0;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

::selection { background: var(--accent); color: var(--on-accent); }

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

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
em { font-style: normal; color: var(--accent-text); }
em.ag { color: var(--agent-text); }
em.wn { color: var(--warn); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: fixed; top: -48px; left: 16px; z-index: 200;
  background: var(--accent-btn); color: var(--on-accent);
  padding: 10px 16px; border-radius: 8px; transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* Film grain — pure SVG turbulence, fixed overlay */
.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none;
  opacity: var(--grain-op);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Shared atoms ---------- */
.kicker {
  font-family: var(--mono);
  font-size: 11.5px; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--agent-text);
  margin-bottom: 18px;
}

.sec-index {
  position: absolute;
  top: clamp(26px, 4vw, 42px);
  left: var(--gutter);
  font-family: var(--mono);
  font-size: 11px; font-weight: 600; letter-spacing: .14em;
  color: var(--text-faint);
}
.sec-index::before { content: "/ "; color: var(--agent-text); }
.sec-index::after { content: ""; display: inline-block; width: 34px; height: 1px; background: var(--line-strong); margin: 0 0 4px 12px; }

main > section { background-color: var(--bg); }
html.deck-on main > section.deck-page {
  box-shadow: var(--page-shadow);
  will-change: transform;
}
.site-foot { background: var(--bg); }

main section {
  position: relative;
  scroll-margin-top: calc(var(--head-h) + 8px);
  border-top: 1px solid var(--line);
  padding: clamp(72px, 8.4vw, 118px) max(var(--gutter), calc((100% - var(--maxw)) / 2));
}
main .hero { border-top: 0; }

/* Blueprint grid backdrop for the bookend sections */
.hero, .demo, .dispatch, .close {
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 72px 72px;
}

h2 {
  font-size: clamp(1.95rem, 4.05vw, 3.35rem);
  font-weight: 620;
  letter-spacing: 0;
  line-height: 1.03;
  text-wrap: balance;
}

.sec-head { max-width: 690px; margin-bottom: clamp(28px, 4.4vw, 48px); }
.sec-sub { color: var(--text-dim); margin-top: 16px; max-width: 54ch; }

.status-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--ok); margin-right: 10px; vertical-align: 1px;
  animation: dotpulse 2.8s ease-out infinite;
}
@keyframes dotpulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 45%, transparent); }
  70%, 100% { box-shadow: 0 0 0 9px transparent; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 23px; border-radius: 999px;
  font-weight: 600; font-size: 15px; letter-spacing: 0;
  border: 1px solid transparent;
  transition: transform .25s var(--ease-out), box-shadow .25s, background-color .25s, border-color .25s, color .25s;
}
.btn:active { transform: scale(.97); }
.btn-primary {
  background: var(--accent-btn); color: var(--on-accent);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 10px 30px -12px color-mix(in srgb, var(--accent) 55%, transparent);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 16px 36px -12px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--text-dim); background: var(--accent-soft); }
.btn-danger:hover { border-color: var(--danger); color: var(--danger); background: transparent; }
.btn-small { padding: 9px 18px; font-size: 14px; }

.badge {
  display: inline-block; padding: 4px 10px; border-radius: 999px;
  font-family: var(--mono);
  font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent-text); background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
}

/* The one door every story ends at */
.sec-cta {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 28px;
  font-family: var(--mono);
  font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent-text);
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  padding-bottom: 6px;
  transition: color .3s, border-color .3s, gap .3s var(--ease-out);
}
.sec-cta:hover { gap: 16px; border-bottom-color: var(--accent); }
.sec-cta i { font-style: normal; }
.demo-cta { text-align: center; margin-top: 10px; }
.demo-cta .sec-cta { margin-top: 0; }

/* Reveal-on-scroll (only when JS is alive; reduced-motion gets none) */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal {
    opacity: 0; transform: translateY(24px);
    transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
    transition-delay: var(--rd, 0s);
  }
  html.js .reveal.in { opacity: 1; transform: none; }
}

/* ============================================================
   HEADER
   ============================================================ */
.site-head {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  height: var(--head-h);
  padding-inline: clamp(20px, 4vw, 44px);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color .4s, border-color .4s, backdrop-filter .4s;
}
.site-head.scrolled {
  background: var(--head-bg);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom-color: var(--line);
}

.wordmark { display: inline-flex; align-items: center; gap: 9px; font-weight: 680; letter-spacing: 0; font-size: 15px; }
.mark-img { width: 24px; height: 24px; object-fit: contain; display: block; }
.eyebrow a { color: var(--text); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 50%, transparent); text-underline-offset: 3px; }
.eyebrow a:hover { color: var(--accent-text); }
/* The mark: the vault, open. One agent in orbit. */
.mark {
  position: relative;
  width: 12px; height: 12px;
  background: transparent;
  border: 1.8px solid var(--accent);
  border-radius: 3px;
  transform: rotate(45deg);
  box-shadow: 0 0 18px color-mix(in srgb, var(--accent) 50%, transparent);
}
.mark::after {
  content: "";
  position: absolute; top: -4.5px; right: -4.5px;
  width: 5.5px; height: 5.5px; border-radius: 50%;
  background: var(--agent);
  box-shadow: 0 0 10px color-mix(in srgb, var(--agent) 70%, transparent);
}

.site-nav { display: flex; gap: clamp(18px, 2.4vw, 30px); }
.site-nav a {
  font-size: 14px; font-weight: 480; color: var(--text-dim);
  transition: color .25s;
}
.site-nav a:hover { color: var(--text); }

.head-actions { display: flex; align-items: center; gap: 10px; }

.mobile-menu-toggle {
  display: none;
  position: relative;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--text);
  background: color-mix(in srgb, var(--surface) 68%, transparent);
  transition: border-color .25s, background-color .25s, transform .25s var(--ease-spring);
}
.mobile-menu-toggle:hover {
  border-color: var(--text-dim);
  transform: translateY(-1px);
}
.mobile-menu-toggle span,
.mobile-menu-toggle::before,
.mobile-menu-toggle::after {
  content: "";
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 15px;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .25s var(--ease-out), opacity .2s;
}
.mobile-menu-toggle::before { transform: translate(-50%, calc(-50% - 5px)); }
.mobile-menu-toggle span { transform: translate(-50%, -50%); }
.mobile-menu-toggle::after { transform: translate(-50%, calc(-50% + 5px)); }
.mobile-menu-toggle[aria-expanded="true"]::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.mobile-menu-toggle[aria-expanded="true"] span {
  opacity: 0;
}
.mobile-menu-toggle[aria-expanded="true"]::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.mobile-menu-panel {
  position: fixed;
  left: 16px;
  right: 16px;
  top: calc(var(--head-h) + 10px);
  z-index: 99;
  display: none;
  padding: 12px;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--agent) 10%, transparent), transparent 38%),
    var(--surface);
  box-shadow: 0 24px 80px -46px rgba(0, 0, 0, .58);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  backdrop-filter: blur(18px) saturate(1.25);
}
.mobile-menu-panel.is-open {
  display: block;
}
.mobile-menu-panel a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 14px;
  color: var(--text);
  font-weight: 600;
}
.mobile-menu-panel a + a {
  margin-top: 4px;
}
.mobile-menu-panel a:hover,
.mobile-menu-panel a:focus-visible {
  background: var(--surface2);
}
.mobile-menu-panel a::after {
  content: "→";
  color: var(--agent-text);
  font-family: var(--mono);
  font-size: 12px;
}

/* Theme toggle — sun ⟷ moon morph */
.theme-toggle {
  width: 36px; height: 36px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-strong); color: var(--text);
  transition: border-color .3s, background-color .3s, transform .3s var(--ease-spring);
}
.theme-toggle:hover { border-color: var(--text-dim); transform: rotate(14deg); }
.tt-mask, .tt-sun { transition: cx .55s var(--ease-spring), cy .55s var(--ease-spring), r .4s var(--ease-out); }
.tt-rays { transform-origin: center; transition: transform .5s var(--ease-spring), opacity .35s; }
:root[data-theme="dark"] .tt-mask { cx: 17; cy: 8; }
:root[data-theme="dark"] .tt-sun { r: 7.4; }
:root[data-theme="dark"] .tt-rays { opacity: 0; transform: scale(.5) rotate(-30deg); }
:root[data-theme="light"] .tt-mask { cx: 30; cy: 2; }
:root[data-theme="light"] .tt-rays { opacity: 1; transform: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 96svh;
  display: flex; flex-direction: column;
  padding-top: calc(var(--head-h) + clamp(30px, 5.6vh, 62px)) !important;
  padding-bottom: 0 !important;
  overflow: clip;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(1100px 520px at 70% -8%, var(--accent-soft), transparent 65%);
}

.hero-inner { position: relative; z-index: 2; }

.eyebrow {
  font-family: var(--mono);
  font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: clamp(20px, 3vh, 32px);
}

.hero-h1 {
  font-weight: 650;
  font-size: clamp(2.55rem, 5.55vw, 4.95rem);
  line-height: 1;
  letter-spacing: 0;
  text-wrap: balance;
}
.hero-mission {
  margin-top: clamp(16px, 2.2vh, 24px);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  font-weight: 500;
  letter-spacing: 0;
  color: var(--text-dim);
  max-width: 34em;
}
.hq-line { display: block; }
.hero-quote em { color: var(--accent-text); }
.hero-quote em.ag { color: var(--agent-text); }

/* Hero quote lines rise in on load */
@media (prefers-reduced-motion: no-preference) {
  html.js .hq-line { opacity: 0; transform: translateY(34px); }
  html.js .hero.hero-in .hq-line {
    opacity: 1; transform: none;
    transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
  }
  html.js .hero.hero-in .hq-line:nth-child(1) { transition-delay: .05s; }
  html.js .hero.hero-in .hq-line:nth-child(2) { transition-delay: .16s; }
  html.js .hero.hero-in .hq-line:nth-child(3) { transition-delay: .27s; }
  html.js .hero.hero-in .hq-line:nth-child(4) { transition-delay: .38s; }
}

.hero-sub {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
  margin-top: clamp(24px, 3.7vh, 42px);
}
.hero-sub p { max-width: 46ch; color: var(--text-dim); font-size: 15.75px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-assure {
  display: flex; flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 16px;
}
.hero-assure span {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono);
  font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-faint);
}
.hero-assure span::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
}

/* The living field: a generative particle network behind the whole hero */
.hero-field {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.3) 24%, #000 56%);
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.3) 24%, #000 56%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; }

/* The film: the real product, floating on the field */
.hero-film { position: relative; z-index: 2; margin-top: clamp(22px, 3.8vh, 40px); }

/* Aurora panel: a soft-rounded gradient stage for product shots */
.aurora {
  padding: clamp(12px, 2vw, 26px);
  border-radius: var(--r-xl);
  background:
    radial-gradient(110% 90% at 12% 8%, rgba(105, 216, 238, .8) 0%, transparent 52%),
    radial-gradient(95% 80% at 88% 12%, rgba(242, 196, 138, .65) 0%, transparent 55%),
    radial-gradient(130% 110% at 50% 105%, rgba(16, 148, 178, .75) 0%, transparent 62%),
    linear-gradient(180deg, #EAF2F2, #DDEAEB);
  box-shadow: var(--shadow);
}
:root[data-theme="dark"] .aurora {
  background:
    radial-gradient(110% 90% at 12% 8%, rgba(25, 194, 227, .2) 0%, transparent 52%),
    radial-gradient(95% 80% at 88% 12%, rgba(217, 119, 87, .16) 0%, transparent 55%),
    radial-gradient(130% 110% at 50% 105%, rgba(16, 148, 178, .28) 0%, transparent 62%),
    linear-gradient(180deg, #0D1214, #0A0F11);
}
.hf-video {
  display: block; width: 100%;
  border-radius: clamp(10px, 1.4vw, 18px);
  border: 1px solid rgba(0, 0, 0, .18);
  box-shadow: 0 30px 80px -24px rgba(30, 20, 10, .45);
  background: #000;
}
.aurora .hf-cap { color: rgba(40, 28, 16, .55); }
:root[data-theme="dark"] .aurora .hf-cap { color: var(--text-faint); }
.hf-cap {
  display: flex; align-items: center; gap: 10px;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 9.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-faint);
}

/* The frontier-model wall at the hero's foot */
.model-strip {
  position: relative; z-index: 2;
  display: flex; align-items: baseline; flex-wrap: wrap;
  gap: clamp(16px, 2.8vw, 36px);
  margin-top: clamp(22px, 3.2vh, 36px);
  padding: 20px 0 26px;
  border-top: 1px solid var(--line);
}
.mk-label {
  font-family: var(--mono);
  font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--text-faint);
  flex-basis: 100%;
}
.mk-name {
  font-size: clamp(16px, 1.65vw, 20px);
  font-weight: 650; letter-spacing: 0;
  color: var(--text-faint);
  transition: color .3s, text-shadow .3s;
}
.mk-name:hover {
  color: var(--mc, var(--text));
  text-shadow: 0 0 24px color-mix(in srgb, var(--mc, var(--text)) 50%, transparent);
}
.mk-next {
  font-family: var(--mono);
  font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-faint);
  align-self: center;
}

/* Homepage category film */
.home-vsl {
  padding-block: clamp(64px, 8vw, 104px) !important;
  background: var(--bg2) !important;
}
.home-vsl-grid {
  width: min(var(--maxw), calc(100% - clamp(34px, 8vw, 92px)));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(280px, .62fr) minmax(360px, 1fr);
  gap: clamp(26px, 4.2vw, 58px);
  align-items: center;
}
.home-vsl-copy h2 {
  font-size: clamp(1.85rem, 3.65vw, 3.55rem);
  line-height: 1.02;
  letter-spacing: 0;
  max-width: 11.4em;
}
.home-vsl-copy p:not(.kicker) {
  margin-top: 18px;
  color: var(--text-dim);
  max-width: 48ch;
}
.home-vsl-copy .btn {
  margin-top: 28px;
}
.home-vsl-card {
  margin: 0;
  padding: clamp(10px, 1.6vw, 18px);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  background:
    linear-gradient(135deg, rgba(212, 121, 45, .1), transparent 38%),
    var(--surface);
  box-shadow: 0 24px 70px -36px rgba(0, 0, 0, .46);
}
.home-vsl-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(0, 0, 0, .18);
  border-radius: clamp(12px, 1.5vw, 20px);
  background: #050504;
  object-fit: contain;
}
.home-vsl-card figcaption {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* ============================================================
   INTERLUDE · VERSUS — advice vs shipped work
   ============================================================ */
.versus { background: var(--bg2); }
.vs-table { max-width: 1000px; }
.vs-head, .vs-row {
  display: grid;
  grid-template-columns: minmax(120px, 170px) minmax(180px, 1fr) minmax(240px, 1.35fr);
  gap: 14px 28px;
  align-items: baseline;
}
.vs-head {
  font-family: var(--mono);
  font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-faint);
  padding-bottom: 12px;
}
.vs-head .vs-us { color: var(--accent-text); }
.vs-row {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.vs-job {
  font-family: var(--mono);
  font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--agent-text);
}
.vs-them { color: var(--text-faint); font-size: 15.5px; }
.vs-ours { color: var(--text); font-size: 15.5px; font-weight: 520; }
.vs-ours b {
  display: block; margin-top: 8px;
  font-family: var(--mono);
  font-size: 9.5px; font-weight: 600; letter-spacing: .16em;
  color: var(--accent-text);
}
.vs-line {
  margin-top: clamp(32px, 4.5vw, 52px);
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  font-weight: 630; letter-spacing: 0;
}
@media (max-width: 760px) {
  .vs-head { display: none; }
  .vs-row { grid-template-columns: 1fr; gap: 8px; }
  .vs-them::before { content: "A CHATBOT · "; font-family: var(--mono); font-size: 9px; letter-spacing: .14em; color: var(--text-faint); }
  .vs-ours::before { content: "FOUNDEROS · "; font-family: var(--mono); font-size: 9px; letter-spacing: .14em; color: var(--accent-text); }
}

/* ============================================================
   INTERLUDE · PROOF — outcomes, stats, names
   ============================================================ */
.pf-stats {
  display: flex; flex-wrap: wrap;
  gap: clamp(30px, 6vw, 88px);
  margin-bottom: clamp(38px, 5vw, 60px);
}
.pf-stat b {
  display: block;
  font-size: clamp(2.45rem, 5.2vw, 4.25rem);
  font-weight: 650; letter-spacing: 0; line-height: 1;
}
.pf-stat small {
  display: block; margin-top: 8px;
  font-family: var(--mono);
  font-size: 10px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase;
  color: var(--text-faint);
}
.pf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.pf-card {
  padding: 22px 22px 19px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color .35s, transform .35s var(--ease-out);
}
.pf-card:hover { border-color: color-mix(in srgb, var(--accent) 40%, transparent); transform: translateY(-4px); }
.pf-tag {
  font-family: var(--mono);
  font-size: 9.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--agent-text);
  margin-bottom: 12px;
}
.pf-claim { font-size: 16px; font-weight: 540; line-height: 1.5; letter-spacing: 0; }
.pf-who {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 10px; font-weight: 600; letter-spacing: .08em;
  color: var(--text-faint);
}
.pf-names {
  margin-top: clamp(36px, 5vw, 56px);
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 15px; font-weight: 560; letter-spacing: 0;
  color: var(--text-dim);
  line-height: 2;
}
.pf-names-label {
  display: block;
  font-family: var(--mono);
  font-size: 9.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 8px;
}
@media (max-width: 980px) { .pf-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .pf-grid { grid-template-columns: 1fr; } }

/* Team — real humans, given a real moment */
.team {
  margin-top: clamp(56px, 8vw, 96px);
  padding-top: clamp(26px, 4vw, 42px);
  border-top: 1px solid var(--line);
}
.team-kicker {
  font-family: var(--mono);
  font-size: 10.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--agent-text);
  margin-bottom: 12px;
}
.team-title {
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  font-weight: 630; letter-spacing: 0;
  margin-bottom: 30px;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: auto;
  gap: clamp(16px, 2.4vw, 24px);
}
.tm { margin: 0; position: relative; min-width: 0; }
.tm img {
  display: block;
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: top center;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  filter: grayscale(1) contrast(1.06);
  transition: filter .5s var(--ease-out), transform .5s var(--ease-out), border-color .5s, box-shadow .5s;
}
.tm:hover img {
  filter: grayscale(0);
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  box-shadow: var(--shadow);
}
.tm figcaption {
  margin-top: 10px; line-height: 1.4;
  padding-left: 12px;
  border-left: 2px solid var(--line-strong);
  transition: border-color .4s;
}
.tm:hover figcaption { border-left-color: var(--accent); }
.tm b { display: block; font-size: 14.5px; font-weight: 630; letter-spacing: 0; }
.tm span {
  font-family: var(--mono);
  font-size: 9px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-faint);
}
@media (max-width: 760px) {
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-title { margin-bottom: 22px; }
}
@media (max-width: 430px) {
  .team-grid { gap: 18px 12px; }
  .tm figcaption { padding-left: 9px; }
  .tm b { font-size: 13px; }
  .tm span { font-size: 8px; letter-spacing: .1em; }
}

/* ============================================================
   INTERLUDE · MANIFESTO — one statement, one page
   ============================================================ */
.manifesto {
  display: flex; flex-direction: column; justify-content: center;
  padding-top: clamp(88px, 13vh, 144px) !important;
  padding-bottom: clamp(88px, 13vh, 144px) !important;
  background:
    radial-gradient(700px 420px at 82% 18%, var(--agent-soft), transparent 70%),
    radial-gradient(900px 520px at 12% 88%, var(--accent-soft), transparent 70%),
    var(--bg) !important;
}
.mf-tag {
  font-family: var(--mono);
  font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 28px;
}
.mf-line {
  font-size: clamp(2.05rem, 5.3vw, 4.55rem);
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.0;
  max-width: 11em;
  text-wrap: balance;
}
.mf-line em { color: var(--accent-text); }
.mf-foot {
  margin-top: 30px;
  font-family: var(--mono);
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-dim);
}

/* ============================================================
   01 · PROBLEM
   ============================================================ */
.problem { background: var(--bg2); }
.problem-lines { max-width: 980px; }
.p-line {
  font-size: clamp(1.65rem, 4.25vw, 3.45rem);
  font-weight: 620; letter-spacing: 0; line-height: 1.08;
}
.p-dim { color: var(--text-faint); font-size: clamp(1.15rem, 2.45vw, 1.75rem); font-weight: 520; margin-bottom: 14px; }
.problem-note {
  margin-top: clamp(40px, 6vw, 64px);
  margin-left: auto;
  max-width: 460px;
  color: var(--text-dim);
  border-left: 1px solid var(--line-strong);
  padding-left: 24px;
}

/* ============================================================
   03 · BRAINS — the instrument
   ============================================================ */
.brains { background: var(--bg2); }
.brains-grid {
  display: grid;
  grid-template-columns: minmax(300px, 5fr) minmax(320px, 6fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.brains-copy h2 { margin-bottom: 22px; }
.brains-copy > p { color: var(--text-dim); max-width: 46ch; }
.brains-points { list-style: none; margin-top: 28px; }
.brains-points li {
  padding: 13px 0 13px 26px;
  border-top: 1px solid var(--line);
  position: relative;
  color: var(--text-dim);
}
.brains-points li::before {
  content: ""; position: absolute; left: 2px; top: 22px;
  width: 7px; height: 7px; border-radius: 2px;
  background: var(--accent); transform: rotate(45deg);
}

.brains-visual { position: relative; }

/* Instrument frame — shared by the brain map and the org chart.
   When a real recording lands in assets/media/, JS swaps the mock for it. */
.instrument {
  position: relative;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  /* glass edge: cursor glow + surface inside, a lit gradient on the 1px border */
  background:
    radial-gradient(420px circle at var(--mx, -500px) var(--my, -500px),
      rgba(255, 255, 255, .05), transparent 65%) padding-box,
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(165deg,
      color-mix(in srgb, var(--accent) 45%, var(--line-strong)) 0%,
      var(--line-strong) 38%,
      var(--line-strong) 70%,
      color-mix(in srgb, var(--agent) 30%, var(--line-strong)) 100%) border-box;
  box-shadow: var(--shadow), var(--glow), inset 0 1px 0 rgba(255, 255, 255, .06);
  overflow: hidden;
}
.instrument::before, .instrument::after {
  content: "+";
  position: absolute; z-index: 5;
  font-family: var(--mono); font-size: 13px;
  color: var(--text-faint);
  pointer-events: none;
}
.instrument::before { top: 6px; left: 10px; }
.instrument::after { bottom: 6px; right: 10px; }

.ins-chrome {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 16px 11px 34px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
}
.ins-title { font-size: 10.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--text-dim); }
.ins-chip {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 600; letter-spacing: .08em;
  color: var(--accent-text);
}
.ins-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.ins-stats {
  display: flex; flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
}
.ins-stat { flex: 1 1 auto; padding: 9px 14px; border-right: 1px solid var(--line); }
.ins-stat:last-child { border-right: 0; }
.ins-stat small {
  display: block;
  font-size: 9px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-faint);
}
.ins-stat b { font-size: 14px; font-weight: 600; }
.ins-stat .rev { color: var(--warn); }

.ins-body { position: relative; background: var(--bg); }
.ins-media { display: block; width: 100%; height: auto; }

.ins-foot {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 16px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 9.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-faint);
}
.rec { width: 7px; height: 7px; border-radius: 50%; background: var(--warn); animation: dotpulse 2.2s ease-out infinite; margin: 0; }

/* Phosphor map inside the brain instrument */
.brain-graph { width: 100%; height: auto; display: block; }
.bg-edges line { stroke: color-mix(in srgb, var(--accent) 26%, transparent); stroke-width: 1; }
.bgn circle { fill: var(--surface2); stroke: color-mix(in srgb, var(--accent) 45%, var(--text-faint)); stroke-width: 1.2; }
.bgn text {
  fill: var(--text-dim); font-family: var(--mono);
  font-size: 10px; font-weight: 600; text-anchor: middle; letter-spacing: .04em;
}
.bgn-sm text { fill: var(--text-faint); font-size: 8.5px; }
.bgn-core circle { fill: var(--accent); stroke: none; filter: drop-shadow(0 0 14px color-mix(in srgb, var(--accent) 70%, transparent)); }
.bgn-core text { fill: var(--text); font-weight: 600; font-size: 10.5px; }
@media (prefers-reduced-motion: no-preference) {
  .bgn { animation: nodefloat 7s ease-in-out var(--d, 0s) infinite alternate; }
  @keyframes nodefloat {
    from { transform: translate(0, 0); }
    to { transform: translate(0, -7px); }
  }
}

.brain-note {
  position: absolute; right: -8px; bottom: -34px; z-index: 6;
  width: min(300px, 86%);
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  box-shadow: var(--shadow);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0; line-height: 1.5;
}
.bn-path { font-weight: 600; font-size: 11.5px; }
.bn-path b { color: var(--accent-text); }
.bn-meta { display: flex; gap: 16px; color: var(--text-faint); font-size: 9.5px; margin: 6px 0 10px; text-transform: uppercase; letter-spacing: .08em; }
.bn-line { padding: 5px 0; border-top: 1px solid var(--line); color: var(--text-dim); }
.bn-add { color: var(--accent-text); }
.bn-hold { color: var(--warn); }

/* ============================================================
   04 · TEAMS — org chart + the ledger
   ============================================================ */
.orgchart {
  margin-bottom: clamp(40px, 5.5vw, 64px);
  position: relative;
  isolation: isolate;
}
.org-glow {
  position: absolute;
  inset: 10% 8% auto;
  height: 52%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--agent) 22%, transparent), transparent 62%),
    radial-gradient(circle at 70% 65%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 58%);
  filter: blur(22px);
  opacity: .85;
  z-index: -1;
}
.org-console {
  position: relative;
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--agent) 8%, transparent), transparent 36%),
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
    color-mix(in srgb, var(--surface) 84%, transparent);
  background-size: auto, 54px 54px, 54px 54px, auto;
  box-shadow: 0 34px 110px -58px rgba(0, 0, 0, .45);
  overflow: hidden;
}
.org-console::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--agent) 18%, transparent), transparent);
  opacity: .2;
}
.org-topbar,
.org-route-labels {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.org-topbar {
  margin-bottom: clamp(22px, 3.4vw, 34px);
}
.org-topbar b {
  color: var(--text-dim);
  font-weight: 600;
}
.org-topbar i {
  font-style: normal;
  color: var(--agent-text);
}
.org-route-labels {
  max-width: 650px;
  margin: 0 auto 18px;
  color: var(--text-faint);
}
.org-tier { display: flex; justify-content: center; }
.org-cell {
  position: relative;
  min-width: 200px;
  padding: 15px 24px;
  text-align: center;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  box-shadow: 0 20px 50px -34px rgba(0, 0, 0, .42);
  backdrop-filter: blur(14px);
  z-index: 2;
}
.org-cell small {
  display: block;
  font-family: var(--mono);
  font-size: 9.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 3px;
}
.org-cell b { font-weight: 640; letter-spacing: 0; }
.org-cell em {
  display: block;
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.org-founder {
  box-shadow: 0 18px 48px -34px rgba(0, 0, 0, .46);
}
.org-chief {
  border-color: color-mix(in srgb, var(--accent) 55%, transparent);
  box-shadow:
    0 0 0 5px var(--accent-soft),
    0 18px 54px -22px color-mix(in srgb, var(--accent) 48%, transparent);
}
.org-chief small { color: var(--accent-text); }
.org-stem { display: flex; justify-content: center; }
.org-stem i { width: 1px; height: 32px; background: var(--line-strong); position: relative; }
.org-stem i::after, .org-spread i::after {
  content: ""; position: absolute; left: -1.5px; top: 0;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--agent);
  box-shadow: 0 0 8px var(--agent);
  opacity: 0;
  animation: routedown 3s ease-in-out var(--rd, 0s) infinite;
}
@keyframes routedown {
  0% { top: -4px; opacity: 0; }
  12% { opacity: 1; }
  82% { opacity: 1; }
  100% { top: calc(100% + 2px); opacity: 0; }
}
.org-spread { position: relative; height: 32px; }
.org-spread::before {
  content: ""; position: absolute; top: 0; left: 12.5%; right: 12.5%;
  border-top: 1px solid var(--line-strong);
}
.org-spread i { position: absolute; top: 0; width: 1px; height: 32px; background: var(--line-strong); }
.org-spread i:nth-child(1)::after { --rd: .9s; }
.org-spread i:nth-child(2)::after { --rd: 1.5s; }
.org-spread i:nth-child(3)::after { --rd: 2.1s; }
.org-spread i:nth-child(4)::after { --rd: 2.7s; }
.org-spread i:nth-child(1) { left: 12.5%; }
.org-spread i:nth-child(2) { left: 37.5%; }
.org-spread i:nth-child(3) { left: 62.51%; }
.org-spread i:nth-child(4) { left: 87.5%; }

.org-packet {
  position: relative;
  width: fit-content;
  max-width: min(100%, 520px);
  z-index: 3;
  transform: none;
  margin: -6px auto 20px;
  padding: 8px 14px;
  border: 1px solid color-mix(in srgb, var(--agent) 42%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  color: var(--agent-text);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
  box-shadow: 0 18px 42px -26px color-mix(in srgb, var(--agent) 48%, transparent);
}
.org-depts { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.org-dept {
  min-height: 156px;
  padding: 16px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 96%, transparent), color-mix(in srgb, var(--surface2) 78%, transparent));
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 22px 70px -48px rgba(0, 0, 0, .48);
  transition: border-color .3s, transform .3s var(--ease-out), box-shadow .3s;
}
.org-dept:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  transform: translateY(-4px);
  box-shadow: 0 28px 80px -48px color-mix(in srgb, var(--accent) 45%, transparent);
}
.org-dept h3 {
  font-size: 13.5px; font-weight: 640; letter-spacing: 0;
  margin-bottom: 8px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.org-dept h3 span {
  font-family: var(--mono); font-size: 9.5px; font-weight: 600;
  color: var(--text-faint);
}
.org-agent {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 2px 8px;
  padding: 7px 0;
  font-family: var(--mono); font-size: 11px;
  color: var(--text-dim);
  border-top: 1px solid var(--line);
}
.org-agent::before {
  content: "";
  grid-row: 1 / 3;
  align-self: center;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
}
.org-agent b {
  min-width: 0;
  color: var(--text);
  font-size: 10.5px;
  font-weight: 600;
}
.org-agent span {
  min-width: 0;
  color: var(--text-faint);
  font-size: 9.5px;
}
.org-agent.busy::before {
  background: transparent;
  border: 1.5px solid var(--agent-soft);
  border-top-color: var(--agent);
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.org-meter {
  height: 5px;
  margin-top: 12px;
  border-radius: 999px;
  background: var(--surface2);
  overflow: hidden;
}
.org-meter span {
  display: block;
  width: var(--fill);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--agent), var(--accent));
  box-shadow: 0 0 18px color-mix(in srgb, var(--agent) 45%, transparent);
}

.ledger { border-top: 1px solid var(--line-strong); }
.ledger-row {
  display: grid;
  grid-template-columns: minmax(170px, 240px) 1fr auto;
  align-items: baseline;
  gap: 10px 28px;
  padding: 26px 10px;
  border-bottom: 1px solid var(--line);
  cursor: default;
  transition: background-color .3s, padding .3s;
}
.ledger-row:hover, .ledger-row:focus-visible { background: var(--accent-soft); outline: none; }
.lr-name {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 620; letter-spacing: 0;
  transition: color .3s;
}
.ledger-row:hover .lr-name, .ledger-row:focus-visible .lr-name { color: var(--accent-text); }
.lr-outcome { color: var(--text-dim); }
.lr-lock {
  font-family: var(--mono);
  font-size: 10.5px; font-weight: 600; letter-spacing: .04em; color: var(--text-dim);
  border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 5px 12px; white-space: nowrap;
}
.lr-playbook {
  grid-column: 2 / -1;
  font-family: var(--mono);
  font-size: 11.5px; color: var(--text-faint);
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height .45s var(--ease-out), opacity .45s, margin .45s;
}
.lr-playbook b { color: var(--accent-text); font-weight: 600; }
.ledger-row:hover .lr-playbook, .ledger-row:focus-visible .lr-playbook {
  max-height: 40px; opacity: 1; margin-top: 4px;
}

/* ============================================================
   05 · INSTALLABLE SYSTEMS
   ============================================================ */
.skills {
  background:
    radial-gradient(720px 440px at 82% 8%, color-mix(in srgb, var(--accent) 13%, transparent), transparent 68%),
    var(--bg2);
}
.skill-system {
  margin-bottom: 16px;
}
.skill-overview {
  display: block;
  padding: clamp(22px, 3.3vw, 34px);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--agent) 10%, transparent), transparent 42%),
    var(--surface);
  box-shadow: 0 26px 80px -54px rgba(0, 0, 0, .58);
}
.skill-overview > span,
.skill-num {
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--agent-text);
}
.skill-overview h3 {
  margin-top: 10px;
  max-width: 18em;
  font-size: clamp(1.35rem, 2.5vw, 2.05rem);
  font-weight: 650;
  line-height: 1.07;
}
.skill-overview p {
  margin-top: 16px;
  color: var(--text-dim);
  max-width: 62ch;
}
.skill-flow {
  display: grid;
  grid-template-columns: auto minmax(18px, 1fr) auto minmax(18px, 1fr) auto minmax(18px, 1fr) auto minmax(18px, 1fr) auto;
  align-items: center;
  gap: 8px;
  margin-top: clamp(20px, 3vw, 30px);
  max-width: 980px;
}
.skill-flow b {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
}
.skill-flow i {
  height: 1px;
  background: linear-gradient(90deg, var(--agent), var(--accent));
  opacity: .72;
}
.skill-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
}
.skill-card {
  position: relative;
  display: flex; flex-direction: column; gap: 10px;
  min-height: 254px;
  padding: 22px 20px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: transform .35s var(--ease-out), border-color .35s, box-shadow .35s;
}
.skill-card:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--accent) 45%, transparent); box-shadow: var(--shadow); }
.skill-card h3 { margin-top: 6px; font-size: 1.2rem; font-weight: 630; letter-spacing: 0; }
.skill-card p { color: var(--text-dim); font-size: 15px; flex: 1; }
.skill-card footer { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; align-items: flex-start; }
.safe {
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.55;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* ============================================================
   06 · SIGNATURE DEMO — scroll-scrubbed pipeline
   ============================================================ */
.demo {
  padding: 0 !important;
  height: 320vh;
  background:
    radial-gradient(900px 460px at 72% 20%, var(--accent-soft), transparent 68%),
    var(--bg);
}
.demo-pin {
  position: sticky; top: 0;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--head-h) + 20px) max(var(--gutter), calc((100% - var(--maxw)) / 2)) 30px;
  overflow: clip;
}
.demo .sec-head {
  max-width: 1040px;
  margin-bottom: clamp(16px, 2.4vh, 30px);
}
.demo .sec-head h2 {
  max-width: 12.5em;
}
.demo .sec-sub {
  max-width: 58ch;
}

/* The six moves, as a mission rail above the stage */
.loop-rail {
  display: flex; align-items: center; flex-wrap: wrap; row-gap: 8px;
  margin-bottom: clamp(14px, 2.4vh, 28px);
  font-family: var(--mono);
}
.lr-step {
  font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-faint);
  white-space: nowrap;
  transition: color .35s, text-shadow .35s;
}
.lr-step.now { color: var(--agent-text); text-shadow: 0 0 14px color-mix(in srgb, var(--agent) 55%, transparent); }
.lr-step.done { color: var(--accent-text); text-shadow: none; }
.lr-sep {
  flex: 1 1 16px; min-width: 12px; height: 1px;
  margin: 0 10px;
  background: var(--line-strong);
  position: relative; overflow: hidden;
}
.lr-sep.done { background: color-mix(in srgb, var(--accent) 45%, var(--line-strong)); }
.lr-sep.flow::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, var(--agent), transparent);
  animation: energyflow 1.1s linear infinite;
}
@keyframes energyflow { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

.mobile-loop {
  display: none;
}

.demo-stage {
  position: relative;
  width: 100%;
  height: clamp(460px, 52vh, 590px);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xl);
  background:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 84%, transparent), color-mix(in srgb, var(--bg2) 92%, transparent));
  background-size: 72px 72px, 72px 72px, auto;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .04);
}
.demo-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(420px 220px at 34% 56%, color-mix(in srgb, var(--accent) 15%, transparent), transparent 68%),
    radial-gradient(360px 220px at 80% 56%, color-mix(in srgb, var(--agent) 12%, transparent), transparent 72%);
}
.demo-backplane {
  position: absolute;
  inset: clamp(18px, 2vw, 28px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: calc(var(--r-xl) - 12px);
  overflow: hidden;
}
.demo-lane {
  padding: 18px;
  border-right: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 34%, transparent);
}
.demo-lane:last-child {
  border-right: 0;
}
.demo-lane span {
  display: block;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.demo-lane b {
  display: block;
  max-width: 15em;
  margin-top: 8px;
  font-size: clamp(.9rem, 1.2vw, 1.05rem);
  font-weight: 620;
  letter-spacing: 0;
  color: var(--text);
}
.demo-track {
  position: absolute; left: 8%; right: 8%; top: 56%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong) 8%, var(--accent) 35%, var(--line-strong) 72%, transparent);
}

.demo-node {
  position: absolute; top: 56%;
  width: 86px; height: 86px; margin: -43px 0 0 -43px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  transition: border-color .4s, box-shadow .4s;
}
.dn-brain { left: 38%; }
.dn-team { left: 60%; }
.dn-ring {
  position: absolute; inset: 15px; border-radius: 50%;
  border: 1px dashed var(--text-faint);
  transition: border-color .4s;
}
.demo-node.lit { border-color: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft), 0 0 44px -4px color-mix(in srgb, var(--accent) 50%, transparent); }
.demo-node.lit .dn-ring { border-color: var(--accent-text); animation: ringspin 9s linear infinite; }
@keyframes ringspin { to { transform: rotate(360deg); } }
.dn-label {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-dim); white-space: nowrap;
}

.demo-gate { position: absolute; left: 80%; top: 56%; width: 0; height: 0; }
.dg-bar {
  position: absolute; left: -2px; width: 4px; height: 44px;
  background: var(--text-dim); border-radius: 2px;
  transition: transform .6s var(--ease-spring), background-color .4s;
}
.dg-top { bottom: 6px; transform-origin: bottom center; }
.dg-bot { top: 6px; transform-origin: top center; }
.demo-gate .dn-label { top: 56px; }
.demo-gate.lit .dg-bar { background: var(--accent); box-shadow: 0 0 16px color-mix(in srgb, var(--accent) 60%, transparent); }
.demo-gate.open .dg-top { transform: rotate(64deg); }
.demo-gate.open .dg-bot { transform: rotate(-64deg); }

.demo-chip {
  position: absolute; top: 56%;
  left: clamp(180px, calc(var(--cx, 5) * 1%), calc(100% - 180px));
  transform: translate(-50%, -50%);
  width: max-content;
  max-width: min(420px, calc(100% - 34px));
  padding: 13px 20px;
  background: var(--surface2);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  box-shadow: var(--shadow);
  font-family: var(--mono);
  font-size: 12.5px; font-weight: 600;
  white-space: normal;
  opacity: 0;
  z-index: 3;
  transition: opacity .4s;
}
.demo-chip.show { opacity: 1; }
.demo-chip .chip-draft { display: none; color: var(--accent-text); }
.demo-chip.as-draft { border-color: color-mix(in srgb, var(--accent) 50%, transparent); background: var(--accent-soft); }
.demo-chip.as-draft .chip-req { display: none; }
.demo-chip.as-draft .chip-draft { display: inline; }

.demo-anno {
  position: absolute;
  font-family: var(--mono);
  font-size: 11.5px; color: var(--text-dim);
  max-width: 250px; line-height: 1.55;
  opacity: 0; transform: translateY(8px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.demo-anno b { color: var(--text); font-weight: 600; }
.demo-anno.on { opacity: 1; transform: none; }
.da-1 { left: 38%; top: 24%; transform: translateY(8px); margin-left: -125px; text-align: center; }
.da-1.on { transform: none; }
.da-2 { left: 60%; top: 24%; margin-left: -125px; text-align: center; }
.da-3 { left: 80%; top: 23%; margin-left: -125px; text-align: center; }

.demo-draft {
  position: absolute; left: 60%; top: 69%;
  width: min(300px, 24vw); margin-left: -150px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow);
  font-size: 13px;
  opacity: 0; transform: translateY(10px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.demo-draft.on { opacity: 1; transform: none; }
.dd-line { padding: 4px 0; color: var(--text-dim); border-top: 1px dashed var(--line); opacity: 0; transition: opacity .4s; transition-delay: calc(var(--n, 0) * .15s); }
.dd-line:first-child { border-top: 0; }
.demo-draft.on .dd-line { opacity: 1; }
.dd-line:nth-child(1) { --n: 0; } .dd-line:nth-child(2) { --n: 1; } .dd-line:nth-child(3) { --n: 2; }

.demo-approve {
  position: absolute; left: 80%; top: 72%;
  transform: translateX(-50%);
  padding: 12px 24px; border-radius: 999px;
  background: var(--accent-btn); color: var(--on-accent);
  font-weight: 640; font-size: 14.5px;
  opacity: 0; pointer-events: none;
  transition: opacity .4s, transform .3s var(--ease-spring), box-shadow .4s;
}
.demo-approve.ready {
  opacity: 1; pointer-events: auto;
  animation: approvepulse 2s ease-in-out infinite;
}
.demo-approve.ready:hover { transform: translateX(-50%) scale(1.04); }
@keyframes approvepulse {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 50%, transparent); }
  50% { box-shadow: 0 0 0 12px transparent; }
}
.demo-approve.gone { opacity: 0; pointer-events: none; }

.demo-stamp {
  position: absolute; left: auto; right: 3%; top: 14%;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px;
  border: 1.5px solid var(--accent);
  border-radius: var(--r-sm);
  color: var(--accent-text);
  font-family: var(--mono); font-weight: 600; font-size: 11px;
  background: var(--surface);
  white-space: nowrap;
  transform: rotate(-5deg) scale(.7); opacity: 0;
  transition: opacity .45s var(--ease-spring), transform .45s var(--ease-spring);
}
.demo-stamp .ds-check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent-btn); color: var(--on-accent); font-size: 12px;
}
.demo-stamp.on { opacity: 1; transform: rotate(-5deg) scale(1); }

.demo-hint {
  text-align: center;
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* ============================================================
   07 · PHONE REMOTE
   ============================================================ */
.phone-grid {
  display: grid;
  grid-template-columns: minmax(300px, 6fr) minmax(260px, 4fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
}
.phone-copy h2 { margin-bottom: 22px; }
.phone-copy > p { color: var(--text-dim); max-width: 44ch; }

.qr-pair { display: flex; align-items: center; gap: 22px; margin-top: 38px; }
.qr {
  width: 108px; height: 108px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
}
.qr rect { fill: var(--text); opacity: 0; transition: opacity .35s; transition-delay: calc(var(--i) * 5ms); }
.qr.on rect { opacity: 1; }
.qr-beam { flex: 0 1 90px; height: 1px; background: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 12px); }
.qr-cap { font-family: var(--mono); font-size: 11px; color: var(--text-faint); max-width: 130px; line-height: 1.5; }

.phone-mock {
  position: relative;
  width: min(290px, 86%);
  aspect-ratio: 9 / 18.6;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 44px;
  box-shadow: var(--shadow), var(--glow);
  padding: 12px;
}
.pm-notch {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 86px; height: 22px; border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--line);
}
.pm-screen {
  height: 100%; border-radius: 34px;
  background: var(--bg2);
  border: 1px solid var(--line);
  padding: 44px 16px 16px;
  display: flex; flex-direction: column; gap: 9px;
  font-size: 12.5px; letter-spacing: 0;
  overflow: hidden;
}
.pm-time { position: absolute; top: 16px; left: 30px; font-family: var(--mono); font-size: 10px; font-weight: 600; color: var(--text-dim); }
.pm-title { font-size: 20px; font-weight: 680; letter-spacing: 0; margin-bottom: 2px; }
.pm-item {
  display: flex; flex-direction: column; gap: 1px;
  padding: 10px 13px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.pm-item b { font-weight: 620; }
.pm-item span { color: var(--text-faint); font-size: 11.5px; }
.pm-approval {
  margin-top: auto;
  padding: 13px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  box-shadow: 0 12px 34px -14px color-mix(in srgb, var(--accent) 35%, transparent);
}
.pm-approval p { font-weight: 620; margin-bottom: 9px; }
.pm-actions { display: flex; gap: 7px; }
.pm-actions span {
  flex: 1; text-align: center;
  padding: 7px 0; border-radius: 999px; font-size: 11.5px; font-weight: 620;
  border: 1px solid var(--line-strong); color: var(--text-dim);
}
.pm-actions .pm-go { background: var(--accent-btn); border-color: var(--accent-btn); color: var(--on-accent); }

/* ============================================================
   08 · APPROVAL & AUDIT
   ============================================================ */
.approval { background: var(--bg2); }
.approval-grid {
  display: grid;
  grid-template-columns: minmax(300px, 5fr) minmax(320px, 6fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.approval-copy h2 { margin-bottom: 22px; }
.approval-copy > p { color: var(--text-dim); max-width: 44ch; }
.approval-quiet { margin-top: 26px; font-family: var(--mono); color: var(--text-faint); font-size: 12px; }

.modal {
  padding: 30px 30px 26px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow), var(--glow);
}
.modal-kicker { font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 10px; }
.modal h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); font-weight: 640; letter-spacing: 0; }
.modal-sub { color: var(--text-faint); font-size: 13.5px; margin: 6px 0 18px; }
.modal-preview {
  padding: 16px 18px;
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-family: var(--mono); font-size: 12.5px; line-height: 1.6; color: var(--text-dim);
  margin-bottom: 20px;
}
.modal-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.modal.decided .modal-actions .btn { opacity: .35; pointer-events: none; }

.audit-log {
  margin-top: 16px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface2);
  font-family: var(--mono); font-size: 11.5px;
}
.al-head { font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 8px; }
.al-row { padding: 8px 0; border-top: 1px solid var(--line); color: var(--text-dim); }
.al-row.new { animation: rowin .8s var(--ease-out); color: var(--text); }
@keyframes rowin {
  0% { opacity: 0; transform: translateY(-6px); background: var(--accent-soft); }
  100% { opacity: 1; transform: none; background: transparent; }
}
.al-reset {
  margin-top: 10px; font-size: 11px; color: var(--text-faint);
  font-family: var(--mono);
  text-decoration: underline; text-underline-offset: 3px;
}
.al-reset:hover { color: var(--text-dim); }

/* ============================================================
   09 · WHO IT'S FOR
   ============================================================ */
.who-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.who-cell { padding: 8px 34px 8px 0; }
.who-cell + .who-cell { border-left: 1px solid var(--line-strong); padding-left: 34px; }
.who-cell h3 { font-size: 1.12rem; font-weight: 630; letter-spacing: 0; margin-bottom: 10px; }
.who-cell p { color: var(--text-dim); font-size: 15.5px; }

/* ============================================================
   10 · STUDIO
   ============================================================ */
.studio { background: var(--bg2); }
.studio-inner { max-width: 880px; }
.studio-scale {
  color: var(--text-dim);
  max-width: 58ch;
  margin-bottom: clamp(28px, 4vw, 44px);
  font-size: 17.5px;
}
.studio-scale b { color: var(--text); font-weight: 600; }
.studio-note { position: relative; margin: 10px 0 clamp(48px, 7vw, 80px); }
.studio-note p {
  font-size: clamp(1.4rem, 2.85vw, 2.15rem);
  font-weight: 560;
  letter-spacing: 0;
  line-height: 1.25;
  text-wrap: balance;
}
.studio-note cite {
  display: block; margin-top: 22px;
  font-style: normal;
  font-family: var(--mono);
  font-size: 11px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--text-dim);
}

.family { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-strong); }
.family-item { padding: 26px 30px 26px 0; border-bottom: 1px solid var(--line); }
.family-item + .family-item { border-left: 1px solid var(--line); padding-left: 30px; }
.family-item h3 { font-size: 1.08rem; font-weight: 640; letter-spacing: 0; margin-bottom: 8px; }
.family-item p { color: var(--text-dim); font-size: 14.5px; }
a.family-item { display: block; transition: background-color .3s; }
a.family-item:hover { background: var(--accent-soft); }
a.family-item:hover h3 { color: var(--accent-text); }
.family-item h3 i { font-style: normal; font-size: .8em; opacity: .6; }
.family-item.is-flagship h3 { color: var(--accent-text); }
.family-item.is-flagship h3::after {
  content: "Flagship"; margin-left: 10px;
  font-family: var(--mono);
  font-size: 9px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent-text); border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  border-radius: 999px; padding: 2.5px 8px; vertical-align: 2px;
}

.philosophy {
  margin-top: clamp(48px, 7vw, 80px);
  font-size: clamp(1.38rem, 2.65vw, 1.95rem);
  font-weight: 600; letter-spacing: 0;
}

/* ============================================================
   11 · ACCESS
   ============================================================ */
.access { display: grid; place-items: center; }
.access-card {
  width: min(620px, 100%);
  padding: clamp(36px, 6vw, 60px);
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow), 0 0 160px -30px color-mix(in srgb, var(--accent) 22%, transparent);
}
.access-sub { color: var(--text-dim); margin: 16px auto 30px; max-width: 42ch; }
.access-form { display: flex; gap: 10px; max-width: 440px; margin-inline: auto; }
.access-form input {
  flex: 1; min-width: 0;
  padding: 13px 18px;
  font: inherit; font-size: 15px;
  color: var(--text);
  background: var(--bg2);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  transition: border-color .3s, box-shadow .3s;
}
.access-form input::placeholder { color: var(--text-faint); }
.access-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.access-done { margin-top: 22px; color: var(--accent-text); font-weight: 560; }
.access-fine { margin-top: 26px; font-family: var(--mono); font-size: 11px; color: var(--text-faint); }

/* ============================================================
   05 · MODELS — every model, one window
   ============================================================ */
.models { background: var(--bg2); }
:root[data-theme="light"] .models {
  background:
    radial-gradient(800px 460px at 85% 0%, rgba(105, 216, 238, .25), transparent 65%),
    var(--bg2);
}
.model-switch { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.ms-chip {
  padding: 11px 22px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-weight: 600; font-size: 14.5px;
  transition: border-color .3s, color .3s, background-color .3s, box-shadow .3s, transform .25s var(--ease-out);
}
.ms-chip:hover { transform: translateY(-1px); }
.ms-chip.is-on {
  border-color: var(--model);
  color: var(--model);
  background: color-mix(in srgb, var(--model) 10%, transparent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--model) 10%, transparent),
    0 10px 30px -14px color-mix(in srgb, var(--model) 60%, transparent);
}

.model-stage {
  max-width: 760px;
  box-shadow: 0 28px 92px -52px color-mix(in srgb, var(--model) 42%, rgba(0, 0, 0, .35));
}
.model-stage .ins-chip { color: var(--model); }
.model-stage .ins-chip::before { background: var(--model); box-shadow: 0 0 10px var(--model); }
.ms-bay {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding: clamp(20px, 3vw, 30px);
  background:
    radial-gradient(360px 220px at 13% 28%, color-mix(in srgb, var(--model) 16%, transparent), transparent 72%),
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
    var(--bg);
  background-size: auto, 46px 46px, 46px 46px, auto;
}
.ms-ring {
  position: relative;
  width: 84px;
  height: 84px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--model) 12%, transparent), transparent),
    var(--surface);
  border: 1px solid color-mix(in srgb, var(--model) 42%, var(--line));
  display: grid; place-items: center;
  align-content: center;
  gap: 2px;
  font-family: var(--mono); font-size: 10px; font-weight: 600;
  color: var(--model);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, #fff 28%, transparent), 0 20px 42px -28px color-mix(in srgb, var(--model) 52%, transparent);
  transition: color .4s;
}
.ms-ring b {
  max-width: 62px;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--model);
  font-size: 10px;
  line-height: 1;
}
.ms-ring i {
  color: var(--text-faint);
  font-style: normal;
  font-size: 8px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.ms-ring::before {
  content: ""; position: absolute; inset: -5px;
  border-radius: 29px;
  background: conic-gradient(var(--model) 0 70deg, transparent 110deg 360deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  animation: spin 1.5s linear infinite;
}
.ms-ring::after {
  content: ""; position: absolute; inset: -22px;
  border-radius: 36px;
  background: radial-gradient(circle, color-mix(in srgb, var(--model) 26%, transparent), transparent 70%);
  z-index: -1;
  transition: background .4s;
}
.ms-readout { flex: 1; min-width: 0; }
.ms-line {
  font-family: var(--mono);
  font-size: 12px; font-weight: 600; letter-spacing: .08em;
  color: var(--model);
  margin-bottom: 14px;
  transition: color .4s;
}
.ms-flow {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.ms-flow span {
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 84%, transparent);
  color: var(--text-dim);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ms-flow i {
  height: 1px;
  min-width: 14px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--model) 72%, transparent), transparent);
}
.ms-constants { display: flex; gap: 8px; flex-wrap: wrap; }
.ms-constants span {
  font-family: var(--mono);
  font-size: 9.5px; font-weight: 600; letter-spacing: .1em;
  color: var(--text-faint);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 10px;
}
.models-foot {
  margin-top: 22px;
  font-family: var(--mono);
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-faint);
}
.models-foot b { color: var(--agent-text); font-weight: 600; }

.shield { margin-top: clamp(44px, 6vw, 72px); max-width: 760px; }
.shield h3 {
  font-size: clamp(1.25rem, 2.1vw, 1.65rem);
  font-weight: 630; letter-spacing: 0;
  margin-bottom: 18px;
}
.shield-rows { border-top: 1px solid var(--line-strong); }
.shield-rows p {
  display: flex; gap: 20px; align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.shield-rows span {
  flex: 0 0 150px;
  font-family: var(--mono);
  font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--agent-text);
}
.shield-rows b { font-weight: 520; color: var(--text-dim); }
.shield-line {
  margin-top: 22px;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 560;
  max-width: 40ch;
}
@media (max-width: 600px) {
  .shield-rows p { flex-direction: column; gap: 4px; }
}
@media (max-width: 600px) {
  .ms-bay { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   06 · CONNECT — the constellation
   ============================================================ */
.connect-grid {
  display: grid;
  grid-template-columns: minmax(280px, 5fr) minmax(320px, 7fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.connect-copy h2 { margin-bottom: 22px; }
.connect-copy > p { color: var(--text-dim); max-width: 44ch; }
.constellation { width: 100%; height: auto; display: block; }
.logo-wrap { display: none; }
@media (max-width: 760px) {
  .constellation { display: none; }
  .logo-wrap { display: flex; flex-wrap: wrap; gap: 10px; }
  .logo-chip {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 10px 16px;
    background: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    font-family: var(--mono);
    font-size: 11.5px; font-weight: 600; letter-spacing: .04em;
    color: var(--text-dim);
  }
  .logo-chip img { width: 16px; height: 16px; object-fit: contain; }
}
.cn-line {
  stroke: var(--line-strong); stroke-width: 1;
  stroke-dasharray: 3 9;
}
.in .cn-line { animation: dashflow 3.2s linear var(--d, 0s) infinite; }
@keyframes dashflow { to { stroke-dashoffset: -120; } }
.cn-core { fill: var(--accent); filter: drop-shadow(0 0 16px color-mix(in srgb, var(--accent) 70%, transparent)); }
.cn-pill rect {
  fill: var(--surface);
  stroke: var(--line-strong); stroke-width: 1;
  transition: stroke .3s;
}
.cn-pill text {
  fill: var(--text-dim);
  font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: .06em;
  text-anchor: middle;
}
.cn-pill circle { fill: var(--ok); }
html.js .cn-pill { opacity: 0; transition: opacity .5s var(--ease-out); transition-delay: calc(var(--i) * 90ms); }
html.js .in .cn-pill { opacity: 1; }
@media (max-width: 1020px) { .connect-grid { grid-template-columns: 1fr; } }

/* ============================================================
   13 · THE CLOSE
   ============================================================ */
.close { text-align: left; }
:root[data-theme="light"] .close {
  background-image:
    radial-gradient(900px 520px at 80% 20%, rgba(242, 196, 138, .28), transparent 65%),
    radial-gradient(700px 460px at 10% 90%, rgba(105, 216, 238, .3), transparent 65%),
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: auto, auto, 72px 72px, 72px 72px;
}
.close-line {
  font-size: clamp(1.6rem, 3.5vw, 2.85rem);
  font-weight: 620; letter-spacing: 0; line-height: 1.1;
  max-width: 21em;
  text-wrap: balance;
}
.close-early {
  margin-top: 22px;
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  font-weight: 640; letter-spacing: 0;
  color: var(--accent-text);
}
.close-motto {
  display: inline-block;
  margin: clamp(36px, 5vw, 56px) 0 clamp(40px, 6vw, 64px);
  padding: 14px 22px;
  border: 1px solid color-mix(in srgb, var(--agent) 40%, transparent);
  border-radius: var(--r-sm);
  font-family: var(--mono);
  font-size: 12px; font-weight: 600; letter-spacing: .2em;
  color: var(--agent-text);
  background: var(--agent-soft);
}
.close .access-card { margin-inline: 0; text-align: left; }
.close .access-form { margin-inline: 0; }
.close .access-sub { margin-inline: 0; }

/* ============================================================
   12 · DISPATCH CONSOLE
   ============================================================ */
.dispatch {
  overflow: clip;
  padding-bottom: clamp(90px, 9vw, 138px);
}
.console {
  max-width: 720px;
  margin: clamp(30px, 4vw, 48px) auto 0;
}

.ds-body {
  display: flex; flex-direction: column;
  min-height: clamp(230px, 24vw, 310px);
  padding: 22px 22px 18px;
  background: var(--bg);
}
.ds-feed { display: flex; flex-direction: column; gap: 12px; }

.ds-msg {
  max-width: 84%;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 14px; line-height: 1.55;
}
.ds-bot {
  align-self: flex-start;
  background: var(--surface2);
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
}
.ds-user {
  align-self: flex-end;
  background: var(--accent-btn); color: var(--on-accent);
  border-bottom-right-radius: 4px;
  font-weight: 560;
}
@media (prefers-reduced-motion: no-preference) {
  .ds-msg, .ds-log, .ds-brief, .ds-stamp { animation: dsin .45s var(--ease-out); }
  @keyframes dsin {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
  }
}

.ds-typing i {
  display: inline-block; width: 5px; height: 5px; border-radius: 50%;
  background: var(--text-dim); margin-right: 4px;
  animation: dsdot 1s ease-in-out infinite;
}
.ds-typing i:nth-child(2) { animation-delay: .15s; }
.ds-typing i:nth-child(3) { animation-delay: .3s; margin-right: 0; }
@keyframes dsdot { 50% { transform: translateY(-3px); opacity: .5; } }

.ds-log {
  font-family: var(--mono);
  font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-faint);
  padding: 2px 0 2px 12px;
  border-left: 2px solid color-mix(in srgb, var(--accent) 40%, transparent);
}
.ds-log b { color: var(--accent-text); }

.ds-input { margin-top: 16px; }
.ds-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ds-chip {
  padding: 10px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 14px; font-weight: 560;
  transition: border-color .25s, background-color .25s, color .25s, transform .25s var(--ease-out);
}
.ds-chip:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-text);
  transform: translateY(-1px);
}

.ds-text { display: flex; gap: 10px; }
.ds-text input {
  flex: 1; min-width: 0;
  padding: 12px 18px;
  font: inherit; font-size: 14.5px;
  color: var(--text);
  background: var(--bg2);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  transition: border-color .3s, box-shadow .3s;
}
.ds-text input::placeholder { color: var(--text-faint); }
.ds-text input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }

.ds-brief {
  margin-top: 4px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  border-radius: var(--r-md);
  box-shadow: 0 18px 50px -18px color-mix(in srgb, var(--accent) 30%, transparent);
  font-family: var(--mono); font-size: 12px; line-height: 1.55;
}
.db-head {
  font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 8px;
}
.db-row { display: flex; gap: 14px; padding: 7px 0; border-top: 1px solid var(--line); }
.db-k {
  flex: 0 0 118px;
  font-size: 9.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-faint);
  padding-top: 2px;
}
.db-v { flex: 1; color: var(--text-dim); }
.db-v.hot { color: var(--warn); }

.ds-stamp {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 4px;
  padding: 10px 16px;
  border: 1.5px solid var(--accent);
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--accent-text);
  font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .08em;
}
.ds-again {
  align-self: flex-start;
  margin-top: 10px;
  font-family: var(--mono); font-size: 11px;
  color: var(--text-faint);
  text-decoration: underline; text-underline-offset: 3px;
}
.ds-again:hover { color: var(--text-dim); }

@media (max-width: 760px) {
  .ds-msg { max-width: 95%; }
  .db-k { flex-basis: 92px; }
  .ds-text { flex-direction: column; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-foot {
  border-top: 1px solid var(--line);
  padding: clamp(44px, 6vw, 72px) max(var(--gutter), calc((100% - var(--maxw)) / 2)) 36px;
}
.site-foot {
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) repeat(4, auto);
  column-gap: clamp(28px, 4vw, 64px);
  row-gap: 44px;
}
.foot-brand { max-width: 380px; }
.foot-brand .mark-img {
  width: 30px;
  height: 30px;
}
.foot-mission { margin: 18px 0 22px; color: var(--text-dim); font-size: 14.5px; }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-head {
  font-family: var(--mono);
  font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 6px;
}
.foot-col a { font-size: 14px; color: var(--text-dim); transition: color .25s; }
.foot-col a:hover { color: var(--text); }
@media (max-width: 760px) {
  .site-foot { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
.foot-bottom {
  grid-column: 1 / -1;
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 26px;
  font-size: 13px; color: var(--text-faint);
}
.foot-status { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; color: var(--text-faint); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1020px) {
  .brains-grid, .approval-grid, .phone-grid { grid-template-columns: 1fr; }
  .brain-note { position: relative; right: auto; bottom: auto; margin: 18px 0 0 auto; }
  .phone-mock { margin-top: 10px; }
  .skill-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .org-depts { grid-template-columns: repeat(2, 1fr); }
  .org-spread::before { left: 25%; right: 25%; }
  .org-spread i:nth-child(1) { left: 25%; }
  .org-spread i:nth-child(2) { left: 75%; }
  .org-spread i:nth-child(3), .org-spread i:nth-child(4) { display: none; }
}

@media (max-width: 860px) {
  .site-nav { display: none; }
  .mobile-menu-toggle { display: inline-flex; }
  .home-vsl-grid { grid-template-columns: 1fr; }
  .who-row, .family { grid-template-columns: 1fr; }
  .who-cell + .who-cell { border-left: 0; border-top: 1px solid var(--line-strong); padding: 26px 0 8px; margin-top: 18px; }
  .who-cell { padding-right: 0; }
  .family-item + .family-item { border-left: 0; padding-left: 0; }
  .aw-body { grid-template-columns: 148px 1fr; }
  .aw-msg { max-width: 95%; }
  .aw-stat { padding: 8px 12px; }
  .aw-stat b { font-size: 13px; }
}

@media (max-width: 760px) {
  .hero {
    padding-top: calc(var(--head-h) + 28px) !important;
  }
  .hero .eyebrow {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  .hero-h1 {
    max-width: 100%;
    font-size: clamp(2rem, 9.2vw, 2.7rem);
    line-height: 1.03;
    letter-spacing: 0;
  }
  .hero-mission {
    max-width: 100%;
    font-size: .98rem;
  }
  .hero-sub {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .hero-sub p {
    max-width: 100%;
  }
  .hero-actions,
  .hero-ctas {
    width: 100%;
  }
  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-assure {
    gap: 9px 14px;
  }
  .model-strip {
    align-items: flex-start;
    justify-content: flex-start;
  }
  .demo {
    height: auto;
    background:
      radial-gradient(460px 320px at 50% 24%, color-mix(in srgb, var(--agent) 16%, transparent), transparent 70%),
      var(--bg);
  }
  .demo-pin {
    position: relative;
    top: auto;
    min-height: 0;
    justify-content: flex-start;
    padding-top: calc(var(--head-h) + 30px);
    padding-bottom: 58px;
    overflow: visible;
  }
  .demo .sec-head {
    margin-bottom: 18px;
  }
  .demo .sec-head h2 {
    max-width: 100%;
    font-size: clamp(1.8rem, 8vw, 2.55rem);
    line-height: 1.04;
  }
  .demo .sec-sub {
    max-width: 100%;
    font-size: 1rem;
  }
  .loop-rail {
    display: none;
  }
  .mobile-loop {
    display: grid;
    gap: 12px;
    margin-top: 22px;
  }
  .mobile-loop article {
    position: relative;
    padding: 17px 18px 17px 42px;
    border: 1px solid var(--line-strong);
    border-radius: 20px;
    background:
      linear-gradient(135deg, color-mix(in srgb, var(--agent) 8%, transparent), transparent 42%),
      var(--surface);
    box-shadow: 0 22px 54px -42px rgba(0, 0, 0, .55);
  }
  .mobile-loop article::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 22px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--agent);
    box-shadow: 0 0 16px color-mix(in srgb, var(--agent) 70%, transparent);
  }
  .mobile-loop article::after {
    content: "";
    position: absolute;
    left: 21.5px;
    top: 36px;
    bottom: -18px;
    width: 1px;
    background: linear-gradient(var(--agent), transparent);
  }
  .mobile-loop article:last-child::after {
    display: none;
  }
  .mobile-loop span {
    display: block;
    margin-bottom: 8px;
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--agent-text);
  }
  .mobile-loop b {
    display: block;
    color: var(--text);
    font-size: 1.02rem;
    line-height: 1.25;
  }
  .mobile-loop p {
    margin-top: 8px;
    color: var(--text-dim);
    font-size: .95rem;
    line-height: 1.45;
  }
  .mobile-loop-approve {
    border-color: color-mix(in srgb, var(--accent) 52%, var(--line-strong)) !important;
    background:
      linear-gradient(135deg, color-mix(in srgb, var(--accent) 14%, transparent), transparent 42%),
      var(--surface) !important;
  }
  .mobile-loop-approve::before {
    background: var(--accent) !important;
    box-shadow: 0 0 16px color-mix(in srgb, var(--accent) 70%, transparent) !important;
  }
  .demo-stage {
    display: none;
  }
  .demo-hint {
    margin-top: 18px;
    text-align: left;
    font-size: 10px;
  }
  .demo-hint::before {
    content: "MOBILE VIEW · ";
    color: var(--agent-text);
  }
  .demo-cta {
    text-align: left;
    margin-top: 22px;
  }
  .flow-link { min-width: 10px; }
  .flow-node { padding: 10px 14px; font-size: 13px; }
  .aw-side { display: none; }
  .aw-body { grid-template-columns: 1fr; min-height: 320px; }
  .home-vsl { padding-block: 54px !important; }
  .home-vsl-copy h2 { font-size: clamp(1.75rem, 8vw, 2.65rem); }
  .skill-overview {
    padding: 18px;
    border-radius: 22px;
  }
  .skill-overview h3 {
    max-width: 100%;
    font-size: clamp(1.25rem, 6vw, 1.75rem);
  }
  .skill-flow {
    grid-template-columns: 1fr;
    gap: 7px;
  }
  .skill-flow i {
    width: 1px;
    height: 12px;
    justify-self: center;
    background: linear-gradient(180deg, var(--agent), var(--accent));
  }
  .skill-flow b {
    width: 100%;
    min-height: 36px;
  }
  .skill-strip {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .skill-card {
    min-height: 0;
    padding: 18px;
  }
  .model-switch {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 16px;
  }
  .ms-chip {
    min-width: 0;
    padding: 10px 8px;
    font-size: 12.5px;
    text-align: center;
  }
  .model-stage {
    max-width: none;
    border-radius: 22px;
  }
  .model-stage .ins-chrome {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .ms-bay {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px;
    background-size: auto, 38px 38px, 38px 38px, auto;
  }
  .ms-ring {
    width: 100%;
    height: 72px;
    min-height: 0;
    border-radius: 18px;
    overflow: hidden;
    background:
      linear-gradient(90deg, color-mix(in srgb, var(--model) 18%, transparent), transparent 58%),
      var(--surface);
  }
  .ms-ring::before {
    display: none;
  }
  .ms-ring::after {
    display: none;
  }
  .ms-ring b,
  .ms-ring i {
    position: relative;
    z-index: 1;
  }
  .ms-ring b {
    max-width: none;
    font-size: 11px;
  }
  .ms-ring i {
    font-size: 7.5px;
  }
  .ms-line {
    font-size: 10.5px;
    line-height: 1.55;
    letter-spacing: .08em;
  }
  .ms-flow {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .ms-flow i {
    width: 1px;
    height: 12px;
    min-width: 0;
    justify-self: center;
    background: linear-gradient(180deg, color-mix(in srgb, var(--model) 72%, transparent), transparent);
  }
  .ms-flow span {
    width: 100%;
    text-align: center;
    white-space: normal;
  }
  .ms-constants {
    display: grid;
    grid-template-columns: 1fr;
  }
  .ms-constants span {
    width: 100%;
    text-align: center;
  }
  .models-foot {
    font-size: 10px;
    line-height: 1.7;
  }
  .ledger-row { grid-template-columns: 1fr auto; }
  .lr-name { grid-column: 1 / -1; }
  .lr-playbook { grid-column: 1 / -1; }
  .org-depts { grid-template-columns: 1fr; gap: 10px; }
  .org-console {
    padding: 16px;
    border-radius: 24px;
    background-size: auto, 42px 42px, 42px 42px, auto;
  }
  .org-topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 18px;
  }
  .org-route-labels {
    display: none;
  }
  .org-cell {
    width: 100%;
    min-width: 0;
    padding: 14px 16px;
  }
  .org-packet {
    position: relative;
    left: auto;
    top: auto;
    display: block;
    transform: none;
    margin: 12px 0;
    text-align: center;
    white-space: normal;
  }
  .org-dept {
    min-height: 0;
    padding: 15px;
  }
  .org-dept h3 {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    font-size: 14px;
  }
  .org-spread { display: none; }
  .org-stem i { height: 22px; }
  .orgchart .org-tier + .org-depts { margin-top: 14px; }
  .ins-stats { font-size: 11px; }
  .ins-stat { padding: 7px 10px; }
}

/* ============================================================
   REDUCED MOTION — everything lands in its final state
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .demo { height: auto; }
  .demo-pin { position: static; min-height: 0; }
  .demo-chip, .demo-anno, .demo-draft, .demo-stamp { opacity: 1; transform: none; }
  .demo-chip { --cx: 60; }
  .demo-approve { opacity: 1; pointer-events: auto; }
  .qr rect { opacity: 1; }
}

/* ============================================================
   FOUNDEROS AD LANDING PAGE (/fouderos)
   ============================================================ */
.authority-page {
  min-height: 100%;
  background:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
    var(--bg);
  background-size: 72px 72px, 72px 72px, auto;
}
.authority-page main > section {
  padding: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  box-shadow: none;
}
.authority-hero {
  width: min(var(--maxw), calc(100% - clamp(36px, 8vw, 96px)));
  margin-inline: auto;
  min-height: min(680px, 86svh);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--head-h) + 42px) !important;
  padding-bottom: clamp(54px, 7.5vw, 92px) !important;
}
.authority-hero h1 {
  max-width: 10.8em;
  font-size: clamp(2.45rem, 5.8vw, 5.25rem);
  line-height: 1;
  letter-spacing: 0;
  font-weight: 680;
  text-wrap: balance;
}
.authority-lede {
  margin-top: clamp(22px, 3vw, 34px);
  max-width: 63ch;
  color: var(--text-dim);
  font-size: clamp(1.02rem, 1.35vw, 1.18rem);
}
.authority-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}
.authority-band {
  padding-block: clamp(56px, 7.5vw, 92px) !important;
  background: var(--bg2) !important;
}
.authority-grid,
.directory-list,
.authority-copy,
.authority-faq,
.authority-foot {
  width: min(var(--maxw), calc(100% - clamp(36px, 8vw, 96px)));
  margin-inline: auto;
}
.authority-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.authority-grid-wide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.authority-grid article,
.faq-list article,
.directory-list article {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
}
.authority-grid article {
  padding: 24px 22px;
}
.authority-grid span {
  display: inline-block;
  margin-bottom: 18px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.authority-grid h2,
.faq-list h3,
.directory-list h2 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 650;
  letter-spacing: 0;
}
.authority-grid p,
.faq-list p,
.directory-list p {
  margin-top: 10px;
  color: var(--text-dim);
}
.authority-copy,
.authority-faq {
  padding-block: clamp(60px, 8vw, 104px) !important;
}
.authority-copy h2,
.authority-faq h2 {
  max-width: 12em;
  font-size: clamp(1.95rem, 4.05vw, 3.65rem);
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}
.authority-copy p:not(.kicker) {
  margin-top: 20px;
  max-width: 68ch;
  color: var(--text-dim);
  font-size: clamp(1.04rem, 1.35vw, 1.18rem);
}
.legal-hero {
  min-height: min(620px, 78svh);
}
.legal-copy h2 {
  margin-top: 34px;
  font-size: clamp(1.55rem, 2.6vw, 2.2rem);
}
.legal-copy h2:first-child {
  margin-top: 0;
}
.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(30px, 5vw, 54px);
}
.faq-list article {
  padding: 24px;
}
.directory-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding-bottom: clamp(80px, 10vw, 130px) !important;
}
.directory-list article {
  padding: clamp(22px, 3vw, 32px);
}
.directory-list a {
  color: var(--text);
}
.directory-list a:hover {
  color: var(--accent-text);
}
.authority-final {
  width: min(var(--maxw), calc(100% - clamp(36px, 8vw, 96px)));
  margin: 0 auto clamp(76px, 9vw, 124px);
  padding: clamp(34px, 5vw, 58px) !important;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background:
    radial-gradient(640px 340px at 82% 20%, var(--accent-soft), transparent 72%),
    radial-gradient(620px 320px at 8% 90%, var(--agent-soft), transparent 72%),
    var(--surface);
  box-shadow: var(--shadow);
}
.authority-final h2 {
  max-width: 13em;
  font-size: clamp(1.85rem, 3.7vw, 3.3rem);
  line-height: 1.02;
  font-weight: 660;
  letter-spacing: 0;
  text-wrap: balance;
}
.authority-final p:not(.kicker) {
  margin-top: 18px;
  max-width: 58ch;
  color: var(--text-dim);
  font-size: clamp(1rem, 1.24vw, 1.12rem);
}
.authority-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
}
.authority-foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.fo-page {
  background:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
    var(--bg);
  background-size: 72px 72px, 72px 72px, auto;
}
.fo-page main > section {
  padding: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  box-shadow: none;
}
.fo-page :is(h1, h2, h3, b, .wordmark, .eyebrow, .kicker, .fo-beta, .fo-proofbar span, .fo-form label, .fo-system-grid span, .fo-product-shot figcaption, .fo-foot p, .fo-microcopy) {
  letter-spacing: 0;
}
.fo-wrap {
  width: min(var(--maxw), calc(100% - clamp(36px, 8vw, 96px)));
  margin-inline: auto;
}
.fo-head {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--head-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: clamp(18px, 4vw, 44px);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color .35s, border-color .35s, backdrop-filter .35s;
}
.fo-head.scrolled {
  background: var(--head-bg);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom-color: var(--line);
}
.fo-head-actions { display: flex; align-items: center; gap: 12px; }
.fo-beta {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--agent-text);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 7px 11px;
}
.fo-hero {
  min-height: 92svh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--head-h) + 28px) !important;
  padding-bottom: clamp(46px, 6.8vw, 78px) !important;
  overflow: clip;
}
.fo-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, .98fr);
  gap: clamp(24px, 3.7vw, 46px);
  align-items: start;
}
.fo-copy h1 {
  font-size: clamp(2.45rem, 4.2vw, 4.05rem);
  line-height: 1.04;
  letter-spacing: 0;
  font-weight: 670;
  max-width: 12.5em;
  text-wrap: balance;
}
.fo-lede {
  margin-top: 20px;
  max-width: 51ch;
  color: var(--text-dim);
  font-size: clamp(1rem, 1.22vw, 1.1rem);
}
.fo-proofbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.fo-proofbar span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--text-dim);
}
.fo-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
}
.fo-apply-card {
  position: relative;
  padding: clamp(20px, 2.3vw, 26px);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: 0 22px 60px -34px rgba(0, 0, 0, .45);
}
.fo-apply-card h2 {
  font-size: clamp(1.75rem, 2.55vw, 2.28rem);
  letter-spacing: 0;
}
.fo-apply-card > p:not(.kicker):not(.fo-success):not(.fo-microcopy) {
  margin-top: 10px;
  color: var(--text-dim);
}
.fo-form {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}
.fo-form label {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--text-faint);
}
.fo-form input,
.fo-form select {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
}
.fo-form input::placeholder { color: var(--text-faint); }
.fo-form .btn {
  width: 100%;
  margin-top: 8px;
}
.fo-success {
  margin-top: 24px;
  padding: 14px 16px;
  border: 1px solid color-mix(in srgb, var(--accent) 46%, transparent);
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-text);
  font-weight: 620;
}
.fo-microcopy {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--text-faint);
}
.fo-conversion-stack {
  display: grid;
  gap: clamp(16px, 2vw, 22px);
}
.fo-section {
  padding-block: clamp(66px, 8vw, 104px) !important;
}
.fo-section-tight { padding-top: clamp(54px, 7vw, 82px) !important; }
.fo-letter {
  background: var(--bg2) !important;
}
.fo-letter-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  gap: clamp(30px, 6vw, 84px);
  align-items: start;
}
.fo-letter-main {
  max-width: 820px;
}
.fo-letter-main h2 {
  font-size: clamp(1.95rem, 4.35vw, 3.9rem);
  line-height: 1.01;
}
.fo-big-copy {
  margin-top: 24px;
  font-size: clamp(1.08rem, 1.52vw, 1.28rem);
  color: var(--text);
  max-width: 46em;
}
.fo-letter-main p:not(.kicker):not(.fo-big-copy) {
  margin-top: 18px;
  color: var(--text-dim);
  max-width: 62ch;
}
.fo-letter-card {
  position: sticky;
  top: calc(var(--head-h) + 24px);
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  background: var(--surface);
}
.fo-letter-card b {
  font-size: 1.2rem;
  letter-spacing: 0;
  margin-bottom: 4px;
}
.fo-letter-card span {
  position: relative;
  padding-left: 20px;
  color: var(--text-dim);
}
.fo-letter-card span::before {
  content: "";
  position: absolute;
  left: 0;
  top: .7em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  transform: rotate(45deg);
  background: var(--accent);
}
.fo-video-card {
  margin: clamp(34px, 5vw, 64px) 0 0;
  padding: clamp(12px, 2vw, 20px);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  background:
    linear-gradient(135deg, rgba(212, 121, 45, .08), transparent 36%),
    var(--surface);
  box-shadow: 0 24px 68px -36px rgba(0, 0, 0, .48);
}
.fo-hero-video {
  margin-top: 0;
  max-width: none;
}
.fo-hero .fo-video-card {
  box-shadow: 0 22px 58px -34px rgba(0, 0, 0, .46);
}
.fo-vsl-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(0, 0, 0, .18);
  border-radius: clamp(12px, 1.5vw, 20px);
  background: #050504;
  object-fit: contain;
}
.fo-video-card figcaption {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--text-faint);
}
:root[data-theme="dark"] .fo-video-card {
  background:
    linear-gradient(135deg, rgba(212, 121, 45, .13), transparent 36%),
    var(--surface);
}
.fo-section-head {
  max-width: 760px;
  margin-bottom: clamp(30px, 5vw, 54px);
}
.fo-section-head p,
.fo-section-copy {
  margin-top: 16px;
  color: var(--text-dim);
  max-width: 58ch;
}
.fo-system-grid,
.fo-objection-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.fo-system-grid article,
.fo-objection-grid article {
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
}
.fo-system-grid span {
  display: inline-block;
  margin-bottom: 16px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--agent-text);
}
.fo-system-grid h3,
.fo-objection-grid h3 {
  font-size: 1.25rem;
  font-weight: 650;
  letter-spacing: 0;
}
.fo-system-grid p,
.fo-objection-grid p {
  margin-top: 10px;
  color: var(--text-dim);
  font-size: 15.5px;
}
.fo-demo-section {
  background: var(--bg2) !important;
}
.fo-demo-grid {
  display: grid;
  grid-template-columns: minmax(290px, .8fr) minmax(320px, 1.15fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: center;
}
.fo-checks {
  list-style: none;
  margin-top: 24px;
  display: grid;
  gap: 12px;
}
.fo-checks li {
  position: relative;
  padding-left: 25px;
  color: var(--text-dim);
}
.fo-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .65em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  transform: rotate(45deg);
  background: var(--accent);
}
.fo-product-shot {
  margin: 0;
  padding: clamp(14px, 2.2vw, 24px);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: 0 20px 58px -34px rgba(0, 0, 0, .42);
}
:root[data-theme="dark"] .fo-product-shot {
  background: var(--surface);
}
.fo-product-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: clamp(12px, 1.6vw, 20px);
  border: 1px solid rgba(0, 0, 0, .18);
  background: #000;
}
.fo-product-shot figcaption {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--text-faint);
}
:root[data-theme="dark"] .fo-product-shot figcaption { color: var(--text-faint); }
.fo-fit-grid {
  display: grid;
  grid-template-columns: minmax(290px, .85fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.fo-fit-card {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}
.fo-fit-card p:not(.kicker) { margin-top: 14px; color: var(--text-dim); }
.fo-fit-list {
  border-top: 1px solid var(--line-strong);
}
.fo-fit-list div {
  display: grid;
  grid-template-columns: minmax(150px, 210px) 1fr;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.fo-fit-list b {
  font-size: 1.2rem;
  letter-spacing: 0;
}
.fo-fit-list span { color: var(--text-dim); }
.fo-objections { background: var(--bg2) !important; }
.fo-objection-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fo-final {
  padding-block: clamp(64px, 7.5vw, 96px) !important;
}
.fo-final-card {
  padding: clamp(26px, 5vw, 54px);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: 0 20px 58px -34px rgba(0, 0, 0, .42);
}
.fo-final-card p:not(.kicker) {
  margin-top: 12px;
  color: var(--text-dim);
}
.fo-final-card .btn { margin-top: 28px; }
.fo-foot {
  padding: 34px 0;
  border-top: 1px solid var(--line);
}
.fo-foot .fo-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.fo-foot p {
  color: var(--text-faint);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}
.fo-foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}
.fo-foot-links a {
  color: var(--text-faint);
}
.fo-foot-links a:hover {
  color: var(--text);
}
@media (max-width: 980px) {
  .authority-grid,
  .authority-grid-wide,
  .directory-list,
  .faq-list {
    grid-template-columns: 1fr;
  }
  .authority-foot {
    align-items: flex-start;
    flex-direction: column;
  }
  .fo-hero-grid,
  .fo-demo-grid,
  .fo-fit-grid {
    grid-template-columns: 1fr;
  }
  .fo-apply-card {
    max-width: 560px;
  }
  .fo-letter-grid {
    grid-template-columns: 1fr;
  }
  .fo-letter-card {
    position: static;
  }
  .fo-system-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .fo-wrap {
    width: min(100% - 30px, var(--maxw));
  }
  .fo-head .btn-small,
  .fo-beta {
    display: none;
  }
  .fo-hero {
    align-items: start;
    min-height: auto;
    padding-top: calc(var(--head-h) + 22px) !important;
    padding-bottom: 42px !important;
  }
  .fo-copy h1 {
    max-width: 100%;
    font-size: clamp(1.95rem, 8.6vw, 2.7rem);
    line-height: 1.04;
    overflow-wrap: anywhere;
  }
  .fo-lede {
    margin-top: 16px;
    font-size: .98rem;
    max-width: 100%;
  }
  .fo-proofbar {
    display: none;
  }
  .fo-hero-actions {
    margin-top: 20px;
  }
  .fo-apply-card {
    padding: 22px 18px;
  }
  .fo-hero-actions .btn {
    width: 100%;
    justify-content: center;
    min-height: 50px;
  }
  .fo-system-grid,
  .fo-objection-grid {
    grid-template-columns: 1fr;
  }
  .fo-fit-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .fo-foot .fo-wrap {
    align-items: flex-start;
    flex-direction: column;
  }
}
