:root {
  /* page */
  --paper: #fbfaf5;
  --text: #0f2a22;
  --muted: #586b63;
  --mist: #ece9dc;
  --line: #dedbcb;
  /* light cards that sit on colour: phone screen, chips, mock UI */
  --surface: #ffffff;
  --surface-ink: #0f2a22;
  --surface-muted: #586b63;
  --surface-2: #ece9dc;
  /* raised item on a mist panel */
  --raise: #ffffff;
  --raise-ink: #0f2a22;
  /* accent blocks */
  --accent: #7fe3a8;
  --accent-deep: color-mix(in srgb, var(--accent) 72%, var(--mint));
  --accent-hi: #bdf5d2;
  --on-accent: #0b2a1f;
  /* reward: money collected, the top rung, the action on dark blocks */
  --sun: #ffc94d;
  --sun-hi: #ffdb85;
  --on-sun: #0f2a22;
  /* dark blocks */
  --dark: #0f2a22;
  --dark-2: #1a3d32;
  --dark-line: transparent;
  --on-dark: #ffffff;
  --on-dark-muted: #b5c9c0;
  --frame: #0f2a22;
  /* primary button on the page background */
  --cta-bg: #0f2a22;
  --cta-fg: #ffffff;
  /* "you're good / paid" */
  --mint: #0b6b45;
  --mint-soft: #d3f1e0;
  --shadow: 10, 70, 45;

  --display: 'Gabarito', system-ui, sans-serif;
  --body: 'Figtree', system-ui, sans-serif;

  --r-xl: 44px;
  --r-lg: 28px;
  --r-md: 18px;
  --nav-h: 72px;
  --gutter: 16px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.45;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
ol, ul { list-style: none; padding: 0; }
svg { fill: currentColor; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.08; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(38px, min(4.6vw, 8.6svh), 66px); }
h2 { font-size: clamp(30px, min(3.3vw, 6svh), 46px); }
h3 { font-size: 21px; font-weight: 700; }
.sub { color: var(--muted); font-size: clamp(17px, 1.35vw, 20px); margin-top: 14px; text-wrap: pretty; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 500px; border: 2px solid transparent;
  font-weight: 600; font-size: 16px; line-height: 1.3; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), background .2s, box-shadow .25s;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn:focus-visible, .seg button:focus-visible, .stepper button:focus-visible, input:focus-visible {
  outline: 3px solid var(--text); outline-offset: 3px;
}
.panel-ink .btn:focus-visible { outline-color: var(--on-dark); }
.btn-lg { padding: 15px 28px; font-size: 17px; }
.btn-ink { background: var(--dark); color: var(--on-dark); }
.nav .btn-ink { background: var(--cta-bg); color: var(--cta-fg); }
.btn-ink:hover { box-shadow: 0 10px 24px -10px rgba(var(--shadow), .6); }
.btn-sun { background: var(--sun); color: var(--on-sun); }
.btn-sun:hover { background: var(--sun-hi); }
.btn-ghost { border-color: currentColor; }
.btn-ghost:hover { background: color-mix(in srgb, currentColor 9%, transparent); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center; gap: 28px; padding: 0 clamp(16px, 2.5vw, 36px);
  background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: saturate(1.4) blur(14px);
}
.logo {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--display); font-weight: 800; font-size: 25px; letter-spacing: -.02em;
}
.logo-mark { width: 32px; height: 32px; flex: none; }
.home-body { fill: var(--text); stroke: var(--text); }
.home-tick { stroke: var(--accent); }
.nav-links { display: flex; gap: 6px; margin-right: auto; }
.nav-links a { padding: 8px 14px; border-radius: 500px; font-weight: 600; font-size: 15px; color: var(--muted); transition: background .2s, color .2s; }
.nav-links a:hover { background: var(--mist); color: var(--text); }

/* ---------- decorative sparkles ---------- */
.deco { position: absolute; pointer-events: none; animation: twinkle 5s ease-in-out infinite; }
@keyframes twinkle { 50% { transform: scale(.8) rotate(12deg); opacity: .6; } }

