:root {
  --bg: #0d1117;
  --surface: #161b22;
  --surface-2: #21262d;
  --border: #30363d;
  --text: #e6edf3;
  --text-muted: #8b949e;
  --accent: #2563eb;
  --accent-dim: rgba(37, 99, 235, 0.15);
  --teal: #00d4ff;
  --green: #3fb950;
  --red: #f85149;
  --yellow: #d29922;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Instrument Sans', -apple-system, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Nav */
.nav { padding: 20px 0; border-bottom: 1px solid var(--border); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; display: flex; align-items: center; gap: 16px; }
.nav-logo { font-weight: 700; font-size: 18px; letter-spacing: -0.3px; }
.nav-badge { font-size: 11px; color: var(--text-muted); background: var(--surface); border: 1px solid var(--border); padding: 3px 10px; border-radius: 20px; }

/* Hero */
.hero { padding: 80px 0 60px; }
.hero-content { max-width: 1200px; margin: 0 auto; padding: 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--teal); margin-bottom: 16px; }
.hero-headline { font-family: 'Instrument Serif', serif; font-size: 52px; line-height: 1.1; letter-spacing: -1.5px; margin-bottom: 24px; color: var(--text); }
.hero-headline em { font-style: italic; color: var(--teal); }
.hero-sub { font-size: 17px; color: var(--text-muted); line-height: 1.7; max-width: 440px; }

/* Terminal */
.terminal { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; box-shadow: 0 24px 48px rgba(0,0,0,0.4); }
.terminal-bar { background: var(--surface-2); padding: 12px 16px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--border); }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }
.terminal-title { font-size: 12px; color: var(--text-muted); margin-left: 8px; font-family: monospace; }
.terminal-body { padding: 16px; }
.trow { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; padding: 10px 0; font-size: 13px; font-family: 'Instrument Sans', monospace; border-bottom: 1px solid var(--border); gap: 8px; }
.trow:last-of-type { border-bottom: none; }
.trow.header { color: var(--text-muted); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; }
.prog { color: var(--text); font-weight: 600; }
.rev { color: var(--green); font-weight: 600; }
.badge { padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 600; }
.badge.active { background: rgba(63, 185, 80, 0.15); color: var(--green); }
.badge.new { background: var(--accent-dim); color: var(--teal); }
.metric-row { display: flex; justify-content: space-between; padding: 12px 0 0; margin-top: 8px; border-top: 1px solid var(--border); font-size: 13px; }
.metric-label { color: var(--text-muted); }
.metric-val { color: var(--teal); font-weight: 700; font-family: monospace; }

/* Stats */
.stats { padding: 48px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface); }
.stats-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; }
.stat { text-align: center; padding: 0 32px; }
.stat-num { display: block; font-size: 36px; font-weight: 700; font-family: 'Instrument Serif', serif; color: var(--teal); letter-spacing: -1px; }
.stat-label { display: block; font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.stat-div { width: 1px; height: 48px; background: var(--border); }

/* Features */
.features { padding: 100px 0; }
.features-header { max-width: 1200px; margin: 0 auto; padding: 0 32px; text-align: center; margin-bottom: 64px; }
.section-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--teal); margin-bottom: 16px; }
.features-header h2 { font-family: 'Instrument Serif', serif; font-size: 42px; letter-spacing: -1px; margin-bottom: 16px; }
.section-sub { font-size: 17px; color: var(--text-muted); max-width: 540px; margin: 0 auto; line-height: 1.7; }
.features-grid { max-width: 1200px; margin: 0 auto; padding: 0 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.feature-card { background: var(--surface); padding: 36px 32px; border: 1px solid var(--border); transition: background 0.2s; }
.feature-card:hover { background: var(--surface-2); }
.feature-icon { color: var(--teal); margin-bottom: 20px; }
.feature-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 10px; letter-spacing: -0.2px; }
.feature-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* Analytics */
.analytics { padding: 100px 0; background: var(--surface); border-top: 1px solid var(--border); }
.analytics-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.analytics-text h2 { font-family: 'Instrument Serif', serif; font-size: 38px; letter-spacing: -1px; margin-bottom: 16px; line-height: 1.2; }
.analytics-text .section-sub { margin: 0 0 32px; text-align: left; }
.analytics-list { list-style: none; }
.analytics-list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; font-size: 15px; color: var(--text); }
.analytics-list li svg { color: var(--teal); flex-shrink: 0; }
.analytics-list li span { color: var(--text-muted); }

/* Panel */
.panel { background: var(--bg); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.panel-header { padding: 16px 20px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; background: var(--surface-2); }
.panel-title { font-size: 13px; font-weight: 600; }
.panel-badge { font-size: 11px; background: var(--accent-dim); color: var(--teal); padding: 3px 10px; border-radius: 20px; font-weight: 600; }
.program-list { padding: 8px 0; }
.prog-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--border); }
.prog-row:last-child { border-bottom: none; }
.prog-info { display: flex; flex-direction: column; }
.prog-name { font-weight: 600; font-size: 14px; }
.prog-cat { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.prog-metrics { display: flex; flex-direction: column; align-items: flex-end; }
.prog-comm { font-weight: 700; color: var(--green); font-size: 13px; }
.prog-cookie { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

/* Network */
.network { padding: 100px 0; border-top: 1px solid var(--border); }
.network-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.network-header { text-align: center; margin-bottom: 64px; }
.network-header h2 { font-family: 'Instrument Serif', serif; font-size: 40px; letter-spacing: -1px; margin-bottom: 16px; }
.network-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-bottom: 48px; }
.net-card { background: var(--surface); border: 1px solid var(--border); padding: 40px 32px; }
.net-num { display: block; font-family: 'Instrument Serif', serif; font-size: 48px; color: var(--teal); margin-bottom: 8px; letter-spacing: -2px; }
.net-label { display: block; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-muted); margin-bottom: 16px; }
.net-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.network-quote { border-left: 3px solid var(--accent); padding-left: 32px; max-width: 680px; margin: 0 auto; }
.network-quote blockquote { font-family: 'Instrument Serif', serif; font-size: 22px; line-height: 1.5; color: var(--text-muted); font-style: italic; }

