:root {
  --bg: #0c0c0f;
  --bg-surface: #131318;
  --bg-surface-2: #1a1a22;
  --fg: #e8e4dc;
  --fg-muted: #8a8690;
  --fg-faint: #4a4852;
  --accent: #f5a623;
  --accent-dim: rgba(245, 166, 35, 0.12);
  --alert: #e85d45;
  --alert-dim: rgba(232, 93, 69, 0.12);
  --ok: #3d9970;
  --ok-dim: rgba(61, 153, 112, 0.10);
  --action: #5b9bd5;
  --action-dim: rgba(91, 155, 213, 0.10);
  --border: rgba(232, 228, 220, 0.07);
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;
  --font-sans: 'IBM Plex Sans', -apple-system, sans-serif;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── HERO ── */
.hero {
  padding: 100px 40px 80px;
  max-width: 900px;
  margin: 0 auto;
  border-bottom: 1px solid var(--border);
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.7); }
}


.hero-title {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 24px;
}

.hero-lede {
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--fg-muted);
  max-width: 560px;
  margin-bottom: 56px;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-value {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--fg-muted);
  letter-spacing: 0.03em;
}

/* ── LIVE FEED ── */
.livefeed {
  padding: 60px 40px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
}

.livefeed-header {
  max-width: 900px;
  margin: 0 auto 24px;
}

.livefeed-title-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.livefeed-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.livefeed-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ok);
  background: var(--ok-dim);
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid rgba(61, 153, 112, 0.25);
}

.feed-scroll {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: 340px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--fg-faint) transparent;
}

.feed-entry {
  display: grid;
  grid-template-columns: 80px 160px 1fr;
  gap: 16px;
  padding: 10px 16px;
  border-radius: 4px;
  font-size: 0.82rem;
  font-family: var(--font-mono);
  align-items: center;
}

.feed-entry:hover { background: var(--bg-surface-2); }

.entry-alert { color: var(--alert); background: var(--alert-dim); }
.entry-ok { color: var(--fg-muted); }
.entry-action { color: var(--action); background: var(--action-dim); }

.entry-time { font-size: 0.7rem; opacity: 0.7; }
.entry-source { font-size: 0.75rem; opacity: 0.8; }

/* ── FEATURES ── */
.features {
  padding: 80px 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.feature-card {
  background: var(--bg-surface);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.2s;
}

.feature-card:hover { background: var(--bg-surface-2); }

.feature-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-dim);
  border: 1px solid rgba(245, 166, 35, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.feature-card h3 {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.7;
  font-weight: 300;
}

/* ── PLAYBOOK ── */
.playbook {
  padding: 80px 40px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.playbook-inner {
  max-width: 900px;
  margin: 0 auto;
}

.playbook-header {
  margin-bottom: 56px;
}

.playbook-header h2 {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.playbook-header p {
  color: var(--fg-muted);
  font-size: 0.95rem;
  font-weight: 300;
}

.playbook-items {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.playbook-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.playbook-item:last-child { border-bottom: none; }

.playbook-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--fg-faint);
  padding-top: 3px;
}

.playbook-content h4 {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 8px;
}

.playbook-content p {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.7;
  font-weight: 300;
}

/* ── CLOSING ── */
.closing {
  padding: 100px 40px;
  text-align: center;
}

.closing-inner {
  max-width: 640px;
  margin: 0 auto;
}

.closing h2 {
  font-family: var(--font-mono);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.closing p {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 12px;
}

.closing-tagline {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-top: 32px;
}

/* ── FOOTER ── */
footer {
  padding: 32px 40px;
  border-top: 1px solid var(--border);
  background: var(--bg-surface);
}

.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}


.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-name {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-desc {
  font-size: 0.78rem;
  color: var(--fg-muted);
  font-weight: 300;
  max-width: 340px;
}

.footer-tagline {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--fg-faint);
  letter-spacing: 0.05em;
}

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .hero { padding: 72px 24px 56px; }
  .hero-stats { gap: 32px; }
  .livefeed { padding: 48px 24px; }
  .feed-entry { grid-template-columns: 70px 130px 1fr; gap: 10px; font-size: 0.76rem; }
  .features { padding: 56px 24px; }
  .features-grid { grid-template-columns: 1fr; }
  .playbook { padding: 56px 24px; }
  .closing { padding: 72px 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
