/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0f1f38;
  --bg-alt: #162a4a;
  --bg-light: #faf8f5;
  --fg: #f0ede8;
  --fg-dark: #0f1f38;
  --accent: #f59e0b;
  --accent-hover: #d97706;
  --teal: #0d9488;
  --amber: #f59e0b;
  --green: #10b981;
  --warn: #f97316;
  --gray: #94a3b8;
  --border: rgba(240,237,232,0.12);
  --border-dark: rgba(15,31,56,0.12);

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== NAV ===== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 2rem;
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.01em;
}
.nav-tagline {
  font-size: 0.8rem;
  color: var(--gray);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 2rem 4rem;
  position: relative;
  background: var(--bg);
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
  border: 1px solid rgba(245,158,11,0.3);
  padding: 0.3rem 0.8rem;
  border-radius: 2rem;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  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.15rem;
  color: var(--gray);
  line-height: 1.7;
  max-width: 480px;
}

/* Hero visual card */
.hero-visual {
  display: flex;
  justify-content: center;
}
.visual-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}
.card-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 1.25rem;
}
.card-items { display: flex; flex-direction: column; gap: 0.75rem; }
.card-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
}
.item-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.item-dot--green { background: var(--green); }
.item-dot--amber { background: var(--amber); }
.item-dot--gray { background: var(--gray); }
.item-info { flex: 1; }
.item-name { display: block; font-size: 0.875rem; font-weight: 500; color: var(--fg); }
.item-status { display: block; font-size: 0.75rem; color: var(--gray); margin-top: 0.1rem; }
.item-badge { font-size: 0.7rem; font-weight: 600; padding: 0.2rem 0.6rem; border-radius: 99px; }
.badge--ok { background: rgba(16,185,129,0.15); color: var(--green); }
.badge--warn { background: rgba(245,158,11,0.15); color: var(--amber); }
.badge--neutral { background: rgba(148,163,184,0.15); color: var(--gray); }
.card-footer {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.footer-icon { font-size: 0.6rem; }

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  line-height: 0;
}
.hero-wave svg { display: block; width: 100%; }

/* ===== PROBLEM ===== */
.problem {
  background: var(--bg-light);
  padding: 5rem 2rem;
}
.problem-inner { max-width: 1200px; margin: 0 auto; }
.problem-stat-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  margin-bottom: 4rem;
}
.stat-block { padding: 1rem 2rem; text-align: center; }
.stat-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--fg-dark);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-desc { font-size: 0.9rem; color: #64748b; line-height: 1.5; }
.stat-divider { width: 1px; background: var(--border-dark); align-self: stretch; }
.problem-quote { max-width: 720px; margin: 0 auto; text-align: center; }
.problem-quote blockquote p {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--fg-dark);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.problem-quote cite { font-size: 0.85rem; color: #64748b; font-style: normal; }

/* ===== HOW ===== */
.how { background: var(--bg-light); padding: 0 2rem 5rem; }
.how-inner { max-width: 1200px; margin: 0 auto; }
.section-heading {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--fg-dark);
  margin-bottom: 3rem;
  letter-spacing: -0.02em;
}
.steps-row {
  display: grid;
  grid-template-columns: 1fr 40px 1fr 40px 1fr;
  gap: 0;
  align-items: start;
}
.step { padding: 2rem 1.5rem; background: white; border-radius: 12px; border: 1px solid var(--border-dark); }
.step-connector { display: flex; align-items: center; justify-content: center; padding-top: 3rem; }
.step-connector::after { content: ''; width: 40px; height: 1px; background: var(--border-dark); }
.step-num { font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; color: var(--accent); line-height: 1; margin-bottom: 1rem; }
.step-title { font-size: 1rem; font-weight: 600; color: var(--fg-dark); margin-bottom: 0.75rem; }
.step-desc { font-size: 0.9rem; color: #64748b; line-height: 1.6; }

/* ===== FEATURES ===== */
.features { background: var(--bg-light); padding: 5rem 2rem; }
.features-inner { max-width: 1200px; margin: 0 auto; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.feature-card {
  padding: 2rem;
  background: white;
  border-radius: 12px;
  border: 1px solid var(--border-dark);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.feature-icon {
  width: 44px;
  height: 44px;
  background: rgba(245,158,11,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.feature-title { font-size: 0.95rem; font-weight: 600; color: var(--fg-dark); margin-bottom: 0.6rem; }
.feature-desc { font-size: 0.875rem; color: #64748b; line-height: 1.6; }

/* ===== OUTCOMES ===== */
.outcomes {
  background: var(--bg);
  padding: 5rem 2rem;
}
.outcomes-inner { max-width: 1200px; margin: 0 auto; }
.outcomes-text { max-width: 720px; }
.outcomes .section-heading { color: var(--fg); }
.outcomes-body {
  font-size: 1.1rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
.outcomes-metrics { display: flex; gap: 3rem; }
.metric-value {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.metric-label { font-size: 0.875rem; color: var(--gray); }

/* ===== CLOSING ===== */
.closing {
  background: var(--bg);
  padding: 0 2rem 6rem;
}
.closing-inner { max-width: 1200px; margin: 0 auto; }
.closing-content {
  border-top: 1px solid var(--border);
  padding-top: 4rem;
  max-width: 720px;
}
.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--fg);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}
.closing-sub { font-size: 1.1rem; color: var(--gray); line-height: 1.7; }

/* ===== FOOTER ===== */
.site-footer {
  background: #070f1e;
  padding: 3rem 2rem;
}
.footer-inner { max-width: 1200px; margin: 0 auto; text-align: center; }
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.75rem;
}
.footer-tagline { font-size: 0.875rem; color: var(--gray); margin-bottom: 0.5rem; }
.footer-copy { font-size: 0.75rem; color: #475569; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { order: -1; }
  .visual-card { max-width: 100%; }
  .problem-stat-row { grid-template-columns: 1fr; gap: 1.5rem; }
  .stat-divider { display: none; }
  .steps-row { grid-template-columns: 1fr; gap: 1rem; }
  .step-connector { display: none; }
  .features-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .hero { padding: 7rem 1.5rem 3rem; }
  .features-grid { grid-template-columns: 1fr; }
  .outcomes-metrics { flex-direction: column; gap: 1.5rem; }
  .stat-block { padding: 0.5rem 1rem; }
  .stat-num { font-size: 2.2rem; }
}