/* Palette: Melbourne bluestone and sandstone, the stone of local paving and walls.
   Nothing green: the one photo brings the garden. The redesigned landing page (/landscaping/redesign/) uses the
   same colours; the funnel and its small pages take its limestone button text, field edge and corners at the
   foot of this file. */
:root {
  --ink: #23272b;        /* basalt */
  --muted: #55504a;      /* weathered timber */
  --brand: #2b4a62;      /* bluestone, the button */
  --brand-dark: #1d3446;
  --brand-ink: #ffffff;
  --paper: #f7f4ee;      /* limestone */
  --surface: #ebe4d7;    /* sandstone */
  --card: #ffffff;
  --line: #8c8378;
  --hairline: #e1ddd8;   /* a rule that only divides (the header's foot), ink at 11% on limestone */
  --placeholder: #6b665f;
  --focus: #b4441b;      /* rust: the error and stop lines */
  --warm: #e2a65c;       /* sandstone in the sun: the old landing page's ticks */
  --band-muted: #dbe4ec; /* helper lines on the dark band */
  --track: #1d3446;      /* the progress track on the band */
  --font: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --display-tracking: -0.035em;  /* headings at 400 with tight tracking, as on the landing page */
  --dots: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='6.5' cy='6.5' r='4.5'/%3E%3Ccircle cx='17.5' cy='6.5' r='4.5'/%3E%3Ccircle cx='6.5' cy='17.5' r='4.5'/%3E%3Crect x='13' y='13' width='9' height='9' rx='1.5'/%3E%3C/svg%3E");
  --rust: #8a2d0e;       /* the example label */
  --sand: #f3e7cf;       /* the quote box: sandstone ... */
  --ochre: #e2b06e;      /* ... to ochre */
  --shadow: rgba(16, 32, 44, 0.35);  /* under the sticky Next */
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --radius: 8px;
  --radius-card: 10px;
  --touch: 44px;
  --touch-primary: 48px;
  --column: 720px;       /* the funnel's inner column */
  --page: 1120px;        /* the landing page's widest column */
  --gutter: 20px;
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-1: clamp(1.2rem, 1.13rem + 0.35vw, 1.4rem);
  --step-2: clamp(1.4rem, 1.3rem + 0.5vw, 1.75rem);
  --step-3: clamp(1.75rem, 1.55rem + 1vw, 2.6rem);
  --question: clamp(1.75rem, 1.2rem + 2.6vw, 2.5rem);
  --band: linear-gradient(90deg, var(--brand-dark), var(--brand));
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.5;
  color: var(--ink);
  background-color: var(--paper);
}
img { max-width: 100%; }
.wrap {
  max-width: 640px;
  margin: 0 auto;
  padding-inline: var(--space-4);
}
.wide {
  max-width: var(--page);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* The wordmark, set in type */
.wordmark {
  font-family: var(--serif);
  font-size: var(--step-1);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--ink);
  background-color: var(--paper);
}
.wordmark span { color: var(--brand); background-color: var(--paper); }

/* Top bar on the landing page and the plain pages */
.topbar { padding-block: var(--space-1); }
.topbar .row, .row.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
}
.toplink {
  display: inline-flex;
  align-items: center;
  min-height: var(--touch);
  font-weight: 600;
  color: var(--brand);
  background-color: var(--paper);
}

h1, h2 {
  font-family: var(--serif);
}
h1 {
  font-size: var(--step-3);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-3);
}
h2 {
  font-size: var(--step-2);
  line-height: 1.2;
  margin: 0 0 var(--space-3);
}
h3 {
  font-family: var(--serif);
  font-size: var(--step-1);
  line-height: 1.3;
  margin: 0 0 var(--space-1);
  color: var(--ink);
}
.lede { margin: 0 0 var(--space-4); }  /* inherits ink on paper, white on the band */
.small { font-size: 0.9375rem; color: var(--muted); }
header { padding-block: var(--space-2) var(--space-4); }

