:root {
  --canvas: #f3f3f1;
  --surface: #ffffff;
  --ink: #161616;
  --body: #4a4a4a;
  --muted: #6b6b6b;
  --faint: #8c8c8c;
  --line: #e2e2df;
  --green: #9fe870;
  --green-deep: #3f7d1f;
  --green-tint: #e8f8d8;
  --peach: #fbe0d0;
  --peach-ink: #a8501c;
  --orange: #d9763a;
  --display: "Space Grotesk", system-ui, sans-serif;
  --text: "DM Sans", system-ui, sans-serif;
  --gutter: max(20px, calc((100vw - 1280px) / 2));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: var(--text); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
sup, .cite { font-size: 0.68em; font-weight: 700; color: var(--green-deep); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.eyebrow { font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.eyebrow--green { color: var(--green); }
.eyebrow--green sup { color: var(--green); }

.chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; font-size: 13px; line-height: 16px; font-weight: 600; white-space: nowrap; }
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 999px; background: currentColor; }
.chip--green { background: var(--green-tint); color: var(--green-deep); }
.chip--peach { background: var(--peach); color: var(--peach-ink); }
.chip--peach::before { background: var(--orange); }
.chip--grey { background: #ececec; color: var(--body); }
.chip--grey::before { background: var(--faint); }

.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600; letter-spacing: -0.03em; }
.logo svg { width: 40px; height: 36px; }
.logo--light { color: #fff; font-size: 28px; }
.logo--dark { color: var(--ink); font-size: 28px; font-weight: 700; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__scrim { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(22,22,22,.7) 0%, rgba(22,22,22,.4) 38%, rgba(22,22,22,0) 62%),
  linear-gradient(180deg, rgba(243,243,241,0) 72%, var(--canvas) 100%); }
.hero__nav { position: relative; display: flex; justify-content: space-between; align-items: center; padding: 40px var(--gutter) 0; }
.pill-link { display: inline-flex; align-items: center; height: 46px; padding: 0 22px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 15px; font-weight: 600; }
.hero__copy { position: relative; padding: 92px var(--gutter) 0; color: #fff; }
.hero__copy h1 { font-family: var(--display); font-weight: 700; font-size: clamp(44px, 6.4vw, 92px); line-height: 0.98; letter-spacing: -0.045em; }
.hero__sub { margin-top: 24px; font-size: 24px; line-height: 32px; }
.hero__reserve { position: relative; padding: 36px var(--gutter) 110px; }

.reserve-card { width: min(720px, 100%); display: flex; flex-direction: column; gap: 18px; padding: 24px; border-radius: 24px; background: #fff; box-shadow: 0 4px 24px rgba(0,0,0,.06); }
.reserve-card__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.price { font-size: 15px; color: var(--body); }
.price strong { margin-right: 6px; font-family: var(--display); font-size: 32px; letter-spacing: -0.03em; color: var(--ink); }
.installs { font-size: 14px; font-weight: 600; color: var(--green-deep); }
.reserve-card__fields { display: flex; gap: 12px; }
.reserve-card input, .reserve-card select { height: 56px; padding: 0 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; font: 16px var(--text); color: var(--ink); }
.reserve-card input { flex: 1; min-width: 0; }
.reserve-card input::placeholder { color: var(--faint); }
.reserve-card input[aria-invalid="true"] { border-color: var(--orange); }
.reserve-card select { width: 170px; flex-shrink: 0; appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none'%3E%3Cpath d='M3 4.5 6 7.5l3-3' stroke='%238C8C8C' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 18px center; }
.reserve-card button { height: 56px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--green); color: var(--ink); font: 600 17px var(--text); cursor: pointer; flex-shrink: 0; }
.reserve-card button:disabled { opacity: .6; cursor: progress; }
.reserve-card__status { font-size: 15px; font-weight: 600; }
.reserve-card__status[data-tone="ok"] { color: var(--green-deep); }
.reserve-card__status[data-tone="error"] { color: var(--peach-ink); }
.reserve-card__ticks { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--body); }
.reserve-card__ticks li::before { content: "✓"; margin-right: 6px; font-weight: 700; color: var(--green-deep); }

.smog-pill { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; align-items: center; gap: 18px; width: max-content; max-width: calc(100% - 40px); padding: 10px 28px 10px 10px; border-radius: 999px; background: #fff; box-shadow: 0 6px 24px rgba(0,0,0,.1); font-size: 18px; line-height: 24px; }
.smog-pill .chip { padding: 10px 18px; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; }

/* ---------- Sections ---------- */
.section { padding: 56px var(--gutter) 96px; }
.compare-title { display: none; }
.compare { display: grid; grid-template-columns: 560px 1fr; border-radius: 28px; overflow: hidden; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.05); }
.compare__col h3 { display: flex; align-items: center; height: 96px; padding: 0 36px; font-family: var(--display); font-size: 24px; }
.compare__col--old h3 { color: var(--muted); font-weight: 600; }
.compare__col li { display: flex; align-items: center; gap: 14px; height: 68px; padding: 0 36px; border-top: 1px solid #ededeb; font-size: 18px; }
.compare__col li::before { flex-shrink: 0; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.compare__col--old li { color: var(--body); }
.compare__col--old li::before { content: "✕"; background: #ececec; color: var(--faint); }
.compare__col--new { background: var(--green-tint); }
.compare__col--new li { border-color: #d4edbc; font-weight: 600; }
.compare__col--new li::before { content: "✓"; background: var(--green-deep); color: #fff; }
.compare__col--new .logo svg { width: 36px; height: 33px; }

.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 28px; }
.tile { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 32px 24px; border-radius: 24px; background: #fff; text-align: center; box-shadow: 0 1px 3px rgba(0,0,0,.05); font-size: 15px; line-height: 22px; color: var(--muted); }
.tile strong { margin-top: 12px; font-family: var(--display); font-size: 20px; line-height: 26px; font-weight: 600; color: var(--ink); }
.tile__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 999px; background: var(--green-tint); color: var(--green-deep); }
.tile__icon svg { width: 26px; height: 26px; }

.evidence { display: grid; grid-template-columns: 300px repeat(3, 1fr); margin-top: 28px; border-radius: 24px; overflow: hidden; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.05); }
.evidence__head { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 28px 32px; background: var(--ink); }
.evidence__head strong { font-family: var(--display); font-size: 26px; line-height: 30px; color: #fff; }
.evidence__item { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px; padding: 28px 32px; font-size: 16px; line-height: 23px; font-weight: 500; }
.evidence__item + .evidence__item { border-left: 1px solid #ededeb; }

.how { display: flex; flex-direction: column; align-items: center; gap: 20px; background: #fff; text-align: center; padding-top: 96px; }
.how__title { font-family: var(--display); font-size: clamp(42px, 6vw, 88px); line-height: 1; letter-spacing: -0.045em; }
.how__lede { max-width: 720px; font-size: 22px; line-height: 32px; color: var(--body); }
.diagram { width: 100%; margin-top: 20px; border-radius: 32px; background: var(--canvas); }
.diagram--narrow { display: none; }
.diagram__label text { font-family: var(--display); font-weight: 700; font-size: 30px; letter-spacing: -0.02em; }
.diagram__label--sm text { font-size: 17px; }

.why__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 80px; }
.why__head h2 { max-width: 760px; margin-top: 20px; font-family: var(--display); font-size: clamp(36px, 4.5vw, 64px); line-height: 1.03; letter-spacing: -0.045em; }
.why__head > div:last-child { max-width: 420px; }
.why__lede { font-size: 18px; line-height: 28px; color: var(--body); }
.legend { display: flex; gap: 10px; margin-top: 20px; }
.group { margin-top: 64px; }
.group__head { display: flex; align-items: baseline; gap: 16px; padding-top: 24px; border-top: 2px solid var(--ink); }
.group__head h3 { font-family: var(--display); font-weight: 600; font-size: 28px; line-height: 34px; letter-spacing: -0.02em; }
.group__head p { font-size: 16px; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 28px; }
.card { display: flex; flex-direction: column; gap: 16px; }
.card img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 20px; }
.card__meta { display: flex; justify-content: space-between; align-items: center; font-family: var(--display); font-size: 15px; color: var(--faint); }
.card h4 { font-family: var(--display); font-weight: 600; font-size: 24px; line-height: 30px; letter-spacing: -0.02em; }
.card p { font-size: 16px; line-height: 24px; color: var(--body); }
.limits { display: flex; gap: 48px; margin-top: 64px; padding: 32px 36px; border-radius: 24px; background: var(--peach); }
.limits h3 { flex: 0 0 260px; font-family: var(--display); font-weight: 600; font-size: 22px; line-height: 28px; }
.limits p { font-size: 16px; line-height: 25px; color: #3a2a20; }
.footnote { margin-top: 20px; font-size: 13px; line-height: 20px; color: var(--muted); }

.cta { display: flex; flex-direction: column; align-items: center; gap: 32px; padding: 80px var(--gutter) 40px; background: var(--ink); color: #fff; text-align: center; }
.cta h2 { font-family: var(--display); font-size: clamp(36px, 4vw, 56px); line-height: 1.05; letter-spacing: -0.04em; }
.cta__box { display: flex; align-items: center; gap: 20px; padding: 10px 10px 10px 32px; border-radius: 999px; background: #fff; color: var(--ink); }
.cta__price { display: flex; flex-direction: column; gap: 2px; text-align: left; }
.cta__price strong { font-family: var(--display); font-size: 32px; line-height: 36px; letter-spacing: -0.03em; }
.cta__button { display: inline-flex; align-items: center; height: 64px; padding: 0 36px; border-radius: 999px; background: var(--green); font-size: 18px; font-weight: 600; }
.cta__notes { display: flex; justify-content: space-between; gap: 16px; width: 100%; padding-top: 32px; border-top: 1px solid #2e2e2e; font-size: 15px; color: #bdbdba; }
.sources { width: 100%; text-align: left; font-size: 12px; line-height: 18px; color: var(--faint); }
.legal { width: 100%; text-align: left; font-size: 12px; color: var(--faint); }

/* ---------- Mobile (matches the 390px design) ---------- */
@media (max-width: 899px) {
  .hide-sm { display: none; }
  .hero__photo { height: 460px; object-position: center top; }
  .hero__scrim { height: 460px; background: linear-gradient(180deg, rgba(22,22,22,.35) 0%, rgba(22,22,22,0) 30%, rgba(22,22,22,0) 45%, rgba(22,22,22,.8) 100%); }
  .hero__nav { position: absolute; inset: 16px 20px auto; padding: 0; }
  .logo--light { font-size: 20px; gap: 8px; }
  .logo--light svg { width: 30px; height: 27px; }
  .pill-link { height: 36px; padding: 0 16px; font-size: 13px; }
  .hero__copy { display: flex; flex-direction: column; justify-content: flex-end; height: 460px; padding: 0 20px 24px; }
  .hero__copy h1 { font-size: 38px; line-height: 40px; }
  .hero__sub { margin-top: 10px; font-size: 17px; line-height: 24px; }
  .hero__reserve { display: flex; flex-direction: column; gap: 16px; padding: 20px 20px 28px; background: var(--ink); }
  .reserve-card { padding: 20px; border-radius: 22px; gap: 14px; }
  .price strong { font-size: 30px; }
  .price { font-size: 14px; }
  .installs { font-size: 13px; }
  .reserve-card__fields { flex-direction: column; }
  .reserve-card input, .reserve-card select { flex: none; height: 52px; width: 100%; }
  .reserve-card__ticks { justify-content: center; font-size: 13px; gap: 4px 14px; }
  .smog-pill { position: static; transform: none; flex-direction: column; align-items: flex-start; gap: 8px; width: auto; max-width: none; padding: 14px 16px; border-radius: 18px; background: #262626; color: #fff; font-size: 15px; line-height: 21px; box-shadow: none; }
  .smog-pill .chip { padding: 5px 12px; font-size: 12px; }

  .section { padding: 48px 20px 56px; }
  .compare-title { display: block; margin-bottom: 20px; font-family: var(--display); font-size: 30px; line-height: 34px; letter-spacing: -0.03em; }
  .compare { grid-template-columns: 1fr; gap: 12px; background: none; box-shadow: none; border-radius: 0; overflow: visible; }
  .compare__col { padding: 20px; border-radius: 22px; background: #fff; }
  .compare__col--new { background: var(--green-tint); }
  .compare__col h3 { height: auto; padding: 0 0 6px; font-size: 18px; }
  .compare__col--new h3 { font-size: 20px; }
  .compare__col li { height: auto; padding: 6px 0; border: 0; font-size: 16px; line-height: 22px; gap: 12px; }
  .compare__col li::before { width: 22px; height: 22px; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
  .tile { align-items: flex-start; text-align: left; padding: 18px; border-radius: 20px; font-size: 14px; line-height: 19px; }
  .tile strong { margin-top: 6px; font-size: 17px; line-height: 22px; }
  .tile__icon { width: 40px; height: 40px; }
  .tile__icon svg { width: 20px; height: 20px; }
  .evidence { grid-template-columns: 1fr; margin-top: 12px; border-radius: 20px; }
  .evidence__head { padding: 18px 20px; }
  .evidence__head strong { font-size: 22px; line-height: 26px; }
  .evidence__item { flex-direction: row; align-items: center; gap: 12px; padding: 16px 20px; font-size: 15px; line-height: 21px; }
  .evidence__item + .evidence__item { border-left: 0; border-top: 1px solid #ededeb; }
  .evidence__item .chip { padding: 4px 10px; font-size: 12px; }

  .how { padding-top: 56px; }
  .how__title { font-size: 42px; }
  .how__lede { font-size: 17px; line-height: 25px; }
  .diagram--wide { display: none; }
  .diagram--narrow { display: block; max-width: 350px; background: none; }
  .diagram--narrow svg { border-radius: 24px; background: var(--canvas); }
  .diagram__key { display: flex; flex-direction: column; gap: 14px; margin-top: 20px; text-align: left; }
  .diagram__key li { display: flex; align-items: center; gap: 14px; font-family: var(--display); font-weight: 600; font-size: 20px; }
  .diagram__key li.green { color: var(--green-deep); }
  .num { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 700; }
  .num--grey { background: var(--faint); }
  .num--green { background: var(--green-deep); }

  .why__head { flex-direction: column; align-items: stretch; gap: 14px; }
  .why__head h2 { margin-top: 14px; font-size: 36px; line-height: 38px; }
  .why__lede { font-size: 16px; line-height: 24px; }
  .legend .chip { padding: 5px 10px; font-size: 12px; }
  .group { margin-top: 40px; }
  .group__head { flex-direction: column; gap: 4px; padding-top: 16px; }
  .group__head h3 { font-size: 22px; line-height: 28px; }
  .group__head p { font-size: 14px; }
  .cards { grid-template-columns: 1fr; gap: 28px; }
  .card { gap: 10px; }
  .card img { border-radius: 18px; }
  .card h4 { font-size: 21px; line-height: 26px; }
  .card p { font-size: 15px; line-height: 22px; }
  .limits { flex-direction: column; gap: 10px; margin-top: 40px; padding: 20px; border-radius: 20px; }
  .limits h3 { flex: none; font-size: 19px; }
  .limits p { font-size: 15px; line-height: 22px; }
  .footnote { font-size: 12px; }

  .cta { gap: 24px; padding: 56px 20px 32px; }
  .cta h2 { font-size: 36px; line-height: 38px; }
  .cta__box { flex-direction: column; align-items: stretch; gap: 12px; width: 100%; max-width: 350px; padding: 16px; border-radius: 24px; }
  .cta__price { flex-direction: row; justify-content: space-between; align-items: baseline; }
  .cta__price strong { font-size: 28px; }
  .cta__button { justify-content: center; height: 56px; font-size: 17px; }
  .cta__notes { flex-direction: column; align-items: center; padding-top: 20px; font-size: 14px; text-align: center; }
  .sources { font-size: 11px; }
}
