/* ===================================================================
   MileProof marketing site
   Aesthetic: "Deduction Ledger / Odometer" — warm ledger paper,
   deduction-green hero, precise odometer numerals.
   Palette + type lifted from ios/DesignSystem (MPColors, MPTypography).
   =================================================================== */

:root {
  --paper:      #f4f1e8;   /* ledger background */
  --surface:    #ffffff;
  --surface-alt:#ede9de;   /* warm inset */
  --hairline:   #e2dccd;
  --ink:        #181b16;   /* deep warm ink */
  --panel-dark: #181b16;   /* fixed dark panels (band, binder, footer) */
  --ink-2:      #5a5f56;   /* secondary ink */
  --green:      #1b7841;   /* deduction green (hero) */
  --green-deep: #145e33;
  --blue:       #1e5fa8;   /* reimbursement */
  --tax:        #3a4a86;
  --warn:       #b5780c;

  /* UI/body face and metric face. The per-page marketing-type-system
     block redeclares these with the same stacks; they match so the two
     declarations can never disagree. DIN Pro (fonts/brand-fonts.css)
     is the metric face for odometer digits, prices, and stat numerals
     only — never words, dates, or durations. */
  --font-ui: "PP Neue Montreal Text", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "DIN Pro", "PP Neue Montreal Text", ui-sans-serif, system-ui, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --maxw: 1120px;
  --pad: clamp(20px, 5vw, 64px);

  /* Fixed light ink for the always-dark panels (band, binder, footer):
     never flips with the theme, so dark mode keeps light-on-dark text
     (var(--paper) inverts to near-black and measured 1.05:1 there).
     Filled green surfaces use tokens tuned so white labels hold AA in
     both themes (light #1b7841 = 5.5:1; dark #2c8557 = 4.6:1). */
  --panel-ink: #f4f1e8;
  --green-fill: #1b7841;
  --green-fill-hover: #145e33;
}

:root { color-scheme: light; --nav-bg: rgba(244,241,232,.86); }

/* Dark theme (added in audit) — inverts the warm ledger palette, keeps deduction-green/blue accents. */
:root[data-theme="dark"] {
  --paper:#14160f; --surface:#1c1f17; --surface-alt:#23271d; --hairline:#34392c;
  --ink:#f1eee2; --panel-dark:#181b16; --ink-2:#b3b3a4;
  --green:#3fae6b; --green-deep:#2f9457; --blue:#5b9be0; --tax:#8693d6; --warn:#e0a534;
  --nav-bg: rgba(20,22,15,.88);
  /* White on the theme's bright --green is only 2.8:1; fill tokens hold AA. */
  --green-fill: #27774d;
  --green-fill-hover: #206244;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper:#14160f; --surface:#1c1f17; --surface-alt:#23271d; --hairline:#34392c;
    --ink:#f1eee2; --panel-dark:#181b16; --ink-2:#b3b3a4;
    --green:#3fae6b; --green-deep:#2f9457; --blue:#5b9be0; --tax:#8693d6; --warn:#e0a534;
    --nav-bg: rgba(20,22,15,.88);
    --green-fill: #27774d;
    --green-fill-hover: #206244;
    color-scheme: dark;
  }
}

/* Theme toggle (added in audit) */
.theme-toggle {
  width:44px; height:44px; padding:0; display:inline-grid; place-items:center;
  flex:none;
  border:1.5px solid var(--hairline); border-radius:999px;
  background:var(--surface); color:var(--green); cursor:pointer;
  transition:border-color .15s ease, transform .15s ease;
}
.theme-toggle:hover { border-color:var(--green); transform:translateY(-1px); }
.theme-toggle__mark { width:15px; height:15px; border-radius:50%; border:2px solid currentColor; background:linear-gradient(90deg, currentColor 0 50%, transparent 50%); }

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-ui);
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  font-size: 17px;
}

h1, h2, h3, h4 { line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; margin: 0; }
/* Weight discipline (README): Regular body, Medium headings/controls,
   Bold only on the single display-size hero headline. No tracked-out
   all-caps anywhere — labels are sentence case. */
