/* =========================================================================
   Orbit — landing page
   Structure ported from the aircart Webflow layout (hero + drifting card
   marquee, feature trio, accent-bar tab switcher, local-first value band, "+"
   FAQ accordion, footer CTA), rendered in Orbit's own palette: warm cream on
   near-black, lavender UI accent, the warm-gold aperture orb as the brand mark.
   Clash Display stands in for aircart's Monument Extended display face; General
   Sans carries body/UI; JetBrains Mono runs the terminal-prompt label system.
   ========================================================================= */

:root {
  --bg:           #121212;
  --bg-elevated:  #1C1A18;
  --bg-deep:      #0B0B0B;
  --fg:           #F8F5EE;
  --fg-muted:     #A5A39D;
  --fg-faint:     #82807A;
  --accent:       #BDA6F7;   /* lavender — the UI accent */
  --accent-tint:  #1C1A26;
  --surface-5:    rgba(255,255,255,0.05);
  --surface-10:   rgba(255,255,255,0.10);
  --hairline:     rgba(255,255,255,0.08);
  --hairline-2:   rgba(255,255,255,0.12);

  --gold:         #D8B975;   /* the product's warm-gold orb */
  --gold-deep:    #B68B3E;

  --tool:         #E08A3C;   /* orange tool-card bar */
  --ok:           #5FB97A;
  --err:          #E2685E;

  --font-display: 'Clash Display', 'General Sans', system-ui, sans-serif;
  --font-heading: 'General Sans', system-ui, sans-serif;
  --font-body:    'General Sans', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius-btn:   4px;
  --radius-pill:  3px;
  --radius-card:  10px;
  --radius-media: 16px;

  --container:    1200px;
  --pad-section:  88px;

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

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.25rem;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* aircart's faint concentric line-art (Vector 7) — thin curved lines at the upper
   edges, here in lavender over the black, plus a whisper of warm grain. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(620px 620px at -6% -8%, transparent 38%, rgba(189,166,247,0.05) 39%, transparent 40%,
                    transparent 50%, rgba(189,166,247,0.045) 51%, transparent 52%,
                    transparent 62%, rgba(189,166,247,0.04) 63%, transparent 64%,
                    transparent 74%, rgba(216,185,117,0.035) 75%, transparent 76%),
    radial-gradient(720px 720px at 108% 4%, transparent 44%, rgba(189,166,247,0.04) 45%, transparent 46%,
                    transparent 58%, rgba(189,166,247,0.035) 59%, transparent 60%,
                    transparent 72%, rgba(216,185,117,0.03) 73%, transparent 74%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.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.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: rgba(189,166,247,0.28); color: var(--fg); }

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

/* ---------- layout primitives -------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
  position: relative;
  z-index: 1;
}
section { padding-block: var(--pad-section); position: relative; }

/* terminal-prompt eyebrow: mono label behind a blinking accent cursor block. */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 16px;
  color: var(--fg-muted);
}
.eyebrow .dot {
  width: 7px; height: 13px; border-radius: 1px;
  background: var(--accent);
  box-shadow: 0 0 10px 1px rgba(189,166,247,0.5);
  animation: blink 1.2s steps(1) infinite;
}

/* ---------- type ---------------------------------------------------------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; color: var(--fg); }
h1 {
  font-size: clamp(2.4rem, 1.4rem + 3.4vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.5px;
  margin: 6px 0 12px;
}
h2 {
  font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.4px;
}
h3 { font-size: 1.35rem; line-height: 1.2; letter-spacing: -0.2px; }

.lead { font-size: 18px; line-height: 28px; color: var(--fg-muted); max-width: 60ch; }
p { max-width: 68ch; }
.accent { color: var(--accent); }
code { font-family: var(--font-mono); font-size: 0.86em; background: var(--surface-10); padding: 1px 5px; border-radius: 3px; }

/* ---------- buttons ------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: 14px; font-weight: 500; line-height: 20px;
  padding: 10px 18px; border-radius: var(--radius-btn);
  border: 1px solid transparent; cursor: pointer;
  transition: background .2s var(--ease), transform .2s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--fg); color: var(--bg); }
.btn--primary:hover { background: #fff; }
.btn--lg { padding: 12px 22px; font-size: 15px; }

/* ---------- announcement bar --------------------------------------------- */
.announce {
  position: relative; z-index: 60;
  display: flex; align-items: center;
  background: var(--bg-deep);
  border-bottom: 1px solid var(--hairline);
  font-size: 13px; color: var(--fg-muted);
}
.announce a {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 9px 24px; text-align: center;
}
.announce strong { color: var(--fg); font-weight: 500; }
.announce .tag {
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); border: 1px solid rgba(189,166,247,0.35);
  border-radius: var(--radius-pill); padding: 1px 7px;
}
.announce .arrow { transition: transform .2s var(--ease); }
.announce a:hover .arrow { transform: translateX(3px); }
.announce-x {
  flex: none; width: 34px; height: 34px; margin-right: 6px;
  background: transparent; border: 0; cursor: pointer;
  color: var(--fg-faint); font-size: 18px; line-height: 1;
  border-radius: var(--radius-btn);
  transition: color .2s var(--ease), background .2s var(--ease);
}
.announce-x:hover { color: var(--fg); background: var(--surface-5); }