/* ---------- The dark band: every funnel screen, the code screen and the thank-you pages ---------- */
.band {
  color: var(--brand-ink);
  background-color: var(--brand-dark);
  background-image: var(--band);
}
.band-in {
  width: min(var(--column), 100% - 2 * var(--gutter));
  margin-inline: auto;
  padding-block: var(--space-2) var(--space-3);
}
.band-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: var(--touch-primary);
}
.band .wordmark {
  grid-column: 2;
  color: var(--brand-ink);
  background-color: transparent;
}
.band .back {
  grid-column: 1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  width: auto;
  min-height: var(--touch);
  padding: 0 var(--space-2) 0 0;
  font-size: 1.0625rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--brand-ink);
  background-color: transparent;
}
.band .back[hidden] { display: none; }
.band .back svg, .next svg { width: 20px; height: 20px; flex: 0 0 20px; }
.band .stage {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--brand-ink);
  background-color: transparent;
}
.stage[hidden] { display: none; }
.stage-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 50%;
  color: var(--brand);
  background-color: var(--paper);
}
.stage-icon svg { width: 16px; height: 16px; }
.stage-icon .arrange, .stage[data-stage="arrange"] .stage-icon .job { display: none; }
.stage[data-stage="arrange"] .stage-icon .arrange { display: block; }
.track {
  flex: 1 0 100%;
  height: 8px;
  margin-top: var(--space-2);
  border-radius: 999px;
  color: var(--brand-ink);  /* no text: declared so the contrast check pairs the track with the band, not with body text */
  background-color: var(--track);
}
.track[hidden] { display: none; }
.fill {
  display: block;
  width: 0;
  min-width: 8px;           /* the dot at the first question */
  height: 100%;
  border-radius: 999px;
  color: var(--ink);        /* no text: declared so the contrast check pairs the fill with ink */
  background-color: var(--paper);
  transition: width 0.25s ease;
}
@media (prefers-reduced-motion: reduce) {
  .fill { transition: none; }
}
/* The band's own heading (code screen, thank-you pages) */
.band h1 {
  margin: var(--space-3) 0 var(--space-3);
  font-size: var(--question);
  font-weight: 400;
  line-height: 1.2;
  color: var(--brand-ink);
  background-color: transparent;
}

