/* WoonWaarde — design system (v2: calm, precise property-data product) */
:root {
  --teal: #007F78;
  --teal-dark: #005F5A;
  --teal-soft: #D4EEEA;
  --navy: #173449;
  --navy-deep: #0F2433;
  --navy-soft: #4A6070;
  --mint: #EDF8F4;
  --mint-deep: #DDEFE8;
  --white: #FFFFFF;
  --line: #DCE7E3;
  --muted: #6B7C89;
  --error: #B5372F;
  --gold: #D9A441;
  --gold-soft: #FBF1DC;

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-sm: 10px; --r: 14px; --r-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(23,52,73,.06), 0 4px 12px rgba(23,52,73,.06);
  --shadow: 0 12px 32px rgba(23,52,73,.12);
  --max: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--navy); background: var(--white); line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--teal); }
h1, h2, h3, h4 { line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.3rem, 4.4vw, 3.5rem); font-weight: 700; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; }
h4 { font-size: 1rem; font-weight: 600; }
p { margin: 0 0 1em; }
b, strong { font-weight: 600; }
.muted { color: var(--muted); }
.wrap { width: min(100% - 40px, var(--max)); margin-inline: auto; }
@media (max-width: 600px) { .wrap { width: min(100% - 32px, var(--max)); } }
.lead { font-size: 1.12rem; color: var(--navy-soft); line-height: 1.6; }
.center { text-align: center; }
.section-head { max-width: 60ch; margin-bottom: 40px; }
.section-head p { color: var(--navy-soft); }
.eyebrow { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border-radius: 999px; border: 1.5px solid transparent; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; transition: background .15s, border-color .15s, color .15s; white-space: nowrap; line-height: 1.2; }
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-dark); }
.btn-primary:disabled { opacity: .55; cursor: not-allowed; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-sm { padding: 10px 18px; font-size: .9rem; }
/* Phones: let long button labels wrap instead of pushing the layout past the viewport. */
@media (max-width: 480px) { .btn { white-space: normal; text-align: center; max-width: 100%; } }
.btn:focus-visible, a:focus-visible { outline: 3px solid var(--teal-soft); outline-offset: 2px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy); color: var(--white); padding: 10px 14px; border-radius: 8px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }
.btn-text { background: none; border-color: transparent; color: var(--navy-soft); padding-left: 8px; padding-right: 8px; }
.btn-text:hover { color: var(--navy); background: var(--mint); }
.link { background: none; border: 0; padding: 0; font: inherit; color: var(--teal); text-decoration: underline; cursor: pointer; }

/* Header */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 20; transition: background .2s, box-shadow .2s; }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 80px; transition: height .2s; }
.header.scrolled { background: rgba(255,255,255,.94); backdrop-filter: blur(8px); box-shadow: 0 1px 0 var(--line); }
.header.scrolled .wrap { height: 60px; }
.header.scrolled .logo img { height: 26px; }
.header .logo img { height: 32px; width: auto; }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a { color: var(--navy); text-decoration: none; font-weight: 500; font-size: .95rem; white-space: nowrap; }
.nav a:hover { color: var(--teal); }
.nav .btn-primary, .nav .btn-primary:hover { color: var(--white); }
.menu-btn { display: none; background: var(--white); border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; place-items: center; cursor: pointer; color: var(--navy); }
.menu-btn svg { width: 22px; height: 22px; }
.menu-btn .ic-x { display: none; }
.menu-btn[aria-expanded="true"] .ic-menu { display: none; }
.menu-btn[aria-expanded="true"] .ic-x { display: block; }
@media (max-width: 760px) {
  .header .logo img { height: 26px; } .header .wrap { height: 68px; }
  .menu-btn { display: grid; }
  .header.scrolled .wrap { height: 60px; }
  .nav { display: none; position: absolute; top: 68px; left: 16px; right: 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 10px; flex-direction: column; gap: 2px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; border-radius: 8px; }
  .nav a:hover { background: var(--mint); }
  .nav .btn { margin-top: 6px; justify-content: center; }
  /* Secondary pages have no menu button: keep only the main action visible */
  .header.scrolled .nav { top: 60px; }
  .legal-page .nav { display: flex; position: static; flex-direction: row; background: none; border: 0; padding: 0; box-shadow: none; }
  .legal-page .nav a:not(.btn) { display: none; }
  .legal-page .nav .btn { margin: 0; }
}

