/* ===================================================
   MYPath — Theme CSS
   Typography: Playfair Display (headings) + DM Sans (body)
   Palette: Deep navy / warm amber / off-white
   =================================================== */

:root {
  --navy: #0a1628;
  --navy-mid: #132040;
  --navy-light: #1a2d52;
  --amber: #e8a838;
  --amber-dim: rgba(232, 168, 56, 0.12);
  --cream: #f8f5f0;
  --cream-dark: #ede9e1;
  --ink: #1a1a2e;
  --ink-mid: #3a3a52;
  --ink-light: #6a6a88;
  --white: #ffffff;
  --border: rgba(255,255,255,0.08);
}

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

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--navy);
  color: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---- NAV ---- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 64px;
  border-bottom: 1px solid var(--border);
}
.nav__brand { display: flex; align-items: center; gap: 10px; }
.nav__logo-mark {
  width: 32px; height: 32px;
  background: var(--amber);
  color: var(--navy);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 6px;
}
.nav__wordmark {
  font-family: 'Playfair Display', serif;
  font-size: 18px; font-weight: 600;
  color: var(--cream);
  letter-spacing: -0.02em;
}
.nav__tag {
  font-size: 12px; font-weight: 500;
  color: var(--ink-light);
  letter-spacing: 0.06em; text-transform: uppercase;
}

/* ---- HERO ---- */
.hero { padding: 100px 64px 80px; }
.hero__inner {
  max-width: 1200px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 80px;
  align-items: start;
}
.hero__eyebrow {
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
}
.hero__headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--cream);
  margin-bottom: 28px;
}
.hero__headline em {
  font-style: italic;
  color: var(--amber);
}
.hero__sub {
  font-size: 17px;
  color: var(--ink-light);
  max-width: 540px;
  line-height: 1.7;
}
.hero__callout {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 1px solid rgba(232,168,56,0.2);
  padding-left: 40px;
}
.hero__stat { padding: 20px 0; border-bottom: 1px solid var(--border); }
.hero__stat:last-child { border-bottom: none; }
.hero__stat-number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 36px; font-weight: 700;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 6px;
}
.hero__stat-label {
  display: block;
  font-size: 13px; color: var(--ink-light);
  line-height: 1.4;
}

/* ---- PROBLEM ---- */
.problem { background: var(--navy-mid); padding: 100px 64px; }
.problem__inner { max-width: 1200px; }
.problem__label, .hiw__label, .platform__label, .roadmap__label {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 16px;
}
.problem__headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700; line-height: 1.2;
  color: var(--cream);
  max-width: 640px;
  margin-bottom: 64px;
}
.problem__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 64px;
}
.problem__card { padding: 32px; background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 12px; }
.problem__card-icon { color: var(--amber); margin-bottom: 20px; }
.problem__card-title { font-size: 16px; font-weight: 600; color: var(--cream); margin-bottom: 12px; }
.problem__card-body { font-size: 14px; color: var(--ink-light); line-height: 1.65; }
.problem__bar {
  display: flex; align-items: center; gap: 16px;
  flex-wrap: wrap;
}
.problem__bar-label { font-size: 13px; color: var(--ink-light); }
.problem__bar-value { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 700; color: var(--amber); }
.problem__bar-track { flex: 1; min-width: 200px; height: 4px; background: rgba(255,255,255,0.08); border-radius: 2px; overflow: hidden; }
.problem__bar-fill { height: 100%; background: var(--amber); border-radius: 2px; }
.problem__bar-note { font-size: 12px; color: var(--ink-light); }

/* ---- HOW IT WORKS ---- */
.hiw { padding: 100px 64px; background: var(--navy); }
.hiw__inner { max-width: 1200px; }
.hiw__headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700; line-height: 1.15;
  color: var(--cream);
  margin-bottom: 16px;
}
.hiw__sub { font-size: 16px; color: var(--ink-light); margin-bottom: 64px; max-width: 520px; }
.hiw__steps { display: flex; flex-direction: column; gap: 0; }
.hiw__step {
  display: grid; grid-template-columns: 120px 1fr;
  gap: 40px; align-items: start;
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}
.hiw__step:last-child { border-bottom: none; }
.hiw__step-num { font-family: 'Playfair Display', serif; font-size: 52px; font-weight: 700; color: var(--amber); opacity: 0.35; line-height: 1; }
.hiw__step-title { font-size: 22px; font-weight: 600; color: var(--cream); margin-bottom: 12px; }
.hiw__step-desc { font-size: 15px; color: var(--ink-light); line-height: 1.7; margin-bottom: 20px; }
.hiw__step-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.hiw__step-list li {
  font-size: 12px; font-weight: 500;
  background: var(--amber-dim); color: var(--amber);
  padding: 5px 12px; border-radius: 20px;
}

