/* ==========================================================================
   Free charity redesign — landing page
   Palette: warm paper / warm ink / terracotta clay. Type: Instrument Serif + Inter.
   ========================================================================== */

:root {
  --paper: #FAF6F0;
  --paper-tint: #F2E8DB;

  /* One ink, stepped by alpha, rather than three separate browns. Notion builds its
     whole text hierarchy this way — the steps stay in tune with the paper by
     construction, and there is only ever one colour to change. 76% reproduces the
     old #57504A almost exactly. */
  --ink: #221D18;
  --ink-soft: color-mix(in srgb, var(--ink) 76%, transparent);
  --clay: #C4502A;
  --clay-deep: #A03E1E;
  --clay-press: #8A3519;
  --line: #E4D9CB;
  --white: #FFFDFA;

  --font-display: "Instrument Serif", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  --size-hero: clamp(2.75rem, 6.4vw + 1rem, 5.5rem);
  --size-h2: clamp(1.9rem, 3vw + 0.8rem, 3rem);
  --size-h3: clamp(1.2rem, 1vw + 0.9rem, 1.45rem);
  --size-body: 1.1875rem;

  --space-section: clamp(4rem, 9vw, 7.5rem);
  --radius-card: 18px;
  --radius-pill: 999px;
  /* Shadowless. Five reference sites — Set Studio, Torchbox, Caldera, Notion,
     Geniestudio — use no card shadow at all; depth comes from the canvas/surface
     shift (--paper against --white) plus the 1px --line border every card already
     carries. Restore this token to bring the lift back. */
  --shadow-card: none;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--size-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}
h2 { font-size: var(--size-h2); }
h3 { font-size: var(--size-h3); font-family: var(--font-body); font-weight: 600; line-height: 1.3; }

p { margin: 0 0 1em; }

/* Links carry ink, not clay. The accent is reserved for things you can act on —
   buttons and the case-study pills. Prose links get a clay underline instead, the
   pattern .link-arrow already uses. :not([class]) leaves every styled link alone. */
a { color: var(--ink); }
p a:not([class]),
li a:not([class]) {
  text-decoration: none;
  border-bottom: 2px solid var(--clay);
  padding-bottom: 1px;
}
p a:not([class]):hover,
li a:not([class]):hover {
  color: var(--clay-deep);
  border-bottom-color: var(--clay-deep);
}

.container {
  width: min(100% - 2.5rem, 72rem);
  margin-inline: auto;
}
/* 44rem ran 77 characters per line at 18.4px. Comfortable is 60-66; Torchbox sits at 57. */
.narrow { max-width: 38rem; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -3.5rem;
  background: var(--ink); color: var(--paper);
  padding: 0.6rem 1rem; border-radius: 8px;
  z-index: 100;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

:focus-visible {
  outline: 3px solid var(--clay-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-pill);
  padding: 0.95rem 1.7rem;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}
.btn--primary {
  background: var(--clay-deep);
  color: var(--white);
}
.btn--primary:hover { background: var(--clay-press); transform: translateY(-1px); }
.btn--primary:active { transform: translateY(0); }
.btn--small { padding: 0.6rem 1.15rem; font-size: 0.9rem; }
.btn--big { padding: 1.1rem 2.1rem; font-size: 1.0625rem; }

.link-arrow {
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--clay);
  padding-bottom: 2px;
}
.link-arrow:hover { color: var(--clay-deep); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 24px -18px rgba(34, 29, 24, 0.4);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.8rem;
}
.wordmark {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.wordmark__dot { color: var(--clay); }

/* keep wordmark + CTA on one line down to small phones */
@media (max-width: 30rem) {
  .wordmark { font-size: 1.1rem; }
  .site-header .btn--small { font-size: 0.78rem; padding: 0.55rem 0.85rem; }
  .site-header__inner { gap: 0.5rem; }
}

/* ---------- Hero ---------- */

.hero {
  padding-block: clamp(3rem, 7vw, 6rem) var(--space-section);
  background: url("../assets/art/wash-light.webp") center / cover no-repeat var(--paper);
}
.hero__grid {
  display: grid;
  gap: 2.8rem;
  align-items: center;
}
@media (min-width: 62rem) {
  /* copy gets the wider column; the form card only needs to hold three fields */
  .hero__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 4rem; }
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--paper-tint);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius-pill);
  padding: 0.45rem 1rem;
  margin: 0 0 1.4rem;
}
.chip__pulse {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--clay);
}
@media (prefers-reduced-motion: no-preference) {
  .chip__pulse { animation: pulse 2.4s ease-in-out infinite; }
  @keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(196, 80, 42, 0.5); }
    50% { box-shadow: 0 0 0 6px rgba(196, 80, 42, 0); }
  }
}

