:root {
  --bg: #0D1117;
  --bg-card: #161B22;
  --bg-card-hover: #1C2128;
  --fg: #F0F4F8;
  --fg-muted: #8B949E;
  --accent: #E8A838;
  --accent-dim: rgba(232, 168, 56, 0.12);
  --border: #21262D;
  --border-bright: rgba(232, 168, 56, 0.25);
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'IBM Plex Mono', monospace;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ===== NAVBAR ===== */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 64px;
  border-bottom: 1px solid var(--border);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-mark {
  color: var(--accent);
  font-size: 18px;
}
.brand-name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--fg);
}
.nav-tagline {
  font-size: 11px;
  color: var(--fg-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ===== HERO ===== */
.hero {
  padding: 80px 64px 72px;
  max-width: 1400px;
  margin: 0 auto;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 36px;
}
.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3FB950;
  box-shadow: 0 0 8px #3FB950;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.eyebrow-text {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.hero-left {}
.hero-headline {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(52px, 5vw, 80px);
  line-height: 1.05;
  font-weight: 400;
  color: var(--fg);
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}
.hero-sub {
  font-size: 15px;
  line-height: 1.7;
  color: var(--fg-muted);
  max-width: 420px;
  margin-bottom: 48px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
}
.stat { padding: 0 28px; }
.stat:first-child { padding-left: 0; }
.stat-value {
  font-size: 22px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 4px;
}
.stat-label {
  font-size: 10px;
  color: var(--fg-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ===== DEAL RADAR ===== */
.hero-right {}
.deal-radar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 28px;
}
.radar-label {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 24px;
}
.radar-item {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 4px 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.radar-item:last-child { border-bottom: none; padding-bottom: 0; }
.radar-item--muted { opacity: 0.5; }
.radar-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--fg);
}
.radar-meta {
  font-size: 11px;
  color: var(--fg-muted);
  grid-column: 1;
  grid-row: 2;
}
.radar-score {
  grid-column: 2;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
}
.score-badge {
  font-size: 18px;
  font-weight: 600;
  color: var(--accent);
}
.score-badge.muted { color: var(--fg-muted); }
.score-label {
  font-size: 9px;
  color: var(--fg-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ===== PIPELINE ===== */
.pipeline {
  padding: 80px 64px;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.pipeline-header {
  max-width: 1400px;
  margin: 0 auto 56px;
}
.section-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-headline {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 400;
  color: var(--fg);
  line-height: 1.15;
}
.pipeline-steps {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
}
.pipeline-step { padding: 0 32px; }
.pipeline-step:first-child { padding-left: 0; }
.pipeline-arrow {
  font-size: 20px;
  color: var(--accent);
  padding-top: 28px;
  opacity: 0.6;
}
.step-number {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}
.step-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 10px;
}
.step-desc {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ===== FEATURES ===== */
.features {
  padding: 80px 64px;
}
.features-header {
  max-width: 1400px;
  margin: 0 auto 56px;
}
.features-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 36px;
  transition: background 0.2s;
}
.feature-card:hover { background: var(--bg-card-hover); }
.feature-icon {
  margin-bottom: 24px;
}
.feature-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 12px;
}
.feature-desc {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ===== MANIFESTO ===== */
.manifesto {
  padding: 80px 64px;
  background: linear-gradient(135deg, #0D1117 0%, #111820 100%);
}
.manifesto-inner {
  max-width: 720px;
  margin: 0 auto;
}
.manifesto-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.manifesto-headline {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  color: var(--fg);
  line-height: 1.2;
  margin-bottom: 28px;
}
.manifesto-body {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 20px;
}

/* ===== CLOSING ===== */
.closing {
  padding: 80px 64px;
  background: var(--bg);
}
.closing-inner {
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}
.closing-rule {
  width: 48px;
  height: 1px;
  background: var(--accent);
  margin: 0 auto 48px;
}
.closing-headline {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 400;
  color: var(--fg);
  line-height: 1.1;
  margin-bottom: 24px;
}
.closing-sub {
  font-size: 15px;
  color: var(--fg-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== FOOTER ===== */
.footer {
  padding: 48px 64px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.footer-mark { color: var(--accent); }
.footer-name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.25em;
}
.footer-tagline {
  font-size: 11px;
  color: var(--fg-muted);
  letter-spacing: 0.1em;
}
.footer-legal {
  font-size: 10px;
  color: var(--fg-muted);
  max-width: 400px;
  line-height: 1.5;
  margin-top: 8px;
  opacity: 0.6;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .navbar, .hero, .pipeline, .features, .manifesto, .closing, .footer {
    padding-left: 28px;
    padding-right: 28px;
  }
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .pipeline-steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .pipeline-arrow { display: none; }
  .features-grid {
    grid-template-columns: 1fr;
  }
}
