/* Home Build Check. One stylesheet, no framework.
   Palette: stormy teal (brand), wine plum, mint cream, frosted mint, old gold.
   Every colour pair used for text meets WCAG 2.2 AA in light and dark. */

@font-face {
  font-family: "Fraunces";
  src: url("/static/fonts/fraunces-600.3a1de771.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
/* Metric-matched fallback so headings do not shift when the font arrives. */
@font-face {
  font-family: "Fraunces Fallback";
  src: local("Georgia"), local("Times New Roman");
  size-adjust: 104%;
  ascent-override: 92%;
  descent-override: 24%;
  line-gap-override: 0%;
}

:root {
  color-scheme: light;
  --bg: #f1f7ed;
  --surface: #ffffff;
  --surface-2: #e8f1e2;
  --tint: #e0eec6;
  --ink: #12302d;
  --muted: #4a5f5b;
  --line: #cddbc9;
  --line-strong: #728882;
  --brand: #21635d;
  --brand-strong: #174a45;
  --brand-ink: #ffffff;
  --brand-soft: #d7e9e2;
  --plum: #6b2737;
  --plum-soft: #f6e5e9;
  --gold: #c2a83e;
  --gold-ink: #5a4810;
  --gold-soft: #f7efcc;
  --slate: #2f5577;
  --slate-soft: #e2ebf3;
  --deep: #10312e;
  --deep-ink: #e9f3e4;
  --deep-muted: #b5cbc3;
  --shadow-sm: 0 1px 2px rgb(18 48 45 / .06), 0 1px 1px rgb(18 48 45 / .04);
  --shadow: 0 1px 2px rgb(18 48 45 / .06), 0 8px 24px -8px rgb(18 48 45 / .18);
  --shadow-lg: 0 2px 4px rgb(18 48 45 / .06), 0 24px 48px -16px rgb(18 48 45 / .28);

  --s-1: .25rem;
  --s-2: .5rem;
  --s-3: 1rem;
  --s-4: 1.5rem;
  --s-5: 2.5rem;
  --s-6: 4rem;
  --t-xs: .8125rem;
  --t-sm: .9375rem;
  --t-base: 1.0625rem;
  --t-lg: 1.25rem;
  --t-xl: clamp(1.4rem, 1.2rem + .8vw, 1.75rem);
  --t-2xl: clamp(1.9rem, 1.4rem + 2vw, 2.6rem);
  --t-3xl: clamp(2.2rem, 1.5rem + 3vw, 3.4rem);
  --radius-sm: .5rem;
  --radius: .875rem;
  --radius-lg: 1.25rem;
  --max: 44rem;
  --max-wide: 72rem;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Fraunces", "Fraunces Fallback", Georgia, serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #0c1a19;
    --surface: #132624;
    --surface-2: #18302d;
    --tint: #1f3b2c;
    --ink: #e9f3e4;
    --muted: #a8bfb8;
    --line: #2a4541;
    --line-strong: #5d7d76;
    --brand: #74c7b9;
    --brand-strong: #9adbd0;
    --brand-ink: #0c1a19;
    --brand-soft: #173f3a;
    --plum: #ee9fb2;
    --plum-soft: #3a1c24;
    --gold: #dcc36c;
    --gold-ink: #e8d58f;
    --gold-soft: #352d12;
    --slate: #9cc0e2;
    --slate-soft: #1a2c3d;
    --deep: #07110f;
    --deep-ink: #e9f3e4;
    --deep-muted: #a8bfb8;
    --shadow-sm: 0 1px 2px rgb(0 0 0 / .3);
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 8px 24px -8px rgb(0 0 0 / .5);
    --shadow-lg: 0 2px 4px rgb(0 0 0 / .3), 0 24px 48px -16px rgb(0 0 0 / .6);
  }
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5.5rem; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: var(--t-base)/1.65 var(--font);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--s-3); width: 100%; }
.wrap-wide { max-width: var(--max-wide); }
@media (min-width: 40rem) { .wrap { padding: 0 var(--s-4); } }

a { color: var(--brand); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--brand-strong); text-decoration-thickness: .14em; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--tint); color: var(--ink); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; color: var(--ink); letter-spacing: -.012em; text-wrap: balance; }
h1 { font-size: var(--t-2xl); line-height: 1.12; margin: 0 0 var(--s-4); }
h2 { font-size: var(--t-xl); line-height: 1.2; margin: var(--s-5) 0 var(--s-3); }
h3 { font-size: var(--t-lg); line-height: 1.3; margin: var(--s-4) 0 var(--s-2); }
h1 + h2 { margin-top: var(--s-4); }
p { margin: 0 0 var(--s-3); }
p, li { text-wrap: pretty; }
ul, ol { margin: 0 0 var(--s-3); padding-left: 1.35rem; }
li { margin: 0 0 var(--s-2); }
li::marker { color: var(--brand); }
strong { font-weight: 650; }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--s-5) 0; }
small, .small { font-size: var(--t-sm); }
.muted { color: var(--muted); }
.lede { font-size: var(--t-lg); line-height: 1.55; color: var(--muted); max-width: 38rem; }
.eyebrow { display: block; font-size: var(--t-sm); font-weight: 600; color: var(--muted); margin: 0 0 var(--s-2); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

table { width: 100%; border-collapse: collapse; margin: 0 0 var(--s-4); font-size: var(--t-sm); background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
th, td { text-align: left; vertical-align: top; padding: var(--s-2) var(--s-3); border-bottom: 1px solid var(--line); }
th { background: var(--surface-2); font-weight: 650; }
tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; margin: 0 0 var(--s-4); }
.table-scroll table { margin: 0; }
blockquote { margin: 0 0 var(--s-3); padding: var(--s-2) var(--s-3); border-left: 4px solid var(--tint); color: var(--muted); }
details { margin: 0 0 var(--s-3); }
summary { cursor: pointer; font-weight: 650; }

.skip { position: absolute; left: var(--s-2); top: -4rem; background: var(--brand); color: var(--brand-ink); padding: var(--s-2) var(--s-3); border-radius: var(--radius-sm); z-index: 20; font-weight: 700; }
.skip:focus { top: var(--s-2); color: var(--brand-ink); }

/* Header */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-2) var(--s-4); min-height: 4rem; padding-top: var(--s-2); padding-bottom: var(--s-2); }
.wordmark { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; letter-spacing: -.01em; color: var(--ink); text-decoration: none; }
.wordmark:hover { color: var(--ink); }
.wordmark svg { width: 2rem; height: 2rem; flex: none; }
.wordmark .mark-house { fill: var(--brand); }
.wordmark .mark-tick { fill: none; stroke: var(--brand-ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.wordmark .mark-sun { fill: var(--gold); }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-1) var(--s-2); }
.site-nav li { margin: 0; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s-2); color: var(--ink); text-decoration: none; font-weight: 550; font-size: var(--t-sm); border-radius: var(--radius-sm); }
.site-nav a:hover { color: var(--brand); background: var(--surface-2); }
.site-nav .nav-cta { background: var(--brand); color: var(--brand-ink); padding: 0 var(--s-3); margin-left: var(--s-1); }
.site-nav .nav-cta:hover { background: var(--brand-strong); color: var(--brand-ink); }
@media (max-width: 30rem) { .site-nav .nav-hide-sm { display: none; } }

