:root {
  --indigo: #818CF8;
  --amber: #FBBF24;
  --emerald: #34D399;
  --emerald-2: #10B981;
  --rose: #FB7185;
  --cyan: #22D3EE;
  --zinc-900: #18181B;
  --zinc-850: #1f1f23;
  --zinc-800: #27272A;
  --zinc-700: #3F3F46;
  --zinc-500: #71717A;
  --zinc-400: #A1A1AA;
  --zinc-300: #D4D4D8;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  background: #000;
  color: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--emerald); outline-offset: 2px; }
::selection { background: #27272A; color: #fff; }
a { color: var(--zinc-300); }

nav.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--zinc-800);
}
.nav-inner {
  max-width: 80rem; margin: 0 auto; padding: 0 24px;
  height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.brand svg { width: 24px; height: 24px; }
.brand:hover svg { transform: scale(1.05); }
.brand-name { font-weight: 500; letter-spacing: -0.01em; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { color: var(--zinc-500); font-size: 14px; font-weight: 500; text-decoration: none; }
.nav-links a:hover { color: var(--zinc-300); }
.nav-links a.current { color: #fff; }
.nav-cta {
  padding: 8px 16px; border: 1px solid var(--zinc-700); border-radius: 6px;
  color: #fff; font-size: 14px; font-weight: 500; text-decoration: none;
}
.nav-cta:hover { background: var(--zinc-900); }

.sheet { max-width: 80rem; margin: 0 auto; padding: 88px 24px 48px; }
.hero { position: relative; max-width: 52rem; margin-bottom: 12px; overflow: hidden; }
.glow {
  position: absolute; top: -80px; left: 0; width: min(420px, 100%); height: 220px;
  background: rgba(49, 46, 129, 0.22); filter: blur(80px); border-radius: 50%;
  pointer-events: none;
}
.eyebrow {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 12px; border-radius: 999px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase;
}
.eyebrow .pulse { width: 6px; height: 6px; border-radius: 50%; }
.eyebrow.emerald, body[data-mode="jive"] .eyebrow { background: rgba(52, 211, 153, 0.1); border: 1px solid rgba(52, 211, 153, 0.2); color: var(--emerald); }
.eyebrow.emerald .pulse, body[data-mode="jive"] .eyebrow .pulse { background: var(--emerald); }
body[data-mode="warf"] .eyebrow { background: rgba(34, 211, 238, 0.1); border: 1px solid rgba(34, 211, 238, 0.25); color: var(--cyan); }
body[data-mode="warf"] .eyebrow .pulse { background: var(--cyan); }
body[data-mode="compiler"] .eyebrow { background: rgba(251, 191, 36, 0.1); border: 1px solid rgba(251, 191, 36, 0.25); color: var(--amber); }
body[data-mode="compiler"] .eyebrow .pulse { background: var(--amber); }
.hero h1 {
  position: relative;
  margin-top: 12px;
  font-weight: 400; letter-spacing: -0.03em;
  font-size: clamp(36px, 4.4vw, 56px); line-height: 1.05;
}
.lede { position: relative; margin-top: 12px; color: var(--zinc-400); font-size: 17px; max-width: 48rem; }
.contrast {
  position: relative;
  margin-top: 10px;
  color: var(--zinc-300);
  font-size: 14px;
  max-width: 46rem;
}
.fold { margin-bottom: 18px; }
.fold > label { margin-top: 0; }
.fold textarea { min-height: 58px; }
.host-row { display: grid; grid-template-columns: 180px 1fr; gap: 12px; align-items: center; margin-top: 8px; }
.host-row label { margin: 0; }
.host-row input { border-color: rgba(52, 211, 153, 0.45); }
.verb-bar {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 12px 0;
  position: sticky; top: 64px; z-index: 30;
  background: rgba(0, 0, 0, 0.92);
  padding: 8px 0;
}
.verb-bar button {
  border: 1px solid var(--zinc-700); border-radius: 999px; background: #000; color: var(--zinc-300);
  padding: 6px 12px; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
}
.verb-bar .primary { margin-left: auto; text-transform: none; letter-spacing: 0; border: 0; }
.verb-bar button.is-on { background: var(--emerald-2); border-color: var(--emerald-2); color: #04130c; }
.verb-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.verb-result {
  background: #0c0c0e;
  border: 1px solid var(--zinc-800);
  border-radius: 12px;
  padding: 8px 10px 10px;
}
.verb-result.is-on { border-color: rgba(52, 211, 153, 0.55); }
.verb-name {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--emerald);
}
.verb-choice {
  display: block; margin-top: 6px;
  font-size: 18px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.2;
}
.verb-meta { display: block; margin-top: 4px; color: var(--zinc-400); font-size: 12px; }
.verb-evidence {
  margin-top: 6px; color: var(--zinc-500); font-size: 12px; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.receipt-band { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.band-card {
  border-radius: 12px; padding: 10px 12px;
  background: #0c0c0e; border: 1px solid var(--zinc-800);
  display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center;
}
.band-warf { border-color: rgba(34, 211, 238, 0.35); }
.band-compiler { border-color: rgba(251, 191, 36, 0.35); }
.band-kicker {
  grid-column: 1;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
}
.band-warf .band-kicker { color: var(--cyan); }
.band-compiler .band-kicker { color: var(--amber); }
.band-card strong {
  grid-column: 1;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 16px; font-weight: 500; letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}
.band-proof { grid-column: 1; color: var(--zinc-400); font-size: 12px; overflow-wrap: anywhere; }
.band-card .primary { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
.fold-actions { margin-top: 10px; }

.suite { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.suite-card {
  text-align: left;
  background: rgba(24, 24, 27, 0.72);
  border: 1px solid var(--zinc-800);
  border-radius: 16px;
  padding: 14px 16px 16px;
  min-height: 108px;
  display: flex; flex-direction: column; gap: 6px;
}
.suite-card:hover { border-color: var(--zinc-700); }
.suite-card.is-on { background: #111113; }
.suite-card[data-suite="jive"].is-on { border-color: rgba(52, 211, 153, 0.55); }
.suite-card[data-suite="warf"].is-on { border-color: rgba(34, 211, 238, 0.55); }
.suite-card[data-suite="compiler"].is-on { border-color: rgba(251, 191, 36, 0.55); }
.suite-kicker {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--zinc-500);
}
.suite-card[data-suite="jive"] .suite-kicker { color: var(--emerald); }
.suite-card[data-suite="warf"] .suite-kicker { color: var(--cyan); }
.suite-card[data-suite="compiler"] .suite-kicker { color: var(--amber); }
.suite-value {
  font-weight: 500; letter-spacing: -0.03em;
  font-size: clamp(22px, 2vw, 28px); line-height: 1.15;
  overflow-wrap: anywhere;
}
.suite-proof {
  color: var(--zinc-400);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px; line-height: 1.4;
  overflow-wrap: anywhere;
}

.bento {
  border: 1px solid var(--zinc-900); border-radius: 24px;
  background: rgba(3, 6, 18, 0.3);
  padding: 10px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}
.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tab-btn {
  background: rgba(2, 4, 10, 0.4);
  border: 1px solid var(--zinc-900);
  border-radius: 16px;
  padding: 14px 16px;
  min-height: 72px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  color: inherit;
}
.tab-btn:hover { border-color: var(--zinc-800); background: rgba(6, 11, 24, 0.3); }
.tab-title { color: #fff; font-weight: 700; letter-spacing: -0.015em; font-size: 22px; line-height: 1; }
.tab-subtitle {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px; color: var(--zinc-400); letter-spacing: 0.06em; text-transform: uppercase;
}
.tab-btn.mode.is-on { background: linear-gradient(135deg, rgba(24, 24, 27, 0.8), rgba(24, 24, 27, 0.4)); }
.tab-btn[data-mode="jive"].is-on { border-color: rgba(52, 211, 153, 0.45); }
.tab-btn[data-mode="jive"].is-on .tab-subtitle { color: var(--emerald); }
.tab-btn[data-mode="warf"].is-on { border-color: rgba(34, 211, 238, 0.45); }
.tab-btn[data-mode="warf"].is-on .tab-subtitle { color: var(--cyan); }
.tab-btn[data-mode="compiler"].is-on { border-color: rgba(251, 191, 36, 0.45); }
.tab-btn[data-mode="compiler"].is-on .tab-subtitle { color: var(--amber); }

.stage { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr); gap: 16px; align-items: start; margin-top: 16px; }
.work, .result, .examples {
  background: var(--zinc-900);
  border: 1px solid var(--zinc-800);
  border-radius: 16px;
  padding: 22px;
}
.examples { margin-top: 16px; }
.result {
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(52, 211, 153, 0.08), transparent 42%),
    var(--zinc-900);
}
.verbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.verbs button, .ghost, .text-btn, .chip {
  border: 1px solid var(--zinc-700); border-radius: 6px; background: transparent; color: var(--zinc-300);
}
.verbs button, .ghost, .text-btn { padding: 8px 14px; font-size: 14px; font-weight: 500; }
.verbs button.is-on { background: var(--emerald-2); border-color: var(--emerald-2); color: #04130c; }
.hint, .endpoint p, .fine, .sub, .note, .about p { color: var(--zinc-400); }
.hint { font-size: 14px; margin-bottom: 8px; }
label, .field-label { display: block; margin: 16px 0 8px; color: var(--zinc-300); font-size: 14px; font-weight: 500; }
textarea, input[type="text"], input[type="url"] {
  width: 100%;
  border: 1px solid var(--zinc-800);
  background: #000;
  border-radius: 8px;
  padding: 12px;
}
textarea { min-height: 96px; resize: vertical; }
.row-2 { display: grid; gap: 8px; margin-bottom: 8px; align-items: center; }
.package {
  margin-top: 12px; padding: 16px; border: 1px solid var(--zinc-800); border-radius: 12px; background: #000;
}
.package-head { display: flex; justify-content: space-between; align-items: center; color: var(--zinc-500); font-size: 13px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.primary {
  padding: 10px 20px; background: var(--emerald-2); color: #000;
  font-weight: 500; font-size: 14px; border: 0; border-radius: 8px;
}
.primary:hover { background: var(--emerald); }
.ghost:hover, .text-btn:hover, .chip:hover, .verbs button:hover { background: var(--zinc-900); }
.status { min-height: 1.4em; margin-top: 12px; color: var(--zinc-500); font-size: 14px; }
.status.ok { color: var(--emerald); }
.status.preview { color: var(--amber); }
.status.error { color: var(--rose); }
.endpoint { margin-top: 16px; }
.endpoint summary, .raw summary, .about summary { cursor: pointer; color: var(--zinc-300); font-size: 14px; }
.endpoint input { margin-top: 10px; }

.result-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.result-head h2, .examples h2 { font-weight: 500; letter-spacing: -0.02em; font-size: 24px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 12px; border-radius: 999px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--zinc-400); border: 1px solid var(--zinc-700);
}
.badge.wait { color: var(--zinc-500); }
.badge.preview { color: var(--amber); border-color: rgba(251, 191, 36, 0.35); background: rgba(251, 191, 36, 0.08); }
.badge.live { color: var(--emerald); border-color: rgba(52, 211, 153, 0.35); background: rgba(52, 211, 153, 0.08); }
.badge.denied { color: var(--rose); border-color: rgba(251, 113, 133, 0.45); background: rgba(251, 113, 133, 0.08); }
.verdict {
  margin-top: 14px;
  font-weight: 500; letter-spacing: -0.03em;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: clamp(22px, 2.4vw, 32px); line-height: 1.2;
  overflow-wrap: anywhere;
}
.facts { display: grid; gap: 8px; margin-top: 16px; }
.fact { display: grid; grid-template-columns: 108px 1fr; gap: 10px; align-items: baseline; }
.fact dt {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--zinc-500);
}
.fact dd {
  margin: 0;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 13px; color: #fff;
  overflow-wrap: anywhere;
}
.weights { display: grid; gap: 10px; margin-top: 18px; }
.weight { display: grid; grid-template-columns: 140px 1fr 56px; gap: 10px; align-items: center; font-size: 14px; }
.track { height: 8px; border-radius: 99px; background: #000; border: 1px solid var(--zinc-800); overflow: hidden; }
.fill { display: block; height: 100%; width: 0; background: var(--zinc-700); }
.fill.on { background: var(--emerald); }
.pct { text-align: right; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 12px; color: var(--zinc-300); }
pre {
  margin-top: 8px; max-height: 260px; overflow: auto;
  padding: 14px; border-radius: 8px;
  background: #000; border: 1px solid var(--zinc-800);
  color: var(--zinc-300);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px; line-height: 1.55;
  white-space: pre-wrap; overflow-wrap: anywhere;
}
.raw { margin-top: 12px; }
.tools { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 16px; align-items: center; }
.import { color: var(--zinc-300); font-size: 14px; }
.import input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.fine { margin-top: 14px; font-size: 13px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip { padding: 8px 12px; font-size: 13px; }
.about { margin-top: 28px; }
.about p { margin-top: 8px; max-width: 68ch; font-size: 14px; }

footer.site {
  max-width: 80rem; margin: 0 auto; padding: 32px 24px 48px;
  border-top: 1px solid var(--zinc-800);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: var(--zinc-500); font-size: 14px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--zinc-300); font-weight: 500; }
.mark { width: 20px; height: 20px; background: var(--zinc-700); border-radius: 3px; }
footer.site a { color: var(--zinc-300); text-decoration: none; }

@media (max-width: 900px) {
  .suite, .stage, .bento-grid, .weight, .fact, .receipt-band { grid-template-columns: 1fr; }
  .verb-strip { display: flex; overflow-x: auto; gap: 8px; }
  .verb-result { flex: 0 0 180px; }
  .verb-bar .primary { margin-left: 0; }
  .host-row { grid-template-columns: 1fr; }
  .band-card .primary { grid-column: 1; grid-row: auto; justify-self: start; }
  .tab-title { font-size: 20px; }
  .tab-btn { min-height: 64px; padding: 12px; }
}
@media (max-width: 780px) {
  .nav-links { display: none; }
  .sheet { padding-top: 96px; }
  .work, .result, .examples { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
