:root {
  --bg: #0f172a;
  --surface: #1e293b;
  --surface-2: #263347;
  --fg: #f1f5f9;
  --fg-muted: #94a3b8;
  --accent: #3b82f6;
  --accent-dim: rgba(59,130,246,0.15);
  --accent-2: #4ade80;
  --tag-new: #a78bfa;
  --tag-watch: #fbbf24;
  --tag-skip: #475569;
  --border: rgba(148,163,184,0.12);
}

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

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

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
}

/* Nav */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 100;
}
.nav-logo { display: flex; align-items: center; gap: 0.5rem; }
.nav-wordmark {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
  color: var(--fg);
}
.nav-links { display: flex; gap: 2rem; }
.nav-links a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--fg); }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding: 5rem 3rem 4rem;
  align-items: start;
  min-height: 80vh;
}
.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.hero-headline {
  font-size: 3.2rem;
  color: var(--fg);
  margin-bottom: 1.5rem;
  line-height: 1.15;
}
.hero-headline em {
  font-style: italic;
  color: var(--accent-2);
}
.hero-lede {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 440px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
.hero-stats {
  display: flex;
  gap: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.hero-stat { display: flex; flex-direction: column; gap: 0.2rem; }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
}
.stat-label {
  font-size: 0.75rem;
  color: var(--fg-muted);
  max-width: 100px;
  line-height: 1.4;
}

/* Paper feed */
.paper-feed {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.paper-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.paper-card--top { border-color: rgba(167,139,250,0.3); }
.paper-card--dim { opacity: 0.45; }
.paper-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  display: inline-block;
  width: fit-content;
}
.paper-tag--new { background: rgba(167,139,250,0.2); color: var(--tag-new); }
.paper-tag--watch { background: rgba(251,191,36,0.15); color: var(--tag-watch); }
.paper-tag--skip { background: rgba(71,85,105,0.4); color: var(--fg-muted); }
.paper-title { font-size: 0.82rem; font-weight: 600; color: var(--fg); line-height: 1.4; }
.paper-meta { font-size: 0.72rem; color: var(--fg-muted); }
.paper-score { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.25rem; }
.score-label { font-size: 0.65rem; color: var(--fg-muted); width: 55px; }
.score-bar { flex: 1; height: 4px; background: var(--surface); border-radius: 2px; overflow: hidden; }
.score-fill { display: block; height: 100%; border-radius: 2px; }
.score-fill--high { width: 94%; background: var(--tag-new); }
.score-fill--med { width: 78%; background: var(--tag-watch); }
.score-val { font-size: 0.7rem; font-weight: 600; color: var(--fg); min-width: 30px; text-align: right; }
.feed-label {
  font-size: 0.65rem;
  color: var(--fg-muted);
  text-align: center;
  padding-top: 0.5rem;
  letter-spacing: 0.06em;
  border-top: 1px solid var(--border);
  margin-top: 0.25rem;
}

/* Features */
.features {
  padding: 5rem 3rem;
  border-top: 1px solid var(--border);
}
.features-header { margin-bottom: 3.5rem; }
.section-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  display: block;
  margin-bottom: 0.75rem;
}
.features-title {
  font-size: 2.4rem;
  color: var(--fg);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.feature-icon { color: var(--accent); }
.feature-name { font-size: 1rem; font-weight: 600; color: var(--fg); font-family: 'Source Sans 3', sans-serif; }
.feature-desc { font-size: 0.875rem; color: var(--fg-muted); line-height: 1.6; }

/* Manifesto */
.manifesto {
  padding: 5rem 3rem;
  border-top: 1px solid var(--border);
}
.manifesto-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}
.manifesto-quote {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-style: italic;
  color: var(--fg);
  line-height: 1.3;
  margin: 1rem 0 0.75rem;
  border-left: 3px solid var(--accent);
  padding-left: 1.5rem;
}
.manifesto-attr { font-size: 0.8rem; color: var(--fg-muted); }
.manifesto-body p {
  color: var(--fg-muted);
  line-height: 1.8;
  margin-bottom: 1.25rem;
  font-size: 0.975rem;
}
.manifesto-body p em { color: var(--fg); font-style: normal; font-weight: 600; }
.manifesto-stats {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.m-stat { display: flex; align-items: baseline; gap: 1rem; }
.m-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  min-width: 70px;
}
.m-desc { font-size: 0.875rem; color: var(--fg-muted); }

/* Closing */
.closing {
  padding: 6rem 3rem;
  border-top: 1px solid var(--border);
  text-align: center;
}
.closing-headline {
  font-size: 2.8rem;
  color: var(--fg);
  margin-bottom: 1rem;
}
.closing-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  margin-bottom: 3rem;
}
.closing-vision {
  max-width: 560px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem 2rem;
  text-align: left;
}
.vision-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
  display: block;
  margin-bottom: 0.75rem;
}
.closing-vision p {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* Footer */
.footer {
  padding: 2rem 3rem;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-brand { display: flex; flex-direction: column; gap: 0.2rem; }
.footer-wordmark {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--fg);
}
.footer-tagline { font-size: 0.75rem; color: var(--fg-muted); }
.footer-copy { font-size: 0.75rem; color: var(--fg-muted); }

/* Responsive */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .manifesto-inner { grid-template-columns: 1fr; gap: 3rem; }
}
@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; padding: 3rem 1.5rem; gap: 2.5rem; }
  .hero-headline { font-size: 2.2rem; }
  .hero-stats { gap: 1.5rem; }
  .features { padding: 3rem 1.5rem; }
  .features-grid { grid-template-columns: 1fr; }
  .manifesto { padding: 3rem 1.5rem; }
  .closing { padding: 4rem 1.5rem; }
  .closing-headline { font-size: 2rem; }
  .nav { padding: 1rem 1.5rem; }
  .footer { padding: 1.5rem; }
}