main { flex: 1; padding-top: var(--s-5); padding-bottom: var(--s-6); }
main.flush-top { padding-top: 0; }

.crumbs { font-size: var(--t-sm); color: var(--muted); margin: 0 0 var(--s-4); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-2); }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "›"; margin-right: var(--s-2); color: var(--line-strong); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--brand); }
.updated { color: var(--muted); font-size: var(--t-sm); margin-top: var(--s-5); }
.law-checked { color: var(--muted); font-size: var(--t-sm); margin: 0 0 var(--s-4); }

/* Footer */
.site-footer { background: var(--deep); color: var(--deep-ink); padding: var(--s-5) 0 var(--s-4); font-size: var(--t-sm); }
.site-footer a { color: var(--deep-ink); }
.site-footer a:hover { color: #fff; }
.site-footer :focus-visible { outline-color: var(--deep-ink); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-4); }
.footer-brand { max-width: 22rem; }
.footer-brand .wordmark { color: var(--deep-ink); }
.footer-brand .wordmark .mark-house { fill: #74c7b9; }
.footer-brand .wordmark .mark-tick { stroke: var(--deep); }
.footer-brand p, .site-footer .data-date, .site-footer .footer-note { color: var(--deep-muted); }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(8rem, auto)); gap: 0 var(--s-5); }
.footer-links li { margin: 0; }
.footer-links a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgb(255 255 255 / .12); margin-top: var(--s-4); padding-top: var(--s-3); }
.site-footer p { margin: var(--s-2) 0 0; }

/* Buttons */
.button, .button-secondary, .button-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 48px; min-width: 44px; padding: .7rem 1.4rem;
  font: inherit; font-weight: 700; line-height: 1.2; text-decoration: none;
  border: 2px solid transparent; border-radius: var(--radius-sm); cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.button { background: var(--brand); color: var(--brand-ink); }
.button:hover { background: var(--brand-strong); color: var(--brand-ink); }
.button-secondary { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.button-secondary:hover { border-color: var(--brand); color: var(--brand); }
.button-ghost { background: transparent; color: var(--brand); padding-left: var(--s-2); padding-right: var(--s-2); }
.button-ghost:hover { background: var(--surface-2); color: var(--brand-strong); }
.button-lg { min-height: 56px; padding: .9rem 1.8rem; font-size: var(--t-lg); }
.button-block { width: 100%; }
.button:disabled { background: var(--surface-2); color: var(--muted); box-shadow: none; transform: none; cursor: not-allowed; }
.button:focus-visible, .button-secondary:focus-visible, .button-ghost:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.button svg, .button-secondary svg, .button-ghost svg { width: 1.15em; height: 1.15em; flex: none; }
.arrow { transition: transform .2s var(--ease); }


/* Forms */
label { display: block; font-weight: 650; margin: 0 0 var(--s-1); }
.hint { color: var(--muted); font-size: var(--t-sm); margin: 0 0 var(--s-3); max-width: 40rem; }
input[type=text], input[type=email], input[type=search], input[type=number], textarea, select {
  display: block; width: 100%; max-width: 22rem; min-height: 52px; padding: var(--s-2) var(--s-3);
  font: inherit; font-size: var(--t-lg); color: var(--ink); background: var(--surface);
  border: 2px solid var(--line-strong); border-radius: var(--radius); box-shadow: inset 0 1px 2px rgb(0 0 0 / .05);
  transition: border-color .15s, box-shadow .15s;
}
textarea { max-width: 100%; font-size: var(--t-base); min-height: 8rem; }
input:hover, textarea:hover, select:hover { border-color: var(--brand); }
input[type=text]:focus-visible, input[type=email]:focus-visible, textarea:focus-visible, select:focus-visible { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 25%, transparent); }
input[type=checkbox], input[type=radio] { accent-color: var(--brand); width: 1.35rem; height: 1.35rem; margin: 0; flex: none; }
fieldset { border: 0; margin: 0 0 var(--s-4); padding: 0; min-width: 0; }
legend { font-weight: 700; padding: 0; margin: 0 0 var(--s-2); }
.field { margin: 0 0 var(--s-4); }
.check-row { display: flex; align-items: center; gap: var(--s-3); min-height: 44px; }
.check-row label { margin: 0; font-weight: 450; }
.unit-row { display: flex; align-items: center; gap: var(--s-3); margin: 0 0 var(--s-3); }
.unit-row input { max-width: 10rem; }
.unit-row .unit { font-size: var(--t-lg); color: var(--muted); font-weight: 600; }
.radio-list { list-style: none; margin: 0 0 var(--s-3); padding: 0; display: grid; gap: var(--s-2); }
.radio-list li { margin: 0; }
.radio-list label { display: flex; align-items: center; gap: var(--s-3); min-height: 44px; font-weight: 400; margin: 0; }