/* ---------- 1 · hero ---------- */
/* copy sits on the page so it can carry colour; the phone gets the mint block */
.hero {
  position: relative;
  margin: 0 var(--gutter);
  height: calc(100svh - var(--nav-h) - var(--gutter));
  min-height: 520px; max-height: 800px;
  display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: clamp(20px, 3vw, 48px);
}
.hero-copy { padding-left: clamp(8px, 4.5vw, 72px); }
/* sparkles live inside the mint block, behind the phone and chips */
.hero .d1 { width: 48px; top: 4%; left: 40%; color: var(--surface); opacity: .9; }
.hero .d2 { width: 28px; bottom: 12%; left: 12%; color: var(--on-accent); animation-delay: -2s; }
.hero .d3 { width: 104px; top: 5%; right: 3%; color: var(--accent-deep); animation-delay: -3.5s; }

.eyebrow {
  display: inline-block; padding: 7px 14px; border-radius: 500px;
  background: var(--mint-soft); color: var(--mint); font-weight: 600; font-size: 14px; margin-bottom: 20px;
}
h1 .hl { color: var(--mint); }
.lede { font-size: clamp(18px, 1.55vw, 22px); max-width: 26em; margin-top: 20px; color: var(--muted); }
.lede em { font-style: normal; font-weight: 700; color: var(--text); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.load { opacity: 0; transform: translateY(18px); animation: rise .8s var(--ease) forwards; animation-delay: calc(var(--i) * .09s + .1s); }
@keyframes rise { to { opacity: 1; transform: none; } }

.hero-art {
  position: relative; align-self: stretch; --pw: min(290px, 31svh);
  display: grid; place-items: center; border-radius: var(--r-xl);
  background:
    radial-gradient(70% 70% at 70% 30%, var(--accent-hi) 0%, transparent 65%),
    radial-gradient(60% 60% at 0% 100%, var(--accent-deep) 0%, transparent 60%),
    var(--accent);
}

.phone {
  position: relative; width: var(--pw); aspect-ratio: 9 / 18.6;
  font-size: calc(var(--pw) / 18.2);
  border-radius: 3em; background: var(--frame); padding: .62em;
  box-shadow: 0 2.4em 4em -1.4em rgba(var(--shadow), .55), 0 0 0 1px rgba(255, 255, 255, .12) inset;
  transform: rotate(4deg); z-index: 2;
}
.island { position: absolute; top: 1.25em; left: 50%; width: 5.4em; height: 1.5em; margin-left: -2.7em; border-radius: 1em; background: var(--frame); z-index: 2; }
.screen {
  height: 100%; border-radius: 2.45em; background: var(--surface); color: var(--surface-ink); overflow: hidden;
  padding: 4.1em 1.25em 1.25em; display: flex; flex-direction: column;
}
.s-label { font-family: var(--display); font-weight: 800; font-size: 1.35em; line-height: 1.1; }
.s-meta { font-size: .8em; color: var(--surface-muted); margin-top: .25em; }
.s-kicker { font-size: .8em; font-weight: 600; color: var(--surface-muted); margin-top: 2.2em; }
.s-price { font-family: var(--display); font-weight: 800; font-size: 4.3em; line-height: 1; letter-spacing: -.03em; margin-top: .05em; color: var(--mint); }
.s-range { position: relative; height: .55em; border-radius: 1em; background: var(--surface-2); margin-top: 1em; }
.s-range i { position: absolute; left: 22%; right: 22%; top: 0; bottom: 0; border-radius: 1em; background: var(--mint); }
.s-range i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 1.15em; height: 1.15em; margin: -.575em; border-radius: 50%; background: var(--surface); border: .25em solid var(--surface-ink); }
.s-range-ends { display: flex; justify-content: space-between; padding: 0 16%; font-size: .72em; font-weight: 600; color: var(--surface-muted); margin-top: .5em; }
.s-good { display: flex; align-items: center; gap: .5em; margin-top: 1.3em; padding: .75em .85em; border-radius: .9em; background: var(--mint-soft); color: var(--mint); font-weight: 700; font-size: .86em; }
.s-good svg { width: 1.2em; height: 1.2em; flex: none; }
.s-btn { margin-top: auto; text-align: center; padding: .9em; border-radius: 5em; background: var(--surface-ink); color: var(--surface); font-weight: 700; font-size: .92em; }
.s-link { text-align: center; font-size: .8em; font-weight: 600; color: var(--surface-muted); margin-top: .8em; }

