/* ==========================================================================
   CartID for Klaviyo — Wise-system landing page
   Tokens mirror the Refero extraction of wise.com (variables-2.css).
   ========================================================================== */

:root {
  /* Colors */
  --forest: #163300;
  --lime: #9fe870;
  --lime-deep: #8adf5a;
  --spruce: #054d28;
  --mist: #e2f6d5;
  --blue: #0b4c72;
  --red: #cb272f;
  --charcoal: #454745;
  --obsidian: #0e0f0c;
  --pebble: #868685;
  --slate: #6a6c6a;
  --slate-deep: #585a58; /* small text on tinted bands: keeps 4.5:1 on Mist and Fog */
  --fog: #e8ebe6;
  --paper: #ffffff;
  --gold: #ffd300;

  --on-dark: rgba(255, 255, 255, 0.84);
  --on-dark-muted: rgba(255, 255, 255, 0.66);
  --rule-dark: rgba(255, 255, 255, 0.18);
  --rule-light: rgba(14, 15, 12, 0.14);

  /* Type */
  --font-display: 'Archivo', 'Archivo Black', 'Arial Black', Impact, sans-serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Shape */
  --radius-pill: 9999px;
  --radius-card: 10px;
  --radius-large: 28px;

  /* Elevation (Wise: hairlines, rarely a soft shadow) */
  --shadow-subtle: rgba(14, 15, 12, 0.12) 0 0 0 1px;
  --shadow-lg: rgba(0, 0, 0, 0.08) 0 6px 20px 0;
  --shadow-xl: rgba(0, 0, 0, 0.15) 0 10px 32px 0, rgba(0, 0, 0, 0.04) 0 40px 40px 0;

  /* Layout */
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --band: clamp(72px, 10vw, 124px);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-quart: cubic-bezier(0.25, 1, 0.5, 1);

  /* z */
  --z-nav: 100;
  --z-menu: 110;
  --z-skip: 200;

  color-scheme: light;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -0.007em;
  font-feature-settings: "calt", "ss01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
img { height: auto; }
a { color: var(--forest); text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol, dl { margin: 0; padding: 0; }
li { list-style: none; }
dd { margin: 0; }
strong { color: var(--forest); font-weight: 600; }
:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; border-radius: 4px; }
.band--forest :focus-visible, .footer :focus-visible, .calc :focus-visible { outline-color: var(--lime); }

.skip {
  position: absolute; top: 8px; left: 8px; z-index: var(--z-skip);
  padding: 8px 16px; border-radius: var(--radius-pill);
  background: var(--forest); color: var(--paper);
  transform: translateY(-200%); transition: transform 0.2s;
}
.skip:focus { transform: none; }

.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }

/* ---------- Type ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 104%;
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: -0.028em;
  color: var(--obsidian);
}
.display--xl { font-size: clamp(2.9rem, 9vw, 6rem); line-height: 0.88; letter-spacing: -0.032em; }
.display--lg { font-size: clamp(2.2rem, 5vw, 3.75rem); }
.display--md { font-size: clamp(1.8rem, 3.6vw, 2.75rem); }
.display--sm { font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 0.95; }
.display--lime { color: var(--lime); }

.lead {
  font-size: clamp(1.0625rem, 1.2vw + 0.6rem, 1.25rem);
  line-height: 1.5;
  color: var(--charcoal);
  max-width: 60ch;
  text-wrap: pretty;
  margin-top: 24px;
}
.lead + .lead { margin-top: 16px; }
.lead--on-dark { color: var(--on-dark); }
.fineprint {
  font-size: 14px; line-height: 1.5; color: var(--slate-deep);
  margin-top: 20px; max-width: 62ch;
}
.fineprint--on-dark { color: var(--on-dark-muted); }
.caption { font-size: 15px; color: var(--slate-deep); margin-top: 16px; max-width: 46ch; }

/* ---------- Buttons, links, tags ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 24px; border-radius: var(--radius-pill); border: 1px solid transparent;
  font-weight: 500; font-size: 16px; line-height: 1.5; white-space: nowrap;
  cursor: pointer; transition: background-color 0.2s var(--ease-quart), color 0.2s, border-color 0.2s, transform 0.2s var(--ease-quart);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--lime); color: var(--forest); }
.btn--primary:hover { background: var(--lime-deep); }
.btn--outline { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn--outline:hover { background: var(--mist); }
.btn--sm { padding: 8px 16px; font-size: 15px; }
.btn--wide { width: 100%; }

.link-ul {
  color: var(--forest); font-weight: 500; font-size: 16px;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px;
  transition: text-decoration-color 0.2s;
}
.link-ul:hover { text-decoration-color: var(--lime-deep); }
.link-ul--big { display: inline-block; margin-top: 28px; font-size: 18px; }

.tag {
  display: inline-block; padding: 8px 14px; border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 500; line-height: 1;
}
.tag--mist { background: var(--mist); color: var(--forest); }
.tag--forest { background: var(--forest); color: var(--lime); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: var(--z-nav);
  background: var(--paper);
  transition: box-shadow 0.25s;
}
.nav.is-scrolled { box-shadow: var(--shadow-subtle); }
.nav__row { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--forest); }
.brand__mark { width: 28px; height: 28px; fill: var(--forest); flex: none; }
.brand__mark .brand__tag { fill: var(--lime); }
.brand__word {
  font-family: var(--font-display); font-weight: 900; font-stretch: 104%;
  font-size: 23px; letter-spacing: -0.03em; line-height: 1; color: var(--forest);
}
.brand--on-dark .brand__mark { fill: var(--paper); }
.brand--on-dark .brand__word { color: var(--lime); }

.seg {
  display: inline-flex; padding: 4px; border-radius: var(--radius-pill); background: var(--fog);
  margin-left: 8px;
}
.seg__item {
  padding: 7px 16px; border-radius: var(--radius-pill);
  font-size: 15px; font-weight: 600; color: var(--forest); line-height: 1.4;
  transition: background-color 0.2s, color 0.2s;
}
.seg__item:hover { background: var(--mist); }
.seg__item.is-active { background: var(--forest); color: var(--paper); }

.nav__links { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.nav__links > a:not(.btn) { font-size: 16px; font-weight: 500; color: var(--obsidian); white-space: nowrap; }
.nav__links > a:not(.btn):hover { color: var(--forest); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }

.nav__burger {
  display: none; position: relative; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent;
  border-radius: 50%; cursor: pointer;
}
.nav__burger span {
  position: absolute; left: 11px; width: 22px; height: 2px; background: var(--forest); border-radius: 1px;
  transition: transform 0.25s var(--ease-quart), top 0.25s var(--ease-quart);
}
.nav__burger span:first-child { top: 17px; }
.nav__burger span:last-child { top: 25px; }
.nav__burger[aria-expanded="true"] span { top: 21px; }
.nav__burger[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }
.nav__mobile {
  display: flex; flex-direction: column; gap: 4px;
  padding: 8px var(--gutter) 20px; background: var(--paper); box-shadow: var(--shadow-subtle);
}
.nav__mobile a:not(.btn) { padding: 12px 0; font-size: 18px; font-weight: 500; color: var(--obsidian); border-top: 1px solid var(--rule-light); }
.nav__mobile .btn { margin-top: 12px; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(40px, 7vw, 84px); overflow: hidden; }
.hero__copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero__kicker { font-size: 14px; padding: 9px 16px; animation: fade-up 0.7s var(--ease-out) both; }
.hero__kicker:hover { background: var(--lime); }
.hero .display--xl { margin-top: 28px; max-width: 14ch; }
.hero .line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.hero .line > span { display: block; transform: translateY(112%); animation: rise 1s var(--ease-out) forwards; }
.hero .line:nth-child(2) > span { animation-delay: 0.1s; }
.hero__lead {
  margin-top: 28px; max-width: 58ch;
  font-size: clamp(1.0625rem, 1.1vw + 0.7rem, 1.25rem); line-height: 1.5; color: var(--charcoal);
  text-wrap: pretty;
  animation: fade-up 0.9s var(--ease-out) 0.35s both;
}
.hero__actions {
  margin-top: 32px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: center;
  animation: fade-up 0.9s var(--ease-out) 0.45s both;
}

.hero__stage {
  position: relative; width: min(880px, 100%); margin: clamp(8px, 2vw, 24px) auto 0;
  animation: cart-in 1.2s var(--ease-out) 0.3s both;
}
.hero__cart {
  width: min(720px, 82%); margin-inline: auto; position: relative; z-index: 1;
  animation: float 7s ease-in-out 1.6s infinite;
}
.hero__stage::after {
  /* grounded contact shadow under the transparent render */
  content: ""; position: absolute; left: 50%; bottom: 3%; width: 52%; height: 8%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(14, 15, 12, 0.16), rgba(14, 15, 12, 0) 70%);
  filter: blur(6px);
}