h1, h2, h3, h4, strong { font-weight: 500; }
h1 { font-weight: 700; }
p { text-wrap: pretty; }
a { color: inherit; }

img, svg { display: block; }

::selection { background: var(--green); color: #fff; }

/* Focus visibility */
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  z-index: 100;
  transition: top .18s ease;
  text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  border-radius: 999px;
  padding: 13px 22px;
  min-height: 48px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.btn--primary {
  background: var(--green-fill);
  color: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 8px 20px -10px rgba(27,120,65,.7);
}
.btn--primary:hover { background: var(--green-fill-hover); transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--lg { font-size: 17px; padding: 15px 28px; min-height: 52px; }
.btn--block { display: flex; width: 100%; }
@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } }

/* ---------- typographic helpers ---------- */
.eyebrow {
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--green);
  margin: 0 0 14px;
}
.eyebrow--light { color: #8fd6a8; }
.kicker {
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink-2);
  margin: 0 0 10px;
}

/* ===================================================================
   NAV
   =================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--nav-bg);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--hairline);
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 12px var(--pad);
  display: flex;
  align-items: center;
  gap: 24px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 20px;
  color: var(--ink);
}
.wordmark__mark { display: inline-flex; }
.nav__links {
  display: flex;
  gap: 26px;
  margin-left: auto;
}
.nav__links a {
  text-decoration: none;
  color: var(--ink-2);
  font-weight: 500;
  font-size: 15px;
  padding: 6px 2px;
  transition: color .15s ease;
}
.nav__links a:hover { color: var(--ink); }
.nav__cta { margin-left: 4px; }

/* Mobile nav: below 860px the inline links move into a drawer that drops
   from the sticky bar (one-handed reach at the top of the screen); a 44px
   menu button replaces them. Below 560px the bar drops the duplicate
   Download CTA — the hero carries the identical action immediately below. */
.nav__menu {
  display: none;
  width: 44px; height: 44px;
  padding: 0;
  border: 1.5px solid var(--hairline);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  flex: none;
}
.nav__menu:hover { border-color: var(--ink); }
.nav__drawer { display: none; }

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__inner { gap: 10px; }
  .wordmark { padding: 9px 0; }
  .nav__menu {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .nav__cta { margin-left: auto; }
  .nav__drawer { display: block; }
  .nav__drawer[hidden] { display: none; }
  .nav__drawer a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 var(--pad);
    text-decoration: none;
    color: var(--ink);
    font-weight: 500;
    font-size: 16px;
    border-top: 1px solid var(--hairline);
    background: var(--nav-bg);
    -webkit-backdrop-filter: saturate(140%) blur(10px);
    backdrop-filter: saturate(140%) blur(10px);
  }
  .nav__drawer a:hover { color: var(--green); }
}
@media (max-width: 560px) {
  .nav__cta { display: none; }
  .nav__menu { margin-left: auto; }
}
@media (max-width: 460px) {
  .nav__cta { font-size: 14px; padding: 11px 16px; }
}

/* ===================================================================
   HERO
   =================================================================== */
.hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(48px, 8vw, 96px) var(--pad) clamp(40px, 6vw, 72px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
/* The single display-size hero: the one place Bold (700) is allowed. */
.hero__title {
  font-size: clamp(36px, 5vw, 44px);
  font-weight: 700;
  margin: 0 0 20px;
}
.hero__sub {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--ink-2);
  max-width: 46ch;
  margin: 0 0 28px;
}
.hero__sub em { font-style: italic; color: var(--ink); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__note {
  margin: 22px 0 0;
  font-size: 14px;
  color: var(--ink-2);
}

/* ----- device frame ----- */
.hero__device { position: relative; justify-self: center; width: 100%; max-width: 360px; }
.phone {
  position: relative;
  background: var(--ink);
  border-radius: 44px;
  padding: 12px;
  box-shadow:
    0 2px 4px rgba(0,0,0,.2),
    0 30px 60px -25px rgba(24,27,22,.55),
    inset 0 0 0 2px rgba(255,255,255,.05);
  z-index: 2;
}
.phone__notch {
  position: absolute;
  top: 12px; left: 50%;
  transform: translateX(-50%);
  width: 120px; height: 26px;
  background: var(--ink);
  border-radius: 0 0 16px 16px;
  z-index: 3;
}
.phone__screen {
  background: var(--paper);
  border-radius: 33px;
  overflow: hidden;
  padding: 34px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 560px;
}
.phone__shadow {
  position: absolute;
  inset: auto 8% -28px 8%;
  height: 40px;
  background: radial-gradient(ellipse at center, rgba(24,27,22,.28), transparent 70%);
  filter: blur(6px);
  z-index: 1;
}

.appbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 4px;
}
.appbar__title { font-weight: 500; font-size: 17px; }
.appbar__chip {
  font-size: 12px;
  color: var(--green);
  background: rgba(27,120,65,.12);
  padding: 4px 10px;
  border-radius: 999px;
}