/* The funnel page: the reassurance and the foot sit at the bottom of a short screen */
.funnel {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
}
.funnel > form, .funnel > main { flex: 1 0 auto; }
.column {
  width: min(var(--column), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

/* ---------- The steps ---------- */
form[data-funnel] { padding-block: 0 var(--space-6); }
.step {
  margin: 0 0 var(--space-6);
  padding: 0;
  border: 0;
  min-width: 0;
}
/* The question carries on the band, full width, in large type at 400 with tight tracking.
   Legends appear only in the funnel. */
legend {
  font-family: var(--font);
  font-size: var(--question);
  font-weight: 400;
  letter-spacing: var(--display-tracking);
  line-height: 1.15;
  color: var(--brand-ink);
  background-color: var(--brand);
}
.step > legend {
  float: left;
  width: 100%;
  margin: 0 0 var(--space-5);  /* a float's margin is kept; a cleared sibling's top margin would not be */
  padding: 0 max(var(--gutter), (100% - var(--column)) / 2) var(--space-6);
}
.step > legend:focus { outline: none; }
legend label {
  display: inline;
  margin: 0;
  font-weight: 400;
  color: var(--brand-ink);
}
legend .hint {
  display: block;
  margin-top: var(--space-2);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.5;
  color: var(--band-muted);
}
.step > input, .step > textarea, .step > [type=submit] { display: block; }  /* an inline box ignores the auto margins that centre the column */
.step > :not(legend) {
  clear: both;
  width: min(var(--column), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.option {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-height: 64px;
  margin-bottom: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  background-color: var(--paper);
  cursor: pointer;
}
.option small {
  display: block;
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--muted);
}
.option:has(input:checked) {
  border-color: var(--brand);
  box-shadow: inset 0 0 0 1px var(--brand);
  color: var(--ink);
  background-color: var(--surface);
}
.option:has(input:focus-visible) {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
/* The whole card is the touch target; the box stays 44px tall, the dot 24px wide. */
/* A tick-several screen: the same card, with a square box */
.stop {
  margin: 0 0 var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-left: 4px solid var(--focus);
  border-radius: var(--radius);
  font-weight: 700;
  color: var(--ink);
  background-color: var(--surface);
}
.stop[hidden] { display: none; }
.option input {
  width: 24px;
  min-height: var(--touch);
  flex: 0 0 24px;
  margin: 0;
  accent-color: var(--brand);
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--space-1);
  color: var(--ink);
}
.field { margin-bottom: var(--space-4); }
.hint {
  display: block;
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--muted);
}
input, select, textarea {
  width: 100%;
  min-height: var(--touch);
  font: inherit;
  font-size: 1rem;
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background-color: var(--card);
}
/* Typed steps: a tall box, large type */
.step input:not([type=radio]):not([type=checkbox]), .step textarea, .quote-box input {
  min-height: 56px;
  font-size: 1.125rem;
  border-width: 1.5px;
  border-radius: var(--radius-card);
}
textarea { min-height: 120px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
a { color: var(--brand); background-color: var(--paper); }
.band a { color: var(--brand-ink); background-color: transparent; }

button {
  width: 100%;
  min-height: var(--touch-primary);
  font: inherit;
  font-weight: 700;
  padding: var(--space-3) var(--space-4);
  border: 0;
  border-radius: var(--radius);
  color: var(--brand-ink);
  background-color: var(--brand);
  cursor: pointer;
}
/* Next: the column's full width on a phone, in the thumb's reach; from 640 wide, at the right of the column */
.step > .next {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  width: min(var(--column), 100% - 2 * var(--gutter));
  min-height: 52px;
  margin: var(--space-4) max(var(--gutter), (100% - var(--column)) / 2) 0 auto;
  padding: 0 var(--space-6);
  font-size: 1.125rem;
  border-radius: var(--radius);
}
.step > .next[hidden] { display: none; }
/* On a tick-several screen Next sticks to the foot of the phone screen, and settles below the last card. */
.step:has(> .option input[type=checkbox]) > .next {
  position: sticky;
  bottom: max(var(--space-3), env(safe-area-inset-bottom));
  box-shadow: 0 4px 16px var(--shadow);
}
.step [type=submit] {
  min-height: 56px;
  font-size: 1.125rem;
  border-radius: var(--radius);
}

.consent {
  padding: var(--space-4);
  margin-bottom: var(--space-4);
  border-radius: var(--radius-card);
  background-color: var(--surface);
  color: var(--ink);
}
.consent p { margin: 0 0 var(--space-3); }
.tick {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  font-weight: 400;
}
.tick input {
  width: 28px;              /* the box; the whole line is its label, so the tap target is the line */
  min-height: var(--touch);
  flex: 0 0 28px;
  margin: 0;
  accent-color: var(--brand);
}
.notice { margin: var(--space-3) 0 0; }

/* Under every question: the round face and one line, then the foot */
.reassure {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-block: var(--space-4);
  font-size: 0.9375rem;
  color: var(--ink);
}
.reassure p { margin: 0; }
.face {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  border-radius: 50%;
  object-fit: cover;
}
.foot {
  border-top: 0;
  padding-block: var(--space-3) var(--space-5);
  font-size: 0.875rem;
  text-align: center;
  color: var(--muted);
}
.foot p {
  margin: 0;
  padding-top: var(--space-3);
  border-top: 1px solid var(--surface);
}

/* Plain pages: code screen, thank-you pages */
.plain { padding-block: var(--space-5) var(--space-4); }
.plain .field input { min-height: 56px; font-size: 1.125rem; }
.plain button { min-height: 56px; border-radius: var(--radius); margin-bottom: var(--space-3); }

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--touch-primary);
  margin-bottom: var(--space-4);
  padding: var(--space-3) var(--space-4);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  color: var(--brand-ink);
  background-color: var(--brand);
}
footer {
  padding-block: var(--space-5) var(--space-6);
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
  color: var(--muted);
}
footer p { margin: 0 0 var(--space-3); }

/* ---------- The landing page ---------- */
/* The hero is a band, the same gradient as the question band. */
.hero { padding-block: 0 var(--space-6); }
.band .toplink { color: var(--brand-ink); background-color: transparent; }
.topbar .wordmark, .toplink { white-space: nowrap; }
.toplink { font-size: 0.9375rem; }
.hero-grid { display: grid; gap: var(--space-3); }
.hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 1;  /* 5 by 2 from 360 wide; flatter on the narrowest phones so the quote box stays on the first screen */
  object-fit: cover;
  object-position: 50% 20%;
  border-radius: var(--radius-card);
}
.hero h1 { margin: 0; font-weight: 700; }
.band .lede { margin: 0; color: var(--band-muted); }
.hero-facts {
  margin: var(--space-4) 0 0;
  padding: 0;
  list-style: none;
  font-weight: 600;
}
.band .hero-facts li {
  position: relative;
  margin-bottom: var(--space-2);
  padding-left: var(--space-6);
  color: var(--brand-ink);
}
.band .hero-facts li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--warm);
}