.chip {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px; border-radius: 20px; background: var(--surface); color: var(--surface-ink);
  box-shadow: 0 18px 40px -16px rgba(var(--shadow), .5);
  font-size: 15px; line-height: 1.25; white-space: nowrap;
  animation: bob 6s ease-in-out infinite; z-index: 3;
}
.chip b { display: block; font-weight: 700; }
.chip small { color: var(--surface-muted); font-size: 13px; }
.chip-a { top: 16%; left: -7%; }
.chip-b { bottom: 14%; right: 5%; animation-delay: -3s; }
.chip-b b { color: var(--mint); }
@keyframes bob { 50% { transform: translateY(-10px); } }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-family: var(--display); font-weight: 800; flex: none; }
.avatar.a2 { background: var(--mint-soft); color: var(--mint); }
.dot { width: 40px; height: 40px; border-radius: 50%; background: var(--sun); color: var(--on-sun); display: grid; place-items: center; flex: none; }
.dot svg { width: 20px; height: 20px; }

/* ---------- sections ---------- */
.sec { padding: clamp(44px, 8svh, 96px) 0; }
.sec-tight { padding: clamp(8px, 2svh, 24px) 0; }
.wrap { width: min(1180px, 100% - 2 * clamp(20px, 4vw, 48px)); margin-inline: auto; }
.head { max-width: 640px; }
.head.center { margin-inline: auto; text-align: center; }

.panel {
  position: relative; overflow: hidden;
  margin: 0 var(--gutter); border-radius: var(--r-xl); background: var(--mist);
  padding: clamp(36px, 6.5svh, 72px) clamp(20px, 5vw, 80px);
}

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease) var(--d, 0s), transform .8s var(--ease) var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 2 · calculator ---------- */
.calc { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.controls { margin-top: clamp(20px, 4svh, 36px); border-top: 1px solid var(--line); }
.row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: clamp(12px, 2svh, 18px) 0; border-bottom: 1px solid var(--line); }
.row-label { font-weight: 600; font-size: 18px; }

.stepper { display: flex; align-items: center; gap: 6px; background: var(--mist); border-radius: 500px; padding: 5px; }
.stepper button {
  width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--surface); color: var(--surface-ink); cursor: pointer;
  font-size: 22px; font-weight: 600; line-height: 1; box-shadow: 0 1px 2px rgba(0, 0, 0, .12);
  transition: transform .2s var(--ease), background .2s;
}
.stepper button:hover:not(:disabled) { background: var(--accent); color: var(--on-accent); transform: scale(1.08); }
.stepper button:disabled { opacity: .35; cursor: default; }
.stepper output { min-width: 36px; text-align: center; font-family: var(--display); font-weight: 800; font-size: 22px; }

.seg { display: flex; background: var(--mist); border-radius: 500px; padding: 5px; }
.seg button { border: 0; background: none; padding: 10px 18px; border-radius: 500px; font-weight: 600; font-size: 15px; cursor: pointer; color: var(--muted); transition: background .25s, color .25s; }
.seg button.on { background: var(--cta-bg); color: var(--cta-fg); }

/* mint, not dark: the dark "what's possible" panel now sits right above this */
.result {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  background: var(--accent); color: var(--on-accent); padding: clamp(28px, 4.5svh, 44px);
}
.result .r1 { width: 150px; top: -40px; right: -34px; color: var(--accent-deep); }
.result-k { position: relative; font-weight: 600; opacity: .8; }
.result-price { position: relative; font-family: var(--display); font-weight: 800; font-size: clamp(72px, min(9vw, 15svh), 124px); line-height: 1; letter-spacing: -.03em; color: var(--mint); margin: 4px 0 8px; font-variant-numeric: tabular-nums; }
.result.bump .result-price { animation: bump .45s var(--ease); }
@keyframes bump { 35% { transform: scale(1.05); } }
.result-good { display: inline-flex; align-items: center; gap: 8px; margin: clamp(14px, 2.5svh, 22px) 0; padding: 10px 16px 10px 12px; border-radius: 500px; background: color-mix(in srgb, var(--on-accent) 10%, transparent); font-weight: 600; font-size: 15px; }
.result-good svg { width: 18px; height: 18px; flex: none; }
.result .btn { display: flex; }
.fine { font-size: 13.5px; color: var(--muted); margin-top: 14px; }
.result .fine { color: inherit; opacity: .75; text-align: center; }
.panel-ink .fine { color: var(--on-dark-muted); }