/* Choice cards: a radio or checkbox inside a big tappable label. */
.choices { display: grid; gap: var(--s-2); margin: 0 0 var(--s-4); padding: 0; list-style: none; }
.choices.cols-2 { grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.choices > * { margin: 0; }
.choice {
  position: relative; display: flex; align-items: center; gap: var(--s-3);
  min-height: 60px; padding: var(--s-3) var(--s-3) var(--s-3) var(--s-3);
  margin: 0; font-weight: 550; line-height: 1.4;
  background: var(--surface); border: 2px solid var(--line); border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color .15s var(--ease), background-color .15s var(--ease), transform .15s var(--ease), box-shadow .15s var(--ease);
}
.choice:hover { border-color: var(--line-strong); }
.choice input { width: 1.4rem; height: 1.4rem; }
.choice:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.choice:has(input:focus-visible) { outline: 3px solid var(--brand); outline-offset: 2px; }
.choice input:focus-visible { outline: none; }
.choice-text { display: grid; gap: 2px; }
.choice-sub { font-weight: 400; font-size: var(--t-sm); color: var(--muted); }
.choice-art { margin-left: auto; width: 3.25rem; height: 3.25rem; flex: none; }
.choice.not-sure { border-style: dashed; box-shadow: none; }

/* Notices */
.notice, .draft, .error, .callout {
  border-radius: var(--radius-sm); padding: var(--s-3);
  margin: 0 0 var(--s-4); background: var(--surface-2); border: 1px solid var(--line);
}
.notice > :last-child, .draft > :last-child, .error > :last-child, .callout > :last-child { margin-bottom: 0; }
.draft { background: var(--gold-soft); border-color: color-mix(in srgb, var(--gold) 50%, transparent); font-size: var(--t-sm); }
.error { background: var(--plum-soft); border-color: color-mix(in srgb, var(--plum) 40%, transparent); color: var(--ink); font-weight: 600; }
p.error { padding-top: var(--s-2); padding-bottom: var(--s-2); }
.field .error, fieldset .error { box-shadow: none; }
.callout { background: var(--tint); border-color: transparent; box-shadow: none; }

/* Cards and sections */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s-4); }
.card > :last-child { margin-bottom: 0; }
.card h2:first-child, .card h3:first-child { margin-top: 0; }
.section { padding: var(--s-6) 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 40rem; margin: 0 0 var(--s-5); }
.section-head h2 { margin-top: 0; font-size: var(--t-2xl); }
.grid { display: grid; gap: var(--s-4); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); }

/* Home hero */
.hero { padding: var(--s-5) 0 var(--s-6); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; gap: var(--s-5); align-items: center; }
@media (min-width: 60rem) { .hero-grid { grid-template-columns: 1.05fr .95fr; gap: var(--s-6); } }
.hero h1 { font-size: var(--t-3xl); line-height: 1.05; margin-bottom: var(--s-3); }

.hero .lede { margin-bottom: var(--s-4); }
.hero-art { justify-self: center; width: 100%; max-width: 30rem; }
.hero-art svg { display: block; width: 100%; height: auto; }
.trust { margin: var(--s-3) 0 0; font-size: var(--t-sm); color: var(--muted); }

/* The postcode form */
.check-start { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s-4); max-width: 34rem; }
.check-start h2 { margin: 0 0 var(--s-1); font-size: var(--t-lg); }
.check-start .why { color: var(--muted); margin: 0 0 var(--s-3); font-size: var(--t-sm); }
.inline-form { display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: stretch; }
.inline-form input[type=text] { flex: 1 1 11rem; max-width: none; text-transform: uppercase; letter-spacing: .04em; }
.inline-form input[type=text]::placeholder { text-transform: none; letter-spacing: 0; }
.inline-form .button { flex: 0 0 auto; }
.check-start .hint { margin-bottom: var(--s-2); }
.check-start .fine { font-size: var(--t-xs); color: var(--muted); margin: var(--s-3) 0 0; }

/* Project cards */
.project-card { display: flex; flex-direction: column; gap: var(--s-2); text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s-4); transition: border-color .15s; }
.project-card:hover { color: var(--ink); border-color: var(--brand); }
.project-card svg { width: 100%; height: 8.5rem; margin: 0 0 var(--s-2); }
.project-card h3 { margin: 0; }
.project-card p { margin: 0; color: var(--muted); font-size: var(--t-sm); }
.project-card .more { margin-top: auto; padding-top: var(--s-2); color: var(--brand); font-weight: 700; font-size: var(--t-sm); }
.project-card.soon { box-shadow: none; background: transparent; border-style: dashed; }
.project-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: var(--s-5) var(--s-6); margin: var(--s-4) 0; }
.project-groups h3 { margin: 0 0 var(--s-2); }
.project-groups ul { margin: 0; padding-left: 1.1rem; }
.project-groups li { margin: 0 0 var(--s-1); }

/* Numbered steps */
.how { counter-reset: how; list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-4) var(--s-5); grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.how li { counter-increment: how; margin: 0; padding-top: var(--s-3); border-top: 2px solid var(--ink); }
.how li::before { content: counter(how) "."; display: block; font-family: var(--font-display); font-weight: 600; font-size: var(--t-lg); color: var(--muted); margin: 0 0 var(--s-1); }
.how h3 { margin: 0 0 var(--s-1); }
.how p { margin: 0; color: var(--muted); }

