:root {
  --bg: #F7F6F3;
  --bg-alt: #EDECEA;
  --fg: #0D0F1A;
  --fg-muted: #6B7080;
  --accent: #1B4FFF;
  --accent-hover: #1438D6;
  --signal-green: #16A34A;
  --signal-amber: #D97706;
  --signal-red: #DC2626;
  --signal-blue: #2563EB;
  --surface: #FFFFFF;
  --border: #E2E0DB;
  --navy: #0D0F1A;
}

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

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

h1, h2, h3, h4 {
  font-family: 'Syne', system-ui, sans-serif;
  line-height: 1.15;
  font-weight: 700;
}

/* Site Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 246, 243, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--fg);
  letter-spacing: -0.02em;
}

nav {
  display: flex;
  gap: 24px;
}

nav a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s;
}

nav a:hover { color: var(--fg); }

/* Hero */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 32px 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(27, 79, 255, 0.08);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.hero-headline {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 20px;
}

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

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border-radius: 8px;
  transition: background 0.15s, transform 0.1s;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  background: transparent;
  color: var(--fg);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  border-radius: 8px;
  border: 1px solid var(--border);
  transition: border-color 0.15s, background 0.15s;
}

.btn-ghost:hover {
  background: var(--bg-alt);
  border-color: #C8C5BE;
}

/* Account Grid */
.account-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.account-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: transform 0.15s, box-shadow 0.15s;
}

.account-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.account-card--risk {
  border-left: 3px solid var(--signal-amber);
}

.account-card--healthy {
  border-left: 3px solid var(--signal-green);
}

.account-card--neutral {
  border-left: 3px solid var(--signal-blue);
}

.account-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 8px;
}

.account-signal {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--fg-muted);
  margin-bottom: 4px;
}

.signal-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.signal-dot--green { background: var(--signal-green); }
.signal-dot--amber { background: var(--signal-amber); }
.signal-dot--red { background: var(--signal-red); }
.signal-dot--blue { background: var(--signal-blue); }

.account-meta {
  font-size: 11px;
  color: var(--fg-muted);
}

/* Momentum */
.momentum {
  background: var(--navy);
  color: #fff;
  padding: 48px 32px;
}

.momentum-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: center;
}

.momentum-stat { text-align: center; }

.stat-number {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
  max-width: 140px;
  margin-left: auto;
  margin-right: auto;
}

.momentum-divider {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.1);
}

/* Features */
.features {
  padding: 80px 32px;
  background: var(--bg);
}

.features-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 48px;
  color: var(--fg);
}

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

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: transform 0.15s, box-shadow 0.15s;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.07);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(27, 79, 255, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--fg);
}

.feature-card p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* Compare */
.compare {
  padding: 80px 32px;
  background: var(--bg-alt);
}

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

.compare-table {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.compare-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid var(--border);
}

.compare-row:last-child { border-bottom: none; }

.compare-row--header {
  background: var(--navy);
}

.compare-row--header .compare-cell {
  color: rgba(255,255,255,0.9);
  font-weight: 600;
}

.compare-cell {
  padding: 16px 20px;
  font-size: 14px;
  color: var(--fg);
}

.compare-cell--label {
  color: var(--fg-muted);
  font-weight: 500;
}

.compare-cell--traction {
  background: rgba(27, 79, 255, 0.04);
  color: var(--accent);
  font-weight: 600;
}

/* Closing */
.closing {
  padding: 100px 32px;
  background: var(--navy);
  text-align: center;
}

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

.closing-headline {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 20px;
}

.closing-body {
  font-size: 18px;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
  margin-bottom: 36px;
}

.cta-pill {
  display: inline-block;
  padding: 10px 24px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

/* Footer */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 48px 32px 32px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 40px;
}

.wordmark--footer { font-size: 16px; }

.footer-brand p {
  margin-top: 12px;
  font-size: 14px;
  color: var(--fg-muted);
  max-width: 280px;
}

.footer-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.footer-links a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s;
}

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

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  font-size: 13px;
  color: var(--fg-muted);
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 48px 20px 40px;
    gap: 40px;
  }

  .hero-lede { max-width: 100%; }

  .momentum-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .momentum-divider { display: none; }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .compare-row {
    grid-template-columns: 1fr;
  }

  .compare-row--header .compare-cell:nth-child(2),
  .compare-row--header .compare-cell:nth-child(3) { display: none; }

  .compare-row .compare-cell:nth-child(2)::before,
  .compare-row .compare-cell:nth-child(3)::before {
    display: none;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 16px;
  }

  .account-grid {
    grid-template-columns: 1fr;
  }

  .header-inner { padding: 0 20px; }
  nav { gap: 16px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
  .momentum { padding: 36px 20px; }
  .momentum-inner { grid-template-columns: 1fr; gap: 24px; }
  .features { padding: 56px 20px; }
  .compare { padding: 56px 20px; }
  .closing { padding: 72px 20px; }
}