/* ---------- 3 · steps ---------- */
.steps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; margin-top: clamp(24px, 4.5svh, 44px); }
.steps { display: grid; gap: 8px; }
.steps li {
  display: flex; align-items: center; gap: 22px; padding: clamp(14px, 2.4svh, 22px) 26px;
  border-radius: var(--r-lg); cursor: pointer; color: var(--muted);
  transition: background .4s var(--ease), box-shadow .4s, color .3s;
}
.steps li:hover { background: color-mix(in srgb, var(--raise) 55%, transparent); }
.steps li.on { background: var(--raise); color: var(--raise-ink); box-shadow: 0 14px 30px -22px rgba(var(--shadow), .5); }
.num { font-family: var(--display); font-weight: 800; font-size: 44px; line-height: 1; min-width: 40px; display: grid; transition: color .3s; }
.num small { font-family: var(--body); font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.steps li.on .num { color: var(--mint); }
.steps p { margin-top: 4px; font-size: 16px; color: var(--muted); }

.stage {
  position: relative; height: min(380px, 44svh); border-radius: var(--r-xl);
  background: radial-gradient(80% 80% at 70% 20%, var(--accent-hi), transparent 70%), var(--accent);
  overflow: hidden;
}
.shot { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; opacity: 0; transform: translateY(20px) scale(.96); transition: opacity .5s var(--ease), transform .6s var(--ease); pointer-events: none; }
.shot.on { opacity: 1; transform: none; }

.card-ui { width: min(300px, 100%); background: var(--surface); color: var(--surface-ink); border-radius: 26px; padding: 26px; box-shadow: 0 24px 50px -24px rgba(var(--shadow), .6); text-align: center; font-size: 16px; }
.ui-k { font-weight: 600; color: var(--surface-muted); font-size: 15px; }
.ui-big { font-family: var(--display); font-weight: 800; font-size: clamp(54px, 10svh, 80px); line-height: 1.05; letter-spacing: -.03em; color: var(--mint); }
.ui-ok { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; padding: 7px 14px 7px 10px; border-radius: 500px; background: var(--mint-soft); color: var(--mint); font-weight: 700; font-size: 14px; }
.ui-ok svg { width: 16px; height: 16px; }
.big-check { width: 52px; height: 52px; margin: 0 auto 6px; border-radius: 50%; background: var(--sun); color: var(--on-sun); display: grid; place-items: center; }
.big-check svg { width: 26px; height: 26px; }
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 16px; }
.pills span { padding: 6px 13px; border-radius: 500px; background: var(--surface-2); font-weight: 600; font-size: 13.5px; color: var(--surface-muted); }
.pills span.on { background: var(--surface-ink); color: var(--surface); }