/* odometer card */
.odo-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
}
.odo-card__label {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0;
  color: var(--ink-2);
  font-weight: 500;
}
.odometer {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  font-family: var(--font-mono);
}
.odo-sym {
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--green);
  font-weight: 500;
  margin-right: 2px;
  align-self: center;
}
.odo-wheel {
  position: relative;
  width: 28px;
  height: 44px;
  background: var(--ink);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}
.odo-wheel--sm { width: 22px; height: 36px; }
.odo-wheel::after {  /* highlight groove / wheel seam */
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 1px;
  background: rgba(255,255,255,.14);
  z-index: 2;
}
.odo-strip {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--surface);
  font-size: 26px;
  font-weight: 500;
  animation: roll-in .5s cubic-bezier(.2,.8,.25,1) both;
}
.odo-wheel--sm .odo-strip { font-size: 21px; }
.odo-sep {
  font-family: var(--font-mono);
  font-size: 26px;
  color: var(--green);
  align-self: flex-end;
  padding-bottom: 4px;
}
@keyframes roll-in {
  from { transform: translateY(70%); opacity: 0; }
  to   { transform: translateY(0);   opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .odo-strip { animation: none; }
}
.odo-underline {
  height: 3px;
  border-radius: 2px;
  background: var(--green);
  margin: 12px 0 12px;
  width: 78%;
}
.odo-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--ink-2);
}
.odo-card__meta strong { color: var(--ink); font-weight: 500; }
.dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-2); display: inline-block; }