/* ---------- Hero ---------- */
.hero { background: var(--mint); padding: 128px 0 56px; position: relative; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero .wrap > * { min-width: 0; }
.hero-copy h1 { max-width: 24ch; margin-bottom: 14px; }
.hero-copy .lead { max-width: 42ch; margin-bottom: 26px; }
.sample-link { margin: 12px 0 0; font-size: .95rem; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.sample-link a { color: var(--teal); font-weight: 600; }
.sample-link a.quiet { color: var(--navy-soft); font-weight: 500; }
.promise { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 16px 0 0; padding: 0; list-style: none; font-size: .9rem; color: var(--navy-soft); }
.promise li { display: inline-flex; align-items: center; gap: 7px; }
.promise svg { width: 16px; height: 16px; color: var(--teal); flex: none; }

/* Address form: one clean surface */
.addr { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px; display: grid; grid-template-columns: 1.2fr .8fr .9fr; gap: 10px; box-shadow: var(--shadow-sm); }
.addr .f { display: flex; flex-direction: column; gap: 4px; }
.addr label { font-size: .8rem; font-weight: 600; color: var(--navy-soft); }
.addr input { font: inherit; font-size: 1.05rem; font-weight: 500; border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 11px 12px; color: var(--navy); width: 100%; background: var(--white); }
.addr input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-soft); }
.addr input::placeholder { color: #A9B7C0; font-weight: 400; }
.addr .btn { grid-column: 1 / -1; margin-top: 4px; }
.addr .spin { display: none; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.4); border-top-color: var(--white); border-radius: 50%; animation: spin .7s linear infinite; }
.addr.loading .spin { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 480px) { .addr { grid-template-columns: 1fr 1fr; } .addr .f:first-child { grid-column: 1 / -1; } }
.cost { margin: 12px 0 0; font-size: .95rem; color: var(--navy-soft); }
.cost b { color: var(--navy); }
.addr-status { margin-top: 6px; min-height: 1.4em; font-size: .92rem; font-weight: 500; color: var(--navy-soft); }
.addr-status.err { color: var(--error); }
.addr-status.ok { color: var(--teal); }
.suffixes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.suffixes button { font: inherit; font-size: .88rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); color: var(--navy); cursor: pointer; }
.suffixes button:hover { border-color: var(--teal); color: var(--teal); }

/* Property card (the chosen house) */
.prop { display: grid; grid-template-columns: 148px 1fr; gap: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; margin-top: 14px; }
.prop[hidden] { display: none; }
.prop:not([hidden]) { animation: rise .28s ease-out; }
@keyframes rise { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.prop-map { position: relative; background: var(--mint-deep); min-height: 128px; overflow: hidden; }
.prop-map img { position: absolute; width: 256px; height: 256px; max-width: none; }
.prop-map .pin { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; border-radius: 50%; background: var(--teal); border: 3px solid var(--white); box-shadow: 0 1px 6px rgba(0,0,0,.35); transform: translate(-50%, -50%); z-index: 2; }
.prop-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; justify-content: center; min-width: 0; }
.prop-body b { font-size: 1.02rem; font-weight: 600; line-height: 1.3; }
.prop-body .meta { color: var(--navy-soft); font-size: .9rem; }
.prop-body .warn { color: var(--error); font-size: .88rem; }
.prop-body .link { align-self: flex-start; font-size: .88rem; margin-top: 4px; }
@media (max-width: 480px) { .prop { grid-template-columns: 1fr; } .prop-map { min-height: 150px; } }