/* Verdict chips, used on the home page and the result */
.verdicts { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-2); grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.verdicts li { margin: 0; display: flex; gap: var(--s-3); align-items: flex-start; padding: var(--s-3) 0; border-top: 1px solid var(--line); }
.verdicts strong { display: block; }
.verdicts span { font-size: var(--t-sm); color: var(--muted); }
.v-dot { width: 2.25rem; height: 2.25rem; border-radius: 50%; display: grid; place-items: center; flex: none; }
.v-dot svg { width: 1.2rem; height: 1.2rem; }
[data-v=pd] .v-dot, .v-dot.pd { background: var(--brand-soft); color: var(--brand); }
[data-v=pa] .v-dot, .v-dot.pa { background: var(--gold-soft); color: var(--gold-ink); }
[data-v=pp] .v-dot, .v-dot.pp { background: var(--plum-soft); color: var(--plum); }
[data-v=ac] .v-dot, .v-dot.ac { background: var(--slate-soft); color: var(--slate); }

/* Report preview on the home page */
.report-peek { display: grid; gap: var(--s-5); align-items: center; }
@media (min-width: 56rem) { .report-peek { grid-template-columns: 1fr 1fr; } }
.price-line { font-size: var(--t-sm); color: var(--muted); }
.price-line strong { font-size: var(--t-xl); font-family: var(--font-display); color: var(--ink); margin-right: var(--s-1); }

/* A paper sheet, the report thumbnail */

/* Audience strip */
.audience { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.audience > div { padding-top: var(--s-3); border-top: 2px solid var(--ink); }
.audience h3 { margin-top: 0; }
.audience p { color: var(--muted); font-size: var(--t-sm); }

/* ---------- The checker ---------- */
.check-shell { display: grid; gap: var(--s-4); align-items: start; }
@media (min-width: 62rem) { .check-shell { grid-template-columns: minmax(0, 1fr) 21rem; gap: var(--s-5); } .check-shell .build { position: sticky; top: 5.5rem; } }

/* Stepper */
.steps { list-style: none; margin: 0 0 var(--s-4); padding: 0; display: flex; gap: var(--s-1); counter-reset: st; }
.steps li { flex: 1; margin: 0; counter-increment: st; font-size: var(--t-xs); color: var(--muted); font-weight: 600; min-width: 0; }
.steps li::before { content: ""; display: block; height: 6px; border-radius: 6px; background: var(--line); margin: 0 0 var(--s-1); transition: background-color .4s var(--ease); }
.steps li.done::before { background: var(--brand); }
.steps li.current::before { background: linear-gradient(90deg, var(--brand) 45%, var(--line) 45%); }
.steps li.current { color: var(--ink); }
.steps li span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 36rem) { .steps li:not(.current) span { visibility: hidden; } }

.step-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s-4); view-transition-name: step; }
@media (min-width: 40rem) { .step-card { padding: var(--s-5); } }
.step-card > h1 { font-size: var(--t-2xl); }
.step-card h1:first-child, .step-card h2:first-child { margin-top: 0; }
.q-meta { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); margin: 0 0 var(--s-3); font-size: var(--t-sm); color: var(--muted); font-weight: 600; }
.q-meta .topic { color: var(--brand); text-transform: uppercase; letter-spacing: .08em; font-size: var(--t-xs); font-weight: 700; }
progress.q-progress { appearance: none; -webkit-appearance: none; display: block; width: 100%; height: 6px; border: 0; border-radius: 6px; background: var(--line); margin: 0 0 var(--s-4); overflow: hidden; }
progress.q-progress::-webkit-progress-bar { background: var(--line); border-radius: 6px; }
progress.q-progress::-webkit-progress-value { background: var(--brand); border-radius: 6px; transition: width .5s var(--ease); }
progress.q-progress::-moz-progress-bar { background: var(--brand); border-radius: 6px; }
.question legend, .question > label:not(.choice) { font-family: var(--font-display); font-weight: 600; font-size: var(--t-xl); line-height: 1.25; letter-spacing: -.01em; margin: 0 0 var(--s-2); text-wrap: balance; }
.question .hint { font-size: var(--t-base); margin-bottom: var(--s-4); }
.step-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3); margin-top: var(--s-4); padding-top: var(--s-4); border-top: 1px solid var(--line); }
.step-actions .button { margin-left: auto; }
.step-actions form { margin: 0; }

