:root {
  --bg: #fafaf9;
  --bg-dark: #0f1117;
  --fg: #1a1a2e;
  --fg-muted: #6b7280;
  --fg-light: #9ca3af;
  --accent: #e8a317;
  --accent-dark: #c97a0f;
  --risk: #dc2626;
  --safe: #16a34a;
  --churn: #dc2626;
  --expansion: #2563eb;
  --card-bg: #ffffff;
  --border: #e5e7eb;
}

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

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

/* NAV */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 64px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.nav-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--safe);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.18);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.18); }
  50% { box-shadow: 0 0 0 6px rgba(22, 163, 74, 0.08); }
}

/* HERO */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding: 96px 64px 80px;
  background: var(--bg);
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}
.hero-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero-headline {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.1;
  color: var(--fg);
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero-lede {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 440px;
  margin-bottom: 40px;
}
.hero-metrics {
  display: flex;
  align-items: center;
  gap: 32px;
}
.metric-value {
  font-family: 'DM Serif Display', serif;
  font-size: 40px;
  color: var(--fg);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 6px;
}
.metric-label {
  font-size: 12px;
  color: var(--fg-muted);
  line-height: 1.4;
  max-width: 140px;
}
.metric-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
}

/* DASHBOARD CARD */
.dashboard-card {
  background: var(--bg-dark);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18), 0 4px 12px rgba(0,0,0,0.1);
}
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.card-title {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.card-badge {
  font-size: 10px;
  font-weight: 600;
  background: rgba(22,163,74,0.2);
  color: #4ade80;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.account-list { display: flex; flex-direction: column; gap: 1px; }
.account {
  background: rgba(255,255,255,0.03);
  border-radius: 10px;
  padding: 14px 16px;
  border-left: 3px solid transparent;
}
.account-risk { border-left-color: var(--risk); }
.account-safe { border-left-color: var(--safe); }
.account-churn { border-left-color: var(--churn); }
.account-expansion { border-left-color: var(--expansion); }
.account-name {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 3px;
}
.account-detail {
  font-size: 12px;
  color: #8b949e;
  margin-bottom: 3px;
}
.risk-tag { color: #f87171; font-weight: 500; }
.safe-tag { color: #4ade80; font-weight: 500; }
.churn-tag { color: #f87171; font-weight: 600; }
.account-action {
  font-size: 11px;
  color: var(--accent);
  font-weight: 500;
}

/* PROBLEM */
.problem {
  background: var(--bg-dark);
  padding: 96px 64px;
}
.problem-content {
  max-width: 680px;
  margin: 0 auto;
}
.section-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 24px;
}
.problem-statement {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(26px, 3vw, 36px);
  color: #f0f0f0;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}
.problem-statement em { color: var(--accent); font-style: normal; }
.problem-body {
  font-size: 16px;
  color: #8b949e;
  line-height: 1.75;
  margin-bottom: 20px;
}

/* HOW */
.how {
  padding: 96px 64px;
  background: var(--bg);
}
.how .section-label { margin-bottom: 56px; }
.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.how-step {
  padding: 32px 28px;
  border-right: 1px solid var(--border);
}
.how-step:last-child { border-right: none; }
.step-number {
  font-family: 'DM Serif Display', serif;
  font-size: 52px;
  color: var(--border);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 20px;
}
.step-title {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  color: var(--fg);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.step-body {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* DAILY */
.daily {
  background: var(--accent);
  padding: 96px 64px;
}
.daily-content { max-width: 680px; }
.daily-headline {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(28px, 3.5vw, 40px);
  color: var(--fg-dark);
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.daily-body {
  font-size: 16px;
  color: rgba(15,17,23,0.7);
  line-height: 1.7;
  margin-bottom: 40px;
}
.daily-features { display: flex; flex-direction: column; gap: 14px; }
.daily-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--fg-dark);
  font-weight: 500;
}
.feature-check {
  width: 20px;
  height: 20px;
  min-width: 20px;
  background: var(--fg-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.feature-check::after {
  content: '';
  display: block;
  width: 5px;
  height: 8px;
  border-bottom: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  transform: rotate(40deg) translate(-1px, -1px);
}

/* CLOSING */
.closing {
  background: var(--fg-dark);
  padding: 120px 64px;
  text-align: center;
}
.closing-content { max-width: 640px; margin: 0 auto; }
.closing-headline {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(32px, 4vw, 48px);
  color: #f0f0f0;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.closing-sub {
  font-size: 17px;
  color: #8b949e;
  line-height: 1.7;
  margin-bottom: 40px;
}
.closing-tagline {
  font-family: 'DM Serif Display', serif;
  font-size: 20px;
  color: var(--accent);
  letter-spacing: -0.02em;
}

/* FOOTER */
.footer {
  background: #080a11;
  padding: 48px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 18px;
  color: #f0f0f0;
  letter-spacing: -0.02em;
}
.footer-tagline {
  font-size: 13px;
  color: #4b5563;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .nav { padding: 20px 24px; }
  .hero { grid-template-columns: 1fr; padding: 60px 24px 48px; gap: 48px; }
  .hero-visual { order: -1; }
  .problem { padding: 60px 24px; }
  .how { padding: 60px 24px; }
  .how-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .how-step { border-right: none; border-bottom: 1px solid var(--border); padding: 24px 0; }
  .how-step:last-child { border-bottom: none; }
  .daily { padding: 60px 24px; }
  .closing { padding: 80px 24px; }
  .footer { padding: 32px 24px; flex-direction: column; gap: 8px; }
  .hero-metrics { flex-direction: column; gap: 20px; align-items: flex-start; }
  .metric-divider { display: none; }
}

@media (max-width: 600px) {
  .how-grid { grid-template-columns: 1fr; }
}