/* trip rows */
.trips { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.trip {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  padding: 11px 12px;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "route miles" "tag tag";
  gap: 4px 8px;
  align-items: center;
}
.trip__route { grid-area: route; font-size: 13px; font-weight: 500; }
.trip__miles { grid-area: miles; font-family: var(--font-mono); font-size: 12px; color: var(--ink-2); }
.tag {
  grid-area: tag;
  justify-self: start;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  padding: 3px 8px;
  border-radius: 999px;
}
.tag--biz { background: rgba(27,120,65,.13); color: var(--green-deep); }
.tag--review { background: rgba(181,120,12,.15); color: var(--warn); }
/* AA on light: the two mock chips above sit on tinted fills where their
   token colours measured 4.15:1 (green) and 3.14:1 (amber) at 12px. Deepen
   the text on light only; the dark-theme values clear AA (5.5:1+). */
:root[data-theme="light"] .appbar__chip { color: var(--green-deep); }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .appbar__chip { color: var(--green-deep); }
}
:root[data-theme="light"] .tag--review { color: #8a5a0a; }
:root[data-theme="dark"] .tag--biz { color: var(--green); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .tag--biz { color: var(--green); }
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .tag--review { color: #8a5a0a; }
}
.trip--review { border-style: dashed; border-color: rgba(181,120,12,.4); }

@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero__sub { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .hero__note { text-align: center; }
  .hero__device { margin-top: 12px; }
}

/* ===================================================================
   VALUE BAND
   =================================================================== */
.band {
  background: var(--panel-dark);
  color: var(--panel-ink);
}
.band__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(48px, 7vw, 80px) var(--pad);
}
.band__lead {
  font-size: clamp(20px, 2.4vw, 24px);
  font-weight: 500;
  letter-spacing: -0.014em;
  max-width: 30ch;
  margin: 0 0 44px;
  text-wrap: balance;
}
.band__grid {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  border-top: 1px solid rgba(244,241,232,.18);
  padding-top: 40px;
}
.band__grid h3 { font-size: 18px; margin: 0 0 8px; color: #8fd6a8; }
.band__grid p { margin: 0; color: rgba(244,241,232,.78); font-size: 16px; }
@media (max-width: 760px) {
  .band__grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ===================================================================
   SECTION HEADS
   =================================================================== */
.section-head {
  max-width: 720px;
  margin: 0 auto clamp(40px, 5vw, 56px);
  text-align: center;
}
/* Marketing preset: section headings stay in the 22–26px band, one
   step under the hero, in Medium — hierarchy from spacing and colour,
   not weight or size. */
.section-head h2 {
  font-size: clamp(22px, 3vw, 26px);
  font-weight: 500;
}
.section-head__sub {
  margin: 16px 0 0;
  font-size: 17px;
  color: var(--ink-2);
}

/* ===================================================================
   FEATURES
   =================================================================== */
.features {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 100px) var(--pad);
}
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(28px, 4vw, 44px) 0;
  border-top: 1px solid var(--hairline);
}
.feature:first-of-type { border-top: none; }
.feature--alt .feature__art { order: -1; }
.feature__text h3 { font-size: clamp(19px, 2vw, 21px); margin: 0 0 14px; }
.feature__text p { color: var(--ink-2); font-size: 17px; margin: 0 0 20px; max-width: 48ch; }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li {
  position: relative;
  padding-left: 30px;
  font-size: 16px;
  font-weight: 400;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(27,120,65,.14);
}
.ticks li::after {
  content: "";
  position: absolute;
  left: 6px; top: 8px;
  width: 6px; height: 3px;
  border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}

/* feature art tiles */
.feature__art { display: flex; justify-content: center; }
.mini-card, .swipe-card, .receipt, .meter-card {
  width: 100%;
  max-width: 360px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 24px 48px -34px rgba(24,27,22,.5);
}

.mini-card__head {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; font-weight: 500; color: var(--ink-2);
}
.pulse {
  width: 9px; height: 9px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 0 rgba(27,120,65,.5);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(27,120,65,.45); }
  70% { box-shadow: 0 0 0 12px rgba(27,120,65,0); }
  100% { box-shadow: 0 0 0 0 rgba(27,120,65,0); }
}
@media (prefers-reduced-motion: reduce) { .pulse { animation: none; } }
.mini-odo { margin: 18px 0 16px; font-family: var(--font-mono); }
.mini-odo__num { font-size: 52px; font-weight: 500; color: var(--ink); letter-spacing: -0.02em; }
.mini-odo__unit { font-size: 20px; color: var(--ink-2); }
.routeline { display: flex; align-items: center; gap: 0; margin: 4px 0 16px; }
.routeline__dot { width: 11px; height: 11px; border-radius: 50%; background: var(--green); flex: none; }
.routeline__dot--end { background: var(--blue); }
.routeline__track {
  flex: 1; height: 3px; border-radius: 2px;
  background: repeating-linear-gradient(90deg, var(--ink-2) 0 7px, transparent 7px 13px);
  opacity: .5;
}
.mini-card__foot { margin: 0; font-size: 13px; color: var(--ink-2); }

