/* Several: cash offers from several buyers (design concept).
   Order: tokens → base → buttons and fields → header and menu → sections in page order → dock and dialog → motion → responsive. */

/* ---------- tokens: plaster, slate and a green front door ---------- */
:root {
  --bg: #F4F2EE;                /* plaster */
  --alt: #E9E6E0;               /* stone */
  --paper: #FBFAF8;
  --ink: #1B2124;               /* slate */
  --muted: #444B4F;             /* secondary text: 8.8 on plaster */
  --soft: #7B8286;              /* large only: 3.5 on plaster */
  --line: #D6D2CB;
  --line-2: #BDB8AF;
  --green: #2F6B55;             /* the front door: the best offer, sparingly */
  --green-t: #245A47;           /* as text: 7.3 on plaster */
  --mint: #DCE9E2;
  --mint-2: #C3DCCF;
  --night: #15191B;
  --on-night: #F1F2F0;
  --on-night-2: #A3ABAE;
  --sans: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --pad: 20px;                  /* the edge gutter and the column gap, as on a drawing board */
  --gap: 20px;
  --nav-h: 76px;
  --sec: clamp(96px, 10vw, 168px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --track: -.03em;
}
@font-face { font-family: "Inter Tight"; src: url("../assets/fonts/inter-tight.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 12px); background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.4 var(--sans); letter-spacing: -.02em; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }
.sr { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; border: 0 !important; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--ink); color: var(--paper); text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.wrap { width: 100%; padding: 0 var(--pad); }
.label { font-size: 13.5px; font-weight: 500; color: var(--muted); }
/* one tone, medium weight, tight: big statements set like a drawing's title block */
.h2 { font: 500 clamp(42px, 6.2vw, 104px)/.96 var(--sans); letter-spacing: -.045em; text-wrap: balance; }
.tone { color: inherit; }
.lead { max-width: 24em; font-size: clamp(18px, 1.45vw, 23px); line-height: 1.25; letter-spacing: var(--track); text-wrap: pretty; }
/* the grid: twelve columns; a statement across the left, a paragraph from two-thirds */
.sec-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 28px var(--gap); align-items: start; }
.sec-head > :first-child { grid-column: 1 / 9; }
.sec-head .lead { grid-column: 9 / 13; padding-top: .5em; }
.frame { position: relative; overflow: hidden; overflow: clip; background: var(--alt); }
.frame img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- buttons, chips and fields: square, the label left and the arrow at the far end ---------- */
.btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-width: 200px; min-height: 52px; padding: 0 18px; border: 1px solid transparent; border-radius: 0; font-size: 16px; font-weight: 500; line-height: 1.1; letter-spacing: -.02em; text-decoration: none; white-space: nowrap; transition: background-color .25s, color .25s, border-color .25s; }
.btn .i { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover .i { transform: translateX(4px); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--green); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-sm { min-width: 150px; min-height: 44px; padding: 0 14px; font-size: 15px; }
.chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.chip { position: relative; display: block; cursor: pointer; }
.chip input { position: absolute; inset: 0; z-index: 1; margin: 0; opacity: 0; cursor: pointer; }
.chip span { display: flex; align-items: center; min-height: 50px; padding: 10px 16px; border: 1px solid var(--line-2); background: #fff; font-size: 15.5px; font-weight: 500; line-height: 1.2; transition: background-color .2s, color .2s, border-color .2s; }
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
/* form fields as a drawn line, the way a brief is filled in by hand */
.field { display: grid; gap: 4px; min-width: 0; padding: 0; border: 0; }
.field label, .field legend { padding: 0; font-size: 14px; font-weight: 500; color: var(--muted); }
.field legend { margin-bottom: 10px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px var(--gap); }
.opt { font-weight: 400; color: var(--soft); }
.input { width: 100%; min-height: 48px; padding: 10px 0; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; background: transparent; font-size: 19px; }
.input::placeholder { color: #9AA0A3; }
.input:focus { outline: none; border-bottom-width: 2px; padding-bottom: 9px; }
textarea.input { resize: vertical; min-height: 96px; line-height: 1.4; }
.input[aria-invalid="true"] { border-bottom-color: #A3361F; }

/* the address field: a white bar with a pin, the street as typed, and a square button */
.addr { position: relative; z-index: 20; width: min(600px, 100%); }
.addr-pill { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 6px 6px 6px 16px; background: #fff; color: var(--ink); }
.addr-pill:focus-within { box-shadow: inset 0 0 0 2px var(--ink); }
.addr-ico { grid-row: 1 / 3; width: 22px; height: 22px; color: var(--green-t); }
.addr-l { grid-column: 2; padding-top: 4px; font-size: 12.5px; font-weight: 500; line-height: 1.2; color: var(--muted); }
.addr-in { grid-column: 2; min-width: 0; padding: 2px 0 6px; border: 0; background: transparent; font-size: 18px; font-weight: 500; }
.addr-in::placeholder { color: #8E9498; font-weight: 400; }
.addr-in:focus { outline: none; }
.addr-go { grid-column: 3; grid-row: 1 / 3; min-height: 54px; min-width: 176px; }
.addr-list { position: absolute; left: 0; right: 0; top: calc(100% + 4px); padding: 4px; background: #fff; color: var(--ink); box-shadow: 0 30px 60px -30px rgb(10 14 16 / .55); }
.addr-list li { display: flex; align-items: center; gap: 10px; padding: 12px; font-size: 16px; cursor: pointer; }
.addr-list li .i { width: 17px; height: 17px; color: var(--muted); }
.addr-list li small { margin-left: auto; font-size: 13px; color: var(--muted); }
.addr-list li[aria-selected="true"], .addr-list li:hover { background: var(--alt); }
.addr-msg { margin-top: 8px; font-size: 14px; color: #A3361F; }
.addr-msg:empty { display: none; }
.hero .addr-msg, .final .addr-msg { display: inline-block; padding: 4px 8px; background: #fff; }
.hero .addr-msg:empty, .final .addr-msg:empty { display: none; }

/* ---------- header and menu ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; color: #fff; transition: background-color .3s, box-shadow .3s, color .3s; }
.nav[data-scrolled="true"], .menu-open .nav { color: var(--ink); background: color-mix(in srgb, var(--bg) 96%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; height: var(--nav-h); padding: 0 var(--pad); }
.logo { font: 500 32px/1 var(--sans); letter-spacing: -.05em; text-decoration: none; justify-self: start; }
.links { position: relative; display: flex; justify-content: center; align-items: center; gap: 16px; height: var(--nav-h); }
.links a { font-size: 16px; font-weight: 500; letter-spacing: -.02em; text-decoration: none; color: inherit; opacity: .9; transition: opacity .2s; }
.links a:hover, .links a[aria-current] { opacity: 1; }
.nav-line { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: currentColor; opacity: 0; transition: transform .5s var(--ease), width .5s var(--ease), opacity .3s; }
.nav-end { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.menu-btn { display: none; min-height: 44px; padding: 0 4px; border: 0; background: transparent; font-size: 22px; font-weight: 500; letter-spacing: -.03em; }
.menu { position: fixed; inset: 0; z-index: 45; display: flex; flex-direction: column; justify-content: space-between; padding: calc(var(--nav-h) + 20px) var(--pad) 32px; background: var(--bg); }
.menu nav { display: grid; }
.menu nav a { padding: 12px 0; border-bottom: 1px solid var(--line); font: 500 clamp(32px, 9vw, 48px)/1.05 var(--sans); letter-spacing: -.045em; text-decoration: none; }
.menu .btn { width: 100%; }

/* ---------- hero: one house in full; the offers, headline and address bottom left, in white ---------- */
.hero { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: max(760px, 100svh); overflow: hidden; overflow: clip; background: #2B3428; color: #fff; }
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg { z-index: -2; }
.hero-bg img { object-fit: cover; object-position: 50% 62%; }
/* a little shade where the type sits: under the menu, and in the trees at the bottom left */
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgb(8 12 14 / .34) 0, rgb(8 12 14 / 0) 150px),
    linear-gradient(90deg, rgb(8 12 14 / .5) 0%, rgb(8 12 14 / .34) 32%, rgb(8 12 14 / .1) 50%, rgb(8 12 14 / 0) 62%),
    radial-gradient(100% 70% at 0% 100%, rgb(8 12 14 / .5) 0%, rgb(8 12 14 / .25) 50%, rgb(8 12 14 / 0) 80%); }
.hero-in { padding-top: calc(var(--nav-h) + 40px); padding-bottom: var(--pad); }
.hero-block { display: flex; flex-direction: column; width: min(100%, max(760px, 47vw)); }
.hero-t { order: 2; margin-top: 30px; font: 500 clamp(46px, 5.4vw, 92px)/.95 var(--sans); letter-spacing: -.05em; text-shadow: 0 2px 30px rgb(8 12 14 / .25); }
.hero-t .line { display: block; overflow: hidden; overflow: clip; padding-bottom: .08em; margin-bottom: -.08em; }
.hero-t .line > span { display: inline-block; }
.hero-lead { order: 3; max-width: 25em; margin-top: 22px; font-size: clamp(17px, 1.35vw, 21px); line-height: 1.25; letter-spacing: var(--track); text-shadow: 0 1px 16px rgb(8 12 14 / .35); }
.hero .addr { order: 4; margin-top: 28px; }

/* the offer rail, set like the progress lines of a slideshow: one line per buyer, filled to its offer */
.rail { order: 1; width: 100%; text-shadow: 0 1px 12px rgb(8 12 14 / .45); }
.rail-cap { margin-bottom: 14px; font-size: 13.5px; font-weight: 500; color: rgb(255 255 255 / .86); }
.rail-l { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gap); }
.rail-o { position: relative; display: grid; align-content: start; gap: 2px; padding-top: 12px; }
.rail-bar { position: absolute; top: 0; left: 0; right: 0; height: 2px; background: rgb(255 255 255 / .3); }
.rail-bar::after { content: ""; position: absolute; inset: 0; width: var(--w, 100%); background: #fff; transform-origin: left; }
.rail-k { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: 13.5px; font-weight: 500; color: rgb(255 255 255 / .84); }
.rail-v { font: 500 clamp(19px, 1.6vw, 26px)/1.1 var(--sans); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.rail-tag { padding: 1px 6px; background: #fff; color: var(--ink); font-size: 11.5px; font-weight: 600; letter-spacing: 0; }
.rail-o.is-best .rail-bar { height: 3px; top: -.5px; }

/* ---------- the statement band, on black ---------- */
.intro { padding: clamp(96px, 11vw, 180px) 0 clamp(72px, 7vw, 120px); background: var(--night); color: var(--on-night); }
.intro-in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 var(--gap); }
/* left: the spread between the lowest and highest offer, set large; right: the sentence and the promises */
.spread { grid-column: 1 / 6; grid-row: 1 / 3; align-self: start; }
.spread-v { font: 500 clamp(76px, 10vw, 172px)/.86 var(--sans); letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.spread-cap { max-width: 22em; margin-top: 22px; font-size: 16px; line-height: 1.35; color: var(--on-night-2); }
.spread-scale { display: grid; grid-template-columns: auto minmax(40px, 1fr) auto; align-items: center; gap: 14px; margin-top: 40px; max-width: 560px; font-size: 13.5px; color: var(--on-night-2); }
.spread-end { display: grid; gap: 2px; }
.spread-end:last-child { text-align: right; }
.spread-end b { font-size: 16px; font-weight: 500; color: var(--on-night); font-variant-numeric: tabular-nums; }
.spread-line { position: relative; height: 2px; background: linear-gradient(90deg, rgb(255 255 255 / .3), #9FD8BD); transform-origin: left; }
.spread-line::before, .spread-line::after { content: ""; position: absolute; top: -5px; width: 2px; height: 12px; background: rgb(255 255 255 / .5); }
.spread-line::before { left: 0; }
.spread-line::after { right: 0; background: #9FD8BD; }
.io .spread .spread-line { transform: scaleX(0); transition: transform 1.4s var(--ease) .35s; }
.io .spread.in .spread-line { transform: none; }
.intro-t { grid-row: 1; grid-column: 7 / 12; font-size: clamp(22px, 2vw, 32px); line-height: 1.18; letter-spacing: -.035em; text-wrap: pretty; }
.intro-facts { grid-row: 2; grid-column: 7 / 13; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px var(--gap); margin-top: clamp(72px, 9vw, 150px); padding-top: 18px; border-top: 1px solid rgb(255 255 255 / .2); font-size: 15.5px; line-height: 1.3; color: var(--on-night-2); }
.intro-facts b { display: block; margin-bottom: 4px; font-weight: 500; color: var(--on-night); }

/* ---------- how it works ---------- */
.how { padding: var(--sec) 0; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px var(--gap); margin-top: clamp(64px, 7vw, 120px); }
.step { position: relative; padding-top: 14px; }
.step::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--ink); transform-origin: left; }
.step-day { margin-bottom: 40px; font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums; }
.step .frame { aspect-ratio: 4 / 3; }
.step h3 { margin-top: 18px; font: 500 clamp(22px, 1.8vw, 28px)/1.08 var(--sans); letter-spacing: -.035em; }
.step p:last-child { margin-top: 10px; max-width: 26em; font-size: 16.5px; line-height: 1.3; color: var(--muted); }

/* ---------- the estimator ---------- */
.est { padding: var(--sec) 0; background: var(--alt); }
/* the card sits in from the page edges, like a sheet laid on the table */
.est-card { margin: clamp(64px, 7vw, 110px) clamp(0px, 6vw, 112px) 0; padding: clamp(24px, 3.4vw, 56px) clamp(20px, 3.4vw, 56px); background: var(--paper); }
.est-form { display: grid; gap: clamp(44px, 4vw, 60px); }
.q { min-width: 0; margin: 0; padding: 0; border: 0; }
.q-h { float: left; width: 100%; display: flex; align-items: baseline; gap: 0; margin: 0 0 18px; padding: 0; font: 500 clamp(22px, 1.9vw, 30px)/1.1 var(--sans); letter-spacing: -.035em; }
.q-h + * { clear: both; }
.q-n { flex: none; width: 2.4em; font-size: .62em; font-weight: 500; letter-spacing: 0; color: var(--muted); font-variant-numeric: tabular-nums; }
.tiles { display: grid; gap: 10px; }
.tiles-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tile { position: relative; isolation: isolate; display: block; aspect-ratio: 16 / 10; overflow: hidden; overflow: clip; background: #CFC9BF; cursor: pointer; transition: box-shadow .3s; }
.tile input { position: absolute; inset: 0; z-index: 4; margin: 0; opacity: 0; cursor: pointer; }
.tile-img, .tile-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile-img img { filter: saturate(.4) brightness(.92); transition: filter .5s, transform 1.2s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 28% 0 0; z-index: 1; background: linear-gradient(rgb(8 12 14 / 0), rgb(8 12 14 / .3) 45%, rgb(8 12 14 / .78)); pointer-events: none; }
.tile-t { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 2; display: grid; gap: 2px; color: #fff; }
.tile-t b { font: 500 clamp(21px, 1.7vw, 27px)/1.05 var(--sans); letter-spacing: -.035em; }
.tile-t span { font-size: 14px; color: rgb(255 255 255 / .88); }
.tile-ck { position: absolute; top: 12px; left: 12px; z-index: 2; display: grid; place-items: center; width: 28px; height: 28px; background: #fff; color: var(--ink); opacity: 0; transform: scale(.6); transition: opacity .25s, transform .35s var(--ease); }
.tile-ck .i { width: 15px; height: 15px; }
.tile:hover .tile-img img { filter: saturate(.8); }
.tile input:checked ~ .tile-img img { filter: none; transform: scale(1.03); }
.tile input:checked ~ .tile-ck { opacity: 1; transform: none; }
.tile:has(input:checked) { box-shadow: 0 0 0 3px var(--ink); }
.tile:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 5px; }
.q-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px var(--gap); align-items: start; }
.val { display: grid; grid-template-columns: 56px minmax(0, 1fr) 56px; align-items: center; height: 76px; border-bottom: 1px solid var(--ink); }
.val:focus-within { border-bottom-width: 2px; }
.val-step { display: grid; place-items: center; height: 56px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); }
.val-step:hover { border-color: var(--ink); }
.val-step .i { width: 20px; height: 20px; }
.val-in { min-width: 0; height: 100%; padding: 0; border: 0; background: transparent; text-align: center; font: 500 clamp(30px, 2.8vw, 44px)/1 var(--sans); letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.val-in:focus { outline: none; }
.val-in:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.val-range { width: 100%; margin: 18px 0 0; accent-color: var(--ink); height: 22px; cursor: pointer; }
.val-note { margin-top: 8px; font-size: 14.5px; color: var(--muted); }

/* the answer */
.ans { margin-top: clamp(48px, 4.4vw, 68px); padding-top: 18px; border-top: 1px solid var(--ink); }
.ans-head { display: grid; gap: 8px; }
.ans-k { max-width: 30em; font: 500 clamp(24px, 2.1vw, 34px)/1.1 var(--sans); letter-spacing: -.035em; text-wrap: balance; }
.ans-for { color: var(--muted); }
.ans-sub { font-size: 15.5px; color: var(--muted); }
.offers { display: grid; margin-top: 28px; border-top: 1px solid var(--line-2); }
.of { display: grid; grid-template-columns: minmax(170px, 1.1fr) minmax(0, 3fr) minmax(120px, auto) minmax(170px, auto); align-items: center; gap: 8px 24px; min-height: 72px; padding: 12px 14px; border-bottom: 1px solid var(--line-2); transition: background-color .4s; }
.of-k { font-size: 17px; font-weight: 500; line-height: 1.3; letter-spacing: -.025em; }
.of-k small { display: block; font-size: 14px; font-weight: 400; letter-spacing: -.01em; color: var(--muted); }
.of-bar { position: relative; height: 2px; background: var(--line); }
.of-bar span { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--soft); transition: width .8s var(--ease); }
.of-v { font: 500 clamp(21px, 1.7vw, 27px)/1 var(--sans); letter-spacing: -.04em; text-align: right; font-variant-numeric: tabular-nums; }
.of-d { font-size: 15px; color: var(--muted); font-variant-numeric: tabular-nums; }
.of.is-best { background: var(--mint); }
.of.is-best .of-bar { height: 3px; background: var(--mint-2); }
.of.is-best .of-bar span { background: var(--green); }
.of.is-best .of-d { color: var(--green-t); font-weight: 500; }
.of-tag { display: inline-block; margin-left: 6px; padding: 1px 6px; vertical-align: 1px; background: var(--green); color: #fff; font-size: 11.5px; font-weight: 600; letter-spacing: 0; }
.of.is-late .of-v, .of.is-late .of-k { color: var(--soft); }
.of.is-late .of-bar span { background: var(--line-2); }
.of.is-no .of-v { font: 500 15px/1.3 var(--sans); letter-spacing: -.01em; color: var(--muted); }
.of.is-no .of-k { color: var(--soft); }
.of.is-no .of-bar { background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 12px); }
.keep { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); margin-top: 36px; }
.keep-c { padding-top: 14px; border-top: 1px solid var(--ink); }
.keep-cash { border-top: 3px solid var(--green); padding-top: 12px; }
.keep-k { display: flex; align-items: center; gap: 8px; font-size: 15.5px; font-weight: 500; }
.keep-k .i { width: 20px; height: 20px; color: var(--green-t); }
.keep-list .keep-k .i { color: var(--muted); }
.keep-v { margin-top: 18px; font: 500 clamp(38px, 3.8vw, 64px)/.95 var(--sans); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.keep-d { max-width: 30em; margin-top: 12px; font-size: 15.5px; line-height: 1.35; color: var(--muted); }
.keep-how { grid-column: 1 / -1; margin-top: 8px; }
.keep-how summary { display: inline-flex; align-items: center; gap: 6px; padding-bottom: 2px; border-bottom: 1px solid var(--ink); font-size: 15px; font-weight: 500; cursor: pointer; list-style: none; }
.keep-how summary::-webkit-details-marker { display: none; }
.keep-how summary .i { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.keep-how[open] summary .i { transform: rotate(180deg); }
.keep-lines { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--gap); margin-top: 16px; }
.keep-lines dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.keep-lines dt { color: var(--muted); }
.keep-lines dl > p { padding: 6px 0 8px; font-size: 14px; font-weight: 500; border-bottom: 1px solid var(--line-2); }
.keep-lines dd { font-variant-numeric: tabular-nums; text-align: right; }
.keep-lines .sum dt, .keep-lines .sum dd { font-weight: 500; color: var(--ink); }
.keep-note { max-width: 62em; margin-top: 14px; font-size: 14px; color: var(--muted); }
.ans-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line-2); }
.ans-verdict { max-width: 34em; font-size: 18px; line-height: 1.3; letter-spacing: -.025em; }
.ans-verdict b { font-weight: 500; }
.inq { display: grid; gap: 28px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--ink); }
.inq-1, .inq-2 { display: grid; gap: 28px; max-width: 820px; }
.inq-step { font-size: 14px; font-weight: 500; color: var(--muted); }
.inq-step b { font-weight: 500; color: var(--ink); }
.inq .chips { grid-template-columns: repeat(3, minmax(0, auto)); justify-content: start; }
.inq-err { font-size: 14px; color: #A3361F; }
.inq-err:empty { display: none; }
.inq-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.inq .btn { justify-self: start; }

/* ---------- buyers ---------- */
.buyers { padding: var(--sec) 0; }
.bl { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 40px var(--gap); margin-top: clamp(64px, 7vw, 120px); }
.b .frame { aspect-ratio: 3 / 4; }
.b h3 { margin-top: 16px; font: 500 clamp(21px, 1.7vw, 26px)/1.1 var(--sans); letter-spacing: -.035em; }
.b p { margin-top: 8px; font-size: 16px; line-height: 1.3; color: var(--muted); }
.b .b-d { display: flex; align-items: center; gap: 7px; margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--line-2); font-size: 14.5px; font-weight: 500; color: var(--ink); }
.b-d .i { width: 17px; height: 17px; }
.vet { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 28px var(--gap); margin-top: clamp(80px, 8vw, 140px); }
.vet li { grid-column: span 4; display: grid; align-content: start; gap: 10px; padding-top: 14px; border-top: 1px solid var(--ink); }
.vet .i { width: 28px; height: 28px; }
.vet div { display: grid; gap: 6px; }
.vet h3 { font: 500 22px/1.15 var(--sans); letter-spacing: -.035em; }
.vet p { font-size: 16px; line-height: 1.3; color: var(--muted); }

/* ---------- compare ---------- */
.cmp { padding: var(--sec) 0; background: var(--alt); }
.cmp-scroll { position: relative; margin-top: clamp(56px, 6vw, 100px); overflow-x: auto; }
.cmp-hint { display: none; }
.cmp-t { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 16.5px; letter-spacing: -.02em; }
.cmp-t th, .cmp-t td { padding: 18px 16px; border-bottom: 1px solid var(--line-2); text-align: left; vertical-align: top; }
.cmp-t thead th { padding-top: 14px; padding-bottom: 22px; font: 500 clamp(20px, 1.7vw, 27px)/1.1 var(--sans); letter-spacing: -.035em; border-bottom-color: var(--ink); }
.cmp-t tbody th { width: 21%; padding-left: 0; font-weight: 500; color: var(--muted); }
.cmp-t td { width: 26%; }
.cmp-t .is-us { background: var(--paper); }
.cmp-t thead .is-us { color: var(--green-t); }
.cmp-t tbody td.is-us { font-weight: 500; }

/* ---------- agents ---------- */
.agents { padding: var(--sec) 0; }
.agents-in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px var(--gap); align-items: start; }
.agents-ph { grid-column: 1 / 7; aspect-ratio: 3 / 2; }
.agents-copy { grid-column: 7 / 13; }
.h2-s { font-size: clamp(38px, 4.6vw, 76px); }
.agents-l { display: grid; margin: 36px 0; border-top: 1px solid var(--ink); }
.agents-l li { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line-2); font-size: 18px; line-height: 1.3; letter-spacing: -.025em; }
.agents-l .i { width: 20px; height: 20px; margin-top: 2px; color: var(--green-t); }

/* ---------- questions ---------- */
.qs { padding: var(--sec) 0; border-top: 1px solid var(--line); }
.qs-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px var(--gap); }
.qs-grid > :first-child { grid-column: 1 / 7; }
.qa { grid-column: 7 / 13; }
.qa details { border-bottom: 1px solid var(--line-2); }
.qa details:first-child { border-top: 1px solid var(--ink); }
.qa summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 0; font: 500 clamp(20px, 1.6vw, 25px)/1.15 var(--sans); letter-spacing: -.035em; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .i { width: 20px; height: 20px; transition: transform .4s var(--ease); }
.qa details[open] summary .i { transform: rotate(45deg); }
.qa details p { max-width: 34em; padding: 0 0 24px; font-size: 17px; line-height: 1.35; color: var(--muted); }

/* ---------- final call and footer: black, like the statement band ---------- */
.final { padding: var(--sec) 0 clamp(72px, 7vw, 120px); background: var(--night); color: var(--on-night); }
.final-in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px var(--gap); align-items: start; }
.final-copy { grid-column: 1 / 7; }
.final .addr { margin-top: 40px; }
.final .addr-go:hover { background: var(--green); }
.final-note { margin-top: 18px; font-size: 15.5px; color: var(--on-night-2); }
.final-ph { grid-column: 7 / 13; aspect-ratio: 3 / 2; background: #23292C; }
.foot { padding: 0 0 var(--pad); background: var(--night); color: var(--on-night); container-type: inline-size; overflow: hidden; overflow: clip; }
.foot-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 36px var(--gap); padding-top: 64px; border-top: 1px solid rgb(255 255 255 / .16); font-size: 16px; line-height: 1.35; }
.foot-h { margin-bottom: 12px; font-size: clamp(24px, 2.2vw, 34px); font-weight: 500; line-height: 1.05; letter-spacing: -.045em; color: var(--on-night); }
.foot-note { grid-column: 1 / 5; color: var(--on-night-2); }
.foot-links { grid-column: 7 / 10; display: grid; align-content: start; justify-items: start; gap: 2px; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot-contact { grid-column: 10 / 13; color: var(--on-night-2); }
.foot-contact p:not(.foot-h) { color: var(--on-night); }
.foot-word { margin: 80px 0 0 -.0299em; padding-bottom: .1em; font: 500 calc((100cqi - 2 * var(--pad)) / 2.776)/.8 var(--sans); letter-spacing: -.065em; white-space: nowrap; color: var(--on-night); }

/* ---------- dock (phones) and dialog ---------- */
.dock { display: none; }
.dlg { width: min(540px, calc(100vw - 32px)); padding: 32px; border: 0; background: var(--paper); color: var(--ink); box-shadow: 0 40px 90px -30px rgb(8 12 14 / .6); }
.dlg::backdrop { background: rgb(10 14 16 / .6); }
.dlg-x-f { position: absolute; top: 12px; right: 12px; }
.dlg-x { display: grid; place-items: center; width: 40px; height: 40px; border: 0; background: var(--alt); }
.dlg .label { margin-bottom: 10px; }
.dlg-t { margin-bottom: 12px; font: 500 32px/1.05 var(--sans); letter-spacing: -.045em; }
.dlg > p { color: var(--muted); }
.sent-sum { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; margin: 20px 0 24px; padding: 16px 0; border-block: 1px solid var(--line); font-size: 15px; }
.sent-sum dt { color: var(--muted); }
.sent-sum dd { font-variant-numeric: tabular-nums; }

/* ---------- smooth scroll ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- motion ---------- */
@keyframes rise { to { transform: none; } }
@keyframes fadeup { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { scale: 1.06; } to { scale: 1; } }
@keyframes word-up { from { transform: translateY(24%); } to { transform: none; } }
.js .hero-t .line > span { transform: translateY(110%); animation: rise 1.15s var(--ease) .15s forwards; }
.js .hero-t .line + .line > span { animation-delay: .25s; }
.js .hero [data-fade] { opacity: 0; animation: fadeup .9s var(--ease) .45s forwards; }
.js .hero .addr[data-fade] { animation-delay: .6s; }
.js .hero-bg img { animation: settle 2.4s var(--ease) both; }
/* the rail: each line fills to its offer in turn, figures count up, the best one lights last */
.js .rail-o { opacity: 0; transition: opacity .7s var(--ease); }
.js .rail-o .rail-bar::after { transform: scaleX(0); transition: transform 1.2s var(--ease); }
.js .rail-o.is-on { opacity: 1; }
.js .rail-o.is-on .rail-bar::after { transform: none; }
.js .rail-o .rail-tag { opacity: 0; transition: opacity .5s; }
.js .rail.is-done .rail-tag { opacity: 1; }
.io [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.io [data-reveal].in { opacity: 1; transform: none; }
.io .step::before { transform: scaleX(0); transition: transform 1.2s var(--ease) var(--d, 0s); }
.io .step.in::before { transform: none; }
.split .w { display: inline-block; overflow: hidden; overflow: clip; padding-bottom: .1em; margin-bottom: -.1em; vertical-align: top; }
.split .w > span { display: inline-block; }
.io .split .w > span { transform: translateY(105%); transition: transform 1s var(--ease) calc(var(--wi, 0) * 40ms); }
.io .split.in .w > span { transform: none; }
.io .frame.unveil img { clip-path: inset(0 0 100% 0); transition: clip-path 1.3s var(--ease) var(--d, 0s); }
.io .frame.unveil.in img { clip-path: inset(0 0 0 0); }
@supports (animation-timeline: view()) {
  .final-ph img { animation: drift linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
  .foot-word { animation: word-up linear both; animation-timeline: view(); animation-range: entry 0% entry 90%; }
  @keyframes drift { from { transform: translateY(-5%) scale(1.1); } to { transform: translateY(3%) scale(1.1); } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .hero-t .line > span, .io [data-reveal], .io .split .w > span, .js .rail-o { transform: none; opacity: 1; }
  .js .hero [data-fade], .js .rail-o .rail-tag { opacity: 1; }
  .js .rail-o .rail-bar::after, .io .step::before, .io .spread .spread-line { transform: none; }
  .io .frame.unveil img { clip-path: none; }
  .final-ph img, .foot-word { animation: none !important; transform: none !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .links { display: none; }
  .menu-btn { display: inline-flex; align-items: center; }
  .nav-end { grid-column: 3; }
  .of { grid-template-columns: minmax(150px, 1fr) minmax(0, 2fr) minmax(110px, auto); }
  .of-d { grid-column: 1 / -1; grid-row: 2; margin-top: -4px; }
  .bl { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 999px) {
  .sec-head > :first-child, .sec-head .lead { grid-column: 1 / -1; }
  .sec-head .lead { padding-top: 0; }
  .spread { grid-column: 1 / -1; grid-row: auto; margin-bottom: 64px; }
  .intro-t { grid-row: auto; grid-column: 1 / 12; }
  .intro-facts { grid-row: auto; grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vet li { grid-column: 1 / -1; }
  .q-row { grid-template-columns: minmax(0, 1fr); }
  .agents-ph, .agents-copy, .qs-grid > :first-child, .qa, .final-copy, .final-ph { grid-column: 1 / -1; }
  .foot-note { grid-column: 1 / -1; }
  .foot-links { grid-column: 1 / 7; }
  .foot-contact { grid-column: 7 / 13; }
}
@media (max-width: 760px) {
  :root { --nav-h: 64px; }
  body { font-size: 16px; }
  .nav-cta { display: none; }
  .nav-in { grid-template-columns: 1fr auto; }
  .logo { font-size: 28px; }
  .h2 { font-size: clamp(40px, 11.4vw, 58px); }
  .lead { font-size: 18px; }
  /* phones: still one photo with the words on it, as on a wide screen */
  .hero { min-height: max(680px, 100svh); }
  .hero-bg img { object-position: 50% 50%; }
  .hero::after { background:
    linear-gradient(180deg, rgb(8 12 14 / .34) 0, rgb(8 12 14 / 0) 120px),
    linear-gradient(0deg, rgb(8 12 14 / .78) 0%, rgb(8 12 14 / .55) 42%, rgb(8 12 14 / 0) 70%); }
  .hero-t { margin-top: 24px; font-size: clamp(40px, 11.6vw, 54px); }
  .hero-lead { font-size: 16.5px; margin-top: 16px; }
  .hero .addr { margin-top: 22px; }
  .rail-l { gap: 8px; }
  .rail-k { display: none; }
  .rail-v { font-size: 13px; letter-spacing: -.03em; }
  .rail-cap { margin-bottom: 10px; font-size: 12.5px; }
  .addr-pill { padding-left: 12px; }
  .addr-go { min-width: 0; min-height: 50px; padding: 0 14px; }
  .addr-go-t { display: none; }
  .intro-t { grid-column: 1 / -1; font-size: 22px; }
  .spread { margin-bottom: 48px; }
  .spread-v { font-size: clamp(64px, 20vw, 92px); }
  .spread-scale { font-size: 12.5px; gap: 10px; }
  .intro-facts { grid-template-columns: minmax(0, 1fr); margin-top: 56px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step-day { margin-bottom: 18px; }
  .bl { display: flex; gap: 12px; margin-inline: calc(var(--pad) * -1); padding: 0 var(--pad) 6px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--pad); scrollbar-width: none; }
  .bl::-webkit-scrollbar { display: none; }
  .b { flex: 0 0 72%; scroll-snap-align: start; }
  .est-card { margin-inline: calc(var(--pad) * -1); padding: 24px var(--pad) 28px; }
  .tiles-3 { grid-template-columns: minmax(0, 1fr); }
  .tile { aspect-ratio: 16 / 7; }
  .chip span { min-height: 48px; padding: 8px 12px; font-size: 14.5px; }
  .inq .chips { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .of { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 14px; padding: 14px 10px; }
  .of-bar { grid-column: 1 / -1; grid-row: 2; }
  .of-d { grid-column: 1 / -1; grid-row: 3; margin-top: 0; }
  .of-v { grid-column: 2; grid-row: 1; }
  .keep, .keep-lines { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .cmp-hint { display: flex; align-items: center; gap: 6px; margin-top: 32px; font-size: 14px; color: var(--muted); }
  .cmp-hint .i { width: 16px; height: 16px; }
  .cmp-hint + .cmp-scroll { margin-top: 12px; }
  .cmp-t { min-width: 640px; font-size: 15px; }
  .cmp-t th, .cmp-t td { padding: 14px 10px; }
  .ans-cta .btn { width: 100%; }
  .qa summary { padding: 18px 0; }
  .foot-links, .foot-contact { grid-column: 1 / -1; }
  .dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--bg) 94%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .5s var(--ease); }
  .dock.on { transform: none; }
  body.has-dock .foot { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}
