/* Reading: developer landing, dark route-trace language, chartreuse on ink.
   Buttons are pills. Panels use 12px corners. One accent: #d6ff4a. */
@font-face { font-family: Geist; src: url("/fonts/geist-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Geist; src: url("/fonts/geist-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: Geist; src: url("/fonts/geist-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/fonts/geist-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --bg: #10110e;
  --ink: #f3f4ee;
  --muted: #c6ccb8;
  --line: #2c3124;
  --accent: #d6ff4a;
  --accent-ink: #14180c;
  --panel: #17190f;
  --paper: #e7e9e2;
  --paper-ink: #17190f;
  --radius: 12px;
  --nav: 68px;
  --sans: Geist, "Avenir Next", "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 1.05rem; line-height: 1.5; }
a { color: var(--accent); text-underline-offset: 0.18em; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--accent); color: var(--accent-ink); padding: 0.5rem 0.8rem; }
.skip:focus { top: 0.5rem; }
.nav { height: var(--nav); display: flex; align-items: center; gap: 1.25rem; padding: 0 1.25rem; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: rgba(16,17,14,0.92); z-index: 2; }
.nav nav { display: flex; gap: 1rem; }
.nav a { color: var(--ink); text-decoration: none; }
.mark { font-weight: 600; margin-right: auto; }
.btn { display: inline-flex; align-items: center; justify-content: center; background: var(--accent); color: var(--accent-ink); text-decoration: none; border: 0; border-radius: 999px; padding: 0.72rem 1.05rem; font: 600 1rem/1 var(--sans); cursor: pointer; white-space: nowrap; }
.btn:active { transform: scale(0.98); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.slim { align-self: flex-start; margin: 0.8rem 1rem 1rem; }
.hero { min-height: calc(100dvh - var(--nav)); display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 2rem; align-items: center; max-width: 1400px; margin: 0 auto; padding: 1.25rem 1.25rem 2rem; }
h1 { font-size: clamp(3.2rem, 6vw, 5.4rem); line-height: 0.92; letter-spacing: -0.045em; margin: 0 0 0.8rem; font-weight: 600; }
.hero-copy p { max-width: 36ch; color: var(--muted); margin: 0 0 1rem; font-size: 1.15rem; }
.audience { display: flex; gap: 0.4rem; margin-bottom: 1rem; }
.audience button { background: transparent; color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 0.35rem 0.75rem; font: 500 0.95rem/1 var(--sans); cursor: pointer; }
.audience button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.actions { display: flex; gap: 1rem; align-items: center; }
.textlink { color: var(--accent); }
.console { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); min-height: 320px; display: flex; flex-direction: column; }
.console-bar { display: flex; justify-content: space-between; padding: 0.75rem 1rem; color: var(--muted); font-family: var(--mono); font-size: 0.82rem; border-bottom: 1px solid var(--line); }
pre { font-family: var(--mono); font-size: 0.92rem; line-height: 1.55; margin: 0; padding: 1rem; white-space: pre-wrap; color: var(--ink); }
.marquee { overflow: hidden; border-block: 1px solid var(--line); }
.marquee-track { display: flex; gap: 2rem; padding: 0.7rem 0; width: max-content; animation: slide 28s linear infinite; font-family: var(--mono); color: var(--muted); }
.marquee span:nth-child(2), .marquee span:nth-child(7) { color: var(--accent); }
@keyframes slide { to { transform: translateX(-50%); } }
.proof, .stage, .spaces, .price, .docs, .start { max-width: 1400px; margin: 0 auto; padding: 4.5rem 1.25rem; }
.cite { font-family: var(--mono); color: var(--muted); }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.metrics strong { display: block; font-size: clamp(2.4rem, 4vw, 3.6rem); letter-spacing: -0.04em; line-height: 1; }
.metrics span, .lead { color: var(--muted); }
.lead { max-width: 65ch; }
.stage-head, .spaces { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2rem; align-items: end; }
.stage { padding-top: 1rem; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -0.04em; line-height: 1.05; margin: 0 0 1rem; }
.frame { margin-top: 1.5rem; border-radius: var(--radius); min-height: 280px; padding: 1.25rem; border: 1px solid var(--line); }
.frame[data-view="human"] { background: var(--paper); color: var(--paper-ink); }
.frame[data-view="agent"] { background: #0c0d0a; color: #d7d2c4; font-family: var(--mono); }
.frame[data-view="unbrowse"] { background: #14180c; color: var(--ink); }
.sheet { display: grid; gap: 0.6rem; }
.row { display: flex; justify-content: space-between; border-bottom: 1px solid #c9cdc2; padding-bottom: 0.45rem; }
.spaces ol { margin: 0; padding-left: 1.1rem; display: grid; gap: 0.8rem; }
.spaces p { color: var(--muted); max-width: 42ch; }
.price { display: grid; justify-items: start; gap: 0.4rem; }
.figure { font-size: clamp(5rem, 12vw, 9rem); line-height: 0.85; letter-spacing: -0.06em; margin: 0; font-weight: 600; }
.docs pre, .start pre { background: var(--panel); border-radius: var(--radius); border: 1px solid var(--line); }
.start form { display: grid; gap: 0.45rem; max-width: 420px; }
label { font-weight: 600; }
input { background: #1c1f16; color: var(--ink); border: 1px solid #4a5240; border-radius: 8px; padding: 0.75rem 0.8rem; font: 1rem var(--sans); }
.hint { color: var(--muted); margin: 0; }
.error { color: #ffb4a8; margin: 0; }
.limits { max-width: 70ch; margin: 0 auto 3rem; padding: 0 1.25rem; color: var(--muted); }
footer { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding: 2rem 1.25rem 3rem; border-top: 1px solid var(--line); }
footer div { display: grid; gap: 0.45rem; align-content: start; }
footer b { font-weight: 600; }
footer p { margin: 0; color: var(--muted); }
@media (max-width: 800px) {
  .nav { height: auto; flex-wrap: wrap; row-gap: 0.35rem; padding-block: 0.55rem; }
  .nav nav { order: 3; width: 100%; }
  .hero, .metrics, .stage-head, .spaces, footer { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 1.5rem; }
  h1 { font-size: 3.1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
}
