:root {
  --brand-900: #0c2417;
  --brand-800: #123420;
  --brand-700: #14532d;
  --brand-600: #15803d;
  --brand-500: #1a9d4b;
  --brand-050: #f0fdf4;
  --ink: #10201a;
  --muted: #53625a;
  --faint: #7c8a81;
  --line: #e2eae4;
  --surface: #ffffff;
  --canvas: #f4f7f5;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(16,32,26,.05), 0 12px 30px rgba(16,32,26,.06);
  --wrap: 1080px;
  --font: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--canvas);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; line-height: 1.15; text-wrap: balance; }
p { margin: 0; }
a { color: var(--brand-600); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 66px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px; flex: none;
  background: var(--brand-600); color: #fff; display: grid; place-items: center; font-size: 18px;
}
.brand-logo { height: 30px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--muted); font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--brand-700); }
.nav-links a { white-space: nowrap; }
@media (max-width: 900px) { .nav-links { gap: 20px; } .nav-links a.hide-md { display: none; } }
/* Scoped to .nav-links so it beats `.nav-links a` specificity — otherwise the
   button text renders in muted green on the green button and is unreadable. */
.nav-links a.nav-login { padding: 9px 17px; font-size: 14px; color: #fff; }
.nav-links a.nav-login:hover { color: #fff; }
@media (max-width: 640px) { .nav-links a.hide-sm { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 12px; font-weight: 700; font-size: 15px;
  border: 1px solid transparent;
}
.btn-primary { background: var(--brand-600); color: #fff; }
.btn-primary:hover { background: var(--brand-700); text-decoration: none; }
.btn-ghost { background: var(--surface); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { background: var(--canvas); text-decoration: none; }

/* Hero */
.hero { padding: 84px 0 64px; text-align: center; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--brand-700); background: var(--brand-050);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(34px, 6vw, 56px); font-weight: 800; max-width: 16ch; margin: 0 auto; }
.hero .lede { font-size: clamp(17px, 2.4vw, 20px); color: var(--muted); max-width: 56ch; margin: 22px auto 0; }
.hero-cta { display: flex; gap: 12px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-size: 13px; color: var(--faint); }

/* Sections */
section { padding: 64px 0; }
.section-title { text-align: center; margin-bottom: 12px; font-size: clamp(26px, 3.6vw, 34px); font-weight: 800; }
.section-sub { text-align: center; color: var(--muted); max-width: 52ch; margin: 0 auto 44px; font-size: 17px; text-wrap: pretty; }

/* Feature grid */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .features { grid-template-columns: 1fr; } }
.feature {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.feature .ico {
  width: 46px; height: 46px; border-radius: 12px; background: var(--brand-050);
  color: var(--brand-700); display: grid; place-items: center; margin-bottom: 16px;
}
.feature h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15px; }

/* Trust / privacy band */
.band { background: linear-gradient(160deg, var(--brand-700), var(--brand-900)); color: #eaf5ee; }
.band .section-title { color: #fff; }
.band .section-sub { color: #a9ccb8; }
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .trust { grid-template-columns: 1fr; } }
.trust-item { display: flex; gap: 12px; align-items: flex-start; }
.trust-item .tick { color: var(--brand-500); flex: none; margin-top: 2px; }
.trust-item h4 { margin: 0 0 4px; font-size: 16px; color: #fff; }
.trust-item p { color: #b7d0c1; font-size: 14.5px; }

/* Disclaimer callout */
.disclaimer {
  background: var(--brand-050); border: 1px solid #cdeed9; border-radius: var(--radius);
  padding: 22px 26px; color: #2b5a3d; font-size: 15px; text-align: center; max-width: 60ch; margin: 0 auto;
}

/* Legal / article pages */
.doc { background: var(--surface); }
.doc-head { padding: 56px 0 30px; border-bottom: 1px solid var(--line); }
.doc-head h1 { font-size: clamp(30px, 5vw, 42px); font-weight: 800; }
.doc-head .updated { color: var(--faint); font-size: 14px; margin-top: 10px; }
.doc-body { padding: 40px 0 72px; max-width: 760px; }
.doc-body h2 { font-size: 22px; font-weight: 800; margin: 38px 0 12px; }
.doc-body h3 { font-size: 17px; font-weight: 700; margin: 24px 0 8px; }
.doc-body p, .doc-body li { color: #33413a; font-size: 16px; }
.doc-body p { margin: 12px 0; }
.doc-body ul { margin: 12px 0; padding-left: 22px; }
.doc-body li { margin: 7px 0; }
.doc-body a { font-weight: 600; }
.note {
  background: var(--canvas); border-left: 3px solid var(--brand-500);
  padding: 14px 18px; border-radius: 8px; color: var(--muted); font-size: 14.5px; margin: 20px 0;
}


.center { text-align: center; }
.mt { margin-top: 40px; }
.tnum { font-variant-numeric: tabular-nums; }
.wrap.narrow { max-width: 780px; }
.btn-lg { padding: 14px 26px; font-size: 16px; border-radius: 13px; }
section.soft { background: var(--surface); }

/* ── Hero (two-column) ───────────────────────────── */
.hero {
  padding: 72px 0 72px; text-align: left;
  /* Soft green swirl on the right, white on the left behind the headline */
  background: #fff url("hero-bg.webp") right center / cover no-repeat;
}
@media (max-width: 900px) {
  /* Stacked layout: keep the headline and text on a light wash for contrast */
  .hero {
    background:
      linear-gradient(to bottom, rgba(255,255,255,.92) 0%, rgba(255,255,255,.78) 45%, rgba(255,255,255,0) 72%),
      #fff url("hero-bg.webp") right center / cover no-repeat;
  }
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center;
}
.hero-copy .eyebrow { margin-bottom: 18px; }
.hero-copy h1 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 900; max-width: 15ch; margin: 0; }
.hero-copy .lede { font-size: clamp(16px, 1.5vw, 19px); color: var(--muted); max-width: 52ch; margin: 20px 0 0; }
.hero-cta { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; justify-content: flex-start; }
.hero-note { margin-top: 16px; font-size: 13px; color: var(--faint); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-copy h1, .hero-copy .lede { max-width: none; }
  .hero-cta { justify-content: center; }
  .hero-visual { order: 2; }
}

/* ── Original app mockup ─────────────────────────── */
.hero-visual { display: flex; justify-content: center; }
/* iPhone frame wrapping a real app screenshot */
.iphone {
  position: relative;
  width: 300px; max-width: 82vw;
  padding: 11px;
  border-radius: 54px;
  background: linear-gradient(150deg, #43434a, #141416 52%, #2b2b30);
  box-shadow: 0 30px 70px rgba(16,32,26,.30), 0 8px 20px rgba(16,32,26,.14),
              inset 0 0 0 2px rgba(255,255,255,.06);
}
/* Left-side buttons: silent switch + volume up/down */
.iphone::before {
  content: ""; position: absolute; left: -3px; top: 96px; width: 3px; height: 16px;
  background: #17171a; border-radius: 3px;
}
.iphone::after {
  content: ""; position: absolute; left: -3px; top: 128px; width: 3px; height: 28px;
  background: #17171a; border-radius: 3px;
  box-shadow: 0 40px 0 #17171a;
}
.iphone-island {
  position: absolute; top: 24px; left: 50%; transform: translateX(-50%);
  width: 82px; height: 24px; background: #000; border-radius: 13px; z-index: 2;
}
.iphone-screen {
  display: block; width: 100%; height: auto;
  border-radius: 44px; background: var(--canvas);
}
@media (max-width: 400px) {
  .iphone { border-radius: 46px; }
  .iphone-screen { border-radius: 37px; }
}

/* ── Real screenshots: browser window + device stack ── */
.browser {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(16,32,26,.05), 0 24px 60px rgba(16,32,26,.16);
}
.browser-bar {
  display: flex; align-items: center; gap: 7px;
  height: 34px; padding: 0 14px;
  background: #eef2ef; border-bottom: 1px solid var(--line);
}
.browser-bar span { width: 10px; height: 10px; border-radius: 50%; background: #d3dbd5; flex: none; }
.browser-bar span:nth-child(1) { background: #f2a59b; }
.browser-bar span:nth-child(2) { background: #f3d18a; }
.browser-bar span:nth-child(3) { background: #9fd6a9; }
.browser-bar em {
  margin-left: 12px; flex: 1; max-width: 260px;
  font-style: normal; font-size: 11.5px; color: var(--faint);
  background: var(--surface); border-radius: 7px; padding: 3px 10px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.browser img { display: block; width: 100%; height: auto; }

@media (min-width: 901px) { .hero-grid { grid-template-columns: 0.9fr 1.1fr; } }
.device-stack { position: relative; width: 100%; padding: 0 0 46px; }
.iphone.iphone-sm {
  position: absolute; right: -18px; bottom: 0;
  width: 168px; padding: 7px; border-radius: 34px;
}
.iphone.iphone-sm .iphone-screen { border-radius: 28px; }
.iphone.iphone-sm .iphone-island { top: 14px; width: 48px; height: 14px; border-radius: 8px; }
.iphone.iphone-sm::before, .iphone.iphone-sm::after { display: none; }
@media (max-width: 900px) {
  .device-stack { max-width: 640px; margin: 0 auto; }
  .iphone.iphone-sm { right: 8px; width: 132px; }
}
@media (max-width: 520px) {
  .iphone.iphone-sm { width: 104px; padding: 5px; border-radius: 24px; }
  .iphone.iphone-sm .iphone-screen { border-radius: 20px; }
  .iphone.iphone-sm .iphone-island { top: 9px; width: 34px; height: 10px; }
  .browser-bar { height: 26px; }
  .browser-bar em { display: none; }
}

/* Pillars with a screenshot get the wider column */
@media (min-width: 901px) {
  .pillar:has(.shot) { grid-template-columns: 0.85fr 1.15fr; }
  .pillar.flip:has(.shot) { grid-template-columns: 1.15fr 0.85fr; }
}
.shot { margin: 0; width: 100%; }
.shot figcaption { margin-top: 12px; text-align: center; font-size: 13.5px; color: var(--faint); }

/* ── Value strip ─────────────────────────────────── */
.strip { padding: 30px 0; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.strip-item { display: flex; flex-direction: column; gap: 3px; }
.strip-item strong { font-size: 15px; color: var(--brand-700); }
.strip-item span { font-size: 13px; color: var(--muted); }
@media (max-width: 760px) { .strip-grid { grid-template-columns: repeat(2, 1fr); } }

/* ── How it works ────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow); }
.step-num { width: 40px; height: 40px; border-radius: 11px; background: var(--brand-600); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 18px; margin-bottom: 16px; }
.step h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* ── Audiences ───────────────────────────────────── */
.audiences { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .audiences { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .audiences { grid-template-columns: 1fr; } }
.audience {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.audience:hover { border-color: #cfe6d6; box-shadow: var(--shadow); transform: translateY(-2px); }
.aud-ico {
  width: 46px; height: 46px; border-radius: 13px; margin-bottom: 16px;
  display: grid; place-items: center;
  color: var(--brand-600); background: var(--brand-050); border: 1px solid #d5ecdc;
}
@media (prefers-reduced-motion: reduce) { .audience, .audience:hover { transition: none; transform: none; } }
.audience h4 { font-size: 16px; font-weight: 800; margin: 0 0 5px; }
.audience p { color: var(--muted); font-size: 14px; margin: 0; }

/* ── Deduction value ─────────────────────────────── */
.value-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .value-wrap { grid-template-columns: 1fr; gap: 28px; } }
.checklist { list-style: none; padding: 0; margin: 20px 0 0; }
.checklist li { position: relative; padding-left: 30px; margin: 12px 0; color: var(--ink); font-weight: 500; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: -1px; width: 20px; height: 20px; background: var(--brand-050); color: var(--brand-600); border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.value-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.value-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; }
.value-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; font-size: 15px; color: var(--muted); }
.value-row span:last-child { color: var(--ink); font-weight: 600; }
.value-divider { height: 1px; background: var(--line); margin: 6px 0; }
.value-row.total { font-size: 17px; }
.value-row.total span { color: var(--brand-700); font-weight: 800; font-size: 22px; }
.value-row.total span:first-child { color: var(--ink); font-size: 15px; font-weight: 700; }
.value-fine { font-size: 11.5px; color: var(--faint); line-height: 1.5; margin-top: 16px; }

/* ── FAQ ─────────────────────────────────────────── */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 4px 20px; box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; font-weight: 700; font-size: 16px; padding: 16px 28px 16px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 13px; font-size: 22px; font-weight: 400; color: var(--brand-600); transition: transform .2s ease; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); font-size: 15px; padding: 0 0 16px; margin: 0; }

/* ── CTA band ────────────────────────────────────── */
.cta-band { background: linear-gradient(160deg, var(--brand-700), var(--brand-900)); color: #fff; }
.cta-title { font-size: clamp(26px, 3.4vw, 34px); font-weight: 800; color: #fff; }
.cta-sub { color: #a9ccb8; max-width: 52ch; margin: 14px auto 28px; font-size: 17px; }


/* ── Product pillars (mileage / expenses split rows) ─ */
.pillar { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.pillar + .pillar { margin-top: 88px; }
.pillar.flip .pillar-visual { order: -1; }
@media (max-width: 900px) {
  .pillar { grid-template-columns: 1fr; gap: 36px; }
  .pillar.flip .pillar-visual { order: 0; }
  .pillar + .pillar { margin-top: 64px; }
}
.pillar-tag {
  display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--brand-700); background: var(--brand-050); padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}
.pillar h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; }
.pillar-copy > p { color: var(--muted); font-size: 17px; margin-top: 14px; max-width: 48ch; }
.pillar-points { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; }
.pillar-points li { display: grid; grid-template-columns: 38px 1fr; gap: 14px; align-items: start; }
.pillar-points .pi {
  width: 38px; height: 38px; border-radius: 10px; background: var(--brand-050); color: var(--brand-700);
  display: grid; place-items: center;
}
.pillar-points strong { display: block; font-size: 16px; }
.pillar-points span { color: var(--muted); font-size: 14.5px; }
.pillar-visual { display: flex; justify-content: center; }

/* Receipt-scan illustration (pure CSS, no screenshot needed) */
.scan-demo { position: relative; width: 100%; max-width: 420px; padding: 8px 0 24px; }
.receipt {
  width: 210px; background: #fff; border: 1px solid var(--line); border-radius: 6px;
  padding: 18px 18px 26px; box-shadow: var(--shadow); transform: rotate(-4deg);
  font-family: "Courier New", ui-monospace, monospace; font-size: 12px; color: #3b4741;
  position: relative;
}
.receipt::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 8px;
  background: radial-gradient(circle at 6px 0, transparent 6px, #fff 6.5px) 0 0 / 12px 8px repeat-x;
}
.receipt-head { text-align: center; font-weight: 700; letter-spacing: .08em; margin-bottom: 10px; }
.receipt-line { display: flex; justify-content: space-between; padding: 3px 0; }
.receipt-line.total { border-top: 1px dashed #b9c4bd; margin-top: 8px; padding-top: 8px; font-weight: 700; }
.scan-frame {
  position: absolute; inset: -10px -12px -14px -12px; border: 2.5px solid var(--brand-500); border-radius: 10px;
  pointer-events: none;
}
.autofill {
  position: absolute; right: 0; bottom: 0; width: 230px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; padding: 16px; box-shadow: 0 20px 40px rgba(16,32,26,.14);
}
.autofill-title { font-size: 12px; font-weight: 700; color: var(--brand-700); margin-bottom: 10px; }
.autofill-row { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; padding: 6px 0; border-top: 1px solid var(--line); }
.autofill-row:first-of-type { border-top: 0; }
.autofill-row span:first-child { color: var(--faint); }
.autofill-row span:last-child { font-weight: 600; }
@media (max-width: 460px) {
  .autofill { position: relative; width: 100%; margin-top: 28px; }
  .receipt { margin: 0 auto; }
}

/* Tax-health illustration */
.health-card {
  width: 100%; max-width: 400px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
}
.health-top { display: flex; gap: 18px; align-items: center; margin-bottom: 16px; }
.gauge {
  width: 84px; height: 84px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: conic-gradient(var(--brand-500) 0 86%, var(--line) 86% 100%);
}
.gauge span {
  width: 64px; height: 64px; border-radius: 50%; background: var(--surface); display: grid; place-items: center;
  font-weight: 800; font-size: 19px;
}
.health-top h4 { margin: 0; font-size: 17px; }
.health-top p { color: var(--muted); font-size: 13.5px; }
.health-list { list-style: none; padding: 0; margin: 0; }
.health-list li { display: flex; justify-content: space-between; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px; }
.health-list .ok { color: var(--brand-600); font-weight: 700; }
.health-list .todo { color: #b45309; font-weight: 700; }

/* ── Pricing teaser band (home) ─────────────────── */
.price-teaser {
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 34px; box-shadow: var(--shadow);
}
.price-teaser h3 { font-size: 24px; font-weight: 800; }
.price-teaser p { color: var(--muted); margin-top: 6px; }

/* ── Pricing page ────────────────────────────────── */
.pricing-hero { padding: 72px 0 24px; text-align: center; }
.pricing-hero h1 { font-size: clamp(32px, 5vw, 48px); font-weight: 900; max-width: 18ch; margin: 0 auto; }
.pricing-hero .lede { color: var(--muted); font-size: 18px; max-width: 52ch; margin: 18px auto 0; }
.billing-toggle {
  display: inline-flex; padding: 4px; margin-top: 30px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 999px; gap: 4px;
}
.billing-toggle button {
  font: inherit; font-weight: 700; font-size: 14.5px; border: 0; background: transparent; color: var(--muted);
  padding: 9px 20px; border-radius: 999px; cursor: pointer;
}
.billing-toggle button[aria-pressed="true"] { background: var(--brand-600); color: #fff; }
.billing-toggle .save { font-size: 12px; font-weight: 800; margin-left: 6px; color: var(--brand-500); }
.billing-toggle button[aria-pressed="true"] .save { color: #c9f2d7; }

.plan-wrap { padding: 28px 0 64px; }
.plan {
  max-width: 560px; margin: 0 auto; background: var(--surface); border: 2px solid var(--brand-600);
  border-radius: 22px; padding: 36px; box-shadow: 0 24px 60px rgba(16,32,26,.12); position: relative;
}
.plan-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  background: var(--brand-600); color: #fff; font-size: 12.5px; font-weight: 800; letter-spacing: .04em;
  text-transform: uppercase; padding: 6px 14px; border-radius: 999px;
}
.plan-name { font-size: 22px; font-weight: 800; }
.plan-desc { color: var(--muted); margin-top: 4px; }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin-top: 22px; }
.plan-price .amount { font-size: 54px; font-weight: 900; letter-spacing: -0.03em; line-height: 1; }
.plan-price .per { color: var(--muted); font-weight: 600; }
.plan-sub { color: var(--faint); font-size: 14px; margin-top: 8px; min-height: 1.6em; }
.plan .btn { width: 100%; justify-content: center; margin-top: 24px; }
.plan-trial { text-align: center; color: var(--muted); font-size: 13.5px; margin-top: 12px; }
@media (max-width: 560px) { .plan { padding: 30px 22px; } }

.compare-note { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .compare-note { grid-template-columns: 1fr; } }

/* ── Live demo band ─────────────────────────────── */
.demo-band { background: linear-gradient(135deg, var(--brand-800), var(--brand-700)); color: #eaf5ee; padding: 56px 0; }
.demo-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.demo-band h2 { color: #fff; font-size: clamp(24px, 3vw, 32px); font-weight: 800; }
.demo-band p { color: #b9d6c4; margin-top: 10px; max-width: 54ch; font-size: 16.5px; }
.btn-light { background: #fff; color: var(--brand-700); border-color: #fff; white-space: nowrap; }
.btn-light:hover { background: var(--brand-050); text-decoration: none; }
@media (max-width: 760px) { .demo-band-inner { flex-direction: column; align-items: flex-start; } }

/* ── iPhone app gallery: fanned row of real screenshots ── */
.phones-section { padding-top: 76px; padding-bottom: 64px; background: var(--surface); overflow: hidden; }
.center-eyebrow { display: table; margin: 0 auto 14px; }
.phones-fan {
  display: flex; justify-content: center; align-items: flex-start;
  max-width: 1320px; margin: 0 auto;
  /* Room below for the lowered outer phones' bottoms and shadows */
  padding: 12px 24px 40px;
}
.fan-phone { flex: 0 0 236px; margin: 0 -16px; position: relative; }
.fan-phone:nth-child(3) { z-index: 3; }
.fan-phone:nth-child(2), .fan-phone:nth-child(4) { z-index: 2; transform: translateY(28px) scale(0.93); }
.fan-phone:nth-child(1), .fan-phone:nth-child(5) { z-index: 1; transform: translateY(58px) scale(0.86); }
.iphone.iphone-fan {
  width: 100%; padding: 5px; border-radius: 38px;
  background: #1b1b1e;
  box-shadow: 0 2px 6px rgba(16,32,26,.10), 0 26px 50px rgba(16,32,26,.20), inset 0 0 0 1.5px rgba(255,255,255,.08);
}
.iphone.iphone-fan .iphone-screen { border-radius: 33px; }
.iphone.iphone-fan .iphone-island { top: 13px; width: 66px; height: 19px; border-radius: 11px; }
.iphone.iphone-fan::before, .iphone.iphone-fan::after { display: none; }
.fan-phone { margin-top: 0; margin-bottom: 0; }
.fan-caption {
  margin: 16px auto 0; max-width: 188px; text-align: center; display: grid; gap: 3px;
}
.fan-caption strong { font-size: 15px; }
.fan-caption span { font-size: 13px; color: var(--muted); line-height: 1.45; }
.phones-note { margin-top: 18px; font-size: 13.5px; color: var(--faint); }
/* Tablet / phone: a swipeable row of same-size phones (no fan, no overlap) */
@media (max-width: 1000px) {
  .phones-fan {
    justify-content: flex-start; height: auto; overflow-x: auto; overflow-y: hidden;
    padding: 12px 24px 18px; scroll-snap-type: x mandatory; gap: 18px;
    scrollbar-width: none;
  }
  .phones-fan::-webkit-scrollbar { display: none; }
  .fan-phone, .fan-phone:nth-child(n) { margin: 0; transform: none; flex-basis: 220px; scroll-snap-align: center; }
}
@media (max-width: 520px) {
  .fan-phone, .fan-phone:nth-child(n) { flex-basis: 68vw; }
}

/* ── Pricing: plan assurances + "Everything in MileAudit Pro" cards ── */
.plan-assurances { list-style: none; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.plan-assurances li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--muted); }
.plan-assurances li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--brand-050); color: var(--brand-600); display: grid; place-items: center; font-size: 11px; font-weight: 800;
}
.included { padding: 24px 0 80px; }
.fcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fcard {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  padding: 30px 28px 28px; box-shadow: var(--shadow); overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.fcard::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--brand-600), var(--brand-500));
}
.fcard:hover { transform: translateY(-3px); border-color: #cfe6d6; box-shadow: 0 2px 4px rgba(16,32,26,.05), 0 22px 44px rgba(16,32,26,.12); }
.fcard-ico {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
  color: #fff; background: linear-gradient(145deg, var(--brand-500), var(--brand-700));
  box-shadow: 0 8px 18px rgba(21,128,61,.28);
}
.fcard h3 { font-size: 20px; font-weight: 800; margin-top: 18px; }
.fcard-tag { color: var(--muted); font-size: 14.5px; margin-top: 4px; }
.fcard-list { list-style: none; margin: 20px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 11px; }
.fcard-list li { position: relative; padding-left: 30px; font-size: 15px; line-height: 1.45; }
.fcard-list li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--brand-050) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315803d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
  border: 1px solid #cfe6d6;
}
.included-cta { margin-top: 36px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 900px) { .fcards { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }
@media (prefers-reduced-motion: reduce) { .fcard, .fcard:hover { transition: none; transform: none; } }

/* ── Audience ("MileAudit for …") pages ──────────── */
/* Generated by scripts/build-audience-pages.mjs */
.ind-hero { padding: 48px 0 64px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13.5px; color: var(--faint); margin-bottom: 18px; }
.crumbs a { color: var(--muted); font-weight: 600; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
@media (max-width: 900px) { .crumbs { justify-content: center; } }
.iphone.ind-phone { width: 290px; }
@media (max-width: 520px) { .iphone.ind-phone { width: 240px; } }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  background: var(--surface); border: 1px solid #d5ecdc; color: var(--brand-700);
  font-weight: 600; font-size: 14.5px; padding: 8px 14px; border-radius: 999px;
}
section.soft .chips li { background: var(--brand-050); }
.know-list li { font-weight: 400; color: #33413a; line-height: 1.6; margin: 16px 0; }
.know-list li::before { top: 2px; }
/* Audience cards that link to their page */
a.audience-link { display: block; color: inherit; }
a.audience-link:hover { text-decoration: none; }
a.audience-link h4::after { content: " →"; color: var(--brand-600); opacity: 0; transition: opacity .15s ease; }
a.audience-link:hover h4::after, a.audience-link:focus-visible h4::after { opacity: 1; }
a.audience-link:focus-visible { outline: 2px solid var(--brand-600); outline-offset: 2px; }
@media (min-width: 1000px) { .audiences { grid-template-columns: repeat(4, 1fr); } }

/* ── Site footer (markup written by scripts/build-audience-pages.mjs) ── */
.site-footer { background: var(--brand-900); color: #a9ccb8; padding: 56px 0 28px; }
.footer-top {
  display: grid; gap: 40px 32px;
  grid-template-columns: 1.1fr .75fr 1.75fr .7fr;
  grid-template-areas: "about product who company";
}
.footer-about { grid-area: about; }
.footer-product { grid-area: product; }
.footer-who { grid-area: who; }
.footer-company { grid-area: company; }
.footer-brand { display: inline-block; }
.footer-brand img { display: block; width: 160px; height: auto; }
.footer-blurb { color: #a9ccb8; font-size: 14.5px; line-height: 1.55; margin-top: 14px; max-width: 30ch; }
.footer-cta { margin-top: 20px; padding: 10px 18px; font-size: 14.5px; }
.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col h5 { margin: 0 0 3px; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #7fae93; }
.footer-col a { color: #d3e6da; font-size: 14.5px; line-height: 1.35; }
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-who-list { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(4, auto); grid-auto-flow: column; gap: 11px 24px; }
.footer-bottom {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px;
  font-size: 13px; color: #7fae93;
}
.footer-bottom p:last-child { max-width: 62ch; }
@media (max-width: 980px) {
  .footer-top {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-areas: "about about about" "product who company";
  }
  .footer-who-list { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; }
}
@media (max-width: 640px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "about about" "product company" "who who";
  }
  .footer-who-list { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(4, auto); grid-auto-flow: column; }
  .footer-bottom { flex-direction: column; }
}
