/* Gaia marketing site: the ZeroSDR visual language (warm canvas, carbon, sage, Geist, mono labels). */
:root {
  --canvas: #f5f5f0;
  --carbon: #141715;
  --mint: #b5ff6d;
  --forest: #193d2b;
  --sage: #6f7d6c;
  --muted: #646c65;
  --line: #d9ddd5;
  --panel: #fafaf7;
  --mono: "Geist Mono", ui-monospace, monospace;
  font-family: Geist, Arial, sans-serif;
  color: var(--carbon);
  background: var(--canvas);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--canvas); }
p, h1, h2, h3, ol, ul { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { border: 0; background: none; cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid #4b832c; outline-offset: 4px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.shell { width: min(1320px, calc(100% - 112px)); margin: 0 auto; }
.section { padding-top: 112px; padding-bottom: 112px; }
.eyebrow { font: 500 11px/1 var(--mono); letter-spacing: 1.5px; display: flex; align-items: center; gap: 9px; margin-bottom: 24px; color: var(--carbon); }
.eyebrow.mint { color: var(--mint); }
.micro { font: 500 10px/1.4 var(--mono); letter-spacing: 0.8px; }
.mono { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.muted { color: var(--muted); }
.forest { color: var(--forest); }
.soft { color: var(--sage); }
.live { width: 7px; height: 7px; border-radius: 50%; background: #4b832c; box-shadow: 0 0 0 4px rgba(75, 131, 44, 0.15); }
h2 { font-size: clamp(32px, 3.55vw, 49px); letter-spacing: -2px; line-height: 1.12; font-weight: 500; }
h3 { font-weight: 500; letter-spacing: -0.4px; }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(245, 245, 240, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 40px; height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { display: grid; place-items: center; width: 28px; height: 28px; background: var(--carbon); color: var(--mint); font-weight: 600; font-size: 16px; border-radius: 4px; }
.brand-name { font-size: 23px; font-weight: 600; letter-spacing: -1px; }
.brand-name .dot { color: #4b832c; }
.nav-links { display: flex; gap: 30px; font-size: 14.5px; }
.nav-links a:hover { color: var(--forest); }
.nav-actions { margin-left: auto; }
.pill { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 24px; border-radius: 999px; font-size: 14.5px; font-weight: 600; white-space: nowrap; transition: transform 0.15s ease, background 0.15s ease; }
.pill:hover { transform: translateY(-1px); }
.pill-dark { background: var(--carbon); color: #fff; }
.pill-dark:hover { background: #26302a; }
.pill-mint { background: var(--mint); color: var(--carbon); height: 54px; padding: 0 30px; font-size: 15.5px; }

/* Hero */
.hero { padding: 72px 0 96px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--canvas) 0%, #eff0e9 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 72px; align-items: center; }
.hero h1 { font-size: clamp(48px, 5.6vw, 82px); line-height: 1.02; letter-spacing: -4px; font-weight: 500; margin-bottom: 30px; }
.lede { font-size: 17.5px; line-height: 1.75; color: #4c534d; max-width: 510px; }
.small-lede { font-size: 16.5px; margin-top: 24px; }
.site-form { display: flex; align-items: center; gap: 12px; margin-top: 40px; max-width: 560px; height: 58px; padding: 0 6px 0 22px; background: #fff; border: 1px solid #e4e7e0; border-radius: 999px; box-shadow: 0 10px 30px -18px rgba(20, 23, 21, 0.35); color: var(--muted); }
.site-form input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 15px; color: var(--carbon); }
.site-form .pill { height: 46px; }
.form-note { margin-top: 16px; font-size: 13px; color: var(--muted); }
.ticks { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 26px; margin-top: 30px; font-size: 13px; color: #4c534d; }
.ticks li::before { content: "✓"; color: #4b832c; margin-right: 8px; }

.hero-visual { position: relative; padding: 46px 36px 42px; }
.visual-halo { position: absolute; inset: 0; background: #dfe5d8; border-radius: 48px; transform: rotate(-2.5deg); }
.visual-caption { position: relative; font: 500 10px/1 var(--mono); letter-spacing: 1.2px; color: #4c534d; margin: 0 0 18px; }
.console { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 40px 70px -40px rgba(25, 61, 43, 0.45); }
.console-bar { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 13px; }
.console-bar > span:first-child { display: flex; align-items: center; gap: 10px; }
.mark { display: inline-grid; place-items: center; width: 21px; height: 21px; background: var(--carbon); color: var(--mint); font-weight: 600; font-size: 12px; border-radius: 3px; }
.sample { font: 500 9px var(--mono); letter-spacing: 0.8px; color: var(--muted); }
.console-body { padding: 26px 22px 22px; }
.crumb { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.console-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 18px; }
.console-head h3 { font-size: 21px; letter-spacing: -0.8px; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 6px; padding: 6px 10px; font-size: 11px; white-space: nowrap; }
.kw { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.kw th { text-align: left; font: 500 10px var(--mono); letter-spacing: 0.4px; color: var(--muted); padding: 10px 10px; border-bottom: 1px solid var(--line); }
.kw td { padding: 13px 10px; border-bottom: 1px solid #e7eae3; }
.kw td:nth-child(2), .kw td:nth-child(3) { font-family: var(--mono); font-size: 11.5px; }
.kw tr.on td { background: #eef3e8; }
.tick { color: #4b832c; margin-right: 10px; }
.tick.off { color: #b5bbb2; }
.tag { display: inline-block; border: 1px solid var(--line); border-radius: 5px; padding: 3px 8px; font-size: 10.5px; color: var(--muted); background: #fff; white-space: nowrap; }
.tag-buy { color: var(--forest); border-color: #bcd3b0; background: #f0f6ec; }
.tag-neg { color: #8a4a2c; border-color: #e6cbbd; background: #faf1ec; }
.provenance { display: flex; gap: 14px; margin-top: 20px; padding: 16px 6px 2px; font-size: 12.5px; line-height: 1.6; }
.spark { color: #4b832c; font-size: 18px; line-height: 1; }
.console-foot { display: flex; justify-content: space-between; padding: 12px 18px; border-top: 1px solid var(--line); font-size: 10.5px; color: var(--muted); }

/* Intro */
.intro-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: start; }
.intro-points { display: grid; gap: 30px; }
.intro-points div { border-left: 2px solid var(--forest); padding-left: 20px; }
.intro-points strong { display: block; font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.intro-points p { color: var(--muted); line-height: 1.7; font-size: 15px; }

/* Dark bands */
.dark { background: var(--carbon); color: #f1f3ee; }
.dark .soft { color: #8e9a8b; }
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; margin-top: 64px; background: #2a312c; border: 1px solid #2a312c; border-radius: 12px; overflow: hidden; }
.steps li { background: var(--carbon); padding: 30px 26px 34px; }
.steps .num { font: 500 11px var(--mono); color: var(--mint); }
.steps h3 { font-size: 21px; margin: 46px 0 12px; }
.steps p { color: #a8b1a6; font-size: 14px; line-height: 1.7; }

/* Features */
.section-heading { margin-bottom: 56px; }
.feature { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: center; padding: 44px; margin-bottom: 28px; background: #ecefe6; border-radius: 34px; }
.feature:nth-of-type(2) { background: #efece4; }
.feature-head { display: flex; gap: 20px; }
.badge { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #fff; font: 500 11px var(--mono); }
.feature-head h3 { font-size: 27px; letter-spacing: -1px; margin-bottom: 12px; }
.feature-head p { color: var(--muted); line-height: 1.7; font-size: 15px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 10px 22px 20px; }
.panel-row { display: grid; grid-template-columns: 1.4fr 1.1fr 0.7fr; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid #e7eae3; font-size: 13.5px; }
.panel-row.head { font: 500 10px var(--mono); letter-spacing: 0.4px; color: var(--muted); }
.panel-row .tag { justify-self: start; }
.panel-note { margin-top: 16px; font-size: 12px; color: var(--muted); }
.ad { margin: 14px 0 6px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.ad-url { font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.ad-title { font-size: 17px; color: #1a4d9c; margin-bottom: 6px; line-height: 1.4; }
.ad-desc { font-size: 13.5px; color: #4c534d; line-height: 1.6; }
.checks { display: grid; gap: 12px; margin-top: 18px; font-size: 13.5px; }
.ok { color: #4b832c; margin-right: 8px; }
.warn { display: inline-grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: #f6e3c8; color: #8a5a12; font-size: 11px; font-weight: 700; margin-right: 6px; }
.launch { margin-top: 10px; }
.launch-line { display: flex; justify-content: space-between; gap: 20px; padding: 15px 0; border-bottom: 1px solid #e7eae3; font-size: 14px; }
.launch-line span { color: var(--muted); }
.launch-line strong { font-weight: 500; text-align: right; }
.paused { color: #8a5a12; background: #f6ecd9; border-radius: 5px; padding: 2px 9px; }

/* Rules */
.rules { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 80px; }
.rules-list { list-style: none; padding: 0; display: grid; gap: 0; }
.rules-list li { padding: 20px 0 20px 34px; border-bottom: 1px solid #2a312c; position: relative; font-size: 16.5px; color: #d5dad2; }
.rules-list li::before { content: "✕"; position: absolute; left: 0; color: var(--mint); font-size: 13px; top: 23px; }

/* Agents */
.agents-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.terminal { background: var(--carbon); color: #e8ece5; border-radius: 16px; padding: 30px; font: 13px/1.75 var(--mono); display: grid; gap: 18px; box-shadow: 0 40px 70px -45px rgba(20, 23, 21, 0.7); }
.prompt { display: inline-block; min-width: 48px; color: #8e9a8b; margin-right: 10px; }
.prompt.gaia { color: var(--mint); }
.terminal .muted { color: #7d877b; font-size: 11px; }

/* FAQ */
.faq-list { margin-top: 48px; border-top: 1px solid var(--line); max-width: 900px; }
.faq details { border-bottom: 1px solid var(--line); padding: 24px 0; }
.faq summary { cursor: pointer; list-style: none; font-size: 18px; font-weight: 500; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 14px; color: var(--muted); line-height: 1.75; max-width: 760px; }

/* Final */
.final-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 40px; }
.final h2 { font-size: clamp(40px, 5vw, 70px); letter-spacing: -3px; line-height: 1.05; }
.footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 40px 0; font-size: 13px; }

@media (max-width: 1080px) {
  .nav-links { display: none; }
  .hero-grid, .intro-grid, .rules, .agents-grid, .feature { grid-template-columns: 1fr; gap: 48px; }
  .steps { grid-template-columns: 1fr 1fr; }
}
.hero-grid > *, .intro-grid > *, .rules > *, .agents-grid > *, .feature > * { min-width: 0; }
@media (max-width: 640px) {
  html, body { overflow-x: clip; }
  .shell { width: calc(100% - 32px); }
  .hero h1 { font-size: 42px; }
  .lede { font-size: 16px; }
  .console-head { flex-direction: column; gap: 10px; }
  .console-body { padding: 20px 14px 16px; }
  .kw td, .kw th { padding: 11px 6px; }
  .ticks { gap: 12px 22px; }
  .provenance p { overflow-wrap: anywhere; }
  .console-foot { flex-direction: column; gap: 4px; }
  .terminal { padding: 22px; font-size: 12px; }
  .final h2 { letter-spacing: -2px; }
  .section { padding-top: 72px; padding-bottom: 72px; }
  .hero { padding: 48px 0 64px; }
  .hero h1 { letter-spacing: -2.5px; }
  .site-form { height: auto; flex-wrap: wrap; border-radius: 20px; padding: 12px; }
  .site-form svg { display: none; }
  .site-form input { flex-basis: 100%; padding: 8px 6px; }
  .site-form .pill { width: 100%; }
  .hero-visual { padding: 28px 12px 24px; }
  .steps { grid-template-columns: 1fr; }
  .steps h3 { margin-top: 24px; }
  .feature { padding: 24px; border-radius: 22px; }
  .panel-row { grid-template-columns: 1fr; gap: 6px; }
  .panel-row.head { display: none; }
  .kw th:nth-child(4), .kw td:nth-child(4) { display: none; }
  .footer { flex-direction: column; align-items: flex-start; }
}