.hero__title {
  font-size: var(--size-hero);
  margin-bottom: 0.45em;
}
.hero__title em {
  font-style: italic;
  color: var(--clay);
}
.hero__sub {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 34rem;
  margin-bottom: 1.8rem;
}
.hero__actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* The primary CTA lives in the hero: the form itself, on light paper.
   Field styling is inherited from .lead-form — only the light-background
   colours are set here (the shared rules are written light-first, with the
   dark-band overrides scoped to .cta). */
.hero__form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 1.75rem;
}
@media (max-width: 30rem) {
  .hero__form-card { padding: 1.35rem; }
}
.hero__form-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--size-h3);
  line-height: 1.15;
  margin: 0 0 1.25rem;
}
/* the card is already the measure — let the form fill it */
.hero__form-card .lead-form,
.hero__form-card .lead-form__thanks { max-width: none; }
/* white-on-white would lose the field edges against the card */
.hero__form-card .lead-form__field input {
  background: var(--paper);
  border-color: var(--line);
}
.hero__form-card .lead-form__field input:focus-visible { border-color: var(--clay); }
.hero__form-card .lead-form__field input[aria-invalid="true"] { border-color: #E4572E; }

/* ---------- Before/After slider ---------- */

.ba {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.browser-chrome {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0.9rem;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.browser-chrome__dots { display: inline-flex; gap: 5px; }
.browser-chrome__dots i {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--line);
}
.browser-chrome__url {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-soft);
  background: var(--paper-tint);
  border-radius: var(--radius-pill);
  padding: 0.15rem 0.75rem;
}

.ba__frame {
  position: relative;
  --pos: 50%;
  aspect-ratio: 1200 / 750;
  overflow: hidden;
  touch-action: pan-y;
}
.ba__frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ba__after { position: absolute; }
.ba__beforeWrap {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}

.ba__handle {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--pos);
  width: 3px;
  margin-left: -1.5px;
  background: var(--white);
  box-shadow: 0 0 0 1px rgba(34, 29, 24, 0.15);
}
.ba__grip {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--clay-deep);
  box-shadow: 0 4px 14px -2px rgba(34, 29, 24, 0.45);
}
.ba__grip::before,
.ba__grip::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 0; height: 0;
  border-style: solid;
  transform: translateY(-50%);
}
.ba__grip::before {
  left: 9px;
  border-width: 5px 7px 5px 0;
  border-color: transparent var(--white) transparent transparent;
}
.ba__grip::after {
  right: 9px;
  border-width: 5px 0 5px 7px;
  border-color: transparent transparent transparent var(--white);
}

.ba__tag {
  position: absolute;
  top: 0.8rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
  pointer-events: none;
}
.ba__tag--before {
  left: 0.8rem;
  background: rgba(34, 29, 24, 0.78);
  color: var(--paper);
}
.ba__tag--after {
  right: 0.8rem;
  background: var(--clay-deep);
  color: var(--white);
}

/* the range input is the real (accessible) control, stretched invisibly over the frame */
.ba__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
}
.ba__frame:has(.ba__range:focus-visible) {
  outline: 3px solid var(--clay-deep);
  outline-offset: -3px;
}

.ba__caption {
  padding: 0.7rem 1rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.ba--featured .ba__caption { text-align: center; }

/* no-JS: freeze the split at 50% and hide the interactive hint */
html:not(.js) .ba__range { display: none; }

/* ---------- Showcase ---------- */

.showcase {
  position: relative;
  padding-block: var(--space-section);
  border-top: 1px solid var(--line);
}
.showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/art/wash-light.webp") center / cover no-repeat;
  transform: scaleX(-1);
  opacity: 0.55;
  pointer-events: none;
}
.showcase > .container { position: relative; }