.hero__chip {
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 12px; border-radius: var(--radius-pill);
  background: var(--paper); box-shadow: var(--shadow-lg), var(--shadow-subtle);
  font-size: 14px; color: var(--charcoal); white-space: nowrap;
}
.hero__chip b { color: var(--obsidian); font-weight: 600; }
.chip__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--pebble); flex: none; }
.chip__dot--lime { background: var(--lime); box-shadow: 0 0 0 3px rgba(159, 232, 112, 0.35); }
.hero__chip--a { right: 6%; top: 18%; animation: float 8s ease-in-out 2s infinite reverse; }
.hero__chip--b { left: 4%; top: 46%; animation: float 6.5s ease-in-out 1.2s infinite; }
.hero__chip--b .chip__text { color: var(--forest); }

/* ---------- Trust strip ---------- */
.strip { border-top: 1px solid var(--rule-light); border-bottom: 1px solid var(--rule-light); }
.strip__list {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; padding: 18px 0;
  font-size: 15px; font-weight: 500; color: var(--charcoal);
}
.strip__list li { display: inline-flex; align-items: center; gap: 10px; }
.strip__list li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: inset 0 0 0 1.5px var(--forest); }

/* ---------- Bands & grids ---------- */
.band { padding-block: var(--band); }
.band--mist { background: var(--mist); }
.band--fog { background: var(--fog); }
.band--forest { background: var(--forest); color: var(--on-dark); }
.band--forest .display:not(.display--lime) { color: var(--paper); }

.grid-2 {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 6vw, 88px); align-items: center;
}
.grid-2--tight { gap: clamp(28px, 4vw, 56px); }
.grid-2--form { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: start; }
.grid-2--flip > :first-child { order: 1; }
.grid-2--flip > :last-child { order: 0; }
@media (min-width: 901px) {
  .grid-2--flip > :first-child { order: 0; }
  .grid-2--flip > :last-child { order: 1; }
}

/* ---------- Why ---------- */
.why__visual { align-self: center; }
.why__img {
  width: 100%; border-radius: var(--radius-large);
  -webkit-mask: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent), linear-gradient(transparent, #000 9%, #000 91%, transparent);
  -webkit-mask-composite: source-in; mask: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent), linear-gradient(transparent, #000 9%, #000 91%, transparent);
  mask-composite: intersect;
}

/* ---------- How it works ---------- */
.how { align-items: start; }
.how__head { max-width: 640px; }

/* Signal path: vertical numbered rail beside the copy */
.steps { position: relative; padding-top: 4px; }
.steps__list { margin: 0; padding: 0; }
.steps__rail { position: absolute; left: 23px; top: 46px; bottom: 46px; width: 2px; background: var(--rule-dark); overflow: hidden; }
.steps__pulse {
  position: absolute; left: -1px; top: -140px; width: 4px; height: 140px; border-radius: 2px;
  background: linear-gradient(to bottom, rgba(159, 232, 112, 0), var(--lime) 50%, rgba(159, 232, 112, 0));
  animation: rail-pulse 3.6s linear infinite;
}
.step {
  position: relative; display: grid; grid-template-columns: 48px 1fr; column-gap: 20px; row-gap: 2px;
  padding: 16px 0; align-items: center;
}
.step__n {
  grid-row: 1 / span 2; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--spruce); border: 2px solid rgba(255, 255, 255, 0.28); color: var(--lime);
  font-family: var(--font-display); font-weight: 900; font-size: 22px; line-height: 1; position: relative; z-index: 1;
}
.step--hot .step__n { background: var(--lime); border-color: var(--lime); color: var(--forest); }
.step b { color: var(--paper); font-weight: 600; font-size: 17px; line-height: 1.3; align-self: end; }
.step--hot b { color: var(--lime); }
.step > span:not(.step__n) { color: var(--on-dark-muted); font-size: 15px; line-height: 1.45; align-self: start; }