/* The quote box: warm stone on the dark band */
.quote-box {
  padding: var(--space-4);
  border-radius: 16px;
  color: var(--ink);
  background-color: var(--sand);
  background-image: linear-gradient(135deg, var(--sand), var(--ochre));
}
.quote-box h2 {
  margin: 0 0 var(--space-3);
  font-size: var(--step-2);
  text-align: center;
  color: var(--ink);
}
.box-ticks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-1) var(--space-3);
  margin: 0 0 var(--space-3);
  padding: 0;
  list-style: none;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.3;
}
.quote-box li {
  position: relative;
  padding-left: var(--space-5);
  color: var(--ink);
}
.quote-box li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--brand-dark);
}
.quote-box input { margin-bottom: var(--space-3); border-color: var(--line); }
.quote-box input::placeholder { font-weight: 700; opacity: 1; color: var(--muted); background-color: var(--card); }
.quote-box button {
  min-height: 52px;
  font-size: 1.0625rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  color: var(--brand-ink);
  background-color: var(--brand);
}
.end-box .quote-box { max-width: 560px; margin-inline: auto; }

/* Alternate sections run full width on white or sandstone. */
.tint-card { color: var(--ink); background-color: var(--card); }
.tint-surface { color: var(--ink); background-color: var(--surface); }
.section { padding-block: var(--space-7); }
.section h2 { margin-bottom: var(--space-4); }
.steps-list {
  display: grid;
  gap: var(--space-4);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: how;
}
.steps-list li {
  position: relative;
  min-height: 40px;
  padding-left: var(--space-8);
  counter-increment: how;
}
.steps-list li::before {
  content: counter(how);
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-family: var(--serif);
  font-weight: 700;
  color: var(--brand-ink);
  background-color: var(--brand);
}
.steps-list strong { display: block; }
.services {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}
.service {
  display: block;
  min-height: 64px;
  padding: var(--space-4);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-card);
  text-decoration: none;
  color: var(--ink);
  background-color: var(--card);
}
.service strong {
  display: block;
  font-family: var(--serif);
  font-size: var(--step-1);
  color: var(--ink);
}
.service span { font-size: 0.9375rem; color: var(--muted); }
.cards { display: grid; gap: var(--space-3); margin-bottom: var(--space-4); }
.card {
  padding: var(--space-4);
  border: 1px solid var(--surface);
  border-radius: var(--radius-card);
  color: var(--ink);
  background-color: var(--card);
}
.card p { margin: 0 0 var(--space-1); }
.card .small { margin: 0; }
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding-block: var(--space-2);
  font-weight: 700;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  margin-left: auto;
  padding-left: var(--space-4);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--brand);
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 var(--space-4); }
.prose-narrow p { max-width: 62ch; }
.landing footer { margin-top: 0; }