/* Facts list on the point step */
.facts { list-style: none; padding: 0; margin: 0 0 var(--s-4); display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.facts li { margin: 0; display: flex; justify-content: space-between; gap: var(--s-3); padding: var(--s-2) var(--s-3); background: var(--surface); font-size: var(--t-sm); }
.facts li > span:first-child { color: var(--muted); }
.facts li > span:last-child { font-weight: 600; text-align: right; }
.desig-list { list-style: none; padding: 0; margin: 0 0 var(--s-4); display: grid; gap: var(--s-2); }
.desig-list li { margin: 0; padding: var(--s-3); border-radius: var(--radius); background: var(--gold-soft); border: 1px solid color-mix(in srgb, var(--gold) 45%, transparent); font-size: var(--t-sm); }
.all-clear { display: flex; gap: var(--s-3); align-items: center; padding: var(--s-3); border-radius: var(--radius); background: var(--brand-soft); color: var(--ink); margin: 0 0 var(--s-4); font-weight: 550; }
.all-clear svg { width: 1.5rem; height: 1.5rem; color: var(--brand); flex: none; }

/* "Your report so far" panel */
.build { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.build-head { padding: var(--s-3) var(--s-4) 0; }
.build-head h2 { font-size: var(--t-lg); margin: 0; }
.build-head p { margin: var(--s-1) 0 0; font-size: var(--t-sm); color: var(--muted); }
.build-art { background: var(--surface-2); padding: var(--s-2) var(--s-3) 0; border-bottom: 1px solid var(--line); }
.build-art svg { display: block; width: 100%; height: auto; }
.build-body { padding: var(--s-3) var(--s-4) var(--s-4); }
.build-list { list-style: none; margin: 0; padding: 0; font-size: var(--t-sm); }
.build-list li { display: grid; grid-template-columns: 1.4rem 1fr; gap: var(--s-2); align-items: start; margin: 0; padding: var(--s-2) 0; border-bottom: 1px dashed var(--line); }
.build-list li:last-child { border-bottom: 0; }
.build-list .k { color: var(--muted); display: block; font-size: var(--t-xs); }
.build-list .v { font-weight: 600; display: block; }
.build-list .ic { width: 1.3rem; height: 1.3rem; border-radius: 50%; display: grid; place-items: center; margin-top: .1rem; background: var(--brand); color: var(--brand-ink); }
.build-list .ic svg { width: .8rem; height: .8rem; }
.build-list li.todo .ic { background: transparent; border: 2px dashed var(--line-strong); }
.build-list li.todo .v { color: var(--muted); font-weight: 500; }
.build-list li.locked .ic { background: var(--surface-2); color: var(--muted); }
.build-meter { display: flex; align-items: center; gap: var(--s-2); font-size: var(--t-xs); color: var(--muted); margin: 0 0 var(--s-2); font-weight: 600; }
.build-meter progress { flex: 1; height: 6px; }
@media (max-width: 61.99rem) {
  .build-art { display: none; }
  .build-body { padding-top: var(--s-2); }
}

/* Illustration colours (inline SVG uses these classes) */
.art-ground { fill: var(--tint); }
.art-wall-l { fill: #e9ddc8; } .art-wall-r { fill: #d8c7aa; } .art-roof-l { fill: #4c6a72; } .art-roof-r { fill: #3b5960; }
.art-door { fill: var(--plum); } .art-win { fill: #bcd8de; } .art-win-frame { fill: none; stroke: #fff; stroke-width: 1; }
.art-ext-l { fill: color-mix(in srgb, var(--brand) 55%, #fff); } .art-ext-r { fill: color-mix(in srgb, var(--brand) 75%, #fff); } .art-ext-top { fill: color-mix(in srgb, var(--brand) 30%, #fff); }
.art-ext-line { fill: none; stroke: var(--brand); stroke-width: 1.6; }
.art-ghost { fill: none; stroke: var(--brand); stroke-width: 1.5; stroke-dasharray: 4 4; opacity: .8; }
.art-dim { stroke: var(--ink); stroke-width: 1; fill: none; }
.art-label { fill: var(--ink); font: 600 11px var(--font); }
.art-label-bg { fill: var(--surface); stroke: var(--line); }
.art-tree { fill: color-mix(in srgb, var(--brand) 55%, var(--tint)); } .art-trunk { fill: #8a6d4b; }
.art-shadow { fill: rgb(18 48 45 / .12); }
.art-path { fill: #e6e2d6; }
.art-sun { fill: var(--gold); }
@media (prefers-color-scheme: dark) {
  .art-wall-l { fill: #b9ac95; } .art-wall-r { fill: #9c8f78; } .art-roof-l { fill: #3e5a62; } .art-roof-r { fill: #2f4950; }
  .art-win { fill: #7fa9b3; } .art-path { fill: #2c3f3b; } .art-shadow { fill: rgb(0 0 0 / .3); }
  .art-ext-l { fill: color-mix(in srgb, var(--brand) 45%, #0c1a19); } .art-ext-r { fill: color-mix(in srgb, var(--brand) 30%, #0c1a19); } .art-ext-top { fill: color-mix(in srgb, var(--brand) 60%, #0c1a19); }
}
.art-grow { transition: transform .6s var(--ease); transform-box: fill-box; }

/* Map step */
.map-frame { position: relative; height: 60vh; min-height: 320px; max-height: 560px; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; margin: 0 0 var(--s-3); box-shadow: var(--shadow); }
#map { position: absolute; inset: 0; }
#map:focus-visible { outline: 3px solid var(--brand); outline-offset: -3px; }
.map-crosshair { position: absolute; left: 50%; top: 50%; width: 28px; height: 28px; transform: translate(-50%, -50%); pointer-events: none; }
.map-crosshair::before, .map-crosshair::after { content: ""; position: absolute; background: #6b2737; box-shadow: 0 0 0 2px #fff; border-radius: 2px; }
.map-crosshair::before { left: 13px; top: 0; width: 2px; height: 28px; }
.map-crosshair::after { top: 13px; left: 0; height: 2px; width: 28px; }
.map-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
.or { display: flex; align-items: center; gap: var(--s-3); color: var(--muted); font-size: var(--t-sm); margin: var(--s-5) 0 var(--s-3); }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- The result ---------- */
.verdict { position: relative; border-radius: var(--radius); padding: var(--s-4); margin: 0 0 var(--s-4); background: var(--brand-soft); border: 1px solid color-mix(in srgb, var(--brand) 30%, transparent); overflow: hidden; }
@media (min-width: 40rem) { .verdict { padding: var(--s-5); } }
.verdict .eyebrow { color: var(--brand-strong); }
.verdict h1 { margin: 0 0 var(--s-2); font-size: var(--t-3xl); line-height: 1.05; }
.verdict p { margin: 0; color: var(--ink); max-width: 36rem; }
.verdict .v-badge { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--surface); color: var(--brand); margin: 0 0 var(--s-3); }
.verdict .v-badge svg { width: 1.8rem; height: 1.8rem; }
.verdict[data-v=pa] { background: var(--gold-soft); border-color: color-mix(in srgb, var(--gold) 55%, transparent); }
.verdict[data-v=pa] .eyebrow, .verdict[data-v=pa] .v-badge { color: var(--gold-ink); }
.verdict[data-v=pp] { background: var(--plum-soft); border-color: color-mix(in srgb, var(--plum) 35%, transparent); }
.verdict[data-v=pp] .eyebrow, .verdict[data-v=pp] .v-badge { color: var(--plum); }
.verdict[data-v=ac] { background: var(--slate-soft); border-color: color-mix(in srgb, var(--slate) 35%, transparent); }
.verdict[data-v=ac] .eyebrow, .verdict[data-v=ac] .v-badge { color: var(--slate); }
.verdict-grid { display: grid; gap: var(--s-4); align-items: center; }
@media (min-width: 52rem) { .verdict-grid { grid-template-columns: 1fr 17rem; } }
.verdict-art svg { display: block; width: 100%; height: auto; }

.result-grid { display: grid; gap: var(--s-5); align-items: start; }
@media (min-width: 62rem) { .result-grid { grid-template-columns: minmax(0, 1fr) 22rem; } .result-grid .offer { position: sticky; top: 5.5rem; } }
.result-main > h2:first-child { margin-top: 0; }

.findings { list-style: none; padding: 0; margin: 0 0 var(--s-4); display: grid; gap: var(--s-2); }
.finding { margin: 0; display: grid; grid-template-columns: 2rem 1fr; gap: var(--s-3); padding: var(--s-3); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.finding > :last-child > :last-child { margin-bottom: 0; }
.finding .f-ic { width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.finding .f-ic svg { width: 1.05rem; height: 1.05rem; }
.finding[data-status=fail] .f-ic { background: var(--plum-soft); color: var(--plum); }
.finding[data-status=unknown] .f-ic, .finding[data-status=note] .f-ic { background: var(--gold-soft); color: var(--gold-ink); }
.finding p { margin: 0 0 var(--s-1); }
.finding .cite { font-size: var(--t-sm); color: var(--muted); }
.group-label { font-size: var(--t-sm); font-weight: 600; color: var(--muted); margin: 0 0 var(--s-2); }

.fold { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); margin: 0 0 var(--s-2); }
.fold > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding: var(--s-3); min-height: 52px; font-family: var(--font-display); font-size: var(--t-lg); }
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary::after { content: ""; width: .6rem; height: .6rem; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s var(--ease); margin-right: .3rem; flex: none; }
.fold[open] > summary::after { transform: rotate(-135deg); }
.fold > div { padding: 0 var(--s-3) var(--s-3); }
.fold > div > :last-child { margin-bottom: 0; }

/* The report offer */
.offer { background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; }
.offer-head { padding: var(--s-4) var(--s-4) 0; }
.offer-head h2 { margin: 0 0 var(--s-1); font-size: var(--t-xl); }
.offer-head p { margin: 0; color: var(--muted); font-size: var(--t-sm); }
.offer-body { padding: var(--s-4); }
.offer .contents { list-style: none; padding: 0; margin: 0 0 var(--s-4); font-size: var(--t-sm); }
.offer .contents li { display: grid; grid-template-columns: 1.4rem 1fr auto; gap: var(--s-2); align-items: start; padding: var(--s-2) 0; margin: 0; border-bottom: 1px solid var(--line); }
.offer .contents li:last-child { border-bottom: 0; }
.offer .contents svg { width: 1.15rem; height: 1.15rem; color: var(--brand); margin-top: .15rem; }
.offer .contents .n { font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.offer .price { display: flex; align-items: baseline; gap: var(--s-2); flex-wrap: wrap; margin: 0 0 var(--s-1); }
.offer .price strong { font-family: var(--font-display); font-size: 2.4rem; line-height: 1; color: var(--ink); }
.offer .price span { color: var(--muted); font-size: var(--t-sm); }
.reassure { padding-left: 1.1rem; margin: var(--s-3) 0 0; font-size: var(--t-sm); color: var(--muted); display: grid; gap: var(--s-1); }
.reassure li { margin: 0; }

/* Order and payment pages */
.order-card { max-width: 36rem; }
.summary-list { list-style: none; padding: 0; margin: 0 0 var(--s-4); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.summary-list li { display: flex; justify-content: space-between; gap: var(--s-3); margin: 0; padding: var(--s-2) var(--s-3); border-bottom: 1px solid var(--line); background: var(--surface); }
.summary-list li:last-child { border-bottom: 0; background: var(--surface-2); font-weight: 700; }

/* Guides */
.guide-toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s-3) var(--s-4); margin: 0 0 var(--s-4); }
.guide-toc ol { margin: 0; }
.change-log ol { list-style: none; margin: 0; padding: 0; }
.change-log li { margin: 0 0 var(--s-1); }
.cite { white-space: normal; }
.data-table { font-size: var(--t-sm); }
.hub-list { list-style: none; padding: 0; display: grid; gap: var(--s-2); grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.hub-list li { margin: 0; }
.hub-list a { display: block; padding: var(--s-3); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; font-weight: 650; height: 100%; }
.hub-list a:hover { border-color: var(--brand); }

/* Motion */

::view-transition-old(step) { animation: step-out .22s var(--ease) both; }
::view-transition-new(step) { animation: step-in .32s var(--ease) both; }
.going-back::view-transition-old(step) { animation-name: step-out-back; }
.going-back::view-transition-new(step) { animation-name: step-in-back; }
@keyframes step-out { to { opacity: 0; transform: translateX(-24px); } }
@keyframes step-in { from { opacity: 0; transform: translateX(32px); } }
@keyframes step-out-back { to { opacity: 0; transform: translateX(24px); } }
@keyframes step-in-back { from { opacity: 0; transform: translateX(-32px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

@media print {
  .site-header, .site-footer, .offer, .step-actions, .skip { display: none !important; }
  body { background: #fff; color: #000; }
}
.art-nb-l { fill: color-mix(in srgb, var(--surface-2) 70%, var(--line)); } .art-nb-r { fill: var(--line); } .art-nb-roof { fill: color-mix(in srgb, var(--line-strong) 60%, var(--surface-2)); }

/* Citations: small tags so neighbouring ones never run together. */
a.cite { font-size: var(--t-sm); font-weight: 600; }
/* Guide diagrams */
main figure { margin: 0 0 var(--s-4); padding: var(--s-4); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
main figure svg { display: block; width: 100%; height: auto; color: var(--ink); }
main figcaption { font-size: var(--t-sm); color: var(--muted); margin-top: var(--s-2); }
main figure polygon { fill: var(--surface-2); }
main figure rect { fill: var(--brand-soft); stroke: var(--brand); }
main figure text { fill: var(--ink); }

/* Checker tweaks */
.step-card.narrow { max-width: 40rem; margin: 0 auto; }
.steps-nav { max-width: var(--max-wide); }
.q-h1 { font-family: var(--font); font-size: var(--t-sm); font-weight: 600; color: var(--muted); margin: 0; letter-spacing: 0; }
.q-meta .progress { white-space: nowrap; }
.h2-like { font-family: var(--font-display); font-weight: 600; font-size: var(--t-xl); line-height: 1.2; margin: var(--s-4) 0 var(--s-3); }
.step-actions { flex-direction: row-reverse; }
.step-actions .button { margin-left: 0; }
.secondary-action { margin-top: var(--s-2); }
.choice.inline { display: inline-flex; min-height: 48px; padding: var(--s-2) var(--s-3); }
.unknown-form { margin-top: var(--s-5); padding-top: var(--s-4); border-top: 1px solid var(--line); }
legend.or { width: 100%; margin: var(--s-5) 0 var(--s-3); font-weight: 600; }
[data-focus]:focus { outline: none; }
[data-focus]:focus-visible { outline: none; }
.question legend { margin-bottom: var(--s-2); }
.choice-art svg { width: 100%; height: 100%; }
.choices.cols-2 .choice.not-sure { grid-column: 1 / -1; }
.choice.not-sure { min-height: 48px; font-weight: 500; color: var(--muted); background: transparent; }
.choice.not-sure:has(input:checked) { color: var(--ink); }
select { appearance: none; -webkit-appearance: none; max-width: 100%; flex: 1 1 16rem; font-size: var(--t-base); padding-right: 2.5rem; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 1.25rem) 55%, calc(100% - .9rem) 55%; background-size: .4rem .4rem; background-repeat: no-repeat; }
main.wrap { padding-top: var(--s-5); padding-bottom: var(--s-6); }

/* Spacing rules that hold everywhere */
:is(.button, .button-secondary, .button-ghost) + :is(.button, .button-secondary, .button-ghost) { margin-left: var(--s-3); }
:is(.inline-form, .step-actions, .map-actions, .actions) > :is(.button, .button-secondary, .button-ghost) { margin-left: 0; }
.actions { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; margin: var(--s-4) 0; }
main form + form { margin-top: var(--s-4); }
main form > .button:only-of-type, main form > .button-secondary:only-of-type { margin-top: var(--s-2); }
main > form, main > section, main > .card { margin-bottom: var(--s-4); }
.field + .button, fieldset + .button, .field + .button-secondary { margin-top: var(--s-2); }
input + .button, input + .button-secondary { margin-top: var(--s-3); }
.inline-form input + .button, .inline-form select + .button-secondary, .inline-form input + .button-secondary { margin-top: 0; }
main > h1:first-child, .crumbs + h1, .law-checked + h1 { margin-top: 0; }
.steps-nav { margin: 0 0 var(--s-4); }
.check-shell { margin-top: 0; }
.map-actions { margin-top: var(--s-3); }
.map-step + p, .map-step + form { margin-top: var(--s-4); }
.check-start { margin: var(--s-4) 0; }
.hero .check-start { margin: 0; }
.step-card .trust { margin-top: var(--s-4); }
.desig-list li { background: var(--gold-soft); border: 1px solid color-mix(in srgb, var(--gold) 45%, transparent); }
.desig-list small { display: block; margin-top: var(--s-1); color: var(--muted); }
.choice-art { width: 4.5rem; height: 3.5rem; }
.step-card .facts { margin-bottom: var(--s-4); }

/* Result extras */
.verdict-note { margin-top: var(--s-3) !important; font-size: var(--t-sm); color: var(--muted) !important; }
.result-grid.no-offer { grid-template-columns: minmax(0, 1fr); max-width: var(--max); }
.unseen { margin: 0 0 var(--s-4); }
.unseen li { margin: 0 0 var(--s-1); }
.cite-date { font-size: var(--t-xs); color: var(--muted); }
.finding .cite { margin-left: .2rem; }
.result-main > h2 { margin-top: var(--s-5); }
.verdict-art { max-width: 20rem; justify-self: center; width: 100%; }

/* Checkout */
.checkout { max-width: 38rem; margin: 0 auto; }
.checkout > .card { margin-bottom: var(--s-4); }
.summary-card .ticks { margin-bottom: var(--s-3); }
.total { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-3); border-top: 1px solid var(--line); padding-top: var(--s-3); margin-top: var(--s-2); color: var(--muted); font-size: var(--t-sm); }
.total strong { font-family: var(--font-display); font-size: 2rem; color: var(--ink); line-height: 1; }
.launch { font-size: var(--t-sm); font-weight: 600; color: var(--gold-ink); margin: var(--s-2) 0 0; }
.choice.consent { align-items: flex-start; font-weight: 500; }
.choice.consent input { margin-top: .15rem; }
.pay-card input[type=email] { max-width: none; }
.reassure-row { list-style: none; padding: 0; margin: var(--s-3) 0 0; font-size: var(--t-xs); color: var(--muted); display: grid; gap: var(--s-1); text-align: center; }
.reassure-row li { margin: 0; }
.sale-info { font-size: var(--t-sm); color: var(--muted); }
.sale-info h2 { font-size: var(--t-lg); color: var(--ink); }
.sale-info li { margin-bottom: var(--s-1); }
.state-card { display: flex; gap: var(--s-3); align-items: flex-start; }
.state-card .v-dot { width: 3rem; height: 3rem; }
.state-card .v-dot svg { width: 1.5rem; height: 1.5rem; }
.state-title { font-family: var(--font-display); font-size: var(--t-lg); font-weight: 600; margin: .4rem 0 var(--s-2); }
.fake-pay { border-style: dashed; }
.fake-pay h2 { font-size: var(--t-lg); margin-top: 0; }

/* Buy page */
.checkout-grid { display: grid; gap: var(--s-5); align-items: start; }
@media (min-width: 60rem) { .checkout-grid { grid-template-columns: minmax(0, 1fr) 26rem; gap: var(--s-6); } .pay-col { position: sticky; top: 5.5rem; } }
.checkout-main h1 { font-size: var(--t-3xl); line-height: 1.05; }
.contents-grid { display: grid; gap: var(--s-5); align-items: start; margin-top: var(--s-4); }
@media (min-width: 46rem) { .contents-grid { grid-template-columns: 1fr 15rem; } }
.pay-card { padding: var(--s-4); }
.pay-card .field { margin-bottom: var(--s-3); }
.total-line { font-size: var(--t-xs); color: var(--muted); margin: 0 0 var(--s-4); }
.sale-details { margin-top: var(--s-3); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); font-size: var(--t-sm); }
.sale-details summary { padding: var(--s-3); min-height: 48px; display: flex; align-items: center; color: var(--ink); }
.sale-details > dl, .sale-details > p { padding: 0 var(--s-3); }
.sale-details > p { padding-bottom: var(--s-3); margin: 0; }
.sale-details dl { display: grid; grid-template-columns: 7.5rem 1fr; gap: var(--s-2) var(--s-3); margin: 0 0 var(--s-3); }
.sale-details dt { color: var(--muted); font-weight: 600; }
.sale-details dd { margin: 0; }

/* The price box, shared by the result and the buy page */
.price-box { position: relative; margin: 0 0 var(--s-3); }
.price-box.is-launch { background: var(--gold-soft); border: 1px solid color-mix(in srgb, var(--gold) 60%, transparent); border-radius: var(--radius-sm); padding: var(--s-3); }
.ribbon { margin: 0 0 var(--s-1); color: var(--gold-ink); font-size: var(--t-sm); font-weight: 700; }
.price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: var(--s-1) var(--s-3); margin: 0; }
.price-row .amount { font-family: var(--font-display); font-size: 2.8rem; line-height: 1; color: var(--ink); }
.price-row .then { color: var(--muted); font-size: var(--t-sm); font-weight: 600; }
.saving { margin: var(--s-2) 0 0; font-size: var(--t-sm); display: grid; gap: 2px; }
.save-chip { color: var(--ink); font-weight: 700; }
.until { color: var(--gold-ink); }
.offer .price-box { margin-bottom: var(--s-3); }
.offer-jump { margin: 0 0 var(--s-4); }
@media (min-width: 62rem) { .offer-jump { display: none; } }

a.cite { margin-right: .6em; }
.offer .contents li { grid-template-columns: 1fr auto; }
.build-head { padding-bottom: var(--s-2); }
.section > .wrap > h2:first-child { margin-top: 0; }
.section > .wrap > h2 + .muted { margin-top: calc(-1 * var(--s-2)); margin-bottom: var(--s-4); }
.section > .wrap > h2 + .how, .section > .wrap > h2 + .grid, .section > .wrap > h2 + .audience { margin-top: var(--s-4); }
.grid + p, .verdicts + p, .audience + p { margin-top: var(--s-4); }
.section { padding: var(--s-5) 0; }

/* Choice cards: a slight drag must still count as a click, not a text
   selection, and clicks during the slide between steps go to the page. */
.choice { -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
::view-transition { pointer-events: none; }

/* The input covers the whole card, so a click lands on the input itself.
   Firefox ignores a click on a label if the pointer moved at all between
   press and release; with the input on top there is no label to forward. */
.choice > input[type=radio], .choice > input[type=checkbox] {
  -webkit-appearance: none; appearance: none; position: absolute; inset: 0; width: 100%; height: 100%;
  margin: 0; border: 0; border-radius: inherit; background: transparent; cursor: pointer; z-index: 1;
}
.choice > input:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.choice:has(input:focus-visible) { outline: none; }
.choice .mark { flex: none; width: 1.35rem; height: 1.35rem; border: 2px solid var(--line-strong); border-radius: 50%; background: var(--surface); display: grid; place-items: center; }
.choice > input[type=checkbox] + .mark { border-radius: .3rem; }
.choice > input:checked + .mark { border-color: var(--brand); background: var(--brand); box-shadow: inset 0 0 0 3px var(--surface); }
.choice > input[type=checkbox]:checked + .mark { box-shadow: none; background: var(--brand) no-repeat center / 70% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.choice.consent .mark { margin-top: .15rem; }
.findings.brief .finding p { margin-bottom: var(--s-1); }
.findings.brief .ref { font-size: var(--t-sm); margin: 0; }
