/* ===== FONTS ===== */
:root {
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --navy: #0D1B2A;
  --navy-mid: #152336;
  --amber: #E8A838;
  --amber-dim: #C48C1A;
  --off-white: #F7F5F0;
  --warm-gray: #6B6B6B;
  --border: rgba(13, 27, 42, 0.12);
  --green: #2D8A5F;
  --amber-light: #E8A838;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--off-white);
  color: var(--navy);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== NAV ===== */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2.5rem;
  border-bottom: 1px solid var(--border);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.nav__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--navy);
}
.nav__tagline {
  font-size: 0.8rem;
  color: var(--warm-gray);
  letter-spacing: 0.01em;
}

/* ===== HERO ===== */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 5rem 2.5rem 4rem;
  max-width: 1100px;
  margin: 0 auto;
}
.hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber-dim);
  margin-bottom: 1rem;
}
.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--navy);
  margin-bottom: 1.5rem;
}
.hero__sub {
  font-size: 1.05rem;
  color: var(--warm-gray);
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 2rem;
}
.hero__meta {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.hero__badge {
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  background: var(--navy);
  color: #fff;
  letter-spacing: 0.04em;
}

/* Forecast Card */
.hero__viz { display: flex; justify-content: flex-start; }
.forecast-card {
  background: var(--navy);
  color: #fff;
  border-radius: 16px;
  padding: 1.75rem;
  width: 100%;
  max-width: 320px;
  box-shadow: 0 20px 60px rgba(13,27,42,0.25);
}
.forecast-card__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.5rem;
}
.forecast-card__label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.forecast-card__period {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
}
.forecast-card__number {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 1rem;
}
.forecast-card__confidence {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.forecast-card__conf-label {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
}
.forecast-card__conf-bar {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
}
.forecast-card__conf-fill {
  height: 100%;
  background: var(--amber);
  border-radius: 2px;
}
.forecast-card__conf-pct {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--amber);
  white-space: nowrap;
}
.forecast-card__vs {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
  font-size: 0.78rem;
}
.forecast-card__arrow {
  color: var(--green);
  font-weight: 700;
}
.forecast-card__delta { color: var(--green); font-weight: 500; }
.forecast-card__signals { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1rem; }
.forecast-card__signal {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.4rem;
}
.forecast-card__signal-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.forecast-card__signal-dot.green { background: var(--green); }
.forecast-card__signal-dot.amber { background: var(--amber); }

/* ===== PROBLEM ===== */
.problem {
  background: var(--navy);
  color: #fff;
  padding: 5rem 2.5rem;
}
.problem__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}
.problem__pull {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.4;
  color: rgba(255,255,255,0.85);
  position: sticky;
  top: 6rem;
}
.problem__right {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.problem__stat { border-left: 2px solid var(--amber); padding-left: 1.25rem; }
.problem__stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--amber);
}
.problem__stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.55); margin-top: 0.25rem; line-height: 1.5; }

/* ===== HOW IT WORKS ===== */
.how {
  padding: 5rem 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.how__header { margin-bottom: 3rem; }
.how__title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.how__sub { color: var(--warm-gray); font-size: 1rem; }
.how__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.how__step { position: relative; }
.how__step-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--navy);
  opacity: 0.08;
  margin-bottom: 0.5rem;
}
.how__step-title { font-weight: 600; font-size: 1rem; margin-bottom: 0.5rem; }
.how__step-desc { font-size: 0.875rem; color: var(--warm-gray); line-height: 1.65; }

/* ===== FEATURES ===== */
.features {
  background: var(--navy);
  color: #fff;
  padding: 5rem 2.5rem;
}
.features__header { text-align: center; margin-bottom: 3rem; }
.features__title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
}
.features__grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: rgba(255,255,255,0.08);
  border-radius: 12px;
  overflow: hidden;
}
.feature-card {
  background: var(--navy);
  padding: 2rem 1.75rem;
  transition: background 0.2s;
}
.feature-card:hover { background: var(--navy-mid); }
.feature-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(232,168,56,0.12);
  border-radius: 8px;
  margin-bottom: 1.25rem;
}
.feature-card__title { font-weight: 600; font-size: 0.95rem; margin-bottom: 0.5rem; color: #fff; }
.feature-card__desc { font-size: 0.82rem; color: rgba(255,255,255,0.55); line-height: 1.65; }

/* ===== MANIFESTO ===== */
.manifesto {
  padding: 5rem 2.5rem;
  background: var(--off-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.manifesto__inner {
  max-width: 750px;
  margin: 0 auto;
}
.manifesto__line {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
  line-height: 1.55;
  color: var(--navy);
  margin-bottom: 1.5rem;
}
.manifesto__line--emph {
  font-weight: 700;
  color: var(--navy);
  border-left: 3px solid var(--amber);
  padding-left: 1.25rem;
}

/* ===== CLOSING ===== */
.closing {
  padding: 5rem 2.5rem;
  background: var(--navy);
  color: #fff;
}
.closing__inner { max-width: 750px; margin: 0 auto; }
.closing__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.closing__sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

/* ===== FOOTER ===== */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2.5rem;
  background: var(--off-white);
  border-top: 1px solid var(--border);
}
.footer__brand { display: flex; flex-direction: column; gap: 0.2rem; }
.footer__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
}
.footer__tagline { font-size: 0.75rem; color: var(--warm-gray); }
.footer__legal { font-size: 0.75rem; color: var(--warm-gray); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; padding: 3rem 1.5rem 2.5rem; }
  .hero__viz { justify-content: flex-start; }
  .forecast-card { max-width: 100%; }
  .problem__inner { grid-template-columns: 1fr; gap: 2rem; }
  .problem__pull { position: static; }
  .how__steps { grid-template-columns: 1fr; }
  .features__grid { grid-template-columns: 1fr; }
  .nav { padding: 1rem 1.5rem; }
  .nav__tagline { display: none; }
  .footer { flex-direction: column; gap: 0.75rem; text-align: center; }
  .manifesto, .closing, .problem, .how, .features { padding: 3.5rem 1.5rem; }
}
@media (max-width: 480px) {
  .hero { padding: 2.5rem 1.25rem 2rem; }
  .hero__meta { gap: 0.4rem; }
  .features__grid { border-radius: 8px; }
  .feature-card { padding: 1.5rem 1.25rem; }
}