.section-head { max-width: 44rem; margin-bottom: 3rem; }
/* Matches .prose: 20px over 38rem lands at ~61 characters. At 1.1rem/44rem this
   intro ran 80ch — the longest line on the page once .narrow came down. */
.section-head__intro { color: var(--ink-soft); font-size: 1.25rem; max-width: 38rem; }

/* A tinted chip rather than clay text. Caldera reserves a soft wash for labels and
   badges and keeps the accent for things you can act on; this drops 8 accent
   firings and reads as a label instead of a link. */
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  /* A translucent ink wash, not --paper-tint: half the eyebrows sit on tinted
     sections, where a fixed tint is the same colour as its own background and the
     chip disappears. This darkens whatever is behind it, so it reads everywhere. */
  background: color-mix(in srgb, var(--ink) 7%, transparent);
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.8rem;
  margin-bottom: 0.9rem;
}

.section-head__hint {
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-style: italic;
  max-width: 62ch;
}

.showcase__list {
  display: grid;
  gap: clamp(3.5rem, 7vw, 6rem);
}

.showcase__more {
  margin-block: var(--space-section);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.showcase__more > summary {
  cursor: pointer;
  padding-block: 1rem;
  font-weight: 600;
  color: var(--ink);
  list-style-position: inside;
}
.showcase__more > summary:hover {
  color: var(--clay-deep);
}
.showcase__more[open] > summary {
  margin-bottom: var(--space-section);
}

.showcase__more-list {
  display: grid;
  gap: clamp(3.5rem, 7vw, 6rem);
}

/* title row — name, domain pill, and the case-study link all on one line */
.cmp__head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  margin-bottom: 1.3rem;
}

.cmp__name {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 1.2vw + 1rem, 1.9rem);
  margin-bottom: 0;
}
.cmp__domain {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-soft);
  background: var(--paper-tint);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 0.2rem 0.75rem;
}

/* short explainer under a showcase item's name, where the pair needs context */
.cmp__note {
  max-width: 62ch;
  margin: -0.4rem 0 1.4rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.65;
}

/* marks a showcase item that isn't a homepage redesign (e.g. a booking system) */
.cmp__kind {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
  background: var(--clay-deep);
  border: 1px solid var(--clay-deep);
  border-radius: var(--radius-pill);
  padding: 0.2rem 0.75rem;
}

/* Link out to the deep case study. It rides on the title row, ahead of the
   screenshots, because the write-up is the point — not a footnote to the pictures. */
.cmp__casestudy {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.95rem;
  background: var(--paper-tint);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  color: var(--clay-deep);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.cmp__casestudy:hover,
.cmp__casestudy:focus-visible {
  background: var(--clay-deep);
  border-color: var(--clay-deep);
  color: var(--white);
}
.cmp__casestudy-dot {
  flex: none;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--clay);
  transition: background 0.2s ease;
}
.cmp__casestudy:hover .cmp__casestudy-dot,
.cmp__casestudy:focus-visible .cmp__casestudy-dot { background: var(--white); }
.cmp__casestudy-arrow {
  flex: none;
  transition: transform 0.2s ease;
}
.cmp__casestudy:hover .cmp__casestudy-arrow { transform: translateX(3px); }
/* no room to sit beside the title — let it wrap and span the card instead */
@media (max-width: 48rem) {
  .cmp__casestudy {
    display: flex;
    white-space: normal;
    padding: 0.6rem 1rem;
    border-radius: var(--radius-card);
  }
}

