/* ============================================================
   Cerebro, shared design system
   "Mission control as a concert hall in deep space."
   Cool violet = the agents. Warm gold = you, the Conductor.
   ============================================================ */

/* ---- Self-hosted Latin fonts (SIL Open Font License 1.1) ---- */
@font-face{
  font-family: 'Bricolage Grotesque';
  src: url('assets/fonts/bricolage-grotesque-latin-v9.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100%;
  font-display: optional;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}
@font-face{
  font-family: 'Hanken Grotesk';
  src: url('assets/fonts/hanken-grotesk-latin-v12.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}
@font-face{
  font-family: 'JetBrains Mono';
  src: url('assets/fonts/jetbrains-mono-latin-v24.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

:root {
  /* cosmic field */
  --bg:        #07070c;
  --bg-1:      #0b0b13;
  --bg-2:      #11111c;
  --panel:     #14141f;
  --panel-2:   #1a1a28;
  --border:    #22223699;
  --border-1:  #232339;
  --border-2:  #35354f;

  /* ink */
  --text:      #f1f0fa;
  --muted:     #a4a3be;
  --faint:     #6c6c88;

  /* cool accent, the agents */
  --violet:    #a78bfa;
  --violet-2:  #8b5cf6;
  --violet-3:  #c4b5fd;
  --violet-deep:#4c1d95;
  --violet-glow: rgba(139,92,246,.45);

  /* warm accent, the Conductor / the baton (use sparingly) */
  --gold:      #f4cd86;
  --gold-2:    #e8b25e;
  --gold-soft: #f7dcae;
  --gold-glow: rgba(244,205,134,.35);

  /* type */
  --display: 'Bricolage Grotesque', 'Avenir Next', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --body:    'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono:    'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* rhythm */
  --maxw: 1120px;
  --radius: 18px;
  --radius-sm: 12px;
  --pad: 24px;
}

/* ---- reset ---- */
*{ box-sizing: border-box; }
[hidden]{ display: none !important; }
html{ scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection{ background: rgba(167,139,250,.30); color: #fff; }
a{ color: var(--violet); text-decoration: none; }
img{ max-width: 100%; display: block; }
button{ font-family: inherit; }

/* ---- atmosphere: grain + ambient glow layers ---- */
body::before{ /* grain */
  content:""; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
body::after{ /* ambient top glow */
  content:""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(800px 480px at 80% -8%, rgba(139,92,246,.14), transparent 70%),
    radial-gradient(700px 500px at 12% 4%, rgba(244,205,134,.05), transparent 65%);
}

/* ---- layout primitives ---- */
.wrap{ max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); position: relative; z-index: 1; }
.page{ position: relative; z-index: 1; }
.hairline{ height: 1px; border: 0; margin: 0;
  background: linear-gradient(90deg, transparent, var(--border-2) 30%, var(--border-2) 70%, transparent); }

/* ---- nav ---- */
.nav{ position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: rgba(7,7,12,.62); border-bottom: 1px solid transparent; transition: border-color .25s, background .25s; }
.nav.scrolled{ border-bottom-color: var(--border-1); background: rgba(7,7,12,.82); }
.nav .wrap{ display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 64px; }
.brand{ display: flex; align-items: center; gap: 10px; font-family: var(--display);
  font-weight: 700; font-size: 16.5px; letter-spacing: -.01em; color: var(--text); }
.brand-mark{
  width:22px; height:22px; display:block; flex:none;
  border-radius:6px; filter:drop-shadow(0 0 9px rgba(34,211,197,.22));
}
@media (prefers-reduced-motion: no-preference){
  .brand:hover .brand-mark--motion,
  .brand:focus-visible .brand-mark--motion{
    animation:brand-mark-cue .65s cubic-bezier(.2,.7,.2,1);
  }
}
@keyframes brand-mark-cue{
  0%,100%{ transform:scale(1); filter:drop-shadow(0 0 9px rgba(34,211,197,.22)); }
  48%{ transform:scale(1.06); filter:drop-shadow(0 0 13px rgba(244,205,134,.36)); }
}
.nav-links{ display: flex; align-items: center; gap: 26px; }
.nav-links a{ font-size: 14px; font-weight: 500; color: var(--muted); transition: color .18s; }
.nav-links a:hover{ color: var(--text); }
.nav-links a.active{ color: var(--text); }
.btn-ghost{ font-family: var(--body); font-size: 13.5px; font-weight: 600; color: var(--text);
  border: 1px solid var(--border-2); padding: 9px 16px; border-radius: 999px;
  background: rgba(255,255,255,.025); transition: border-color .18s, background .18s; cursor: pointer; }
.btn-ghost:hover{ border-color: var(--violet); background: rgba(139,92,246,.08); }
.nav-toggle{ display: none; background: none; border: 0; color: var(--text); font-size: 22px; cursor: pointer; }

/* ---- buttons ---- */
.btn{ display: inline-flex; align-items: center; gap: 8px; cursor: pointer; border: 0;
  font-family: var(--body); font-weight: 700; font-size: 15px; border-radius: var(--radius-sm);
  padding: 14px 24px; transition: filter .18s, transform .18s, box-shadow .18s; }
.btn-primary{ color: #fff; background: linear-gradient(180deg, var(--violet), var(--violet-2));
  box-shadow: 0 10px 30px var(--violet-glow); }
.btn-primary:hover{ filter: brightness(1.08); transform: translateY(-1px); }
.btn-gold{ color: #1a1206; background: linear-gradient(180deg, var(--gold-soft), var(--gold-2));
  box-shadow: 0 10px 30px var(--gold-glow); }
.btn-gold:hover{ filter: brightness(1.05); transform: translateY(-1px); }
.btn-line{ color: var(--text); background: transparent; border: 1px solid var(--border-2); }
.btn-line:hover{ border-color: var(--violet); }

/* ---- type helpers ---- */
.kicker{ font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .22em;
  text-transform: uppercase; color: var(--violet); }
.kicker.faint{ color: var(--faint); }
.eyebrow{ display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono);
  letter-spacing: .14em; text-transform: uppercase; font-size: 11.5px; font-weight: 500; color: var(--violet-3);
  border: 1px solid var(--border-2); border-radius: 999px; padding: 7px 14px; background: rgba(139,92,246,.07); }
.eyebrow .dot{ width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 8px var(--gold-glow); }

h1,h2,h3{ font-family: var(--display); font-weight: 700; letter-spacing: -.02em; line-height: 1.06; overflow-wrap: break-word; }
h1{ font-size: clamp(32px, 6.6vw, 76px); margin: 0 0 20px; }
h2{ font-size: clamp(28px, 3.9vw, 42px); margin: 0 0 16px; letter-spacing: -.015em; }
h3{ font-size: 19px; margin: 0 0 8px; letter-spacing: -.01em; }
.grad{ background: linear-gradient(116deg, #fff 6%, var(--violet-3) 48%, var(--violet) 92%);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-gold{ background: linear-gradient(116deg, #fff 10%, var(--gold-soft) 55%, var(--gold) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead{ color: var(--muted); font-size: clamp(16px, 2vw, 19px); max-width: 640px; }
.center{ text-align: center; }
.center .lead{ margin-left: auto; margin-right: auto; }

/* ---- sections ---- */
.section{ padding: clamp(64px, 9vw, 104px) 0; position: relative; }
.section.bordered{ border-top: 1px solid var(--border-1); }
.section-head{ text-align: center; max-width: 660px; margin: 0 auto clamp(40px, 6vw, 60px); }
.section-head .kicker{ display: block; margin-bottom: 14px; }

/* ---- cards / grids ---- */
.grid{ display: grid; gap: 18px; }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-2{ grid-template-columns: repeat(2, 1fr); }
.card{ background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--border-1); border-radius: var(--radius); padding: 28px 26px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; position: relative; }
.card:hover{ transform: translateY(-4px); border-color: var(--border-2);
  box-shadow: 0 18px 50px -24px rgba(139,92,246,.5); }
.card .ic{ font-size: 24px; margin-bottom: 14px; display: block; }
.card p{ margin: 0; color: var(--muted); font-size: 14.5px; }
.card .k{ color: var(--violet-3); font-weight: 600; }
.card .k.gold{ color: var(--gold); }

/* step (numbered, with connector) */
.steps{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step{ position: relative; }
.step .n{ width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  font-family: var(--mono); font-weight: 600; font-size: 15px; color: var(--violet);
  background: rgba(139,92,246,.13); border: 1px solid var(--border-2); margin-bottom: 16px; }
.step:last-child .n{ color: var(--gold); background: rgba(244,205,134,.12); border-color: rgba(244,205,134,.3); }
.step .arrow{ position: absolute; top: 28px; right: -13px; color: var(--border-2); font-size: 18px; z-index: 2; }
.step:last-child .arrow{ display: none; }

/* ---- email capture form ---- */
.capture{ display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; max-width: 480px; position: relative; }
.capture.center{ margin: 0 auto; }
.capture > input[type="email"]{ grid-column: 1; grid-row: 1; min-width: 0; background: var(--bg-1); border: 1px solid var(--border-2);
  color: var(--text); border-radius: var(--radius-sm); padding: 15px 16px; font-size: 15px; font-family: var(--body);
  outline: none; transition: border-color .18s, box-shadow .18s; }
.capture > input[type="email"]::placeholder{ color: var(--faint); }
.capture > input[type="email"]:focus{ border-color: var(--violet); box-shadow: 0 0 0 3px rgba(139,92,246,.16); }
.capture button{ grid-column: 2; grid-row: 1; white-space: nowrap; }
.capture button[disabled]{ opacity: .6; cursor: progress; }
.capture .hp{ position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.capture .turnstile-slot{ grid-column: 1 / -1; grid-row: 2; min-height: 65px; display: grid;
  place-items: center; overflow: hidden; }
.form-note{ font-family: var(--mono); font-size: 12px; color: var(--faint); margin-top: 14px; letter-spacing: .02em; }
.form-note b{ color: var(--muted); font-weight: 500; }
.form-msg{ display: none; font-size: 14.5px; font-weight: 600; margin-top: 14px; }
.form-msg.show{ display: block; }
.form-msg.ok{ color: var(--gold-soft); }
.form-msg.err{ color: #ff9a9a; }

/* ---- proof row ---- */
.proof{ display: flex; align-items: center; justify-content: center; gap: 0; flex-wrap: wrap;
  font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--faint); text-transform: uppercase; }
.proof b{ color: var(--muted); font-weight: 500; }
.proof .sep{ margin: 0 12px; opacity: .45; }

/* ---- panel / final CTA ---- */
.panel-cta{ max-width: 780px; margin: 0 auto; text-align: center; border-radius: 26px;
  border: 1px solid var(--border-2); padding: clamp(38px, 6vw, 56px) clamp(24px, 5vw, 44px);
  background:
    radial-gradient(120% 140% at 50% -20%, rgba(139,92,246,.18), transparent 60%),
    linear-gradient(180deg, rgba(26,16,46,.5), rgba(12,12,20,.4)); }
.badge-row{ display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.badge-row span{ font-family: var(--mono); font-size: 11.5px; color: var(--muted); letter-spacing: .04em;
  border: 1px solid var(--border-1); border-radius: 999px; padding: 7px 13px; background: rgba(255,255,255,.02); }

/* ---- manifesto ---- */
.manifesto{ max-width: 740px; margin: 0 auto; text-align: center; }
.manifesto p.big{ font-family: var(--display); font-size: clamp(21px, 3vw, 30px); line-height: 1.42;
  font-weight: 600; letter-spacing: -.01em; color: var(--text); margin: 0; }
.manifesto p.big .dim{ color: var(--faint); }
.manifesto p.big em{ font-style: italic; color: var(--gold-soft); }
.manifesto .sig{ margin-top: 22px; font-family: var(--mono); color: var(--faint); font-size: 13px; letter-spacing: .04em; }

/* ---- compare table ---- */
.compare-wrap{ overflow-x: auto; border: 1px solid var(--border-1); border-radius: var(--radius); }
table.compare{ width: 100%; border-collapse: collapse; min-width: 640px; font-size: 14.5px; }
table.compare th, table.compare td{ padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--border-1); vertical-align: top; }
table.compare thead th{ font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); font-weight: 500; background: var(--bg-1); }
table.compare thead th.us{ color: var(--gold); }
table.compare tbody th{ font-weight: 600; color: var(--text); font-family: var(--body); }
table.compare td{ color: var(--muted); }
table.compare td.us{ color: var(--text); background: rgba(244,205,134,.04); }
table.compare tr:last-child th, table.compare tr:last-child td{ border-bottom: 0; }
.col-us{ position: relative; }

/* ---- generic prose (privacy/terms) ---- */
.prose{ max-width: 720px; margin: 0 auto; }
.prose h2{ text-align: left; font-size: 24px; margin-top: 40px; }
.prose h3{ margin-top: 28px; color: var(--violet-3); }
.prose p, .prose li{ color: var(--muted); font-size: 15px; }
.prose a{ color: var(--violet-3); text-decoration: underline; text-underline-offset: 3px; }
.prose .updated{ font-family: var(--mono); font-size: 12px; color: var(--faint); }

/* ---- footer ---- */
.footer{ border-top: 1px solid var(--border-1); padding: 56px 0 64px; }
.footer .cols{ display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 36px; }
.footer .brand-col{ max-width: 320px; }
.footer .brand-col p{ color: var(--muted); font-size: 14px; margin: 14px 0 0; }
.footer .links{ display: flex; gap: 60px; flex-wrap: wrap; }
.footer .links .group h2{ font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 14px; font-weight: 500; text-align: left; }
.footer .links .group a{ display: block; color: var(--muted); font-size: 14px; margin-bottom: 10px; transition: color .15s; }
.footer .links .group a:hover{ color: var(--text); }
.footer .legal{ display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding-top: 28px; border-top: 1px solid var(--border-1); font-family: var(--mono); font-size: 12px; color: var(--muted); }

/* ---- entrance animation ---- */
@keyframes rise{ from{ opacity: 0; transform: translateY(16px); } to{ opacity: 1; transform: none; } }
.rise{ opacity: 0; animation: rise .7s cubic-bezier(.2,.7,.2,1) forwards; }
.d1{ animation-delay: .05s; } .d2{ animation-delay: .15s; } .d3{ animation-delay: .28s; }
.d4{ animation-delay: .42s; } .d5{ animation-delay: .56s; } .d6{ animation-delay: .7s; }

/* reveal-on-scroll */
.reveal{ opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in{ opacity: 1; transform: none; }

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

/* ---- responsive ---- */
@media (max-width: 860px){
  .grid-3, .steps{ grid-template-columns: 1fr; }
  .step .arrow{ display: none; }
  .nav-links{ position: fixed; inset: 64px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(8,8,14,.97); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border-1);
    padding: 8px 0 16px; transform: translateY(-130%); transition: transform .3s ease; }
  .nav-links.open{ transform: none; }
  .nav-links a{ padding: 13px var(--pad); font-size: 15px; }
  .nav-links .btn-ghost{ margin: 8px var(--pad) 0; text-align: center; }
  .nav-toggle{ display: block; }
  .footer .cols{ flex-direction: column; gap: 32px; }
}
@media (max-width: 560px){
  .grid-2{ grid-template-columns: 1fr; }
  .hbr{ display: none; }  /* let the hero headline flow naturally on phones */
  .capture{ grid-template-columns: minmax(0, 1fr); }
  .capture > input[type="email"]{ grid-column: 1; grid-row: 1; }
  .capture .turnstile-slot{ grid-column: 1; grid-row: 2; }
  .capture button{ grid-column: 1; grid-row: 3; justify-content: center; }
}

/* ============================================================
   SITE-PLAN ADDITIONS (2026-07-06)
   New components for the download/marketing build. Same tokens,
   same idiom as the base above, extend, never redesign.
   Semantic rule kept: violet = the agents/system · gold = you.
   ============================================================ */

/* in-page anchors clear the sticky nav */
[id]{ scroll-margin-top: 88px; }

/* ---- hero CTA cluster + microcopy ---- */
.cta-row{ display: flex; gap: 12px; flex-wrap: wrap; }
.cta-row.center{ justify-content: center; }
.microcopy{ font-family: var(--mono); font-size: 12px; color: var(--faint); letter-spacing: .02em; margin-top: 16px; }
.microcopy b{ color: var(--muted); font-weight: 500; }
.microcopy .dot{ margin: 0 9px; opacity: .4; }

/* ---- mechanism-name mono tag ---- */
.mtag{ display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .02em;
  color: var(--violet-3); background: rgba(139,92,246,.09); border: 1px solid var(--border-2); border-radius: 999px; padding: 5px 11px; }
.mtag::before{ content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .85; flex: none; }
.mtag.gold{ color: var(--gold-soft); background: rgba(244,205,134,.08); border-color: rgba(244,205,134,.28); }

/* ---- window bar (shared by screenshots + code frames) ---- */
.winbar{ display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; flex: none;
  background: linear-gradient(180deg, rgba(26,26,40,.35), rgba(20,20,31,.55)); border-bottom: 1px solid var(--border-1); }
.winbar i{ width: 11px; height: 11px; border-radius: 50%; display: block; opacity: .92; }
.winbar i.r{ background: #ff5f57; } .winbar i.y{ background: #febc2e; } .winbar i.g{ background: #28c840; }
.winbar .t{ margin-left: 10px; font-family: var(--mono); font-size: 11.5px; color: var(--faint); letter-spacing: .02em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---- app screenshot frame ---- */
.shot{ position: relative; border: 1px solid var(--border-2); border-radius: var(--radius); overflow: hidden;
  background: var(--panel); box-shadow: 0 30px 80px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(139,92,246,.04); }
.shot .stage{ position: relative; aspect-ratio: 16/10; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(130% 130% at 50% -10%, rgba(139,92,246,.12), transparent 55%),
              linear-gradient(180deg, var(--panel-2), var(--bg-1)); }
.shot.wide .stage{ aspect-ratio: 16/9; }
.shot.tall .stage{ aspect-ratio: 4/3; }
.shot.pair .stage{ aspect-ratio: 5/4; }
.shot .stage picture{ position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.shot .stage img,
.shot .stage video{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center;
  background: #07090d; }
.ask-pair-grid{ margin-top: 24px; grid-template-columns: 1fr; }
/* the handoff capture is already cropped to the evidence, so it is shown whole */
.provider-handoff-shot .stage{ aspect-ratio: 578 / 266; }
.provider-handoff-shot .stage img{ object-fit: contain; }
/* floating callout pins over a shot */
.shot .callout{ position: absolute; z-index: 3; font-family: var(--mono); font-size: 11.5px; letter-spacing: .01em;
  color: var(--text); background: rgba(9,9,16,.82); border: 1px solid var(--border-2); border-radius: 999px;
  padding: 7px 13px 7px 11px; display: inline-flex; align-items: center; gap: 8px;
  backdrop-filter: blur(6px) saturate(140%); -webkit-backdrop-filter: blur(6px) saturate(140%);
  box-shadow: 0 10px 30px -14px rgba(0,0,0,.85); white-space: nowrap; }
.shot .callout .d{ width: 7px; height: 7px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 10px var(--violet-glow); flex: none; }
.shot .callout.amber .d{ background: var(--gold); box-shadow: 0 0 10px var(--gold-glow); }
.shot .callout.ok .d{ background: #3ad29f; box-shadow: 0 0 10px rgba(58,210,159,.5); }

/* ---- split media/copy layout ---- */
.split{ display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.split > *{ min-width: 0; }
.split .kicker{ display: block; margin-bottom: 14px; }
.split h2{ text-align: left; }
.split h3{ font-size: 22px; }
.split .lead{ margin-bottom: 0; }
.split.reverse .media{ order: -1; }

/* ---- capability checklist under copy ---- */
.checks{ list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.checks li{ position: relative; padding-left: 27px; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.checks li::before{ content: "✓"; position: absolute; left: 0; top: 1px; color: var(--violet); font-family: var(--mono); font-weight: 700; font-size: 13px; }
.checks li b{ color: var(--text); font-weight: 600; }
.checks.gold li::before{ color: var(--gold-2); }

/* ---- pillar icon box ---- */
.iconbox{ width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px;
  color: var(--violet-3); background: rgba(139,92,246,.12); border: 1px solid var(--border-2);
  box-shadow: inset 0 0 20px rgba(139,92,246,.10); }
.iconbox svg{ width: 22px; height: 22px; display: block; }
.iconbox.gold{ color: var(--gold-soft); background: rgba(244,205,134,.10); border-color: rgba(244,205,134,.28);
  box-shadow: inset 0 0 20px rgba(244,205,134,.08); }
.card .mtag{ margin-top: 16px; }

/* ---- code frame + receipt JSON ---- */
.codeframe{ border: 1px solid var(--border-1); border-radius: var(--radius); overflow: hidden; background: var(--bg-1); }
pre.code{ margin: 0; padding: 20px 22px; overflow-x: auto; font-family: var(--mono); font-size: 12.5px; line-height: 1.75; color: var(--muted); }
pre.code .k{ color: var(--violet-3); }   /* keys, the schema (system = violet) */
pre.code .s{ color: var(--gold-soft); }  /* recorded string values (the truth = gold) */
pre.code .e{ color: var(--gold-2); }      /* enum / boolean */
pre.code .p{ color: var(--faint); }       /* punctuation */
pre.code .c{ color: var(--faint); font-style: italic; }

/* ---- download artifact card ---- */
.artifact{ border: 1px solid var(--border-2); border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(180deg, rgba(26,16,46,.42), var(--panel)); }
.artifact .top{ display: flex; align-items: center; gap: 18px; padding: 26px; flex-wrap: wrap; }
.artifact .glyph{ width: 54px; height: 54px; border-radius: 15px; flex: none;
  background: radial-gradient(circle at 34% 30%, var(--gold-soft), var(--violet-3) 40%, var(--violet-2) 72%, var(--violet-deep));
  box-shadow: 0 0 26px var(--violet-glow), inset 0 0 8px rgba(255,255,255,.25); }
.artifact .meta{ flex: 1; min-width: 180px; }
.artifact .meta h3{ margin: 0; }
.artifact .meta .sub{ font-family: var(--mono); font-size: 12px; color: var(--faint); margin-top: 5px; letter-spacing: .02em; }
.artifact .rows{ border-top: 1px solid var(--border-1); }
.artifact .row{ display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 13px 26px; border-bottom: 1px solid var(--border-1); }
.artifact .row:last-child{ border-bottom: 0; }
.artifact .row .lbl{ color: var(--faint); font-family: var(--mono); font-size: 11px; letter-spacing: .09em; text-transform: uppercase; flex: none; }
.artifact .row .val{ color: var(--muted); font-family: var(--mono); font-size: 12.5px; display: flex; align-items: center; gap: 10px; overflow: hidden; }
.artifact .row .val code{ overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* copy-to-clipboard button */
.copy{ font-family: var(--mono); font-size: 11px; color: var(--violet-3); background: rgba(139,92,246,.08);
  border: 1px solid var(--border-2); border-radius: 8px; padding: 5px 10px; cursor: pointer; flex: none;
  transition: border-color .15s, color .15s, background .15s; }
.copy:hover{ border-color: var(--violet); color: var(--text); }
.copy.ok{ color: var(--gold-soft); border-color: rgba(244,205,134,.4); background: rgba(244,205,134,.07); }

/* command-line block */
.cmd{ display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--bg-1);
  border: 1px solid var(--border-1); border-radius: var(--radius-sm); padding: 12px 14px; margin: 10px 0 0; }
.cmd code{ font-family: var(--mono); font-size: 12.5px; color: var(--violet-3); white-space: nowrap; overflow-x: auto; }
.cmd code .pr{ color: var(--faint); }

/* ---- numbered vertical setup steps ---- */
.setup{ max-width: 820px; }
.setup .s{ display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--border-1); }
.setup .s:last-child{ border-bottom: 0; }
.setup .s .n{ width: 38px; height: 38px; flex: none; border-radius: 11px; display: grid; place-items: center;
  font-family: var(--mono); font-weight: 600; font-size: 14px; color: var(--violet);
  background: rgba(139,92,246,.13); border: 1px solid var(--border-2); }
.setup .s:last-child .n{ color: var(--gold); background: rgba(244,205,134,.12); border-color: rgba(244,205,134,.3); }
.setup .s .c{ padding-top: 3px; min-width: 0; }
.setup .s .c h3{ margin: 0 0 6px; }
.setup .s .c p{ color: var(--muted); font-size: 14.5px; margin: 0; }

/* ---- FAQ accordion ---- */
.faq{ max-width: 780px; margin: 0 auto; border: 1px solid var(--border-1); border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.faq details{ border-bottom: 1px solid var(--border-1); }
.faq details:last-child{ border-bottom: 0; }
.faq summary{ cursor: pointer; list-style: none; padding: 20px 24px; font-family: var(--display); font-weight: 600; font-size: 16.5px;
  letter-spacing: -.01em; color: var(--text); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker{ display: none; }
.faq summary .ico{ color: var(--violet); font-family: var(--mono); font-weight: 400; font-size: 18px; transition: transform .22s ease; flex: none; }
.faq details[open] summary .ico{ transform: rotate(45deg); }
.faq .body{ padding: 0 24px 22px; color: var(--muted); font-size: 14.5px; }
.faq .body a{ color: var(--violet-3); text-decoration: underline; text-underline-offset: 3px; }
.faq .body code{ font-family: var(--mono); font-size: 12.5px; color: var(--violet-3); background: rgba(139,92,246,.08); padding: 1px 6px; border-radius: 6px; }

/* ---- changelog ---- */
.changelog{ max-width: 780px; margin: 0 auto; }
.changelog .rel{ display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--border-1); }
.changelog .rel:last-child{ border-bottom: 0; }
.changelog .rel .ver b{ color: var(--text); font-family: var(--mono); font-size: 14.5px; display: block; }
.changelog .rel .ver .date{ color: var(--faint); font-family: var(--mono); font-size: 12px; margin-top: 5px; }
.changelog .rel ul{ margin: 0; padding-left: 18px; color: var(--muted); font-size: 14px; }
.changelog .rel li{ margin-bottom: 7px; }

/* ---- verdict blockquote (compare) ---- */
.verdict{ margin-top: 18px; padding: 16px 20px; border-left: 2px solid var(--violet-2);
  background: rgba(139,92,246,.05); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--muted); font-size: 14.5px; }
.verdict b{ color: var(--text); font-weight: 600; }
.verdict.gold{ border-left-color: var(--gold-2); background: rgba(244,205,134,.05); }

/* honest ✓/✗ marks in compare tables */
.compare .mk{ font-family: var(--mono); font-weight: 700; margin-right: 7px; }
.compare .yes .mk{ color: var(--violet); }
.compare td.us .yes .mk{ color: var(--gold); }
.compare .no{ color: var(--faint); }
.compare .no .mk{ color: #c98a8a; }

/* ---- feature section dividers + jump-to anchor nav ---- */
.feature{ padding-top: clamp(52px, 7vw, 88px); padding-bottom: clamp(52px, 7vw, 88px); }
.feature + .feature{ border-top: 1px solid var(--border-1); }
.jumpbar{ display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; max-width: 860px; margin: 0 auto; }
.jumpbar a{ font-family: var(--mono); font-size: 12px; letter-spacing: .02em; color: var(--muted);
  border: 1px solid var(--border-1); border-radius: 999px; padding: 8px 14px; background: rgba(255,255,255,.02);
  transition: border-color .15s, color .15s, background .15s; }
.jumpbar a:hover{ border-color: var(--violet); color: var(--text); background: rgba(139,92,246,.07); }

/* ---- release gate (download.html): flip data-release-ready to swap ---- */
[data-release-ready="false"] .when-ready{ display: none; }
[data-release-ready="true"]  .until-ready{ display: none; }

/* ---- responsive add-ons ---- */
@media (max-width: 860px){
  .split{ grid-template-columns: 1fr; }
  .split.reverse .media{ order: 0; }
}
@media (max-width: 640px){
  .shot .callout{ display: none; }
  .changelog .rel{ grid-template-columns: 1fr; gap: 10px; }
  .artifact .row{ flex-direction: column; align-items: flex-start; gap: 6px; }
  .artifact .row .val{ max-width: 100%; }
}

/* ============================================================
   POWER REFRESH (2026-07-06)
   The OS story: kernel · memory · context · second brain.
   Same tokens, same idiom. Violet = the agents/system · gold = you.
   ============================================================ */

/* ---- the OS band: four primitives ---- */
.os-band{ position: relative; }
.os-band .statement{ font-family: var(--display); font-weight: 700; letter-spacing: -.02em; line-height: 1.12;
  font-size: clamp(30px, 4.6vw, 54px); max-width: 900px; margin: 0 auto; text-align: center; color: var(--text); }
.os-band .statement .dim{ color: var(--faint); }
.os-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: clamp(40px, 6vw, 64px); }
.os-card{ position: relative; border: 1px solid var(--border-1); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel-2), var(--panel)); padding: 26px 22px 24px; overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.os-card:hover{ transform: translateY(-4px); border-color: var(--border-2); box-shadow: 0 18px 50px -24px rgba(139,92,246,.5); }
.os-card .num{ font-family: var(--mono); font-weight: 600; font-size: 46px; line-height: 1; letter-spacing: -.03em;
  color: transparent; -webkit-text-stroke: 1px rgba(167,139,250,.55); display: block; margin-bottom: 18px; }
.os-card.gold .num{ -webkit-text-stroke-color: rgba(244,205,134,.6); }
.os-card h3{ font-size: 18px; margin-bottom: 8px; }
.os-card p{ margin: 0 0 16px; color: var(--muted); font-size: 13.8px; line-height: 1.6; }
.os-card .mech{ font-family: var(--mono); font-size: 11px; letter-spacing: .03em; color: var(--faint);
  border-top: 1px solid var(--border-1); padding-top: 12px; display: block; line-height: 1.8; }
.os-card .mech b{ color: var(--violet-3); font-weight: 500; }
.os-card.gold .mech b{ color: var(--gold-soft); }
@media (max-width: 980px){ .os-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .os-grid{ grid-template-columns: 1fr; } }

/* ---- the kernel pipeline: proposal → policy → your card → receipt ---- */
.pipeline{ position: relative; border: 1px solid var(--border-1); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(26,16,46,.35), var(--bg-1)); padding: 34px 26px 30px; overflow: hidden; }
.pipeline .lane{ position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pipeline .lane::before{ /* the wire */
  content:""; position: absolute; top: 27px; left: 6%; right: 6%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-2) 12%, var(--border-2) 88%, transparent); }
.pipeline .pulse{ position: absolute; top: 24px; left: 6%; width: 7px; height: 7px; border-radius: 50%;
  background: var(--violet); box-shadow: 0 0 12px var(--violet-glow); animation: pipe-run 7s cubic-bezier(.45,.05,.4,1) infinite; }
@keyframes pipe-run{
  0%{ left: 6%; background: var(--violet); box-shadow: 0 0 12px var(--violet-glow); opacity: 0; }
  6%{ opacity: 1; }
  30%{ left: 33%; background: var(--violet); }
  52%{ left: 58%; background: var(--gold); box-shadow: 0 0 14px var(--gold-glow); }
  86%{ left: 91%; background: var(--gold-soft); box-shadow: 0 0 14px var(--gold-glow); opacity: 1; }
  100%{ left: 91%; opacity: 0; }
}
.pipeline .node{ position: relative; z-index: 1; text-align: center; }
.pipeline .node .tick{ width: 11px; height: 11px; border-radius: 50%; margin: 0 auto 14px;
  background: var(--bg-2); border: 1px solid var(--border-2); }
.pipeline .node.you .tick{ border-color: rgba(244,205,134,.5); background: rgba(244,205,134,.12); }
.pipeline .node h4{ font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text); margin: 0 0 7px; font-weight: 600; }
.pipeline .node.you h4{ color: var(--gold-soft); }
.pipeline .node p{ margin: 0; font-size: 12.5px; color: var(--faint); line-height: 1.55; }
.pipeline .caption{ margin-top: 24px; text-align: center; font-family: var(--mono); font-size: 11.5px;
  letter-spacing: .04em; color: var(--faint); }
.pipeline .caption b{ color: var(--muted); font-weight: 500; }
@media (max-width: 720px){
  .pipeline .lane{ grid-template-columns: 1fr 1fr; row-gap: 26px; }
  .pipeline .lane::before, .pipeline .pulse{ display: none; }
}

/* ---- context strip: compact mechanism minis ---- */
.mini-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.mini{ border: 1px solid var(--border-1); border-radius: var(--radius-sm); padding: 20px 18px;
  background: rgba(255,255,255,.014); transition: border-color .2s ease, background .2s ease; }
.mini:hover{ border-color: var(--border-2); background: rgba(139,92,246,.05); }
.mini .mtag{ margin-bottom: 12px; }
.mini h4{ font-family: var(--display); font-size: 15.5px; font-weight: 600; letter-spacing: -.01em; margin: 0 0 6px; color: var(--text); }
.mini p{ margin: 0; font-size: 13px; color: var(--muted); line-height: 1.55; }
@media (max-width: 980px){ .mini-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .mini-grid{ grid-template-columns: 1fr; } }

/* ---- marketplace / plugin cards ---- */
.plugin-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plugin{ position: relative; border: 1px solid var(--border-1); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel-2), var(--panel)); padding: 24px 22px;
  transition: transform .2s ease, border-color .2s ease; }
.plugin:hover{ transform: translateY(-3px); border-color: var(--border-2); }
.plugin h3{ font-size: 17px; margin: 0 0 7px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.plugin p{ margin: 0 0 14px; color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.plugin .caps{ display: flex; flex-wrap: wrap; gap: 6px; }
.plugin .caps code{ font-family: var(--mono); font-size: 10.5px; color: var(--faint); letter-spacing: .02em;
  border: 1px solid var(--border-1); border-radius: 6px; padding: 3px 7px; background: rgba(255,255,255,.015); }
.pstat{ font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  border-radius: 999px; padding: 4px 10px; flex: none; }
.pstat.core{ color: var(--gold-soft); background: rgba(244,205,134,.09); border: 1px solid rgba(244,205,134,.3); }
.pstat.lab{ color: var(--violet-3); background: rgba(139,92,246,.1); border: 1px solid var(--border-2); }
.pstat.community{ color: var(--muted); background: rgba(255,255,255,.02); border: 1px dashed var(--border-2); }
.plugin.ghost{ border-style: dashed; background: transparent; display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 980px){ .plugin-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .plugin-grid{ grid-template-columns: 1fr; } }

/* ---- multi-competitor matrix (compare + index teaser) ---- */
.compare-wrap .matrix{ min-width: 820px; }
table.compare.matrix thead th{ white-space: nowrap; }
table.compare.matrix tbody th{ position: sticky; left: 0; background: var(--bg-1); z-index: 1; min-width: 170px; }
table.compare.matrix td{ font-size: 13px; }
table.compare.matrix .sub{ display: block; font-family: var(--mono); font-size: 10.5px; color: var(--faint); margin-top: 3px; letter-spacing: .02em; text-transform: none; font-weight: 400; }
/* the big named matrix: slimmer cells + a gentle breakout beyond --maxw on wide screens */
.matrix-bleed{ margin-inline: min(0px, calc((var(--maxw) - min(1360px, 100vw - 48px)) / 2)); }
.matrix-bleed .matrix{ min-width: 1080px; }
.matrix-bleed .matrix th, .matrix-bleed .matrix td{ padding: 14px 13px; }

/* ---- footnote chip under a section ---- */
.honesty{ display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 11.5px;
  color: var(--muted); letter-spacing: .02em; border: 1px dashed var(--border-2); border-radius: 999px;
  padding: 8px 15px; background: rgba(255,255,255,.015); }
.honesty::before{ content:""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px var(--gold-glow); flex: none; }

/* ============================================================
   MOTION PASS (2026-07-06 · round 2)
   Staggered reveals, settle scale on media, the typed Conductor terminal, and the
   self-writing SKILL.md. All of it dies under reduced motion
   via the global kill above.
   ============================================================ */

/* accent headlines: a slow gradient drift */
.grad, .grad-gold{ background-size: 190% 100%; animation: grad-drift 12s ease-in-out infinite alternate; }
@keyframes grad-drift{ from{ background-position: 0% 50%; } to{ background-position: 100% 50%; } }

/* grids stagger their children as they reveal */
.grid-2 .card:nth-child(2), .grid-3 .card:nth-child(2), .os-grid .os-card:nth-child(2),
.mini-grid .mini:nth-child(2), .plugin-grid .plugin:nth-child(2){ transition-delay: .09s; }
.grid-2 .card:nth-child(3), .grid-3 .card:nth-child(3), .os-grid .os-card:nth-child(3),
.mini-grid .mini:nth-child(3), .plugin-grid .plugin:nth-child(3){ transition-delay: .18s; }
.grid-2 .card:nth-child(4), .os-grid .os-card:nth-child(4),
.mini-grid .mini:nth-child(4), .plugin-grid .plugin:nth-child(4){ transition-delay: .27s; }
.plugin-grid .plugin:nth-child(5){ transition-delay: .36s; }
.plugin-grid .plugin:nth-child(6){ transition-delay: .45s; }

/* screenshots + code frames settle in with a touch of scale */
.shot.reveal, .media.reveal{ transform: translateY(26px) scale(.985); }
.shot.reveal.in, .media.reveal.in{ transform: none; }

/* pipeline ticks pop on, left to right, once the section reveals */
.reveal.in .pipeline .lane .node .tick, .pipeline.reveal.in .lane .node .tick{
  animation: tick-pop .5s cubic-bezier(.2,.7,.2,1) both; }
.reveal.in .pipeline .lane .node:nth-of-type(1) .tick, .pipeline.reveal.in .lane .node:nth-of-type(1) .tick{ animation-delay: .1s; }
.reveal.in .pipeline .lane .node:nth-of-type(2) .tick, .pipeline.reveal.in .lane .node:nth-of-type(2) .tick{ animation-delay: .3s; }
.reveal.in .pipeline .lane .node:nth-of-type(3) .tick, .pipeline.reveal.in .lane .node:nth-of-type(3) .tick{ animation-delay: .5s; }
.reveal.in .pipeline .lane .node:nth-of-type(4) .tick, .pipeline.reveal.in .lane .node:nth-of-type(4) .tick{ animation-delay: .7s; }
@keyframes tick-pop{ from{ transform: scale(.35); opacity: .15; } }

/* ---- the typed Conductor terminal ---- */
.term{ padding: 20px 22px 22px; font-family: var(--mono); font-size: 12.5px; line-height: 1.9; min-height: 196px; }
.term .tline{ color: var(--muted); white-space: pre-wrap; overflow-wrap: break-word; }
.term .tline .pr{ color: var(--gold-soft); font-weight: 600; }
.term .caret::after, .skillframe .caret::after{ content: "▋"; margin-left: 2px; color: var(--violet-3); animation: caret-blink .95s steps(1) infinite; }
@keyframes caret-blink{ 50%{ opacity: 0; } }
.term .props{ display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 2px; min-height: 27px; }
.term .prop{ opacity: 0; transform: translateY(6px); transition: opacity .4s ease, transform .4s ease;
  font-family: var(--mono); font-size: 11px; letter-spacing: .02em; color: var(--violet-3);
  border: 1px solid var(--border-2); background: rgba(139,92,246,.09); border-radius: 999px; padding: 5px 11px; }
.term .prop.show{ opacity: 1; transform: none; }
.term .tdone{ opacity: 0; transition: opacity .5s ease; color: var(--gold-soft); margin-top: 8px; font-size: 12px; }
.term .tdone.show{ opacity: 1; }

/* ---- the self-writing SKILL.md ---- */
.skillframe pre.code{ min-height: 232px; }
.skillframe pre.code .row{ display: block; min-height: 1.75em; }
.skillframe .fm{ color: var(--faint); }
.skillframe .nm{ color: var(--violet-3); }
.skillframe .bd{ color: var(--muted); }
.skill-sign{ margin-top: 14px; opacity: 0; transform: translateY(6px); transition: opacity .5s ease, transform .5s ease; }
.skill-sign.show{ opacity: 1; transform: none; }

/* ============================================================
   LIVING MISSION REVEAL (2026-07-12)
   A cinematic action crop followed by the complete app window.
   ============================================================ */
.hero--mission{
  position: relative;
  display: flex;
  align-items: center;
  overflow: clip;
  isolation: isolate;
  background:
    radial-gradient(900px 480px at 50% 44%, rgba(139,92,246,.11), transparent 72%),
    radial-gradient(620px 380px at 74% 58%, rgba(244,205,134,.055), transparent 74%);
}
.hero--mission::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 20%, rgba(167,139,250,.035) 44%, transparent 62%),
    radial-gradient(1px 1px at 18% 22%, rgba(196,181,253,.55), transparent 100%),
    radial-gradient(1px 1px at 81% 28%, rgba(244,205,134,.48), transparent 100%),
    radial-gradient(1px 1px at 67% 70%, rgba(196,181,253,.42), transparent 100%);
}
.hero__inner{ width: 100%; padding: clamp(52px, 7vw, 76px) var(--pad) clamp(70px, 8vw, 92px); }

.mission-hero,
.mission-overview{ position: relative; margin: clamp(34px, 5vw, 52px) auto 0; }
.mission-hero{ max-width: 1040px; }
.mission-overview{ max-width: 1080px; }
.mission-overview--feature{ margin-top: 0; min-width: 0; }
.mission-hero figcaption,
.mission-overview figcaption{
  margin-top: 13px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.5;
  letter-spacing: .035em;
  text-align: center;
}
.mission-hero figcaption{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px 16px;
  flex-wrap: wrap;
}

.mission-window{
  position: relative;
  border: 1px solid rgba(167,139,250,.24);
  border-radius: 20px;
  overflow: hidden;
  background: var(--panel);
  box-shadow:
    0 38px 100px -54px rgba(0,0,0,.95),
    0 20px 64px -42px rgba(139,92,246,.72),
    0 0 0 1px rgba(244,205,134,.035) inset;
  transform: translate3d(0,0,0);
  transform-style: preserve-3d;
}
.mission-window::before{
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 4;
  pointer-events: none;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from 218deg, transparent 0 18%, rgba(167,139,250,.78) 27%, transparent 37% 66%, rgba(244,205,134,.7) 76%, transparent 86% 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: .7;
}
.mission-window__bar{ position: relative; z-index: 2; background: rgba(13,13,23,.94); }
.mission-window__stage{
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(139,92,246,.06), transparent 46%),
    var(--bg-1);
}
.mission-window--overview .mission-window__stage{ aspect-ratio: 8 / 5; }
.mission-window__stage picture,
.mission-window__stage img{
  display: block;
  width: 100%;
  height: 100%;
}
.mission-window__stage img{ object-fit: cover; object-position: center 46%; }
.mission-window--overview .mission-window__stage img{ object-position: top center; }


.mission-overview.reveal{ transform: translateY(26px); }
.mission-overview.reveal .mission-window__stage{
  clip-path: inset(13% 0 13% 0 round 0 0 14px 14px);
  transition: clip-path 1s cubic-bezier(.2,.75,.2,1);
}
.mission-overview.reveal.in{ transform: none; }
.mission-overview.reveal.in .mission-window__stage{ clip-path: inset(0 round 0 0 14px 14px); }

.section-glint::before{
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  width: 112px;
  height: 2px;
  pointer-events: none;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(244,205,134,.82), transparent);
  box-shadow: 0 0 18px rgba(244,205,134,.22);
}


/* ---- Mission skins showcase (2026-07-19 organism refresh) ---- */
.skin-showcase{ max-width: 1080px; margin: 0 auto; }
.skin-toggle{ display: flex; gap: 8px; justify-content: center; margin-bottom: 20px; }
.skin-tab{
  font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); background: rgba(255,255,255,.025); border: 1px solid var(--border-2);
  border-radius: 999px; padding: 9px 18px; cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.skin-tab:hover{ color: var(--text); border-color: var(--violet); }
.skin-tab:focus-visible{ outline: 2px solid var(--gold); outline-offset: 3px; }
.skin-tab[aria-pressed="true"]{
  color: var(--text); border-color: rgba(167,139,250,.6); background: rgba(139,92,246,.14);
  box-shadow: 0 0 26px -10px var(--violet-glow); }
.skin-tab[aria-pressed="true"][data-skin="classic"]{
  border-color: rgba(244,205,134,.5); background: rgba(244,205,134,.1);
  box-shadow: 0 0 26px -10px var(--gold-glow); }
.skin-stage .skin-layer{ position: absolute; inset: 0; opacity: 0; transition: opacity .45s ease; }
.skin-stage .skin-layer.is-visible{ opacity: 1; }
.skin-note{
  margin-top: 13px; text-align: center; color: var(--muted);
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .035em; }

/* hero window pointer depth: JS sets --tilt-*; pointer devices only, reduced motion opts out */
.mission-window--tilt{
  transition: transform .3s cubic-bezier(.2,.7,.2,1);
  transform: perspective(1300px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)); }
@media (hover: hover) and (pointer: fine){
  .mission-hero:hover .mission-window--tilt{
    transform: perspective(1300px) translate3d(0,-4px,0)
      rotateX(calc(.35deg + var(--tilt-x, 0deg))) rotateY(calc(-.5deg + var(--tilt-y, 0deg))); }
}

/* organism aura breathing behind the hero window */
.mission-hero::before{
  content: ""; position: absolute; inset: -9% -13%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(52% 46% at 50% 42%, rgba(139,92,246,.15), transparent 70%),
    radial-gradient(38% 34% at 63% 60%, rgba(64,201,180,.07), transparent 72%),
    radial-gradient(30% 26% at 37% 58%, rgba(244,205,134,.06), transparent 70%);
  filter: blur(8px);
  animation: organism-breathe 9s ease-in-out infinite; }
@keyframes organism-breathe{
  0%, 100%{ opacity: .62; transform: scale(1); }
  50%{ opacity: 1; transform: scale(1.04); } }

/* staggered card reveals inside grids */
.grid .card.reveal:nth-child(2){ transition-delay: .08s; }
.grid .card.reveal:nth-child(3){ transition-delay: .16s; }
.grid .card.reveal:nth-child(4){ transition-delay: .24s; }
.grid .card.reveal:nth-child(5){ transition-delay: .32s; }
.grid .card.reveal:nth-child(6){ transition-delay: .4s; }

/* ---- pillar tiles (index star features) ---- */
.pillar-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pillar{ position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border-1); background: var(--panel);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.pillar picture{ position: absolute; inset: 0; display: block; }
.pillar img{ width: 100%; height: 100%; object-fit: cover; }
.pillar::after{ content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(7,7,12,0) 38%, rgba(7,7,12,.9) 86%); }
.pillar-copy{ position: absolute; left: 16px; right: 12px; bottom: 13px; z-index: 2; }
.pillar-label{ display: block; font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: -.01em; color: var(--text); }
.pillar-sub{ display: block; margin-top: 4px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .03em; color: var(--muted); }
.pillar:hover{ transform: translateY(-4px); border-color: rgba(167,139,250,.5); box-shadow: 0 24px 60px -30px var(--violet-glow); }
.pillar:focus-visible{ outline: 2px solid var(--gold); outline-offset: 3px; }
.pillar-grid .pillar.reveal:nth-child(2){ transition-delay: .08s; }
.pillar-grid .pillar.reveal:nth-child(3){ transition-delay: .16s; }
.pillar-grid .pillar.reveal:nth-child(4){ transition-delay: .24s; }
@media (max-width: 860px){ .pillar-grid{ grid-template-columns: repeat(2, 1fr); } }

/* ---- feature legibility pass (2026-07-20): name the feature, loudly ---- */
.kicker.kicker--feature{
  display: inline-block; font-family: var(--body); font-size: 14px; font-weight: 700;
  letter-spacing: .02em; text-transform: none; color: var(--violet-3);
  border: 1px solid rgba(167,139,250,.28); border-radius: 999px;
  padding: 5px 13px; background: rgba(139,92,246,.1); margin-bottom: 16px; }
.kicker--feature .n{ color: var(--faint); font-family: var(--mono); font-size: 12px; margin-right: 7px; }
.section-head .kicker.kicker--feature,
.split .kicker.kicker--feature{ display: inline-block; margin-bottom: 16px; }
.card p{ font-size: 15.5px; line-height: 1.6; }
.card h3{ font-size: 20px; }
.checks li{ font-size: 15.5px; }
.pillar-sub{ font-size: 12.5px; }
/* one-line answer to "what is this" under the hero headline */
.hero-what{ font-family: var(--body); font-size: clamp(17px, 2.1vw, 21px); font-weight: 600;
  color: var(--text); max-width: 700px; margin: 0 auto 16px; line-height: 1.45; }
.byo{ display: inline-flex; align-items: center; gap: 9px; flex-wrap: wrap; justify-content: center;
  font-family: var(--mono); font-size: 13px; letter-spacing: .02em; color: var(--gold-soft);
  border: 1px solid rgba(244,205,134,.3); border-radius: 999px; padding: 9px 17px;
  background: rgba(244,205,134,.07); }

/* schematic stand-ins where a current capture is not yet available */
.shot-substitute{ max-width: 760px; margin: 0 auto; }
.shot-substitute .codeframe{ background: linear-gradient(180deg, var(--panel-2), var(--bg-1)); }
.ask-pair-grid .card pre.code{ padding: 16px 18px; font-size: 12px; }

/* ---- the nine reasons grid (index) ---- */
/* Nine dense cards need a two-column step before they stack, and the numbered
   kicker carries the ordering, so the row cadence reveals row by row. */
.reason-grid .card{ padding: 22px 22px 24px; }
.reason-grid .card .kicker{ color: var(--violet-3); }
.reason-grid .card h3{ margin: 9px 0 10px; }
.reason-grid .card p{ margin: 0; }
@media (max-width: 980px){ .reason-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px){ .reason-grid{ grid-template-columns: 1fr; } }
.reason-grid .card:nth-child(3n+2){ transition-delay: .09s; }
.reason-grid .card:nth-child(3n+3){ transition-delay: .18s; }