/* Closing */
.closing { padding: 100px 0; border-top: 1px solid var(--border); }
.closing-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; text-align: center; }
.closing-inner h2 { font-family: 'Instrument Serif', serif; font-size: 48px; letter-spacing: -1.5px; margin-bottom: 16px; }
.closing-sub { font-size: 17px; color: var(--text-muted); max-width: 540px; margin: 0 auto 40px; line-height: 1.7; }
.closing-features { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--text-muted); margin-bottom: 48px; }
.dot-sep { color: var(--border); }
.closing-tagline { font-family: 'Instrument Serif', serif; font-size: 28px; color: var(--text); font-style: italic; }
.cta-btn { display: inline-block; background: var(--accent); color: #fff; border: none; border-radius: 8px; padding: 14px 32px; font-family: inherit; font-size: 15px; font-weight: 600; cursor: pointer; text-decoration: none; transition: opacity 0.15s; margin: 24px 0 0; }
.cta-btn:hover { opacity: 0.85; }

/* Waitlist */
.waitlist { padding: 80px 0; border-top: 1px solid var(--border); background: var(--surface); }
.waitlist-bottom { background: var(--bg); border-bottom: 1px solid var(--border); }
.waitlist-inner { max-width: 720px; margin: 0 auto; padding: 0 32px; }
.waitlist-badge { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--teal); background: rgba(0,212,255,0.1); border: 1px solid rgba(0,212,255,0.25); padding: 5px 14px; border-radius: 20px; margin-bottom: 20px; }
.waitlist-headline { font-family: 'Instrument Serif', serif; font-size: 38px; letter-spacing: -1px; margin-bottom: 16px; line-height: 1.15; }
.waitlist-sub { font-size: 16px; color: var(--text-muted); line-height: 1.7; margin-bottom: 40px; max-width: 600px; }

.waitlist-form { display: flex; flex-direction: column; gap: 16px; }
.wf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.wf-field { display: flex; flex-direction: column; gap: 7px; }
.wf-field label { font-size: 13px; font-weight: 600; color: var(--text); }
.wf-optional { font-weight: 400; color: var(--text-muted); }
.wf-full { grid-column: 1 / -1; }
.wf-field input,
.wf-field select {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 11px 14px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: border-color 0.15s;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}
.waitlist-bottom .wf-field input,
.waitlist-bottom .wf-field select { background: var(--surface); }
.wf-field input:focus,
.wf-field select:focus { border-color: var(--accent); }
.wf-field input::placeholder { color: var(--text-muted); }
.wf-field select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238b949e' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.wf-actions { margin-top: 4px; }
.wf-submit { background: var(--accent); color: #fff; border: none; border-radius: 8px; padding: 14px 28px; font-family: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: opacity 0.15s; letter-spacing: -0.2px; }
.wf-submit:hover:not(:disabled) { opacity: 0.85; }
.wf-submit:disabled { opacity: 0.55; cursor: not-allowed; }
.wf-success { display: flex; align-items: center; gap: 12px; padding: 16px 20px; background: rgba(63,185,80,0.08); border: 1px solid rgba(63,185,80,0.25); border-radius: 8px; }
.wf-success p { font-size: 15px; font-weight: 600; color: var(--green); }
.wf-error { padding: 12px 16px; background: rgba(248,81,73,0.08); border: 1px solid rgba(248,81,73,0.25); border-radius: 8px; font-size: 14px; color: var(--red); }

@media (max-width: 600px) {
  .waitlist-headline { font-size: 28px; }
  .wf-row { grid-template-columns: 1fr; }
}

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 64px 0 32px; background: var(--surface); }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-bottom: 48px; }
.footer-logo { display: block; font-weight: 700; font-size: 20px; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; color: var(--text-muted); max-width: 280px; line-height: 1.6; }
.footer-links { display: flex; gap: 64px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col-head { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-muted); margin-bottom: 4px; }
.footer-col a { font-size: 14px; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding: 24px 32px 0; border-top: 1px solid var(--border); display: flex; justify-content: space-between; font-size: 12px; color: var(--text-muted); }

/* Responsive */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .analytics-inner { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .network-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { gap: 32px; }
  .stats-inner { flex-wrap: wrap; gap: 32px; }
  .stat-div { display: none; }
}

@media (max-width: 600px) {
  .hero-headline { font-size: 36px; }
  .features-grid { grid-template-columns: 1fr; }
  .features-header h2 { font-size: 32px; }
  .closing-inner h2 { font-size: 32px; }
  .stat-num { font-size: 28px; }
  .network-header h2 { font-size: 30px; }
  .analytics-text h2 { font-size: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .closing-features { flex-direction: column; gap: 8px; }
  .dot-sep { display: none; }
}