.cmp__pair {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 48rem) {
  .cmp__pair { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

/* one clickable full-page screenshot; hover (or keyboard focus) pans down the page */
.shot {
  position: relative;
  display: block;
  aspect-ratio: 9 / 10;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
a.shot:hover {
  transform: translateY(-3px);
  box-shadow: 0 2px 4px rgba(34, 29, 24, 0.06), 0 22px 44px -16px rgba(34, 29, 24, 0.28);
}
.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
@media (prefers-reduced-motion: no-preference) {
  .shot img { transition: object-position 6s ease-in-out; }
  .shot:hover img,
  .shot:focus-visible img { object-position: bottom center; }
}

.shot__tag {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  z-index: 2;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.32rem 0.75rem;
  border-radius: var(--radius-pill);
  background: rgba(34, 29, 24, 0.78);
  color: var(--paper);
  pointer-events: none;
}
.shot__tag--after {
  background: var(--clay-deep);
  color: var(--white);
}

.shot__cta {
  position: absolute;
  left: 0.9rem;
  bottom: 0.9rem;
  z-index: 2;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  background: rgba(34, 29, 24, 0.82);
  border-radius: var(--radius-pill);
  padding: 0.5rem 1rem;
  pointer-events: none;
  transition: background-color 0.2s ease;
}
.shot--after .shot__cta { background: var(--clay-deep); }
a.shot:not(.shot--after):hover .shot__cta { background: var(--ink); }
a.shot.shot--after:hover .shot__cta { background: var(--clay-press); }

/* diagnosis strip — compact Broken/Done/Why block under a showcase pair.
   Quiet by design: small type, tinted block, clearly subordinate to the imagery above it. */
.diagnosis-strip {
  margin-top: 1.4rem;
  display: grid;
  gap: 0.85rem;
  background: var(--paper-tint);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 1.1rem 1.3rem;
}
.diagnosis-strip__row {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 0.3rem 1rem;
  align-items: baseline;
}
/* Soft ink, not a chip: the label sits in a 5.5rem grid column with no room for
   padding without breaking the baseline alignment. 18 accent firings, the single
   largest group on the page. A lighter third step (55%) was tried first and failed
   WCAG AA at this size — 3.55:1 against the tinted strip. --ink-soft gives 6.8:1. */
.diagnosis-strip__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.diagnosis-strip__row p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 52ch; /* the ch unit measures "0", wider than average prose — 52ch reads ~67 chars */
}
@media (max-width: 30rem) {
  .diagnosis-strip__row { grid-template-columns: 1fr; gap: 0.2rem; }
}

/* ---------- Bands / sections ---------- */

section { scroll-margin-top: 5rem; }

.band {
  background: var(--paper-tint);
  padding-block: var(--space-section);
}
.band--deep {
  background: url("../assets/art/wash-dark.webp") center / cover no-repeat var(--ink);
  color: var(--paper);
}

.look, .why, .how, .fit, .faq, .cta { padding-block: var(--space-section); }

.why .prose,
.fit .prose {
  font-size: 1.25rem;
}

.get { padding-block: var(--space-section); }

.checklist {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.4rem;
}
.checklist li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  font-size: 1.1rem;
}
/* decorative illustration in place of the old tick icon — same flex slot */
.checklist__art {
  flex: 0 0 auto;
  width: 56px; height: 56px;
  margin-top: 2px;
}

/* ---------- What I actually look for ---------- */

.look__grid {
  display: grid;
  gap: 1.75rem;
  margin-top: 2.5rem;
}
@media (min-width: 48rem) {
  .look__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
.look__item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow-card);
}
.look__item h3 { margin-bottom: 1rem; }
.look__svg {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
  margin: 0 auto 1.4rem;
}
.look__item p {
  color: var(--ink-soft);
  margin: 0;
}
.look__closing {
  margin: 2.5rem 0 0;
  font-style: italic;
  color: var(--ink-soft);
  max-width: 44rem;
}

/* ---------- Case study ---------- */

.case {
  border-top: 1px solid var(--line);
  padding-block: var(--space-section);
}
.case__block { margin: 0 0 2.2rem; }
.case__block p {
  color: var(--ink-soft);
  margin: 0;
}

.case__table-wrap {
  margin: 0 0 2.2rem;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  -webkit-overflow-scrolling: touch;
}
.case__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.case__table th,
.case__table td {
  text-align: left;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--line);
}
.case__table th {
  font-family: var(--font-body);
  font-weight: 600;
  background: var(--paper-tint);
}
.case__table tbody tr:last-child td { border-bottom: none; }

/* ---------- Steps ---------- */

.steps {
  list-style: none;
  counter-reset: step;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 2rem;
}
@media (min-width: 48rem) {
  .steps { grid-template-columns: 1fr 1fr 1fr; gap: 2.5rem; }
}
.steps__item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 1.8rem 1.6rem 1.4rem;
  position: relative;
}
.steps__art {
  display: block;
  width: clamp(72px, 8vw, 96px);
  height: auto;
  margin-bottom: 0.9rem;
}
.steps__num {
  font-family: var(--font-display);
  font-size: 3.2rem;
  line-height: 1;
  color: var(--clay);
  display: block;
  margin-bottom: 0.8rem;
}
.steps__item h3 { margin-bottom: 0.4em; }
.steps__item p { margin: 0; color: var(--ink-soft); }