/* Hero visual: house + valuation card as one composition */
.hero-visual { position: relative; padding-bottom: 56px; }
.hero-ill img { width: 100%; height: auto; }
.report-card { position: absolute; left: 6%; bottom: 0; width: min(310px, 86%); background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 20px 22px 22px; }
.report-card .k { font-size: .86rem; color: var(--navy-soft); font-weight: 500; }
.report-card .v { font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin: 4px 0 12px; }
.report-card .line { font-size: .92rem; color: var(--navy-soft); line-height: 1.5; }
.report-card .line b { white-space: nowrap; }
.report-card .line b { color: var(--navy); }
.rc-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.rp-tag { background: var(--gold-soft); color: var(--navy); font-size: .74rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
@media (max-width: 960px) {
  .hero { padding-top: 104px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 32px; }
  .hero-visual { max-width: 300px; margin-inline: auto; padding-bottom: 48px; }
  .report-card { left: 4%; width: 92%; padding: 16px 18px; }
  .report-card .v { font-size: 1.7rem; }
}

/* Range bar with labelled markers */
.range { position: relative; height: 8px; border-radius: 99px; background: var(--mint-deep); margin: 44px 0 0; }
.range .band { position: absolute; top: 0; bottom: 0; border-radius: 99px; background: var(--teal-soft); }
.range.axis .band { border: 1px solid var(--teal); }
.range .edge { position: absolute; top: -24px; font-size: .78rem; font-style: normal; color: var(--teal-dark); font-weight: 600; white-space: nowrap; }
.range .edge.l { left: 0; } .range .edge.r { right: 0; }
.range .mk { position: absolute; top: 50%; transform: translate(-50%, -50%); width: 14px; height: 14px; border-radius: 50%; border: 3px solid var(--white); box-shadow: 0 1px 4px rgba(0,0,0,.25); }
.range .mk.est { background: var(--teal); width: 16px; height: 16px; }
.range .mk.ask { background: var(--gold); }
.range .mk span { position: absolute; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: .84rem; font-weight: 600; color: var(--navy); }
.range .mk.est span { bottom: 18px; color: var(--teal); }
.range .mk.ask span { top: 18px; }
.range-l { display: flex; justify-content: space-between; font-size: .88rem; color: var(--navy-soft); margin-top: 44px; }
.range-key { display: none; gap: 6px 18px; flex-wrap: wrap; font-size: .86rem; color: var(--navy-soft); margin-top: 10px; }
.range-key span { display: inline-flex; align-items: center; gap: 6px; }
.range-key i { width: 10px; height: 10px; border-radius: 50%; }
.range-key i.est { background: var(--teal); } .range-key i.ask { background: var(--gold); }
@media (max-width: 480px) {
  .range .mk span { display: none; }
  .range { margin-top: 20px; } .range-l { margin-top: 10px; }
  .range-key { display: flex; }
}

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section.tight { padding: 56px 0; }
.section.mint { background: var(--mint); }
.section.bordered { border-top: 1px solid var(--line); }
/* Dark methodology/trust section: the one high-contrast moment on the page */
.section.navy { background: var(--navy-deep); color: #C9D6DF; }
.section.navy h2, .section.navy h3 { color: var(--white); }
.section.navy .method p { color: #C9D6DF; }
.section.navy .srcs, .section.navy .srcs li { border-color: rgba(255,255,255,.12); color: #C9D6DF; }
.section.navy .srcs li b { color: var(--white); }
.section.navy .check { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.section.navy .check i { background: rgba(255,255,255,.1); color: #8FD3CC; }
.section.navy .check b { color: var(--white); }
.section.navy .check span { color: #C9D6DF; }
.panel-light { background: var(--white); color: var(--navy-soft); border-radius: var(--r-lg); padding: 28px; }
.panel-light h3 { color: var(--navy); margin-bottom: 14px; }
.panel-light dl { margin: 0; display: grid; gap: 14px; }
.panel-light dt { color: var(--navy); font-weight: 600; font-size: .95rem; }
.panel-light dd { margin: 2px 0 0; font-size: .9rem; }

/* Source strip: Kadaster → BAG → your answers → human review */
.strip { background: var(--white); border-bottom: 1px solid var(--line); }
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0; padding: 22px 0; list-style: none; counter-reset: f; }
.flow li { position: relative; padding-left: 34px; font-size: .9rem; color: var(--navy-soft); line-height: 1.4; }
.flow li::before { counter-increment: f; content: counter(f); position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--teal-soft); color: var(--teal-dark); font-size: .76rem; font-weight: 700; display: grid; place-items: center; }
.flow li:not(:last-child)::after { content: ""; position: absolute; right: -12px; top: 10px; width: 8px; height: 8px; border-right: 1.5px solid var(--line); border-bottom: 1.5px solid var(--line); transform: rotate(-45deg); }
.flow b { display: block; color: var(--navy); font-weight: 600; }
@media (max-width: 760px) { .flow { grid-template-columns: 1fr 1fr; gap: 14px 24px; padding: 18px 0; } .flow li::after { display: none; } }
@media (max-width: 760px) { .section { padding: 64px 0; } .section.tight { padding: 44px 0; } }

/* Report preview: split layout */
.preview { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.preview > * { min-width: 0; }
@media (max-width: 900px) { .preview { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 480px) { .preview-copy .btn { width: 100%; } }
.preview-copy h2 { margin-bottom: 12px; }
.preview-copy ol { margin: 18px 0 0; padding: 0; list-style: none; counter-reset: p; display: grid; gap: 14px; }
.preview-copy li { position: relative; padding-left: 36px; color: var(--navy-soft); font-size: .97rem; }
.preview-copy li::before { counter-increment: p; content: counter(p); position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 8px; background: var(--mint); color: var(--teal); font-size: .78rem; font-weight: 600; display: grid; place-items: center; }
.preview-copy li b { color: var(--navy); display: block; }
.preview-copy .btn { margin-top: 24px; }

/* The sample report block (shared by home and voorbeeldrapport) */
.report { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.rp-head { display: flex; align-items: center; gap: 14px; padding: 16px 22px; border-bottom: 1px solid var(--line); background: var(--mint); }
.rp-head img { height: 20px; }
.rp-head div { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.rp-head div b { font-weight: 600; }
.rp-head div span { font-size: .84rem; color: var(--navy-soft); }
@media (max-width: 600px) { .rp-head img { display: none; } }
.rp-sec { padding: 22px 22px 24px; border-top: 1px solid var(--line); }
.rp-sec:first-of-type { border-top: 0; }
.rp-label { font-size: .92rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.rp-big { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.conf { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 6px 12px 6px 8px; border-radius: 999px; font-size: .88rem; font-weight: 600; }
.conf i { display: inline-flex; gap: 3px; }
.conf i::before, .conf i::after, .conf i span { content: ""; display: block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .3; }
.conf-high { background: var(--teal-soft); color: var(--teal-dark); }
.conf-high i::before, .conf-high i::after, .conf-high i span { opacity: 1; }
.conf-mid { background: var(--gold-soft); color: #7A5A12; }
.conf-mid i::before, .conf-mid i span { opacity: 1; }
.conf-low { background: #FBE4E1; color: var(--error); }
.conf-low i::before { opacity: 1; }
.conf b { white-space: nowrap; font-weight: 600; }
.conf small { font-weight: 500; opacity: .85; }
@media (max-width: 480px) { .conf { flex-wrap: wrap; } .conf small { flex-basis: 100%; padding-left: 0; } }
.rp-note { font-size: .97rem; color: var(--navy-soft); margin: 12px 0 0; max-width: 60ch; }
.rp-ref { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 24px; margin-top: 4px; }
.rp-ref div { font-size: .92rem; color: var(--navy-soft); }
.rp-ref div b { display: block; font-size: 1.2rem; color: var(--navy); font-weight: 600; }
@media (max-width: 640px) { .rp-ref { grid-template-columns: 1fr 1fr; } }
.rp-foot { background: var(--mint); color: var(--navy-soft); padding: 12px 22px; font-size: .88rem; display: flex; gap: 8px; align-items: center; }
.rp-foot svg { width: 16px; height: 16px; color: var(--teal); flex: none; }
.rp-more { display: inline-block; margin-top: 14px; font-size: .97rem; }

/* Comparable sales, with why each one matters */
.comps { display: grid; gap: 0; margin-top: 8px; }
.comp { border-top: 1px solid var(--line); }
.comp summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 14px 0; }
.comp summary::-webkit-details-marker { display: none; }
.comp .c-addr { font-weight: 600; font-size: 1.02rem; grid-column: 1; grid-row: 1; }
.comp .c-when { font-size: .9rem; color: var(--navy-soft); grid-column: 1; grid-row: 2; }
.comp .c-price { font-weight: 600; font-size: 1.02rem; text-align: right; grid-column: 2; grid-row: 1; white-space: nowrap; }
.comp .c-psm { font-size: .9rem; color: var(--navy-soft); text-align: right; grid-column: 2; grid-row: 2; }
.comp .diffs { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 0 16px; }
.diff { font-size: .88rem; font-weight: 500; padding: 5px 12px; border-radius: 999px; background: var(--mint); color: var(--navy); }
.diff.same { background: var(--teal-soft); color: var(--teal-dark); font-weight: 600; }
.diff.up { background: var(--gold-soft); color: var(--navy); font-weight: 600; }
.comp .c-note { font-size: .86rem; color: var(--navy-soft); margin: -6px 0 14px; }
.comp .c-key { display: flex; flex-wrap: wrap; gap: 6px; grid-column: 1; grid-row: 3; margin-top: 8px; }
.comp .c-key .diff { font-size: .82rem; padding: 4px 10px; }
.comp .toggle { grid-column: 2; grid-row: 3; align-self: end; justify-self: end; font-size: .84rem; font-weight: 600; color: var(--teal); margin-top: 8px; white-space: nowrap; }
.comp[open] .toggle::before { content: "Minder"; } .comp:not([open]) .toggle::before { content: "Meer details"; }
.comp .diffs .diff:nth-child(-n+2) { display: none; }

/* Process: compact horizontal */
.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.process > div { padding: 22px 24px; border-left: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: start; }
.process > div:first-child { border-left: 0; }
.process i { grid-row: 1 / 3; width: 30px; height: 30px; border-radius: 9px; background: var(--mint); color: var(--teal); display: grid; place-items: center; font-style: normal; font-size: .86rem; font-weight: 600; }
.process b { font-weight: 600; }
.process span { color: var(--navy-soft); font-size: .92rem; }
.process small { grid-column: 2; color: var(--teal); font-size: .8rem; font-weight: 600; }
@media (max-width: 760px) { .process { grid-template-columns: 1fr; } .process > div { border-left: 0; border-top: 1px solid var(--line); } .process > div:first-child { border-top: 0; } }

/* Methodology */
.method { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 860px) { .method { grid-template-columns: 1fr; gap: 36px; } }
.method h2 { margin-bottom: 12px; }
.method p { color: var(--navy-soft); }
.srcs { display: grid; gap: 0; margin: 20px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.srcs li { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .93rem; color: var(--navy-soft); }
.srcs li b { color: var(--navy); }
.srcs li b small { display: block; font-weight: 400; font-size: .8rem; color: var(--muted); line-height: 1.3; }
.panel-navy { background: var(--navy); color: #D6E1E8; border-radius: var(--r-lg); padding: 28px; }
.panel-navy h3 { color: var(--white); margin-bottom: 14px; }
.panel-navy dl { margin: 0; display: grid; gap: 14px; }
.panel-navy dt { color: var(--white); font-weight: 600; font-size: .95rem; }
.panel-navy dd { margin: 2px 0 0; font-size: .9rem; }
.check { display: flex; gap: 14px; margin-top: 22px; padding: 18px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); }
.check i { width: 40px; height: 40px; border-radius: 12px; background: var(--mint); color: var(--teal); display: grid; place-items: center; flex: none; }
.check svg { width: 20px; height: 20px; }
.check b { display: block; font-weight: 600; }
.check span { font-size: .92rem; color: var(--navy-soft); }

/* FAQ */
.faq { max-width: 780px; margin-inline: auto; }
#faq h2 { text-align: center; }
#faq { padding-top: 64px; }
.faq details { border-top: 1px solid var(--line); padding: 16px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { min-height: 44px; font-weight: 600; font-size: 1rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--teal); font-size: 1.3rem; font-weight: 400; flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 10px 0 0; color: var(--navy-soft); max-width: 62ch; font-size: .97rem; }

/* Final CTA */
.cta { background: var(--mint); padding: 72px 0; }
.cta .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.cta .btn { margin-top: 18px; }
.cta-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px 22px 22px; box-shadow: var(--shadow-sm); }
.cta-card .k { font-size: .86rem; color: var(--navy-soft); font-weight: 500; }
.cta-card .v { font-size: 1.8rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin: 2px 0 0; }
.cta-card .range { margin-top: 40px; }
.cta h2 { margin-bottom: 8px; }
.cta p { color: var(--navy-soft); margin: 0; }
@media (max-width: 860px) { .cta .wrap { grid-template-columns: 1fr; gap: 24px; } }

/* Footer */
.footer { background: var(--navy-deep); color: #9FB2C0; padding: 56px 0 28px; font-size: .92rem; }
.footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
@media (max-width: 760px) { .footer .cols { grid-template-columns: 1fr 1fr; } }
.footer img { height: 26px; margin-bottom: 14px; }
.footer h4 { color: var(--white); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }
.footer a { color: #9FB2C0; text-decoration: none; display: block; padding: 10px 0; margin: 0; line-height: 1.4; }
.footer a:hover { color: var(--white); }
.footer .bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; }
.footer.slim { padding: 32px 0; }
.footer.slim .bottom { border: 0; padding: 0; align-items: center; }
.footer.slim img { height: 22px; margin: 0; }
.footer.slim nav { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }
.footer.slim nav a { display: inline; margin: 0; }

/* ---------- Funnel ---------- */
.funnel-page { background: var(--mint); min-height: 100vh; display: flex; flex-direction: column; }
.funnel-top { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; }
.funnel-top img { height: 28px; }
.funnel-top a { font-weight: 500; text-decoration: none; color: var(--navy-soft); font-size: .92rem; }
.funnel-main { flex: 1; display: flex; align-items: flex-start; justify-content: center; padding: 8px 0 64px; }
.panel { width: min(100% - 32px, 640px); }
.stages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 8px; }
.stages span { font-size: .78rem; font-weight: 600; color: var(--muted); padding-top: 8px; border-top: 3px solid var(--mint-deep); }
.stages span.on { color: var(--teal); border-color: var(--teal); }
.stages span.done { color: var(--navy-soft); border-color: var(--teal-soft); }
.stepline { font-size: .84rem; color: var(--navy-soft); margin-bottom: 16px; display: flex; justify-content: space-between; gap: 12px; }
.stepline b { color: var(--teal); font-weight: 600; }
.progress { display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; margin: 10px 0 8px; }
.progress span { height: 5px; border-radius: 99px; background: var(--mint-deep); transition: background .2s; }
.progress span.done { background: var(--teal); }
.progress span.on { background: var(--teal); opacity: .55; }
.card { background: var(--white); border-radius: var(--r-lg); border: 1px solid var(--line); padding: 36px; display: flex; flex-direction: column; }
/* Short steps (parking, asking price) get the same footprint as long ones; the buttons settle at the bottom. */
@media (min-width: 601px) { .card { min-height: 480px; } }
@media (max-width: 520px) { .card { padding: 24px 20px; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 600; font-size: .92rem; }
.field input { font: inherit; padding: 12px 14px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: var(--white); color: var(--navy); width: 100%; }
.field input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-soft); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.row .field input { margin-top: auto; } /* keeps paired inputs level when one label wraps on narrow screens */
.hint { font-size: .85rem; color: var(--muted); }
.why { font-size: .88rem; color: var(--navy-soft); background: var(--mint); border-radius: var(--r-sm); padding: 10px 14px; margin: 0 0 18px; }
.error { color: var(--error); font-size: .88rem; font-weight: 600; min-height: 1.2em; }
.field .error { min-height: 0; }
.field .error:empty { display: none; }
.field input[aria-invalid="true"] { border-color: var(--error); }
.q { display: none; }
.q.active { display: block; animation: fadein .18s ease-out; }
@keyframes fadein { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.q h2 { margin-bottom: 6px; font-size: 1.5rem; }
.q .sub { color: var(--navy-soft); margin-bottom: 18px; }
.choices { display: grid; gap: 8px; margin-bottom: 8px; }
.choice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; min-height: 52px; border: 1.5px solid var(--line); border-radius: var(--r-sm); cursor: pointer; background: var(--white); position: relative; transition: background .12s, border-color .12s; }
.choice:hover { background: var(--mint); }
.choice:has(input:focus-visible) { outline: 3px solid var(--teal-soft); outline-offset: 2px; }
.choice::after { content: ""; position: absolute; right: 14px; top: 16px; width: 20px; height: 20px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; opacity: 0; transform: scale(.6); transition: opacity .12s, transform .12s; }
.choice:has(input:checked)::after { opacity: 1; transform: none; }
.choice > div { padding-right: 28px; }
.choice input { margin-top: 4px; accent-color: var(--teal); }
.choice b { display: block; font-weight: 600; }
.choice small { color: var(--muted); display: block; }
.choice:has(input:checked) { border-color: var(--teal); background: var(--teal-soft); }
.choice:has(input:checked):hover { background: var(--teal-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 10px 16px; min-height: 44px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 500; background: var(--white); min-width: 48px; text-align: center; transition: background .12s, border-color .12s; }
.chip:hover span { background: var(--mint); }
.chip input:checked + span { background: var(--teal); color: var(--white); border-color: var(--teal); }
.chip input:focus-visible + span { outline: 3px solid var(--teal-soft); outline-offset: 2px; }
.actions { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 24px; gap: 12px; }
/* Phones: the buttons stick to the bottom of the screen while a long step scrolls past. */
@media (max-width: 600px) {
  .actions { position: sticky; bottom: 0; background: var(--white); margin: auto -20px 0; padding: 14px 20px; border-top: 1px solid var(--line); border-radius: 0 0 var(--r-lg) var(--r-lg); }
  .actions .btn { padding: 12px 18px; }
  .actions .btn-primary { white-space: nowrap; }
}
.summary { display: grid; margin-bottom: 20px; border-top: 1px solid var(--line); }
.summary .srow { display: grid; grid-template-columns: 110px 1fr 24px; gap: 12px; align-items: center; min-height: 48px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .92rem; text-align: left; background: none; border-left: 0; border-right: 0; border-top: 0; font: inherit; color: var(--navy); cursor: pointer; width: 100%; text-decoration: none; }
.summary .srow:hover { background: var(--mint); }
.summary .srow span:first-child { color: var(--muted); }
.summary .srow span:nth-child(2) { font-weight: 500; }
.summary .srow svg { width: 18px; height: 18px; color: var(--teal); justify-self: end; }
@media (max-width: 480px) { .summary .srow { grid-template-columns: 1fr 24px; } .summary .srow span:first-child { grid-column: 1; font-size: .8rem; } .summary .srow span:nth-child(2) { grid-column: 1; grid-row: 2; } .summary .srow svg { grid-column: 2; grid-row: 1 / 3; } }
.summary-hint { font-size: .84rem; color: var(--muted); margin: -12px 0 20px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--navy-soft); }
.consent input { margin-top: 4px; accent-color: var(--teal); }
.done { text-align: center; padding: 12px 0; }
.done .tick { width: 56px; height: 56px; border-radius: 50%; background: var(--teal); color: var(--white); display: grid; place-items: center; margin: 0 auto 18px; }
.done .tick svg { width: 28px; height: 28px; }
.done-facts { text-align: left; margin: 20px auto 18px; max-width: 460px; display: grid; border-top: 1px solid var(--line); }
.done-facts div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.done-facts div span:first-child { color: var(--muted); }
.done-facts div span:last-child { font-weight: 500; }
.done .steps { text-align: left; max-width: 460px; margin: 0 auto 20px; padding: 0 0 0 18px; color: var(--navy-soft); font-size: .92rem; }
.done .steps li { margin-bottom: 6px; }
.prefill { display: inline-block; background: var(--mint); color: var(--teal); font-size: .72rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; margin-left: 6px; vertical-align: middle; }
.funnel-page .prop { margin: 0 0 20px; }

/* ---------- Legal / secondary pages ---------- */
.legal-page .header { position: relative; background: var(--mint); }
@media (max-width: 480px) { .legal-page .header .logo img { height: 22px; } .legal-page .nav .btn { padding: 9px 14px; font-size: .85rem; } }
.legal { padding: 48px 0 80px; max-width: 64ch; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 28px; padding: 0 0 18px; list-style: none; border-bottom: 1px solid var(--line); font-size: .9rem; }
.legal-nav a { color: var(--navy-soft); text-decoration: none; font-weight: 500; }
.legal-nav a:hover { color: var(--teal); }

/* About page */
.about-hero { background: var(--mint); padding: 56px 0 48px; }
.about-hero h1 { font-size: clamp(2rem, 3.6vw, 2.8rem); max-width: 22ch; }
.about-hero .lead { max-width: 52ch; margin: 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; gap: 36px; } }
.about-grid h2 { font-size: 1.5rem; margin-bottom: 12px; }
.about-grid p { color: var(--navy-soft); }
.checks { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; color: var(--navy-soft); font-size: .97rem; }
.checks li::before { content: ""; width: 24px; height: 24px; border-radius: 50%; background: var(--teal-soft); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='%23005F5A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-size: 14px; background-position: center; background-repeat: no-repeat; }
.checks li b { color: var(--navy); }
.legal h2 { font-size: 1.25rem; margin-top: 2em; }
.legal .lead { margin-bottom: 1.4em; }


@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
