:root {
  --bg: #fbfaf7;
  --bg-alt: #f2f0ea;
  --surface: #ffffff;
  --text: #121513;
  --muted: #5d6560;
  --line: #e2dfd6;
  --accent: #1f9d6b;
  --accent-ink: #ffffff;
  --accent-soft: #dff3ea;
  --shadow: 0 18px 40px -20px rgb(18 21 19 / 0.25);
  --life: #e0884a;
  --lead: #4a7fe0;
  --fit: #1f9d6b;
  --radius: 16px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0d0c;
    --bg-alt: #121614;
    --surface: #171c19;
    --text: #eef2ef;
    --muted: #9aa69f;
    --line: #26302b;
    --accent: #3ccf8e;
    --accent-ink: #06130d;
    --accent-soft: #15362a;
    --shadow: 0 18px 40px -20px rgb(0 0 0 / 0.6);
    --life: #f0a46c;
    --lead: #7aa6f5;
    --fit: #3ccf8e;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: "Space Grotesk", Inter, system-ui, sans-serif; line-height: 1.15; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); letter-spacing: -0.01em; max-width: 22ch; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
a { color: inherit; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 10; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.nav { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-family: "Space Grotesk", sans-serif; font-size: 1.15rem; text-decoration: none; }
.mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); font-size: 0.85rem; letter-spacing: -0.02em; }
nav { display: flex; align-items: center; gap: 22px; }
nav a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 0.95rem; }
nav a:hover { color: var(--text); }
nav a.btn { color: var(--accent-ink); }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 20px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 600; text-decoration: none; border: 1px solid transparent; transition: transform 0.15s ease, filter 0.15s ease; }
.btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn-small { padding: 8px 16px; font-size: 0.9rem; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }

.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; font-weight: 600; color: var(--accent); margin-bottom: 0.8em; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 54ch; }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }

.hero { padding: clamp(48px, 9vw, 110px) 0 clamp(56px, 8vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.preview { position: relative; margin: 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card-head { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.card-head div { display: flex; flex-direction: column; line-height: 1.3; }
.card-head .muted { font-size: 0.85rem; }
.avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 0.9rem; }
.tasks { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; font-size: 0.95rem; }
.tasks li { display: flex; gap: 10px; align-items: center; }
.tick { width: 18px; height: 18px; border-radius: 6px; border: 2px solid var(--line); flex: none; }
.tasks .done { color: var(--muted); text-decoration: line-through; }
.tasks .done .tick { background: var(--accent); border-color: var(--accent); }
.win { background: var(--accent-soft); border-radius: 12px; padding: 12px 14px; font-size: 0.92rem; }
.pill { display: inline-block; background: var(--accent); color: var(--accent-ink); border-radius: 999px; padding: 1px 9px; font-size: 0.75rem; font-weight: 600; margin-right: 6px; }
.card-float { width: 250px; margin: -18px -12px 0 auto; position: relative; padding: 14px 16px; display: grid; gap: 4px; }
.stars { color: #f2b33d; letter-spacing: 2px; }

.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-alt { background: var(--bg-alt); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.feature p { color: var(--muted); margin: 0; font-size: 0.97rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.split > div > p { color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%231f9d6b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }

.stat-stack { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.stat { display: flex; gap: 18px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; }
.stat strong { font-family: "Space Grotesk", sans-serif; font-size: 1.5rem; color: var(--accent); min-width: 72px; }
.stat span { color: var(--muted); }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; color: var(--muted); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 700; margin-bottom: 14px; }
.steps strong { display: block; color: var(--text); margin-bottom: 4px; }

.cta-band { text-align: center; }
.cta-inner { display: grid; justify-items: center; }
.cta-inner h2 { max-width: none; }
.cta-inner p { color: var(--muted); }

.footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: 0.9rem; }
.footer-row { display: flex; justify-content: space-between; gap: 16px; }

@media (max-width: 900px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .preview { margin-bottom: 8px; }
}
@media (max-width: 600px) {
  nav a:not(.btn) { display: none; }
  .grid-3, .steps { grid-template-columns: 1fr; }
  .card-float { margin-right: 0; width: 230px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* 90-day content */
.lede strong { color: var(--text); font-weight: 600; }
.section-lede { color: var(--muted); max-width: 64ch; font-size: 1.05rem; }
.progress { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; margin: 0 0 16px; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--life), var(--lead), var(--fit)); border-radius: inherit; }
.tracks-mini { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; font-size: 0.93rem; color: var(--muted); }
.tracks-mini li { display: flex; gap: 8px; align-items: baseline; }
.tracks-mini b { color: var(--text); font-weight: 600; min-width: 86px; }
.dot { width: 9px; height: 9px; border-radius: 50%; flex: none; transform: translateY(-1px); }
.dot-life { background: var(--life); } .dot-lead { background: var(--lead); } .dot-fit { background: var(--fit); }
.big { font-family: "Space Grotesk", sans-serif; font-size: 1.6rem; line-height: 1.1; }

.track { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; border-top: 4px solid var(--c); display: flex; flex-direction: column; }
.track p { color: var(--muted); font-size: 0.97rem; }
.track .checks { margin-top: auto; font-size: 0.93rem; gap: 8px; }
.track-life { --c: var(--life); } .track-lead { --c: var(--lead); } .track-fit { --c: var(--fit); }
.track-tag { align-self: flex-start; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c); margin-bottom: 10px; }

.timeline { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: 10fr 70fr 10fr; gap: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.timeline li { background: var(--surface); padding: 26px; border-right: 1px solid var(--line); }
.timeline li:last-child { border-right: 0; }
.timeline li:nth-child(1) { border-top: 4px solid var(--life); }
.timeline li:nth-child(2) { border-top: 4px solid var(--lead); }
.timeline li:nth-child(3) { border-top: 4px solid var(--fit); }
.timeline p { color: var(--muted); margin: 0; font-size: 0.97rem; }
.when { display: block; font-weight: 600; font-size: 0.8rem; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 6px; }
.checks-lg li { color: var(--muted); }
.checks-lg b { display: block; color: var(--text); }

@media (min-width: 901px) { .timeline { grid-template-columns: 1fr 1.6fr 1fr; } }
@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr; }
  .timeline li { border-right: 0; border-bottom: 1px solid var(--line); }
}