/* ---------- FAQ ---------- */

.faq__list {
  display: grid;
  gap: 0;
}

.faq__item {
  border-bottom: 1px solid var(--line);
}
.faq__item:last-child {
  border-bottom: none;
}
.faq__item > summary {
  cursor: pointer;
  padding-block: 1rem;
  font-weight: 600;
  color: var(--ink);
  list-style-position: inside;
}
.faq__item > summary:hover {
  color: var(--clay-deep);
}
.faq__item > p {
  padding-bottom: 1rem;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- Quiet aside — a line that arrived early on ---------- */

.vouch { padding-block: calc(var(--space-section) / 2); }
.vouch__intro {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-bottom: 0.9rem;
}
.vouch__figure { margin: 0; }
.vouch__quote { margin: 0; }
.vouch__quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.35rem, 1.4vw + 1rem, 1.75rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 0.5rem;
}
.vouch__attribution {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* ---------- Final CTA + form ---------- */

.cta__title { color: var(--paper); }
.cta__sub {
  color: color-mix(in srgb, var(--paper) 75%, transparent);
  font-size: 1.15rem;
  margin-bottom: 2.2rem;
}

.lead-form { max-width: 30rem; }
.lead-form__field { margin-bottom: 1.3rem; }
.lead-form__field label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.45rem;
}
.lead-form__field .optional { font-weight: 400; opacity: 0.7; }
.req { color: var(--clay); }

.lead-form__field input {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 0.85rem 1rem;
}
.lead-form__field input:focus-visible {
  outline: none;
  border-color: var(--clay);
}
.lead-form__field input[aria-invalid="true"] { border-color: #E4572E; }

.lead-form__error {
  color: #A3341A;
  font-size: 0.88rem;
  margin: 0.4rem 0 0;
}

.lead-form .btn { width: 100%; margin-top: 0.4rem; }

.lead-form__micro {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-top: 1rem;
}
.lead-form__micro em { color: var(--ink); }

.lead-form__thanks {
  max-width: 30rem;
  background: var(--paper-tint);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 2rem;
}
.lead-form__thanks-icon {
  width: 44px; height: 44px;
  color: var(--paper);
  background: var(--clay-deep);
  border-radius: 50%;
  padding: 9px;
  margin-bottom: 1rem;
}
.lead-form__thanks h3 { color: var(--ink); }
.lead-form__thanks p { color: var(--ink-soft); margin: 0; }

/* The same form runs twice: on light paper in the hero, and on the dark band
   down here. Everything above is written for light; these override for dark. */
.cta .lead-form__error { color: #FFB59D; }
.cta .lead-form__micro { color: color-mix(in srgb, var(--paper) 70%, transparent); }
.cta .lead-form__micro em { color: color-mix(in srgb, var(--paper) 85%, transparent); }
.cta .lead-form__thanks {
  background: color-mix(in srgb, var(--paper) 8%, transparent);
  border-color: color-mix(in srgb, var(--paper) 25%, transparent);
}
.cta .lead-form__thanks h3 { color: var(--paper); }
.cta .lead-form__thanks p { color: color-mix(in srgb, var(--paper) 75%, transparent); }

/* ---------- Footer ---------- */

.site-footer {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--line);
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  justify-content: space-between;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.site-footer p { margin: 0; }

/* ---------- Sticky mobile CTA ---------- */

.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  padding: 0.8rem 1.25rem calc(0.8rem + env(safe-area-inset-bottom));
  background: linear-gradient(to top, rgba(250, 246, 240, 0.97) 65%, rgba(250, 246, 240, 0));
  z-index: 60;
  transform: translateY(110%);
  transition: transform 0.3s ease;
  pointer-events: none;
}
.sticky-cta.is-visible {
  transform: translateY(0);
  pointer-events: auto;
}
.sticky-cta__btn { width: 100%; }
@media (min-width: 62rem) {
  .sticky-cta { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .sticky-cta { transition: none; }
}

/* ---------- Scroll reveals (JS-gated so content never hides without JS) ---------- */

html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
html.js .reveal--delay { transition-delay: 0.15s; }
html.js .reveal.is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html.js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