.swipe-card { position: relative; }
.swipe-card__route { font-weight: 500; font-size: 18px; }
.swipe-card__miles { font-size: 14px; color: var(--ink-2); margin-top: 6px; font-variant-numeric: tabular-nums; }
.swipe-card__choices { display: flex; justify-content: space-between; margin-top: 38px; }
.choice {
  font-size: 13px; font-weight: 500; letter-spacing: 0;
  padding: 8px 16px; border-radius: 999px;
}
.choice--personal { color: var(--ink-2); border: 1.5px dashed var(--hairline); }
.choice--biz { color: #fff; background: var(--green-fill); }

.receipt__row { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; font-size: 15px; }
.receipt__row--muted { color: var(--ink-2); font-size: 13px; }
.receipt__amt { font-family: var(--font-mono); font-weight: 500; }
.receipt__conf { font-family: var(--font-mono); font-size: 12px; color: var(--green); }
.receipt__line { height: 1px; background: var(--hairline); margin: 6px 0; }

.meter-card__label { margin: 0 0 14px; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.meter { height: 12px; background: var(--surface-alt); border-radius: 999px; overflow: hidden; }
.meter__fill { display: block; height: 100%; background: var(--green); border-radius: 999px; }
.meter-card__val { margin: 14px 0 4px; font-size: 15px; }
.meter-card__val span { font-family: var(--font-mono); font-weight: 500; color: var(--green); font-size: 20px; }
.meter-card__hint { margin: 0; font-size: 13px; color: var(--ink-2); }

.checklist { list-style: none; margin: 0; padding: 0; width: 100%; max-width: 360px; display: grid; gap: 10px; }
.checklist__item {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  padding: 14px 16px 14px 46px;
  position: relative;
  font-weight: 400;
  font-size: 16px;
}
.checklist__item::before {
  content: "";
  position: absolute;
  left: 16px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; border-radius: 5px;
  border: 1.5px solid var(--hairline);
}
.checklist__item.is-done { color: var(--ink-2); }
.checklist__item.is-done::before { background: var(--green); border-color: var(--green); }
.checklist__item.is-done::after {
  content: "";
  position: absolute;
  left: 22px; top: 47%;
  width: 6px; height: 3px;
  border-left: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: translateY(-50%) rotate(-45deg);
}

@media (max-width: 800px) {
  .feature { grid-template-columns: 1fr; gap: 28px; }
  .feature--alt .feature__art { order: 0; }
}

/* ===================================================================
   AUDIT BINDER (signature)
   =================================================================== */
.binder { background: var(--panel-dark); color: var(--panel-ink); }
.binder__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 100px) var(--pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.binder__copy h2 { font-size: clamp(22px, 3vw, 26px); margin: 0 0 18px; }
.binder__copy > p { color: rgba(244,241,232,.8); font-size: 17px; margin: 0 0 26px; max-width: 46ch; }
.binder__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.binder__list li {
  position: relative;
  padding-left: 26px;
  color: rgba(244,241,232,.9);
  font-size: 16px;
}
.binder__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: #8fd6a8;
}

.binder__art { display: flex; justify-content: center; }
.doc {
  width: 100%;
  max-width: 380px;
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 26px 24px 24px;
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.7);
}
.doc__bar { height: 6px; width: 64px; border-radius: 3px; background: var(--green); margin-bottom: 18px; }
.doc__title { font-size: 18px; font-weight: 500; margin: 0; }
.doc__sub { margin: 6px 0 20px; font-size: 13px; color: var(--ink-2); }
.doc__stat { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 22px; }
.doc__stat > div { display: flex; flex-direction: column; gap: 4px; }
.doc__num { font-family: var(--font-mono); font-size: 24px; font-weight: 500; letter-spacing: -0.02em; }
.doc__num--green { color: var(--green); }
.doc__cap { font-size: 12px; color: var(--ink-2); }
.doc__cap--center { text-align: center; margin-top: 10px; }
.doc__chart {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 96px;
  padding: 12px 4px 0;
  border-top: 1px solid var(--hairline);
}
.doc__chart span {
  flex: 1;
  background: linear-gradient(var(--green), #2e9657);
  border-radius: 3px 3px 0 0;
  min-height: 6px;
}

@media (max-width: 800px) {
  .binder__inner { grid-template-columns: 1fr; }
}

/* ===================================================================
   HOW IT WORKS
   =================================================================== */
.how {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 100px) var(--pad);
}
.steps {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 28px 26px 30px;
}
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 18px;
}
.step h3 { font-size: 20px; margin: 0 0 10px; }
.step p { margin: 0; color: var(--ink-2); font-size: 16px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* ===================================================================
   PRICING
   =================================================================== */
.pricing {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 100px) var(--pad);
}
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.plan {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
}
.plan--featured {
  border: 2px solid var(--green);
  box-shadow: 0 24px 50px -30px rgba(27,120,65,.6);
}
.plan__flag {
  position: absolute;
  top: -13px; left: 26px;
  background: var(--green-fill);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  padding: 5px 12px;
  border-radius: 999px;
}
.plan__name { font-size: 20px; margin: 0 0 14px; }
.plan__price { margin: 0; display: flex; align-items: baseline; gap: 4px; }
.plan__amt { font-family: var(--font-mono); font-size: 38px; font-weight: 500; letter-spacing: -0.02em; }
.plan__per { font-size: 15px; color: var(--ink-2); }
.plan__billing { margin: 6px 0 22px; font-size: 14px; color: var(--ink-2); }
.plan__feats { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 12px; flex: 1; }
.plan__feats li {
  position: relative;
  padding-left: 26px;
  font-size: 16px;
}
.plan__feats li::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 7px; height: 12px;
  border-right: 2.5px solid var(--green);
  border-bottom: 2.5px solid var(--green);
  transform: rotate(40deg);
}
.pricing__fine {
  max-width: 640px;
  margin: 28px auto 0;
  text-align: center;
  font-size: 14px;
  color: var(--ink-2);
}
@media (max-width: 880px) {
  .plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .plan--featured { order: -1; }
}