/* ---------- The landscaper page and the privacy page ---------- */
.ticks {
  list-style: none;
  margin: 0 0 var(--space-6);
  padding: 0;
}
.ticks li {
  position: relative;
  margin-bottom: var(--space-3);
  padding-left: var(--space-6);
}
.ticks li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--brand);
  background-color: var(--paper);
}
.terms {
  margin: 0 0 var(--space-5);
  padding: var(--space-4);
  border-radius: var(--radius);
  color: var(--ink);
  background-color: var(--surface);
}
.terms p { margin: 0 0 var(--space-3); }
.terms p:last-child { margin: 0; }
.who { margin-bottom: var(--space-5); }
.who p { margin: 0 0 var(--space-3); }
section { padding-block: var(--space-5) 0; }
.sms {
  margin: 0 0 var(--space-3);
  padding: var(--space-4);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-family: var(--sans);
  color: var(--ink);
  background-color: var(--card);
}
.label {
  display: inline-block;
  margin-bottom: var(--space-2);
  padding: var(--space-1) var(--space-2);
  font-size: 0.8125rem;
  font-weight: 700;
  border-radius: var(--radius);
  color: #ffffff;
  background-color: var(--rust);
}
.how { margin: 0; padding-left: var(--space-5); }
.how li { margin-bottom: var(--space-2); }
.prose p, .prose li { max-width: 62ch; }
.prose ul { padding-left: var(--space-5); }

/* The code screen */
.message {
  margin: 0 0 var(--space-4);
  padding: var(--space-3);
  border-left: 4px solid var(--focus);
  border-radius: var(--radius);
  font-weight: 700;
  color: var(--ink);
  background-color: var(--surface);
}
.secondary {
  border: 1.5px solid var(--brand);
  color: var(--brand);
  background-color: var(--paper);
}

@media (hover: hover) {
  button:hover, .btn:hover { background-color: var(--brand-dark); color: var(--brand-ink); }
  .band .back:hover { text-decoration: underline; color: var(--brand-ink); background-color: transparent; }
  .option:hover { border-color: var(--brand); color: var(--ink); background-color: var(--paper); }
  .quote-box button:hover { color: var(--brand-ink); background-color: var(--brand-dark); }
  .service:hover { border-color: var(--brand); color: var(--ink); background-color: var(--paper); }
  .secondary:hover { color: var(--brand-ink); background-color: var(--brand); }
}
@media (min-width: 360px) {
  .hero-photo img { aspect-ratio: 5 / 2; }
}
@media (min-width: 600px) {
  .services { grid-template-columns: 1fr 1fr; }
  .hero-photo img { aspect-ratio: 3 / 1; }
}
@media (min-width: 720px) {
  .option { min-height: 72px; }
  .steps-list { grid-template-columns: repeat(3, 1fr); }
  .steps-list li { padding: var(--space-8) 0 0; }
  .cards { grid-template-columns: 1fr 1fr; }
  .quote-box { padding: var(--space-6); }
}
@media (min-width: 768px) {
  header { padding-block: var(--space-4) var(--space-5); }
  .topbar { padding-block: var(--space-4); }
}
@media (min-width: 900px) {
  .hero { padding-block: var(--space-5) var(--space-7); }
  .hero-grid {
    grid-template-columns: 1.3fr 1fr;
    grid-template-areas: "words box" "lede box" "photo box";
    grid-template-rows: auto auto 1fr;
    column-gap: var(--space-6);
    row-gap: var(--space-5);
    align-items: start;
  }
  .hero-words { grid-area: words; }
  .hero-photo { grid-area: photo; }
  .hero-lede { grid-area: lede; }
  .hero-side { grid-area: box; position: sticky; top: var(--space-5); }
  .hero-photo img { aspect-ratio: 16 / 9; }
  .services { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- The site's look on the funnel and its small pages (26 November 2026) ----------
   The quote funnel, the thank-you pages and the code screen (body.funnel), privacy and credits (body.page) take
   the redesigned landing page's type and shapes: Schibsted Grotesk (loaded by each page's head, never by this
   file, so the code screen makes no outside request and falls back to the system face), headings at 400 with
   tight tracking, soft corners, and its header: the dots mark and the name on limestone over a hairline.
   Scoped to those two body classes, so the older landing page and landscaper page above keep their look. */
.funnel, .page {
  --serif: var(--font);
  --sans: var(--font);
  --brand-ink: #f7f4ee;  /* limestone on bluestone: 8.47:1 */
  --line: #86817a;       /* a field's or a card's edge: 3.52:1 on limestone (WCAG 1.4.11 asks 3:1) */
  --radius-card: 12px;
}

/* The header, as on the landing page: 56 tall on a phone, 72 from 1024; the edge follows the funnel's gutter */
.site-head {
  padding-block: 0;
  border-bottom: 1px solid var(--hairline);
  color: var(--ink);
  background-color: var(--paper);
}
.site-head-in {
  display: flex;
  align-items: center;
  width: min(1280px, 100% - 2 * var(--gutter));
  min-height: 56px;
  margin-inline: auto;
}
.site-head .wordmark {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: var(--touch);
  font-family: var(--font);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: var(--ink);
  background-color: transparent;
}
.site-head .wordmark::before {
  content: "";
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  color: var(--brand-ink);  /* no text: declared so the contrast check pairs the mark with limestone */
  background-color: var(--brand);
  -webkit-mask: var(--dots) center / contain no-repeat;
  mask: var(--dots) center / contain no-repeat;
}

/* The band: flat bluestone. Back and the stage share its first line, the progress under them, then the question */
.funnel .band {
  color: var(--brand-ink);
  background-color: var(--brand);
  background-image: none;
}
.funnel .band-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 var(--space-4);
  padding-block: var(--space-2) var(--space-5);
}
.funnel .band-row { display: flex; align-items: center; min-height: var(--touch-primary); }
.funnel .band-row:has(> .back[hidden]) { display: none; }  /* without the script the band holds only the question */
.funnel .band .back { font-size: 1rem; font-weight: 600; }
.funnel .band h1 { flex: 1 0 100%; margin: var(--space-6) 0 var(--space-2); letter-spacing: var(--display-tracking); line-height: 1.15; }
.funnel .band :focus-visible { outline-color: var(--brand-ink); }