/* ---------- header / nav -------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(18,18,18,0.72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.header.is-stuck { border-bottom-color: var(--hairline); background: rgba(14,14,14,0.86); }
.nav { display: flex; align-items: center; gap: 18px; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 18px; letter-spacing: -0.2px; }
.brand img { width: 26px; height: 26px; border-radius: 7px; }
.brand b { font-weight: 600; }
.nav-center { display: flex; align-items: center; gap: 2px; margin-inline: auto; }
.nav-link {
  font-size: 14px; font-weight: 500; color: var(--fg);
  padding: 6px 12px; border-radius: var(--radius-btn);
  transition: background .2s var(--ease);
}
.nav-link:hover { background: var(--surface-5); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.gh-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; color: var(--fg);
  padding: 6px 11px; border-radius: var(--radius-btn);
  border: 1px solid var(--hairline); background: var(--surface-5);
  transition: background .2s var(--ease);
}
.gh-pill:hover { background: var(--surface-10); }
.gh-pill .star { color: var(--gold); }
.gh-pill b { font-weight: 600; }
.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: var(--radius-btn);
  border: 1px solid var(--hairline); background: var(--surface-5);
  color: var(--fg); cursor: pointer;
}
.mobile-menu {
  display: none; flex-direction: column; gap: 2px;
  padding: 10px 24px 18px; background: rgba(14,14,14,0.96);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
}
.mobile-menu a { font-size: 15px; color: var(--fg); padding: 11px 6px; border-radius: var(--radius-btn); }
.mobile-menu a:hover { background: var(--surface-5); }
.mobile-menu .btn { margin-top: 10px; justify-content: center; }
/* .mobile-menu a sets cream text; restore the primary button's dark-on-cream */
.mobile-menu .btn--primary { color: var(--bg); }
.mobile-menu .btn--primary:hover { background: #fff; }

/* ============================== HERO ===================================== */
.hero { padding-top: 72px; padding-bottom: 64px; overflow: hidden; }
.hero-glow {
  position: absolute; top: -140px; left: 50%; transform: translateX(-50%);
  width: 1100px; height: 820px; pointer-events: none; z-index: 0;
  background:
    radial-gradient(46% 42% at 50% 30%, rgba(189,166,247,0.18), transparent 70%),
    radial-gradient(34% 30% at 62% 44%, rgba(216,185,117,0.12), transparent 70%);
  filter: blur(10px);
}
.hero .container { position: relative; z-index: 1; }
.hero-lede { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; max-width: 760px; }
.hero h1 { max-width: 17ch; }
.hero h1 .soft { color: var(--fg-muted); }
.hero .lead { max-width: 56ch; }

/* the live-stage centerpiece */
.stage-wrap { margin-top: 46px; }
.stage-caption {
  margin-top: 16px; text-align: center;
  font-size: 13.5px; color: var(--fg-faint);
}
.device {
  position: relative; z-index: 1;
  border-radius: var(--radius-media);
  border: 1px solid var(--hairline-2);
  background: linear-gradient(180deg, #161412, #0F0E0D);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05) inset, 0 40px 120px -40px rgba(0,0,0,0.9), 0 0 0 1px rgba(0,0,0,0.4);
  overflow: hidden; text-align: left;
}
.device--stage { position: relative; }
.device--stage::before {
  content: ""; position: absolute; inset: -8% -4% -26% -4%; z-index: 0;
  border-radius: 40px;
  background:
    radial-gradient(60% 55% at 50% 0%, rgba(189,166,247,0.20), transparent 72%),
    radial-gradient(50% 60% at 50% 60%, rgba(216,185,117,0.14), transparent 70%);
  filter: blur(22px);
}
.win-titlebar {
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: 14px;
  height: 40px; padding-inline: 14px;
  background: #100F0E; border-bottom: 1px solid var(--hairline);
}
.lights { display: flex; gap: 8px; }
.lights i { width: 12px; height: 12px; border-radius: 50%; display: block; }
.lights .r { background: #ED6A5E; } .lights .y { background: #F4BE4F; } .lights .g { background: #61C554; }
.win-title { margin-inline: auto; font-size: 12px; color: var(--fg-muted); font-family: var(--font-mono); transform: translateX(-12px); }
.live-dot {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-mono); font-size: 10.5px; color: var(--ok);
  display: inline-flex; align-items: center; gap: 5px;
}
.stage-frame {
  position: relative; z-index: 2;
  width: 100%; aspect-ratio: 16 / 9; min-height: 420px;
  background: radial-gradient(80% 80% at 42% 46%, #14130F, #0C0B0A);
}
iframe.stage {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border: 0; display: block;
  /* let the page scroll over the stage; the demo loop is autonomous */
  pointer-events: none;
}

/* ---------- waitlist capture --------------------------------------------- */
.waitlist { width: 100%; max-width: 484px; display: flex; flex-direction: column; gap: 13px; }
.wl-field {
  display: flex; align-items: center; gap: 11px;
  padding: 7px 7px 7px 15px;
  background: var(--bg-elevated); border: 1px solid var(--hairline-2);
  border-radius: var(--radius-card);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.wl-field:focus-within { border-color: rgba(189,166,247,0.55); box-shadow: 0 0 0 3px rgba(189,166,247,0.14); }
.wl-field.is-invalid { border-color: rgba(226,104,94,0.6); box-shadow: 0 0 0 3px rgba(226,104,94,0.12); }
.wl-cursor {
  flex: none; width: 2px; height: 18px; border-radius: 1px;
  background: var(--accent); box-shadow: 0 0 8px rgba(189,166,247,0.5);
  animation: blink 1.1s steps(1) infinite;
}
.wl-input {
  flex: 1; min-width: 0; background: transparent; border: 0; outline: 0;
  color: var(--fg); font-family: var(--font-mono);
  font-size: 14px; line-height: 22px; letter-spacing: -0.01em;
}
.wl-input::placeholder { color: var(--fg-faint); }
.wl-send {
  flex: none; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: 14px; font-weight: 500; line-height: 20px;
  padding: 9px 16px; border-radius: 7px; border: 0; cursor: pointer;
  background: var(--fg); color: var(--bg);
  transition: background .2s var(--ease), transform .15s var(--ease);
}
.wl-send:hover { background: #fff; }
.wl-send:active { transform: translateY(1px); }
.wl-note { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--fg-faint); max-width: none; }
.wl-note .wl-dot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.wl-done {
  display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px;
  border: 1px solid rgba(95,185,122,0.32); background: rgba(95,185,122,0.07);
  border-radius: var(--radius-card);
}
.wl-done .wl-ok { flex: none; color: var(--ok); font-size: 12px; margin-top: 3px; }
.wl-done-body { display: grid; gap: 2px; }
.wl-done b { font-weight: 500; color: var(--fg); font-size: 14px; }
.wl-done .wl-echo { font-size: 13px; line-height: 19px; color: var(--fg-muted); }
.wl-done .wl-echo em { font-style: normal; color: var(--accent); font-family: var(--font-mono); font-size: 12.5px; }
.wl-reset {
  margin-left: auto; flex: none; align-self: center;
  background: transparent; border: 0; cursor: pointer;
  color: var(--fg-faint); font-family: var(--font-body); font-size: 12px;
  text-decoration: underline; text-underline-offset: 3px; transition: color .2s var(--ease);
}
.wl-reset:hover { color: var(--fg); }

/* ============================== CARD MARQUEE ============================= */
.marquee-band { padding-block: 64px; overflow: hidden; border-top: 1px solid var(--hairline); background: var(--bg-deep); }
.band-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; }
.band-head h2 { max-width: 16ch; }
.marquee {
  display: flex; gap: 18px; justify-content: center;
  height: 360px; -webkit-mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent);
}
.mq-col { width: 280px; overflow: hidden; }
.mq-track { display: flex; flex-direction: column; gap: 14px; will-change: transform; }
.mq-up   .mq-track { animation: mqUp 24s linear infinite; }
.mq-down .mq-track { animation: mqDown 24s linear infinite; }
@keyframes mqUp   { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes mqDown { from { transform: translateY(-50%); } to { transform: translateY(0); } }

/* the drifting cards (mini structured-output cards) */
.oc {
  border: 1px solid var(--hairline); border-radius: 10px;
  background: var(--surface-5); padding: 12px 13px;
  font-size: 12px; line-height: 18px; color: var(--fg-muted);
}
.oc-chip { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11px; }
.oc-chip .d { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.oc-chip .d.lav { background: var(--accent); }
.oc-tool { border-left: 2px solid var(--tool); background: rgba(224,138,60,0.05); }
.oc-tool .h { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11.5px; }
.oc-tool .h .nm { color: var(--tool); font-weight: 500; }
.oc-tool .h .ag { color: var(--fg-muted); }
.oc-tool .o { margin-top: 7px; font-family: var(--font-mono); font-size: 11px; color: var(--fg-faint); }
.oc-tool.err { border-left-color: var(--err); background: rgba(226,104,94,0.05); }
.oc .ad { color: var(--ok); } .oc .dl { color: var(--err); }
.oc-think { border-left: 2px solid var(--hairline-2); color: var(--fg-faint); font-size: 12px; }
.oc-think b { color: var(--fg-muted); font-weight: 500; }
.oc-res { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-mono); font-size: 11px; }
.oc-res .ok { color: var(--ok); }
.oc-look { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-mono); font-size: 11px; }
.oc-look .g { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--accent); }

/* ============================== TAB SECTION ============================== */
.built { background: var(--bg-deep); border-block: 1px solid var(--hairline); }
.built-head { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; margin-bottom: 44px; max-width: 680px; }
.built-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 48px; align-items: start; }