.thread { width: min(340px, 100%); display: grid; gap: 8px; }
.bubble { max-width: 82%; padding: 11px 16px; border-radius: 22px; font-size: 15px; line-height: 1.35; box-shadow: 0 12px 26px -18px rgba(var(--shadow), .7); }
.bubble.them { background: var(--surface); color: var(--surface-ink); border-bottom-left-radius: 6px; justify-self: start; }
.bubble.me { background: var(--frame); color: #fff; border-bottom-right-radius: 6px; justify-self: end; }
.quote { display: grid; min-width: 210px; padding: 16px 18px; }
.q-top { display: flex; align-items: center; gap: 7px; font-weight: 700; font-size: 13px; color: var(--accent); }
.q-top svg { width: 13px; height: 13px; }
.q-price { font-family: var(--display); font-weight: 800; font-size: 40px; line-height: 1.1; }
.q-meta { font-size: 13px; color: rgba(255, 255, 255, .7); }

/* ---------- 4 · cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.6vw, 24px); margin-top: clamp(24px, 4.5svh, 44px); }
.card h3 { margin-top: 20px; }
.card p { margin-top: 6px; color: var(--muted); font-size: 16px; text-wrap: pretty; }
.tile {
  height: min(280px, 34svh); border-radius: 32px; display: grid; place-items: center; align-content: center; gap: 10px;
  padding: 18px; overflow: hidden; transition: transform .5s var(--ease);
}
.card:hover .tile { transform: translateY(-6px); }
.card:hover .float { transform: scale(1.04); }
.float { transition: transform .5s var(--ease); }
.t-sun { background: var(--sun); }
.t-ink { background: var(--dark); box-shadow: inset 0 0 0 1px var(--dark-line); }
.t-mint { background: var(--mint-soft); }
.t-mist { background: var(--mist); }

.pay { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 220px; }
.pay span { padding: 9px 16px; border-radius: 500px; background: var(--surface); color: var(--surface-ink); font-weight: 700; font-size: 15px; box-shadow: 0 10px 20px -14px rgba(var(--shadow), .7); }
.pay span:nth-child(2), .pay span:nth-child(5) { background: var(--frame); color: #fff; }

.cust { width: 100%; display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 18px; background: var(--surface); color: var(--surface-ink); line-height: 1.25; }
.cust.ghost { opacity: .45; }
.cust .avatar { width: 36px; height: 36px; font-size: 15px; }
.cust-main { min-width: 0; margin-right: auto; }
.cust-main b { display: block; font-size: 15px; }
.cust-main small { display: block; font-size: 12px; color: var(--surface-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cust-amt { font-family: var(--display); font-weight: 800; font-size: 18px; color: var(--mint); }

.doc { width: min(210px, 100%); display: grid; gap: 9px; padding: 18px; border-radius: 20px; background: var(--surface); color: var(--surface-ink); box-shadow: 0 18px 34px -22px rgba(11, 107, 69, .8); transform: rotate(-3deg); }
.card:hover .doc { transform: rotate(0) scale(1.04); }
.doc .q-top { color: var(--mint); }
.doc-line { display: flex; justify-content: space-between; font-size: 14px; }
.doc-line b { color: var(--mint); }
.doc-line i { font-style: normal; color: var(--surface-muted); }
.doc-btn { margin-top: 4px; padding: 9px; border-radius: 500px; background: var(--surface-ink); color: var(--surface); text-align: center; font-weight: 700; font-size: 13.5px; }

.nope { display: grid; gap: 8px; justify-items: center; }
.nope li { padding: 7px 16px; border-radius: 500px; background: var(--surface); font-weight: 600; font-size: 15px; color: var(--surface-muted); text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: var(--surface-ink); }

/* ---------- 2 · what's possible ---------- */
.panel-ink { background: var(--dark); color: var(--on-dark); box-shadow: inset 0 0 0 1px var(--dark-line); }
.panel-ink .sub { color: var(--on-dark-muted); }
.panel-ink .j1 { width: 260px; left: -70px; bottom: -90px; color: var(--dark-2); }
.journey { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.journey-copy .btn { margin-top: 28px; }
.ladder { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: end; height: min(360px, 46svh); }
.rung {
  height: var(--h); border-radius: 28px; background: var(--dark-2); padding: 20px;
  display: flex; flex-direction: column; justify-content: space-between; min-height: 132px;
  transform-origin: bottom;
}
.rung.reveal { transform: translateY(40px) scaleY(.85); }
.rung.reveal.in { transform: none; }
.rung-amt { font-family: var(--display); font-weight: 800; font-size: clamp(28px, 3vw, 44px); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--accent); }
.rung-top .rung-amt { color: inherit; }
.rung-amt small { font-size: .45em; font-weight: 700; margin-left: 2px; }
.rung-label { font-weight: 600; font-size: 15px; color: var(--on-dark-muted); line-height: 1.25; }
.rung-top { background: var(--sun); color: var(--on-sun); }
.rung-top .rung-label { color: var(--on-sun); opacity: .85; }

/* ---------- 6 · get the app ---------- */
.sec-last { padding-bottom: 0; }
.panel-sun { background: radial-gradient(60% 90% at 50% 0%, var(--accent-hi), transparent 70%), var(--accent); color: var(--on-accent); text-align: center; padding-block: clamp(48px, 10svh, 104px); }
.panel-sun .sub { color: var(--on-accent); opacity: .9; }
.panel-sun .g1 { width: 90px; top: 14%; left: 9%; color: var(--surface); }
.panel-sun .g2 { width: 150px; bottom: -40px; right: 7%; color: var(--accent-deep); animation-delay: -2.5s; }
.get { position: relative; max-width: 620px; margin-inline: auto; }
.signup { display: flex; gap: 8px; margin: 30px auto 0; max-width: 500px; padding: 6px; border-radius: 500px; background: var(--surface); color: var(--surface-ink); box-shadow: 0 20px 44px -22px rgba(var(--shadow), .6); }
.signup input { flex: 1; min-width: 0; border: 0; background: none; padding: 0 20px; font-size: 17px; border-radius: 500px; }
.signup input::placeholder { color: var(--surface-muted); opacity: 1; }
.signup.done { opacity: .55; pointer-events: none; }
.panel-sun .fine { color: var(--on-accent); opacity: .8; }

.foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 22px clamp(20px, 3vw, 44px); color: var(--muted); font-size: 14.5px; }
.foot .logo { color: var(--text); font-size: 21px; }
.foot .logo-mark { width: 26px; height: 26px; }