/* Fields and buttons, as on the landing page: limestone fields with a 3:1 edge, bluestone buttons, 8px corners */
.funnel input:not([type=radio]):not([type=checkbox]), .funnel textarea {
  border-width: 1px;
  border-color: var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background-color: var(--paper);
}
.funnel input::placeholder, .funnel textarea::placeholder { opacity: 1; color: var(--placeholder); background-color: var(--paper); }
.funnel .step input:not([type=radio]):not([type=checkbox]):user-invalid, .funnel .step textarea:user-invalid { border-color: var(--focus); box-shadow: inset 0 0 0 1px var(--focus); }
.funnel button { font-weight: 600; border-radius: var(--radius); }
.funnel .secondary { border: 1px solid var(--brand); color: var(--brand); background-color: var(--paper); }
.funnel :focus-visible, .page :focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.funnel .band :focus-visible { outline-color: var(--brand-ink); }
.funnel a, .page a { text-underline-offset: 3px; }
.funnel .site-head .wordmark, .page .site-head .wordmark { text-decoration: none; }

/* Under the question: the face and its line, then the foot over a hairline */
.funnel .reassure { color: var(--ink); background-color: var(--paper); }
.funnel .foot p { border-top-color: var(--hairline); }

/* Privacy and credits: the landing page's heading type */
.page main { padding-block: var(--space-6) var(--space-7); }
.page main > header { padding-block: 0 var(--space-4); }
.page h1, .page h2 { font-family: var(--font); font-weight: 400; letter-spacing: var(--display-tracking); }
.page h1 { line-height: 1.1; }
.page h2 { margin-top: var(--space-3); }
.page .prose li { margin-bottom: var(--space-2); }

@media (min-width: 640px) {
  .step > .next { width: fit-content; }
  .site-head-in { width: min(1280px, 100% - 96px); }
}
@media (min-width: 1024px) {
  .site-head-in { width: min(1280px, 100% - 160px); min-height: 72px; }
  .site-head .wordmark { font-size: 1.375rem; }
  .site-head .wordmark::before { flex-basis: 22px; width: 22px; height: 22px; }
}
.page footer { border-top-color: var(--hairline); }
.funnel .step textarea { min-height: 120px; }  /* the notes box opens tall enough for a few lines */
