:root {
  --bg: #050e06;
  --bg-card: #0a1a0b;
  --bg-card-hover: #0d200d;
  --fg: #e8f5ec;
  --fg-muted: #7aab83;
  --fg-dim: #4a7254;
  --accent: #6ee7a0;
  --accent-dim: #3a8a57;
  --accent-bg: rgba(110, 231, 160, 0.07);
  --green-deep: #0a3d1f;
  --warning: #f59e0b;
  --danger: #ff6b6b;
  --border: rgba(110, 231, 160, 0.12);

  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;

  --max-w: 1100px;
  --gutter: clamp(24px, 5vw, 64px);
  --section-gap: clamp(64px, 10vw, 120px);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── NAV ─────────────────────────────────── */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px var(--gutter);
  max-width: var(--max-w);
  margin: 0 auto;
}

.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-logo { display: flex; }
.nav-name { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }

.nav-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--fg-muted);
  font-family: var(--font-display);
}

.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ─── HERO ─────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: clamp(48px, 8vw, 96px) var(--gutter) clamp(48px, 8vw, 80px);
  max-width: var(--max-w);
  margin: 0 auto;
  border-bottom: 1px solid var(--border);
}

.hero-eyebrow {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-family: var(--font-display);
  margin-bottom: 20px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 24px;
}

.hero-lede {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 40px;
}

.hero-micro {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 14px;
  color: var(--fg-dim);
}

.hero-micro-stat {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--accent);
}

/* ─── CASHFLOW VIZ ─────────────────────────── */
.cashflow-viz {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  position: relative;
}

.viz-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-dim);
  font-family: var(--font-display);
  margin-bottom: 20px;
}

.viz-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 80px;
  margin-bottom: 16px;
}

.viz-bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  transition: height 0.3s ease;
  height: var(--h, 60%);
}

.viz-positive { background: linear-gradient(180deg, var(--accent) 0%, var(--accent-dim) 100%); height: 75%; }
.viz-warning  { background: linear-gradient(180deg, var(--warning) 0%, #b45309 100%); height: 50%; }
.viz-danger   { background: linear-gradient(180deg, var(--danger) 0%, #b91c1c 100%); height: 30%; animation: dangerPulse 2s ease-in-out infinite; }

@keyframes dangerPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.viz-alert {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 107, 107, 0.08);
  border: 1px solid rgba(255, 107, 107, 0.25);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--danger);
  font-family: var(--font-display);
  margin-bottom: 20px;
}

.viz-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.viz-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.viz-item-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.viz-item-ok { background: var(--accent); }
.viz-item-pending { background: var(--warning); }

.viz-item-label { color: var(--fg); font-weight: 500; flex: 1; }
.viz-item-days { color: var(--fg-dim); font-size: 12px; }

/* ─── MANIFESTO ────────────────────────────── */
.manifesto {
  padding: var(--section-gap) var(--gutter);
  max-width: var(--max-w);
  margin: 0 auto;
  border-bottom: 1px solid var(--border);
}

.manifesto-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-family: var(--font-display);
  margin-bottom: 20px;
}

.manifesto-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 32px;
  max-width: 700px;
}

.manifesto-body {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.75;
  max-width: 600px;
  margin-bottom: 20px;
}

.manifesto-quote {
  margin-top: 40px;
  padding: 28px 32px;
  background: var(--accent-bg);
  border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0;
  max-width: 580px;
}

.quote-mark {
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 0.5;
  color: var(--accent);
  display: block;
  margin-bottom: 12px;
}

.manifesto-quote p {
  font-size: 17px;
  color: var(--fg);
  font-style: italic;
  line-height: 1.65;
}

/* ─── PLAYBOOK ─────────────────────────────── */
.playbook {
  padding: var(--section-gap) var(--gutter);
  max-width: var(--max-w);
  margin: 0 auto;
  border-bottom: 1px solid var(--border);
}

.playbook-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-family: var(--font-display);
  margin-bottom: 20px;
}

.playbook-headline {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 56px;
}

.playbook-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.playbook-step {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.step-number {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.step-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.step-desc {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ─── OUTCOMES ────────────────────────────── */
.outcomes {
  padding: var(--section-gap) var(--gutter);
  max-width: var(--max-w);
  margin: 0 auto;
  border-bottom: 1px solid var(--border);
}

.outcomes-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-family: var(--font-display);
  margin-bottom: 20px;
}

.outcomes-headline {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 48px;
  max-width: 500px;
}

.outcomes-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

.outcome-card {
  padding: 32px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.outcome-card-active {
  border-color: var(--accent-dim);
  background: rgba(10, 61, 31, 0.3);
}

.outcome-icon { margin-bottom: 20px; }
.outcome-icon-active svg circle { fill: var(--accent); }

.outcome-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--fg-muted);
  margin-bottom: 14px;
}

.outcome-title-active { color: var(--accent); }

.outcome-desc { font-size: 15px; color: var(--fg-muted); line-height: 1.65; }
.outcome-desc-active { color: var(--fg); }

.outcomes-stats {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 32px;
  background: var(--accent-bg);
  border: 1px solid rgba(110, 231, 160, 0.15);
  border-radius: 16px;
}

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.4;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  flex-shrink: 0;
}

/* ─── CLOSING ──────────────────────────────── */
.closing {
  padding: var(--section-gap) var(--gutter);
  max-width: var(--max-w);
  margin: 0 auto;
  border-bottom: 1px solid var(--border);
}

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--fg);
  line-height: 1.15;
  max-width: 780px;
  margin-bottom: 28px;
}

.closing-body {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: 40px;
}

.closing-vision {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.vision-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--accent);
  font-family: var(--font-display);
}

/* ─── FOOTER ──────────────────────────────── */
.footer {
  padding: 48px var(--gutter);
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.footer-brand { max-width: 280px; }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--fg-dim);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 64px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col-head {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-dim);
  font-family: var(--font-display);
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 14px;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--fg); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--fg-dim);
}

/* ─── RESPONSIVE ─────────────────────────── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 40px; }
  .hero-right { order: -1; }
  .playbook-grid { grid-template-columns: 1fr; }
  .outcomes-row { grid-template-columns: 1fr; }
  .outcomes-stats { flex-direction: column; align-items: flex-start; gap: 24px; }
  .stat-divider { width: 48px; height: 1px; }
  .footer-top { flex-direction: column; }
  .footer-links { gap: 32px; }
  .closing-vision { gap: 20px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .nav-status span:last-child { display: none; }
  .footer-bottom { flex-direction: column; gap: 12px; }
}