/* ---------- responsive ---------- */
/* below each breakpoint the layout changes shape so every section still fits one screen */
@media (max-width: 1100px) {
  .chip-b { right: -2%; }
  /* tiles become one swipe row */
  .cards {
    --pad: clamp(20px, 4vw, 48px);
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(280px, 76vw);
    margin-inline: calc(-1 * var(--pad)); padding: 8px var(--pad) 0;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  }
  .card { scroll-snap-align: center; }
  .cards .reveal { opacity: 1; transform: none; }
  .tile { height: 220px; }
}
@media (max-width: 860px) {
  :root { --r-xl: 32px; --gutter: 10px; }
  .nav-links { display: none; }
  .nav { justify-content: space-between; }
  .sec:not(.sec-tight) { padding: 28px 0; }
  .sec.sec-last { padding-bottom: 0; }
  .panel { padding: 32px 20px; }

  /* hero: copy on top, phone rises out of the bottom of the mint block */
  .hero { max-height: none; min-height: 560px; grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 22px; text-align: center; }
  .hero-copy { padding: 14px 10px 0; }
  .eyebrow { margin-bottom: 14px; }
  .lede { margin: 14px auto 0; }
  .cta-row { justify-content: center; flex-wrap: nowrap; margin-top: 22px; }
  .cta-row .btn { flex: 1; max-width: 220px; padding-inline: 12px; }
  .hero-art { --pw: 250px; min-height: 0; overflow: hidden; place-items: start center; padding-top: 30px; }
  .hero .deco, .chip-a { display: none; }
  .chip-b { right: 10px; bottom: 14px; }

  .calc, .steps-grid, .journey { grid-template-columns: 1fr; }
  .calc { gap: 22px; }
  .controls { margin-top: 18px; }
  .row { padding: 9px 0; }
  .row:last-child .row-label { display: none; }
  .seg { flex: 1; }
  .seg button { flex: 1; padding-inline: 8px; }
  .result { padding: 24px; }
  .result-price { font-size: 84px; }
  .result-good { display: none; }
  .result .btn { margin-top: 16px; }

  /* steps sit side by side; only the active one shows its line of copy */
  .steps { grid-template-columns: repeat(3, 1fr); gap: 2px 10px; }
  .steps li, .steps li > div { display: contents; }
  .steps li:nth-child(1) :is(.num, h3) { grid-column: 1; }
  .steps li:nth-child(2) :is(.num, h3) { grid-column: 2; }
  .steps li:nth-child(3) :is(.num, h3) { grid-column: 3; }
  .num { grid-row: 1; font-size: 40px; cursor: pointer; }
  .steps h3 { grid-row: 2; font-size: 16px; cursor: pointer; }
  .steps li:not(.on) :is(.num, h3) { opacity: .55; }
  .steps p { display: none; grid-column: 1 / -1; grid-row: 3; min-height: 3em; margin-top: 10px; }
  .steps li.on p { display: block; }
  .steps-grid { gap: 16px; }
  .stage { height: min(300px, 38svh); }

  .ladder { height: 300px; gap: 8px; }
  .rung { padding: 12px; border-radius: 22px; }
  .rung-amt { font-size: clamp(19px, 5.8vw, 34px); }
  .rung-amt small { display: block; margin: 4px 0 0; font-size: 13px; }
  .rung-label { font-size: 14px; }
  .panel-sun .g1 { display: none; }
}
@media (max-width: 520px) {
  .nav { gap: 12px; }
  .nav .btn { padding: 10px 18px; font-size: 15px; }
  .logo { font-size: 22px; gap: 7px; }
  .logo-mark { width: 28px; height: 28px; }
  .calc .sub, .result .fine { display: none; }
  .signup { flex-direction: column; border-radius: 30px; padding: 10px; }
  .signup input { padding: 14px 16px; text-align: center; }
  .chip { font-size: 13px; padding: 9px 14px 9px 9px; }
  .chip .avatar, .chip .dot { width: 32px; height: 32px; }
  .foot { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .load, .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- legal, support & status pages ---------- */
.page-head { padding-block: clamp(28px, 6svh, 64px); }
.page-head h1 { font-size: clamp(36px, min(4.2vw, 8svh), 58px); }
.page-head .sub { max-width: 36em; }
.page-head .deco { width: 120px; height: 120px; top: -28px; right: 6%; color: var(--accent); }
.legal { display: grid; grid-template-columns: 220px minmax(0, 68ch); gap: clamp(28px, 5vw, 80px); justify-content: center; padding: clamp(28px, 5svh, 56px) 0; }
.toc { position: sticky; top: calc(var(--nav-h) + 16px); align-self: start; }
.toc summary { list-style: none; font-weight: 700; font-size: 13.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 0 14px 8px; }
.toc summary::-webkit-details-marker { display: none; }
.toc a { display: block; padding: 7px 14px; border-radius: 500px; font-weight: 600; font-size: 15px; color: var(--muted); transition: background .2s, color .2s; }
.toc a:hover { background: var(--mist); color: var(--text); }
.prose section { padding-block: 26px; border-top: 1px solid var(--line); }
.prose section:first-child { border-top: 0; padding-top: 0; }
.prose h2 { font-size: clamp(24px, 2.2vw, 30px); }
.prose p, .prose li { margin-top: 10px; text-wrap: pretty; }
.prose li { position: relative; padding-left: 20px; }
.prose li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); }
.prose a, .foot nav a { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose b { font-weight: 700; }
.callout { margin-top: 14px; padding: 16px 20px; border-radius: var(--r-md); background: var(--mint-soft); color: var(--mint); font-weight: 600; }
.foot nav { display: flex; gap: 16px; }

.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: clamp(20px, 4svh, 36px); align-items: start; }
.faq details { border-radius: var(--r-md); background: var(--raise); padding: 16px 20px; }
.faq summary { cursor: pointer; font-family: var(--display); font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--mint); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq p { margin-top: 8px; color: var(--muted); font-size: 16px; }
.cta-row.center { justify-content: center; }

.status { min-height: calc(100svh - var(--nav-h) - 110px); display: grid; place-items: center; }
.status .big-check { width: 96px; height: 96px; margin-bottom: 24px; }
.status .big-check svg { width: 48px; height: 48px; }
.status h1 { font-size: clamp(40px, min(5vw, 9svh), 72px); }

@media (max-width: 860px) {
  .page-head { padding-block: 28px; }
  .page-head .deco { width: 56px; height: 56px; top: 16px; right: 18px; }
  .legal { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 16px; }
  .toc { position: static; border-radius: var(--r-md); background: var(--mist); padding: 14px 6px; }
  .toc summary { padding-bottom: 0; cursor: pointer; }
  .toc summary::after { content: ' +'; }
  .toc[open] summary::after { content: ' −'; }
  .toc[open] summary { padding-bottom: 8px; }
  .faq { grid-template-columns: 1fr; gap: 6px; margin-top: 18px; }
  .panel:has(.faq) { padding-block: 24px; }
  .faq details { padding: 12px 16px; }
  .faq summary { font-size: 16.5px; }
}
.logo + .btn { margin-left: auto; }
