/* Variables */
:root {
  --bg: #0e1a12;
  --surface: #132219;
  --surface2: #1a3025;
  --fg: #e8f0e9;
  --fg-muted: #7a9e87;
  --accent: #c9a84c;
  --accent-dim: #8a6f2e;
  --green: #3d8c5c;
  --green-bright: #4db870;
  --border: rgba(61, 140, 92, 0.2);
}

/* Reset */
*, *::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: 'DM Sans', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  line-height: 1.15;
  font-weight: 700;
}
a { color: inherit; text-decoration: none; }

/* Nav */
.nav {
  padding: 1.5rem 3rem;
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
}
.nav-logo {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.01em;
}
.nav-tagline {
  font-size: 0.8rem;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Hero */
.hero {
  padding: 6rem 3rem 5rem;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 40%, rgba(61, 140, 92, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 10% 80%, rgba(201, 168, 76, 0.05) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 5rem;
  align-items: center;
}
.hero-eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.hero-headline {
  font-size: clamp(2.6rem, 5vw, 4rem);
  color: var(--fg);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.hero-headline em {
  font-style: italic;
  color: var(--accent);
}
.hero-lede {
  font-size: 1.1rem;
  color: var(--fg-muted);
  max-width: 480px;
  line-height: 1.7;
}

/* Hero Viz Card */
.hero-viz { position: relative; }
.viz-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
}
.viz-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(61,140,92,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.viz-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  margin-bottom: 0.4rem;
}
.viz-score {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--green-bright);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.viz-trend {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--fg-muted);
  margin-bottom: 1.75rem;
}
.viz-trend.up { color: var(--green-bright); }
.viz-trend svg { flex-shrink: 0; }
.viz-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.6rem;
  height: 60px;
  margin-bottom: 1.5rem;
}
.viz-bar {
  flex: 1;
  background: var(--surface2);
  border-radius: 4px 4px 0 0;
  position: relative;
  transition: background 0.2s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding-bottom: 4px;
}
.viz-bar span {
  font-size: 0.55rem;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
  opacity: 0;
  transition: opacity 0.2s;
}
.viz-bar:hover span { opacity: 1; }
.viz-bar.active { background: var(--green); }
.viz-credit {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 8px;
  padding: 0.7rem 0.9rem;
  font-size: 0.82rem;
  color: var(--fg-muted);
}
.credit-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.viz-credit strong { color: var(--accent); }

/* How it Works */
.how {
  padding: 7rem 3rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.how-inner { max-width: 1100px; margin: 0 auto; }
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--fg);
  margin-bottom: 4rem;
  max-width: 620px;
  letter-spacing: -0.015em;
}
.how-steps { display: flex; flex-direction: column; gap: 0; }
.how-step {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 3rem;
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  align-items: start;
}
.step-num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--surface2);
  line-height: 1;
  letter-spacing: -0.03em;
}
.step-body h3 {
  font-size: 1.5rem;
  color: var(--fg);
  margin-bottom: 0.75rem;
}
.step-body p {
  color: var(--fg-muted);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 580px;
}

/* Signal Board */
.signals { padding: 7rem 3rem; }
.signals-inner { max-width: 1100px; margin: 0 auto; }
.signals-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.9rem;
}
.signals-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--fg);
  margin-bottom: 3.5rem;
  max-width: 560px;
  letter-spacing: -0.015em;
}
.signals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.signal-card {
  background: var(--surface);
  padding: 2rem 1.75rem;
  transition: background 0.2s;
}
.signal-card:hover { background: var(--surface2); }
.signal-icon {
  width: 40px;
  height: 40px;
  background: var(--surface2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--green-bright);
}
.signal-icon svg { width: 20px; height: 20px; }
.signal-card h3 {
  font-size: 1rem;
  color: var(--fg);
  margin-bottom: 0.6rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
}
.signal-card p {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* Manifesto */
.manifesto {
  padding: 7rem 3rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.manifesto-inner { max-width: 900px; margin: 0 auto; }
.manifesto-quote {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-style: italic;
  color: var(--fg);
  line-height: 1.65;
  margin-bottom: 2rem;
}
.manifesto-quote p { margin-bottom: 1.5rem; }
.manifesto-quote p:last-child { margin-bottom: 0; }
.manifesto-attr {
  font-size: 0.85rem;
  color: var(--fg-muted);
  letter-spacing: 0.03em;
}

/* Closing */
.closing {
  padding: 7rem 3rem;
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(61, 140, 92, 0.06) 0%, transparent 70%);
}
.closing-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.closing-headline {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--fg);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.closing-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* Footer */
.footer {
  padding: 3rem;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-brand {
  display: flex;
  align-items: baseline;
  gap: 1rem;
}
.footer-name {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fg);
}
.footer-desc {
  font-size: 0.8rem;
  color: var(--fg-muted);
}
.footer-copy {
  font-size: 0.8rem;
  color: var(--fg-muted);
  max-width: 500px;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-viz { max-width: 480px; margin: 0 auto; width: 100%; }
  .how-step { grid-template-columns: 80px 1fr; gap: 1.5rem; }
  .step-num { font-size: 2.5rem; }
  .signals-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .nav { padding: 1.25rem 1.5rem; }
  .hero { padding: 4rem 1.5rem 3rem; }
  .how, .signals, .manifesto, .closing { padding: 5rem 1.5rem; }
  .how-step { grid-template-columns: 1fr; gap: 0.75rem; }
  .step-num { font-size: 2rem; }
  .signals-grid { grid-template-columns: 1fr; }
  .viz-card { padding: 1.25rem; }
  .viz-score { font-size: 2.8rem; }
}