/* ---- PLATFORM ---- */
.platform { padding: 100px 64px; background: var(--navy-mid); }
.platform__inner { max-width: 1200px; }
.platform__headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700; color: var(--cream);
  margin-bottom: 12px;
}
.platform__sub { font-size: 16px; color: var(--ink-light); margin-bottom: 56px; }
.platform__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 56px;
}
.platform__module { padding: 24px; background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: 10px; }
.platform__module-icon { color: var(--amber); margin-bottom: 12px; }
.platform__module-name { font-size: 13px; font-weight: 600; color: var(--cream); margin-bottom: 4px; }
.platform__module-desc { font-size: 11px; color: var(--ink-light); }
.platform__feature-block {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 32px 40px;
  background: var(--amber-dim);
  border: 1px solid rgba(232,168,56,0.2);
  border-radius: 12px;
}
.platform__feature-score {}
.platform__score-num { font-family: 'Playfair Display', serif; font-size: 56px; font-weight: 700; color: var(--amber); line-height: 1; }
.platform__score-label { display: block; font-size: 13px; color: var(--cream); margin-top: 4px; }
.platform__feature-metrics { display: flex; gap: 40px; }
.platform__metric {}
.platform__metric-val { display: block; font-size: 20px; font-weight: 600; color: var(--cream); }
.platform__metric-key { display: block; font-size: 12px; color: var(--ink-light); margin-top: 2px; }

/* ---- ROADMAP ---- */
.roadmap { padding: 100px 64px; background: var(--navy); }
.roadmap__inner { max-width: 1200px; }
.roadmap__headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700; color: var(--cream);
  margin-bottom: 12px;
}
.roadmap__sub { font-size: 16px; color: var(--ink-light); margin-bottom: 64px; max-width: 520px; }
.roadmap__phases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.roadmap__phase { padding: 32px; background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 12px; }
.roadmap__phase-index { font-family: 'Playfair Display', serif; font-size: 14px; font-weight: 700; color: var(--amber); margin-bottom: 20px; letter-spacing: 0.05em; }
.roadmap__phase-title { font-size: 16px; font-weight: 600; color: var(--cream); margin-bottom: 2px; }
.roadmap__phase-subtitle { font-size: 12px; color: var(--ink-light); margin-bottom: 20px; font-style: italic; }
.roadmap__phase-list { list-style: none; }
.roadmap__phase-list li { font-size: 13px; color: var(--ink-light); padding: 6px 0; border-bottom: 1px solid var(--border); }
.roadmap__phase-list li:last-child { border-bottom: none; }

/* ---- CLOSING ---- */
.closing {
  padding: 120px 64px;
  background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy) 100%);
  text-align: center;
}
.closing__inner { max-width: 720px; margin: 0 auto; }
.closing__headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700; line-height: 1.1;
  color: var(--cream);
  margin-bottom: 24px;
}
.closing__body {
  font-size: 18px; color: var(--ink-light);
  max-width: 480px; margin: 0 auto;
  line-height: 1.7;
}

/* ---- FOOTER ---- */
.footer { padding: 40px 64px; border-top: 1px solid var(--border); }
.footer__inner { max-width: 1200px; display: flex; align-items: center; justify-content: space-between; }
.footer__brand { display: flex; align-items: center; gap: 10px; }
.footer__logo-mark {
  width: 28px; height: 28px;
  background: var(--amber); color: var(--navy);
  font-family: 'Playfair Display', serif;
  font-weight: 700; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 5px;
}
.footer__wordmark { font-family: 'Playfair Display', serif; font-size: 16px; font-weight: 600; color: var(--cream); }
.footer__tagline { font-size: 13px; color: var(--ink-light); }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__callout { border-left: none; padding-left: 0; border-top: 1px solid rgba(232,168,56,0.2); padding-top: 40px; }
  .hero__stat { border-bottom: none; padding: 0; display: inline-block; margin-right: 40px; }
  .problem__grid { grid-template-columns: 1fr 1fr; }
  .platform__grid { grid-template-columns: repeat(3, 1fr); }
  .roadmap__phases { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav, .hero, .problem, .hiw, .platform, .roadmap, .closing, .footer { padding-left: 24px; padding-right: 24px; }
  .hero { padding-top: 60px; }
  .problem__grid { grid-template-columns: 1fr; }
  .hiw__step { grid-template-columns: 64px 1fr; gap: 20px; }
  .platform__grid { grid-template-columns: repeat(2, 1fr); }
  .roadmap__phases { grid-template-columns: 1fr; }
  .platform__feature-block { flex-direction: column; align-items: flex-start; gap: 24px; }
  .platform__feature-metrics { flex-wrap: wrap; gap: 24px; }
  .problem__bar { flex-direction: column; align-items: flex-start; }
}