/* ===================================================================
   FAQ
   =================================================================== */
.faq {
  max-width: 800px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 100px) var(--pad);
}
.faq__list { display: grid; gap: 12px; }
.qa {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 4px 22px;
}
.qa summary {
  cursor: pointer;
  list-style: none;
  font-weight: 500;
  font-size: 17px;
  padding: 18px 30px 18px 0;
  position: relative;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "";
  position: absolute;
  right: 2px; top: 50%;
  width: 11px; height: 11px;
  border-right: 2px solid var(--ink-2);
  border-bottom: 2px solid var(--ink-2);
  transform: translateY(-60%) rotate(45deg);
  transition: transform .2s ease;
}
.qa[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.qa p { margin: 0 0 20px; color: var(--ink-2); font-size: 16px; }
@media (prefers-reduced-motion: reduce) { .qa summary::after { transition: none; } }

/* ===================================================================
   FINAL CTA
   =================================================================== */
.cta {
  background: var(--green-fill);
  color: #fff;
}
.cta__inner {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) var(--pad);
  text-align: center;
}
.cta h2 { font-size: clamp(22px, 3vw, 26px); margin: 0 0 16px; }
.cta p { font-size: 17px; margin: 0 0 28px; color: rgba(255,255,255,.9); }
.cta .btn--primary {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 14px 30px -16px rgba(0,0,0,.5);
}
.cta .btn--primary:hover { background: #fff; }
.cta__note {
  margin: 20px 0 0;
  font-size: 14px;
  color: rgba(255,255,255,.85);
}

/* ===================================================================
   FOOTER
   =================================================================== */
.footer {
  background: var(--panel-dark);
  color: var(--panel-ink);
}
.footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(48px, 6vw, 72px) var(--pad) 32px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
}
.wordmark--footer { color: var(--panel-ink); font-size: 22px; }
.footer__tag { margin: 12px 0 0; color: rgba(244,241,232,.65); font-size: 15px; max-width: 28ch; }
.footer__col h4 {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  color: #8fd6a8;
  margin: 0 0 16px;
}
.footer__col a {
  display: block;
  text-decoration: none;
  color: rgba(244,241,232,.78);
  font-size: 15px;
  padding: 6px 0;
  transition: color .15s ease;
}
.footer__col a:hover { color: var(--paper); }
.footer__bar {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 22px var(--pad) 40px;
  border-top: 1px solid rgba(244,241,232,.14);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: rgba(244,241,232,.6);
}
.footer__bar p { margin: 0; }
@media (max-width: 760px) {
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  /* Touch: footer links become finger-sized rows (>=44px). */
  .footer__col a { padding: 12px 0; }
  .wordmark--footer { display: inline-flex; align-items: center; padding: 8px 0; }
}
@media (max-width: 460px) {
  .footer__inner { grid-template-columns: 1fr; }
}
