:root {
  --bg: #080b12;
  --surface: #0e1320;
  --surface-2: #141c2e;
  --fg: #e4e8f0;
  --fg-muted: #7a8599;
  --border: #1e2640;
  --accent: #00e5ff;
  --amber: #ffb300;
  --dim: #3a4560;
  --cyan: #00e5ff;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
.topbar {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 48px;
  border-bottom: 1px solid var(--border);
}
.wordmark {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.03em;
  color: var(--fg);
}
.tagline {
  font-size: 13px;
  color: var(--fg-muted);
  letter-spacing: 0.02em;
}

/* ── MANIFESTO ── */
.manifesto {
  padding: 80px 48px 96px;
  background: var(--bg);
}
.manifesto-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1280px;
  margin: 0 auto;
  align-items: center;
}
.overline {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.manifesto-text h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 20px;
}
.lede {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 460px;
  margin-bottom: 40px;
}

/* code block */
.code-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.code-label {
  padding: 10px 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--fg-muted);
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.code-block pre {
  padding: 16px 20px 8px;
}
.code-block code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  line-height: 1.8;
  color: var(--fg);
  white-space: pre;
  display: block;
}
.code-output {
  padding: 12px 20px 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  line-height: 1.9;
  color: var(--fg-muted);
  border-top: 1px solid var(--border);
  background: var(--surface-2);
}
.dim { color: var(--dim); }
.cyan { color: var(--cyan); }
.amber { color: var(--amber); }

/* board visual */
.manifesto-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.board-silhouette {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
  height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.chip-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 0.1em;
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 3px;
  display: inline-block;
  width: fit-content;
}
.chip-label-2 {
  color: var(--amber);
  align-self: flex-end;
}
.pin {
  width: 8px;
  height: 8px;
  background: var(--border);
  border-radius: 1px;
}
.pin-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.trace {
  height: 1px;
  background: var(--border);
  flex: 1;
}
.trace-1 { max-width: 60px; }
.trace-2 { max-width: 40px; }
.trace-3 { max-width: 80px; }
.trace-long { height: 1px; background: var(--border); width: 100%; margin-top: 4px; }

.scan-line {
  height: 2px;
  background: var(--surface-2);
  border-radius: 1px;
  overflow: hidden;
}
.scan-progress {
  height: 100%;
  width: 60%;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: scan 2.4s ease-in-out infinite;
}
@keyframes scan {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(300%); }
}

.signal-window {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.signal-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--fg-muted);
  letter-spacing: 0.08em;
}
.signal-wave {
  flex: 1;
  height: 32px;
}
.signal-wave svg {
  width: 100%;
  height: 100%;
}

/* ── PIPELINE ── */
.pipeline {
  padding: 80px 48px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 8px;
}
.section-desc {
  color: var(--fg-muted);
  font-size: 16px;
  max-width: 540px;
  margin: 12px auto 0;
}
.pipeline-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
}
.step {
  flex: 1;
  max-width: 220px;
  text-align: center;
}
.step-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.step-icon {
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
}
.step h3 {
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 10px;
}
.step p {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.6;
}
.step-connector {
  flex-shrink: 0;
  padding: 0 4px;
}

/* ── SUPPORTED ── */
.supported {
  padding: 80px 48px;
  background: var(--bg);
}
.supported .section-header { margin-bottom: 48px; }
.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto 32px;
}
.platform-category h4 {
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}
.platform-category ul {
  list-style: none;
}
.platform-category li {
  font-size: 13px;
  color: var(--fg-muted);
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
}
.platform-category li:last-child { border-bottom: none; }
.chip-name {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
}
.platform-note {
  text-align: center;
  font-size: 13px;
  color: var(--fg-muted);
  max-width: 500px;
  margin: 0 auto;
}

/* ── CLOSING ── */
.closing {
  padding: 96px 48px;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.closing-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: center;
}
.closing-quote {
  border-left: 2px solid var(--accent);
  padding-left: 28px;
}
.closing-quote p {
  font-size: 20px;
  font-style: italic;
  line-height: 1.5;
  color: var(--fg);
  font-weight: 300;
  margin-bottom: 16px;
}
.quote-attr {
  font-size: 12px;
  color: var(--fg-muted);
  font-family: 'JetBrains Mono', monospace;
}
.closing-statement h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 20px;
}
.closing-statement p {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ── FOOTER ── */
footer {
  padding: 40px 48px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-desc {
  font-size: 12px;
  color: var(--fg-muted);
  max-width: 340px;
}
.footer-links {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--fg-muted);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .manifesto-inner { grid-template-columns: 1fr; gap: 48px; }
  .manifesto-visual { order: -1; }
  .platform-grid { grid-template-columns: 1fr 1fr; }
  .closing-inner { grid-template-columns: 1fr; gap: 48px; }
  .pipeline-steps { flex-direction: column; gap: 24px; }
  .step-connector { transform: rotate(90deg); }
}
@media (max-width: 600px) {
  .topbar, .manifesto, .pipeline, .supported, .closing { padding-left: 24px; padding-right: 24px; }
  .topbar { padding: 16px 24px; }
  .platform-grid { grid-template-columns: 1fr; }
  footer { padding: 32px 24px; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  .footer-brand { align-items: center; }
  .footer-desc { text-align: center; }
}