.tabs { display: flex; flex-direction: column; gap: 8px; }
.tab-item {
  display: flex; align-items: stretch; gap: 14px;
  text-align: left; cursor: pointer;
  background: transparent; border: 1px solid transparent; border-radius: var(--radius-card);
  padding: 16px 16px; color: var(--fg);
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.tab-item:hover { background: var(--surface-5); }
.tab-item .bar { flex: none; width: 3px; border-radius: 2px; background: var(--hairline-2); transition: background .2s var(--ease), box-shadow .2s var(--ease); }
.tab-item .ti-body { display: flex; flex-direction: column; gap: 3px; }
.tab-item .ti-body b { font-family: var(--font-display); font-weight: 500; font-size: 17px; letter-spacing: -0.2px; }
.tab-item .ti-body i { font-style: normal; font-size: 13px; color: var(--fg-muted); }
.tab-item.is-active { background: var(--surface-5); border-color: var(--hairline); }
.tab-item.is-active .bar { background: var(--accent); box-shadow: 0 0 12px 1px rgba(189,166,247,0.55); }

.tab-stage { position: relative; }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fadeUp .4s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* shared feature media card */
.media {
  position: relative; border-radius: var(--radius-media);
  border: 1px solid var(--hairline-2);
  background: radial-gradient(120% 100% at 50% 0%, rgba(189,166,247,0.14), transparent 60%), linear-gradient(180deg, #17151E, #0E0D11);
  padding: 22px; overflow: hidden; box-shadow: 0 30px 80px -40px rgba(0,0,0,0.85);
}
.media--gold { background: radial-gradient(120% 100% at 50% 0%, rgba(216,185,117,0.16), transparent 60%), linear-gradient(180deg, #181410, #0E0C0A); }

/* stream card mock */
.stream { padding: 6px 4px; display: flex; flex-direction: column; gap: 12px; }
.chip {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px; color: var(--fg-muted);
  background: var(--surface-5); border: 1px solid var(--hairline); border-radius: var(--radius-pill); padding: 4px 10px;
}
.chip .accent-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.assistant-text { font-size: 13.5px; line-height: 21px; color: var(--fg); }
.toolcard { border: 1px solid var(--hairline); border-left: 2px solid var(--tool); border-radius: 8px; background: rgba(224,138,60,0.05); overflow: hidden; }
.toolcard .head { display: flex; align-items: center; gap: 9px; padding: 8px 12px; font-family: var(--font-mono); font-size: 12px; }
.toolcard .head .name { color: var(--tool); font-weight: 500; }
.toolcard .head .arg { color: var(--fg-muted); }
.toolcard .out { border-top: 1px solid var(--hairline); padding: 8px 12px; font-family: var(--font-mono); font-size: 11.5px; line-height: 18px; color: var(--fg-muted); background: rgba(0,0,0,0.25); }
.diff-add { color: var(--ok); } .diff-del { color: var(--err); }
.result-chip {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 11px; color: var(--fg-muted);
  border: 1px solid var(--hairline); border-radius: var(--radius-pill); padding: 5px 11px; background: var(--surface-5);
}
.result-chip .ok { color: var(--ok); }

/* canvas mock */
.canvas-mock { position: relative; height: 320px; border-radius: 12px; background: radial-gradient(80% 80% at 50% 40%, #14131A, #0B0A0E); border: 1px solid var(--hairline); overflow: hidden; }
.canvas-mock .grid { position: absolute; inset: 0; background-image: linear-gradient(var(--hairline) 1px, transparent 1px), linear-gradient(90deg, var(--hairline) 1px, transparent 1px); background-size: 32px 32px; opacity: 0.5; }
.orb-node { position: absolute; display: grid; justify-items: center; gap: 8px; }
/* the real Orbit agent mark (same orb the live header stage renders), cropped
   in past its transparent padding and bloomed with a colored halo — gold default,
   lavender for sibling agents — exactly as scene.js tints each orb's glow. */
.orb-node .o { position: relative; width: 56px; height: 56px; border-radius: 50%; background: url('visual/logo-a-luminous-agent-orb-4x-transparent.png') center/146% no-repeat; box-shadow: 0 0 34px 2px rgba(216,185,117,0.45); }
.orb-node .o::before { content: ""; position: absolute; inset: -40%; border-radius: 50%; background: radial-gradient(circle, rgba(244,222,160,0.32), transparent 68%); z-index: -1; }
.orb-node.lav .o { box-shadow: 0 0 34px 2px rgba(189,166,247,0.5); }
.orb-node.lav .o::before { background: radial-gradient(circle, rgba(189,166,247,0.36), transparent 68%); }
.orb-node .mini-tree { width: 92px; background: rgba(0,0,0,0.4); border: 1px solid var(--hairline); border-radius: 6px; padding: 6px 8px; display: grid; gap: 4px; }
.orb-node .mini-tree span { height: 4px; border-radius: 2px; background: var(--surface-10); }
.orb-node .mini-tree span.a { width: 80%; background: rgba(189,166,247,0.4); }
.orb-node .mini-tree span.b { width: 60%; } .orb-node .mini-tree span.c { width: 70%; }
.canvas-link { position: absolute; height: 1px; background: linear-gradient(90deg, rgba(216,185,117,0.5), rgba(189,166,247,0.5)); transform-origin: left center; }
.canvas-mock .pulse { animation: pulse 4s var(--ease) infinite; }
@keyframes pulse { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-6px) scale(1.03); } }

/* source-control mock */
.sc-mock { display: grid; gap: 8px; font-family: var(--font-mono); font-size: 12.5px; }
.sc-head { display: flex; align-items: center; justify-content: space-between; color: var(--fg-muted); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 4px; }
.sc-row { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 7px; background: var(--surface-5); border: 1px solid var(--hairline); }
.sc-row:hover { background: var(--surface-10); }
.sc-row .badge { width: 16px; height: 16px; border-radius: 4px; display: grid; place-items: center; font-size: 10px; font-weight: 600; }
.sc-row .badge.M { background: rgba(216,185,117,0.16); color: var(--gold); }
.sc-row .badge.A { background: rgba(95,185,122,0.16); color: var(--ok); }
.sc-row .badge.D { background: rgba(226,104,94,0.16); color: var(--err); }
.sc-row .path { color: var(--fg); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sc-row .delta { color: var(--fg-faint); font-size: 11px; }
.sc-row .delta b { color: var(--ok); font-weight: 500; } .sc-row .delta i { color: var(--err); font-style: normal; }

/* ============================== AGENT ORB + ZAP ========================= */
/* one real agent orb (visual/logo-a-luminous-agent-orb-4x-transparent.png) drives 3 clickable parts; switching
   a part fires a canvas death-strike "zap" from the orb to the panel. */
.agentsec { background: var(--bg-deep); border-block: 1px solid var(--hairline); }

.as-stage { position: relative; }
/* zap overlay spans the whole grid; the bolt is drawn here, above the content. */
.as-zap {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 3;
}
.as-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 52px; align-items: start;
}

.as-side { display: flex; flex-direction: column; gap: 30px; align-items: flex-start; }

/* the orb hub — the real aperture-orb art, glowing and slowly breathing. */
.as-orb {
  position: relative; width: 132px; height: 132px; flex: none;
  display: grid; place-items: center; cursor: pointer;
  background: none; border: 0; padding: 0;
  animation: orbFloat 7s var(--ease) infinite;
}
.as-orb img {
  position: relative; z-index: 2; width: 100%; height: 100%;
  object-fit: contain; -webkit-user-drag: none; user-select: none;
  filter: drop-shadow(0 0 26px rgba(216,185,117,0.45));
  transition: transform .35s var(--ease), filter .35s var(--ease);
}
.as-orb-glow {
  position: absolute; inset: -42%; z-index: 0; border-radius: 50%;
  background: radial-gradient(circle, rgba(244,222,160,0.34), rgba(216,185,117,0.12) 46%, transparent 70%);
  animation: orbGlow 4.5s ease-in-out infinite;
}
.as-orb-ring {
  position: absolute; inset: -10%; z-index: 1; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0%, rgba(216,185,117,0.32) 12%, transparent 26%, transparent 52%, rgba(189,166,247,0.28) 64%, transparent 80%);
  -webkit-mask: radial-gradient(circle, transparent 56%, #000 58%, #000 70%, transparent 72%);
          mask: radial-gradient(circle, transparent 56%, #000 58%, #000 70%, transparent 72%);
  animation: orbSpin 14s linear infinite;
  opacity: 0.85;
}
.as-orb:hover img { transform: scale(1.04); filter: drop-shadow(0 0 34px rgba(244,222,160,0.6)); }
/* fired on each zap — a quick charge flash + recoil. */
.as-orb.charge img { animation: orbCharge .42s var(--ease); }
.as-orb:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; border-radius: 50%; }

@keyframes orbFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes orbGlow { 0%,100% { opacity: .7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.07); } }
@keyframes orbSpin { to { transform: rotate(360deg); } }
@keyframes orbCharge {
  0% { transform: scale(1); filter: drop-shadow(0 0 26px rgba(216,185,117,0.45)); }
  32% { transform: scale(1.13); filter: drop-shadow(0 0 46px rgba(244,222,160,0.9)) brightness(1.35); }
  100% { transform: scale(1); filter: drop-shadow(0 0 26px rgba(216,185,117,0.45)); }
}

.as-tabs { display: flex; flex-direction: column; gap: 8px; align-self: stretch; }

/* panels region holds a stable height so the bolt always has a target while the
   outgoing panel is cleared and the incoming one powers on at impact. */
.as-panels { position: relative; min-height: 372px; }
.as-panels .tab-panel { position: absolute; inset: 0; }
.as-panels .tab-panel:not(.is-active) { display: none; }
.agentsec .tab-panel.is-active { animation: zapIn .5s var(--ease) both; }
@keyframes zapIn {
  0%   { opacity: 0; transform: translateY(8px) scale(.985); filter: brightness(1.5); }
  55%  { opacity: 1; filter: brightness(1.12); }
  100% { opacity: 1; transform: none; filter: none; }
}

/* ============================== GET (closing band) ====================== */
/* flat "get the product" layout: left-aligned label + big heading + subtext,
   then icon-headed columns separated by thin vertical hairlines. No card. */
.get-head { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; max-width: 720px; margin-bottom: 64px; }
.get-head .eyebrow { letter-spacing: 0.06em; }
.get h2 { font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.2rem); }
.get-head .lead { max-width: 60ch; }
.get-link {
  color: var(--accent); text-decoration: underline; text-underline-offset: 3px;
  text-decoration-color: rgba(189,166,247,0.45); transition: text-decoration-color .2s var(--ease);
  white-space: nowrap;
}
.get-link:hover { text-decoration-color: var(--accent); }

.get-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.get-col { padding: 4px 36px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.get-col:first-child { padding-left: 0; }
.get-col + .get-col { border-left: 1px solid var(--hairline); }
.get-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 11px; margin-bottom: 8px;
  color: var(--fg); background: var(--surface-5); border: 1px solid var(--hairline);
}
.get-col h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.2rem; }
.get-desc { font-size: 14px; line-height: 22px; color: var(--fg-muted); max-width: 34ch; }
.get-desc code { font-size: 0.84em; }
.get-list { list-style: none; display: grid; gap: 7px; margin-top: 4px; }
.get-list li {
  position: relative; padding-left: 18px;
  font-size: 13px; line-height: 19px; color: var(--fg-faint);
}
.get-list li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 7px rgba(189,166,247,0.5);
}
.get-list code { font-size: 0.82em; color: var(--fg-muted); }