.trio {
  margin-top: clamp(64px, 8vw, 112px);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px);
}
.trio__item { border-top: 1px solid var(--rule-dark); padding-top: 24px; }
.trio__title {
  font-family: var(--font-display); font-weight: 900; font-stretch: 104%; text-transform: uppercase;
  font-size: clamp(1.6rem, 2.3vw, 2.1rem); line-height: 0.95; letter-spacing: -0.025em; color: var(--lime);
  max-width: 13ch; text-wrap: balance;
}
.trio__item p { margin-top: 18px; font-size: 16px; line-height: 1.55; color: var(--on-dark); max-width: 38ch; }

/* ---------- Savings ---------- */
.savings__img { width: 100%; }

/* ---------- Calculator (dark section card with inset white controls) ---------- */
.band--calc { padding-top: 0; }
.calc {
  background: var(--forest); color: var(--on-dark); border-radius: var(--radius-large);
  padding: clamp(28px, 5vw, 64px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px);
}
.calc__intro > p { margin-top: 20px; font-size: 17px; line-height: 1.5; color: var(--on-dark); max-width: 52ch; }
.calc__controls {
  margin-top: 32px; background: var(--paper); color: var(--charcoal);
  border-radius: var(--radius-card); padding: 24px;
}
.calc__two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }

.field { display: grid; gap: 8px; }
.field label, .field legend { font-size: 14px; font-weight: 500; color: var(--charcoal); }
.field input[type="text"], .field input[type="email"], .field input[type="number"], .field select {
  width: 100%; min-width: 0; padding: 12px 16px; border-radius: var(--radius-card);
  border: 1px solid var(--pebble); background: var(--paper); color: var(--obsidian); font-size: 16px; line-height: 1.5;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--forest); box-shadow: inset 0 0 0 1px var(--forest); }
.field input::placeholder { color: var(--slate); }
.field select {
  appearance: none; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23163300' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.field__wrap { position: relative; display: flex; align-items: center; }
.field__wrap input { padding-right: 40px; }
.field__unit { position: absolute; right: 16px; color: var(--slate); font-weight: 500; pointer-events: none; }
.field__unit--lead { right: auto; left: 16px; }
.field__wrap .field__unit--lead + input { padding-left: 32px; padding-right: 16px; }

.field--range { grid-template-columns: 1fr auto; align-items: end; }
.field--range label { grid-column: 1; }
.field__out {
  grid-column: 2; font-family: var(--font-display); font-weight: 900; font-stretch: 104%;
  font-size: 30px; color: var(--obsidian); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1;
}
.field--range input[type="range"] { grid-column: 1 / -1; }
.field__scale { grid-column: 1 / -1; display: flex; justify-content: space-between; font-size: 13px; color: var(--slate); }
.field__scale span:nth-child(2) { color: var(--forest); font-weight: 500; }

input[type="range"] {
  --pct: 44.4%;
  -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; margin: 4px 0 0; cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 6px; border-radius: 3px;
  background: linear-gradient(90deg, var(--lime) 0 var(--pct), var(--fog) var(--pct) 100%);
}
input[type="range"]::-moz-range-track { height: 6px; border-radius: 3px; background: var(--fog); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--lime); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 24px; height: 24px; border-radius: 50%; margin-top: -9px;
  background: var(--forest); border: 3px solid var(--paper); box-shadow: var(--shadow-subtle);
}
input[type="range"]::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%; background: var(--forest); border: 3px solid var(--paper); box-shadow: var(--shadow-subtle);
}
input[type="range"]:focus-visible { outline: 2px solid var(--forest); outline-offset: 2px; border-radius: 6px; }

.calc__results { padding-top: clamp(0px, 1vw, 10px); }
.result-big__label { font-size: 15px; color: var(--on-dark-muted); }
.result-big__value {
  margin-top: 10px; font-family: var(--font-display); font-weight: 900; font-stretch: 104%;
  font-size: clamp(3rem, 6.5vw, 5.25rem); line-height: 0.92; letter-spacing: -0.035em; color: var(--lime);
  font-variant-numeric: tabular-nums;
}
.result-line { margin-top: 22px; font-size: 17px; line-height: 1.55; color: var(--on-dark); max-width: 42ch; text-wrap: pretty; }
.result-line b { color: var(--paper); font-weight: 600; font-variant-numeric: tabular-nums; }

