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

:root {
  --bg: #FAF7F2;
  --fg: #1A1A1A;
  --sage: #6B9E8A;
  --sage-light: #A8C5B8;
  --sage-dark: #4A7A69;
  --terra: #C4725C;
  --terra-light: #E8A898;
  --cream: #F5F0E8;
  --warm-gray: #9A9088;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
}

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

/* === NAV === */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.5rem 3rem;
}
.nav-inner {
  display: flex;
  align-items: center;
}
.nav-logo {
  font-family: var(--serif);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.02em;
  text-decoration: none;
}
.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-link {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--warm-gray);
  text-decoration: none;
  padding: 0.375rem 0.75rem;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}
.nav-link:hover { color: var(--fg); background: rgba(107,158,138,0.08); }
.nav-link--pricing {
  font-weight: 500;
  color: var(--sage-dark);
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 6rem 3rem 4rem;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
}
.hero-orb--sage {
  width: 60vw; height: 60vw;
  background: var(--sage);
  top: -10%; right: -15%;
  opacity: 0.18;
}
.hero-orb--terracotta {
  width: 40vw; height: 40vw;
  background: var(--terra);
  bottom: 5%; left: -5%;
  opacity: 0.12;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.hero-stat {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  border-left: 3px solid var(--sage);
  padding-left: 1.5rem;
  width: fit-content;
}
.hero-stat-num {
  font-family: var(--serif);
  font-size: 4rem;
  font-weight: 700;
  color: var(--sage);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.875rem;
  color: var(--warm-gray);
  max-width: 180px;
  line-height: 1.4;
}
.hero-headline {
  font-family: var(--serif);
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg);
}
.hero-headline em {
  font-style: italic;
  color: var(--sage);
}
.hero-sub {
  font-size: 1.125rem;
  color: var(--warm-gray);
  max-width: 520px;
  line-height: 1.65;
  font-weight: 300;
}

/* === DAILY === */
.daily {
  padding: 7rem 3rem;
  background: var(--cream);
  position: relative;
}
.daily::before {
  content: '';
  position: absolute;
  top: 0; left: 3rem; right: 3rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sage-light), transparent);
}
.daily-inner { max-width: 900px; margin: 0 auto; }
.daily-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 1.25rem;
}
.daily-headline {
  font-family: var(--serif);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 4rem;
}
.daily-steps { display: flex; flex-direction: column; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(107,158,138,0.15);
}
.step:last-child { border-bottom: none; }
.step-num {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--sage-light);
  line-height: 1;
  padding-top: 0.25rem;
}
.step-body h3 {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 0.625rem;
}
.step-body p {
  font-size: 0.9375rem;
  color: var(--warm-gray);
  line-height: 1.65;
}

/* === TRACKING === */
.tracking {
  padding: 7rem 3rem;
  background: var(--bg);
}
.tracking-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 5rem;
  align-items: center;
}
.tracking-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 1.25rem;
}
.tracking-headline {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.tracking-headline em { font-style: italic; color: var(--sage); }
.tracking-body {
  font-size: 0.9375rem;
  color: var(--warm-gray);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 420px;
}
.tracking-pillars { display: flex; flex-direction: column; gap: 1.5rem; }
.pillar { display: flex; align-items: flex-start; gap: 1rem; }
.pillar-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(107,158,138,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pillar h4 { font-size: 0.9375rem; font-weight: 500; margin-bottom: 0.25rem; }
.pillar p { font-size: 0.8125rem; color: var(--warm-gray); line-height: 1.5; }

/* Recovery Card */
.recovery-card {
  background: var(--fg);
  color: var(--bg);
  border-radius: 20px;
  padding: 2.25rem;
  position: relative;
  overflow: hidden;
}
.recovery-card::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: rgba(107,158,138,0.15);
  filter: blur(40px);
}
.recovery-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}
.recovery-title { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(250,247,242,0.5); }
.recovery-badge { font-size: 0.6875rem; padding: 0.25rem 0.75rem; border-radius: 99px; background: rgba(107,158,138,0.25); color: var(--sage-light); }
.recovery-score { display: flex; align-items: baseline; gap: 0.25rem; margin-bottom: 1rem; }
.score-num { font-family: var(--serif); font-size: 5rem; font-weight: 700; line-height: 1; color: var(--sage-light); }
.score-denom { font-size: 1.5rem; color: rgba(250,247,242,0.35); }
.recovery-bar {
  height: 4px;
  background: rgba(250,247,242,0.12);
  border-radius: 99px;
  margin-bottom: 0.75rem;
}
.recovery-fill { height: 100%; background: linear-gradient(90deg, var(--sage-dark), var(--sage)); border-radius: 99px; }
.recovery-meta { display: flex; justify-content: space-between; font-size: 0.75rem; color: rgba(250,247,242,0.4); margin-bottom: 2rem; }
.today-label { font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(250,247,242,0.4); margin-bottom: 0.875rem; }
.today-item { font-size: 0.875rem; color: rgba(250,247,242,0.6); padding: 0.625rem 0; border-bottom: 1px solid rgba(250,247,242,0.06); }
.today-item:last-child { border-bottom: none; }
.today-done { color: rgba(250,247,242,0.9); }
.today-done::before { content: '✓  '; color: var(--sage-light); }
.today-item:not(.today-done)::before { content: '○  '; color: rgba(250,247,242,0.2); }

/* === PRINCIPLES === */
.principles {
  padding: 7rem 3rem;
  background: var(--cream);
}
.principles-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: start;
}
.principle { padding: 0 3rem; }
.principle-divider { width: 1px; background: linear-gradient(180deg, transparent, var(--sage-light), transparent); align-self: stretch; }
.principle-num {
  font-family: var(--serif);
  font-size: 1.375rem;
  font-weight: 600;
  font-style: italic;
  color: var(--sage);
  margin-bottom: 1rem;
  line-height: 1.3;
}
.principle p { font-size: 0.9375rem; color: var(--warm-gray); line-height: 1.65; }

/* === CLOSING === */
.closing {
  padding: 8rem 3rem;
  background: var(--fg);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.closing::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(107,158,138,0.08) 0%, transparent 70%);
}
.closing-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.closing-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 1.5rem;
}
.closing-headline {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--bg);
  margin-bottom: 1.75rem;
}
.closing-body {
  font-size: 1.0625rem;
  color: rgba(250,247,242,0.55);
  line-height: 1.7;
  font-weight: 300;
}

/* === FOOTER === */
.footer {
  padding: 3rem;
  background: var(--fg);
  border-top: 1px solid rgba(250,247,242,0.08);
}
.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
}
.footer-logo {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--bg);
  display: block;
  margin-bottom: 0.5rem;
}
.footer-tagline {
  font-size: 0.8125rem;
  color: rgba(250,247,242,0.35);
}
.footer-note {
  font-size: 0.75rem;
  color: rgba(250,247,242,0.2);
  max-width: 300px;
  text-align: right;
  line-height: 1.5;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .tracking-inner { grid-template-columns: 1fr; }
  .recovery-card { order: -1; }
  .principles-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .principle-divider { display: none; }
  .principle { padding: 0; }
}
@media (max-width: 600px) {
  .nav { padding: 1rem 1.5rem; }
  .hero, .daily, .tracking, .principles, .closing, .footer { padding-left: 1.5rem; padding-right: 1.5rem; }
  .step { grid-template-columns: 50px 1fr; gap: 1rem; }
  .hero-stat { flex-direction: column; gap: 0.5rem; border-left: 2px solid var(--sage); }
  .hero-stat-num { font-size: 3rem; }
  .hero-stat-label { max-width: 100%; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-note { text-align: left; }
}