/* ============================== CLOSING CTA ============================ */
/* centered email capture band that closes the page, above the footer. */
.cta-final { border-top: 1px solid var(--hairline); background: var(--surface-5); }
.cta-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.cta-final h2 { font-size: clamp(2rem, 1.5rem + 2.2vw, 2.8rem); }
.cta-final .lead { max-width: 52ch; }
.cta-final .waitlist { align-items: center; margin-top: 8px; }

/* ============================== FOOTER ================================== */
.footer { border-top: 1px solid var(--hairline); padding-top: 64px; padding-bottom: 32px; background: var(--bg-deep); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 40px 24px; }
.foot-brand { display: flex; flex-direction: column; gap: 14px; max-width: 260px; }
.foot-brand .brand img { width: 30px; height: 30px; }
.foot-brand p { font-size: 13px; color: var(--fg-muted); line-height: 20px; }
.foot-col h5 { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-faint); margin-bottom: 14px; font-weight: 600; }
.foot-col a { display: block; font-size: 13.5px; color: var(--fg-muted); padding: 5px 0; transition: color .2s var(--ease); }
.foot-col a:hover { color: var(--fg); }
.foot-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--hairline); display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.foot-bottom .copy { font-size: 13px; color: var(--fg-faint); }
.foot-bottom .spacer { margin-left: auto; }
.foot-note { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--fg-muted); border: 1px solid var(--hairline); border-radius: var(--radius-pill); padding: 4px 11px; }
.foot-note::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }

/* ---------- scroll reveal ------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@keyframes blink { 50% { opacity: 0; } }

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

/* ---------- responsive ---------------------------------------------------- */
@media (max-width: 1040px) {
  .built-grid { grid-template-columns: 1fr; gap: 28px; }
  .tabs { flex-direction: row; flex-wrap: wrap; }
  .tab-item { flex: 1 1 220px; }
  .as-grid { grid-template-columns: 1fr; gap: 30px; }
  .as-side { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 22px; }
  .as-orb { width: 104px; height: 104px; }
  .as-tabs { flex: 1 1 320px; flex-direction: row; flex-wrap: wrap; }
  .as-tabs .tab-item { flex: 1 1 200px; }
  .as-panels { min-height: 340px; }
  .get-grid { grid-template-columns: 1fr; gap: 0; }
  .get-col { padding: 28px 0; }
  .get-col:first-child { padding-top: 0; }
  .get-col + .get-col { border-left: 0; border-top: 1px solid var(--hairline); }
  .get-desc { max-width: 60ch; }
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 920px) {
  .nav-center { display: none; }
  .nav-right { display: none; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .mobile-menu.open { display: flex; }
  .gh-pill { display: none; }
  .marquee { height: 320px; }
  .mq-hide-sm { display: none; }
}
@media (max-width: 640px) {
  :root { --pad-section: 60px; }
  .waitlist { max-width: none; }
  .wl-field { flex-direction: column; align-items: stretch; gap: 10px; padding: 12px; }
  .wl-cursor { display: none; }
  .wl-send { width: 100%; justify-content: center; }
  .stage-frame { aspect-ratio: 4 / 3; min-height: 340px; }
  .marquee { gap: 12px; }
  .mq-col { width: 76vw; max-width: 320px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding-top: 48px; }
  /* agent-orb section: center the orb above full-width stacked tabs */
  .as-side { flex-direction: column; align-items: stretch; gap: 26px; }
  .as-orb { align-self: center; }
  .as-tabs { flex-direction: column; }
  .as-tabs .tab-item { flex: 1 1 auto; }
}