.elig { margin-top: 32px; border-top: 1px solid var(--rule-dark); padding-top: 24px; }
.elig__status { font-size: 17px; font-weight: 600; color: var(--paper); line-height: 1.45; max-width: 40ch; text-wrap: pretty; }
.elig__status.no { font-weight: 500; color: var(--on-dark); }
.elig .btn { margin-top: 18px; }

/* ---------- Better together: route ---------- */
.chain { margin-top: 32px; max-width: 520px; }
.chain li {
  position: relative; display: grid; grid-template-columns: 1fr; gap: 2px;
  padding: 14px 0 14px 32px; border-top: 1px solid rgba(22, 51, 0, 0.14);
}
.chain li::before {
  content: ""; position: absolute; left: 4px; top: 22px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--forest);
}
.chain li::after {
  content: ""; position: absolute; left: 8.5px; top: 32px; bottom: -22px; width: 1px; background: rgba(22, 51, 0, 0.3);
}
.chain li:last-child::after { display: none; }
.chain li.chain__end::before { background: var(--lime); box-shadow: 0 0 0 2px var(--forest); }
.chain__k { font-weight: 600; color: var(--forest); font-size: 16px; }
.chain__v { font-size: 15px; color: var(--charcoal); }
.together__img { width: 100%; }

/* ---------- Install: doors ---------- */
.install__visual { justify-self: end; width: min(100%, 520px); }
.doors {
  margin-top: clamp(48px, 6vw, 80px);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 48px);
}
.door { border-top: 1px solid var(--rule-light); padding-top: 24px; display: grid; gap: 12px; align-content: start; }
.door h3 { font-size: 22px; font-weight: 700; color: var(--obsidian); line-height: 1.25; }
.door__sub { font-size: 15px; font-weight: 500; color: var(--slate); margin-top: -8px; }
.door p:not(.door__sub) { font-size: 16px; line-height: 1.55; }
.door .tag { justify-self: start; margin-top: 6px; }
.code {
  margin: 0; background: var(--fog); border-radius: var(--radius-card); padding: 14px 16px;
  font-family: var(--font-mono); font-size: 13.5px; line-height: 1.5; color: var(--forest); overflow-x: auto;
}
.code code { font-family: inherit; }

/* ---------- Graph ledger ---------- */
.ledger { margin-top: 36px; }
.ledger__row {
  display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: baseline;
  padding: 18px 0; border-top: 1px solid var(--rule-dark);
}
.ledger__row dd { order: 1; min-width: 6.5ch; }
.ledger__row dt { order: 2; }
.ledger__row dd {
  font-family: var(--font-display); font-weight: 900; font-stretch: 104%;
  font-size: clamp(2.1rem, 3.6vw, 3.1rem); line-height: 1; letter-spacing: -0.03em; color: var(--lime);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.ledger__row dt { font-size: 16px; line-height: 1.5; color: var(--on-dark); }
.ledger--light { margin-top: 32px; max-width: 600px; }
.ledger--light .ledger__row { border-top-color: rgba(22, 51, 0, 0.16); padding: 16px 0; }
.ledger--light .ledger__row:last-child { border-bottom: 1px solid rgba(22, 51, 0, 0.16); }
.ledger--light .ledger__row dd { color: var(--obsidian); font-size: clamp(1.6rem, 2.3vw, 2rem); letter-spacing: -0.028em; min-width: 9.5ch; }
.ledger--light .ledger__row dt { color: var(--charcoal); font-size: 17px; }
.ledger--light .ledger__row--hot dd { color: var(--forest); }
.ledger--light .ledger__row--hot dd::after {
  content: ""; display: inline-block; width: 0.38em; height: 0.38em; margin-left: 0.24em; border-radius: 2px;
  background: var(--lime); box-shadow: 0 0 0 2px var(--forest); vertical-align: 0.08em;
}
.ledger--light + .fineprint { margin-top: 16px; }
.graph__img { width: min(100%, 560px); margin-inline: auto; }

/* ---------- Agencies ---------- */
.agencies__visual { justify-self: end; width: 100%; }
.agencies__img { width: 100%; }
.partner {
  margin-top: clamp(48px, 6vw, 80px); background: var(--mist); border-radius: var(--radius-large);
  padding: clamp(28px, 5vw, 56px);
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto; gap: clamp(28px, 4vw, 56px); align-items: center;
}
.partner__kicker { font-size: 14px; font-weight: 600; color: var(--forest); margin-bottom: 12px; }
.partner__points { display: grid; gap: 12px; }
.partner__points li { display: grid; grid-template-columns: 10px 1fr; gap: 14px; align-items: start; font-size: 16px; line-height: 1.5; color: var(--charcoal); }
.partner__points li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--forest); margin-top: 7px; }

/* ---------- Qualify ---------- */
.checks { margin-top: 32px; display: grid; gap: 14px; max-width: 52ch; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 14px; align-items: start; font-size: 17px; line-height: 1.5; color: var(--charcoal); }
.checks li::before {
  content: "✓"; width: 26px; height: 26px; border-radius: 50%; background: var(--forest); color: var(--lime);
  display: grid; place-items: center; font-size: 14px; font-weight: 700; margin-top: 0;
}

.form {
  background: var(--paper); border-radius: var(--radius-large); padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-subtle);
}
.form__title { font-size: 24px; font-weight: 700; color: var(--obsidian); line-height: 1.2; }
.form__grid { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.field--full { grid-column: 1 / -1; }
.field--radios { border: 0; padding: 0; margin: 0; gap: 10px; }
.field--radios legend { padding: 0; margin-bottom: 4px; }
.radio { display: flex; align-items: center; gap: 12px; font-size: 16px; color: var(--charcoal); cursor: pointer; }
.radio input { width: 20px; height: 20px; margin: 0; accent-color: var(--forest); }
.form .btn--wide { margin-top: 24px; }
.form .fineprint { margin-top: 14px; font-size: 13px; text-align: center; margin-inline: auto; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__error { margin-top: 16px; font-size: 15px; font-weight: 500; color: var(--red); }
.field.is-invalid input, .field.is-invalid select { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
.form--done { display: grid; gap: 12px; justify-items: start; align-content: center; min-height: 320px; }
.form--done p:not(.form__done-mark) { font-size: 17px; max-width: 40ch; }
.form__done-mark {
  width: 56px; height: 56px; border-radius: 50%; background: var(--forest); color: var(--lime);
  display: grid; place-items: center; font-size: 26px; font-weight: 700;
}

/* ---------- Footer ---------- */
.footer { background: var(--forest); color: var(--on-dark); padding-block: clamp(56px, 7vw, 88px) 32px; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.footer__brand p { margin-top: 20px; font-size: 14px; line-height: 1.55; color: var(--on-dark-muted); max-width: 44ch; }
.footer__col { display: grid; gap: 10px; align-content: start; }
.footer__col h4 { font-size: 14px; font-weight: 600; color: var(--paper); margin-bottom: 6px; }
.footer__col a { font-size: 15px; color: var(--on-dark); }
.footer__col a:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 4px; }
.footer__legal { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--rule-dark); font-size: 13px; color: var(--on-dark-muted); line-height: 1.55; }

/* ---------- Motion ---------- */
@keyframes rise { to { transform: translateY(0); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes cart-in { from { opacity: 0; transform: translateY(48px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes rail-pulse { from { top: -140px; } to { top: 100%; } }

/* Scroll-driven image reveals: visible by default, enhanced where supported */
@supports (animation-timeline: view()) {
  .why__img, .savings__img, .together__img, .install__img, .graph__img, .agencies__img {
    animation: img-reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 55%;
  }
  @keyframes img-reveal { from { opacity: 0.001; transform: translateY(28px) scale(0.985); } to { opacity: 1; transform: none; } }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .hero .line > span { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__links { gap: 20px; }
}
@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .calc { grid-template-columns: 1fr; }
  .partner { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .grid-2, .grid-2--form { grid-template-columns: 1fr; }
  .install__visual, .agencies__visual { justify-self: stretch; width: min(100%, 560px); margin-inline: auto; }
}
@media (max-width: 760px) {
  .trio, .doors { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .seg { display: none; }
  .hero__chip--a { display: none; }
  .hero__chip--b { left: 0; top: auto; bottom: 12%; font-size: 13px; }
  .hero__cart { width: 92%; }
  .calc__two { grid-template-columns: 1fr; }
  .form__grid { grid-template-columns: 1fr; }
  .ledger__row { grid-template-columns: 1fr; gap: 6px; }
  .footer__grid { grid-template-columns: 1fr; }
  .strip__list { justify-content: flex-start; gap: 10px 24px; }
}
@media (max-width: 480px) {
  body { font-size: 17px; }
  .hero__actions { gap: 18px; }
}
