/* Reclaim For You
   Redesign after clay.com: warm off-white ground, big rounded pastel panels,
   two-tone headings, a mascot render in a rounded frame on the right of each
   panel. Type is Satoshi (Fontshare). See CLAUDE.md. */

@font-face {
  font-family: "Satoshi";
  src: url("fonts/satoshi-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ground: #ffffff;
  --paper: #ffffff;
  --ink: #1d2026;
  --muted: #5d6168;
  --rule: rgb(29 32 38 / 0.1);

  /* Panel tints and their deep tone for the second line of each heading */
  /* Blue and black only. Every former tint maps onto the blue family or a neutral. */
  --blue-bg: #e3ecf7;   --blue-art: #d4e1f3;  --blue: #2f6fd1;
  --peach-bg: #eef3fa;  --peach-art: #e3ecf7; --peach: #2f6fd1;
  --lime-bg: #e3ecf7;   --lime-art: #d4e1f3;  --lime: #1d4fa3;
  --pink-bg: #0b1f4b;   --pink-art: rgb(255 255 255 / 0.08); --pink: #7fb0ff;
  --sand-bg: #f3f4f6;   --sand-art: #e6e8ec;  --teal: #2f6fd1;
  --grey-bg: #eceef2;

  --font: "Satoshi", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --wrap: 72rem;
  --r-lg: 0;
  --r-md: 0;
  --r-sm: 0;
  --nav-h: 3.75rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--ink);
  background: var(--ground);
  padding-top: calc(var(--nav-h) + 1.5rem);
  padding-bottom: 3.75rem; /* phone dock */
  overflow-x: clip;
}
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
h1, h2, h3 { font-weight: 700; line-height: 1.02; letter-spacing: -0.04em; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 4.6vw, 4rem); line-height: 1; letter-spacing: -0.045em; }
h2 { font-size: clamp(1.875rem, 3.4vw, 2.75rem); }
p { text-wrap: pretty; }
a { color: inherit; text-underline-offset: 0.18em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
img { max-width: 100%; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: var(--gutter); top: -4rem; padding: 0.5rem 0.875rem; background: var(--ink); color: var(--paper); font-weight: 600; z-index: 10; border-radius: var(--r-sm); }
.skip:focus { top: 0.5rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Two-tone headings */
.tone { display: inline; }
.tone--blue { color: var(--blue); }
.tone--grey { color: #a9a9a9; }
.tone--peach { color: var(--peach); }
.tone--lime { color: var(--lime); }
.tone--pink { color: var(--pink); }
.tone--teal { color: var(--teal); }

/* Pills */
.pill {
  font-weight: 600;
  display: inline-block;
  align-self: flex-start;
  width: max-content;
  padding: 0.3em 0.85em;
  border-radius: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.3;
  background: var(--paper);
  color: var(--ink);
}
.pill--blue { background: var(--blue); color: var(--paper); }
.pill--peach { background: var(--peach); color: var(--paper); }
.pill--lime { background: var(--lime); color: var(--paper); }
.pill--pink { background: var(--pink); color: var(--paper); }
.pill--sand { background: var(--blue); color: var(--paper); }
.pill--grey { background: var(--paper); color: var(--muted); border: 1px solid var(--rule); }

/* Buttons */
.btn {
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.7em 1.15em;
  border-radius: var(--r-sm);
  font: inherit;
  font-size: 0.9375rem;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.btn--lg { font-size: 1.0625rem; padding: 0.85em 1.35em; }
.btn--dark, .btn--signal, .btn--light { background: var(--ink); color: var(--paper); }
.btn--dark:hover, .btn--signal:hover, .btn--light:hover { background: #000; }
.btn--ghost { background: var(--paper); color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--plain { background: var(--paper); color: var(--ink); }
.btn--plain:hover { background: #fff; border-color: var(--rule); }
.btn--blue { background: var(--blue); color: var(--paper); }
.btn--peach { background: var(--peach); color: var(--paper); }
.btn--lime { background: var(--lime); color: var(--paper); }
.btn--pink { background: var(--pink); color: var(--paper); }
.btn--blue:hover, .btn--peach:hover, .btn--lime:hover, .btn--pink:hover { filter: brightness(0.92); }
.link-arrow { display: inline-flex; gap: 0.4em; margin-top: 1.25rem; font-weight: 600; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }

/* Nav: white rounded bar floating at the top */
.nav { position: fixed; top: 0.75rem; left: 0; right: 0; z-index: 6; padding-inline: var(--gutter); width: 100%; }
.nav__bar {
  border: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100%, var(--wrap));
  min-height: var(--nav-h);
  margin-inline: auto;
  padding: 0.5rem 0.5rem 0.5rem 1.25rem;
  background: var(--paper);
  border-radius: 1rem;
  box-shadow: 0 1px 0 var(--rule);
}
.nav__logo { display: flex; align-items: center; align-self: stretch; }
.nav__logo .nav__wordmark { display: block; height: 0.6rem; width: auto; margin-top: -0.4rem; }
.nav__links { display: none; gap: 1.75rem; }
.nav__links a { font-size: 0.9375rem; font-weight: 500; color: var(--muted); text-decoration: none; }
.nav__links a:hover, .nav__links a[aria-current] { color: var(--ink); }
.nav__actions { display: flex; align-items: center; gap: 1rem; }
.nav__call { display: none; font-weight: 600; font-size: 0.9375rem; text-decoration: none; white-space: nowrap; }
.nav__actions .btn { white-space: nowrap; }

/* Hero: white, copy left, the dog on the right */
.hero { padding: clamp(1.5rem, 3vw, 2.5rem) 0 0; }
.hero__inner { min-height: calc(100svh - var(--nav-h) - 3rem); align-content: center; }
.hero__inner {
  display: grid;
  gap: 2rem;
  width: min(100% - 2 * var(--gutter), var(--wrap));
  margin-inline: auto;
}
.hero__copy { align-self: center; }
.hero__copy h1 { text-wrap: initial; white-space: nowrap; }
.hero__lede { max-width: 30rem; margin-top: 1.25rem; font-size: 1.0625rem; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.hero__record { margin-top: 1.25rem; font-size: 0.9375rem; color: var(--muted); }
.hero__stage {
  position: relative;
  min-height: 22rem;
}
.hero__stage img { object-position: center bottom; }
.hero__stage img, .panel__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center center; }


/* Panels */
.panels { display: grid; gap: 1rem; margin-top: clamp(2.5rem, 5vw, 4rem); }
.panel {
  display: grid;
  gap: 1.5rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: var(--r-lg);
}
/* Slim navy strip for the at-the-scene message */
.strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem;
  padding: clamp(1.25rem, 2.5vw, 1.75rem) clamp(1.5rem, 3vw, 2.25rem);
  background: #0b1f4b; color: #fff; border-radius: 1.25rem;
}
.strip__text { flex: 1 1 32rem; }
.strip h2 { font-size: clamp(1.375rem, 2vw, 1.75rem); margin-top: 0; }
.strip .tone--blue { color: #7fb0ff; }
.strip p:not(.pill) { margin-top: 0.5rem; max-width: 46rem; font-size: 0.9375rem; color: rgb(255 255 255 / 0.7); }
.strip .pill--blue { background: rgb(255 255 255 / 0.14); color: #fff; }
.strip .btn--blue { flex: none; background: #fff; color: #0b1f4b; }
.strip .btn--blue:hover { filter: none; background: #e3ecf7; }
/* Bump: the felt cars drive at each other as you scroll. The section is tall; its
   content sticks for the duration and the frame index follows scroll progress. */
.bump { position: relative; height: 160vh; }
.bump__sticky {
  position: sticky; top: var(--nav-h);
  display: grid; gap: 2rem; align-items: center;
  /* Fixed height = the sticky window, so nothing resizes when the pin releases */
  height: calc(100vh - var(--nav-h)); height: calc(100svh - var(--nav-h));
  padding-block: 0 8vh;
  box-sizing: border-box;
}
.bump__stage { position: relative; aspect-ratio: 806 / 364; max-height: calc(100vh - var(--nav-h) - 12vh); }
.bump__stage canvas, .bump__stage img { max-height: 100%; object-fit: contain; }
.bump__frame { display: block; width: 100%; height: auto; aspect-ratio: 806 / 364; }
.bump__copy h2 { margin-top: 0; font-size: clamp(1.75rem, 2.9vw, 2.5rem); }
.bump__copy p { margin-top: 1rem; max-width: 28rem; font-size: 1.0625rem; color: var(--muted); }
.bump__copy .btn { font-size: 0.9375rem; padding-inline: 1em; }
.bump__copy .panel__actions { gap: 0.5rem; }
.bump__copy .panel__actions { padding-top: 1.5rem; }
.panel--lime { background: var(--lime-bg); }
.panel--pink { background: var(--pink-bg); color: #fff; }
.panel--pink .panel__copy p { color: rgb(255 255 255 / 0.72); }
.panel--pink .art-mark { stroke: rgb(255 255 255 / 0.3); }
.panel--pink .btn--pink { background: #fff; color: #0b1f4b; }
.panel--pink .pill--pink { background: rgb(255 255 255 / 0.14); color: #fff; }
.panel--sand { background: var(--sand-bg); }
.panel--art-left .panel__art { order: -1; }
.panel__copy { display: flex; flex-direction: column; }
.panel__copy h2 { margin-top: 1.25rem; }
.panel__copy p { margin-top: 1rem; max-width: 30rem; color: var(--muted); }
.panel__copy h2 + p { margin-top: 1.25rem; }
.panel__copy .pill, .panel__side .pill, .panel__head .pill { margin-top: 0; max-width: none; color: var(--paper); font-size: 0.8125rem; }
.panel__head .pill--sand { color: var(--paper); }
.panel__actions { display: flex; flex-wrap: wrap; gap: 0.625rem; margin-top: auto; padding-top: 2rem; }
.panel__art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 16rem;
  border-radius: var(--r-md);
  overflow: hidden;
}
.panel__art--blue { background: var(--blue-art); }
.panel__art--peach { background: #f6f5f2; }
.panel__art--lime { background: var(--lime-art); }
.panel__art--pink { background: var(--pink-art); }
.panel__art--sand { background: var(--sand-art); }
.art-mark { width: 5rem; height: 5rem; fill: none; stroke: rgb(29 32 38 / 0.18); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.panel--wide { grid-template-columns: minmax(0, 1fr) !important; }
.panel--wide .panel__head { display: grid; gap: 1.5rem; }
.panel__side p { color: var(--muted); }
.panel__fine { margin-top: 1rem; font-size: 0.9375rem; }
.criteria { list-style: none; display: grid; gap: 0.625rem; margin-top: 1.25rem; }
.criteria li { display: flex; align-items: center; gap: 0.75rem; font-weight: 600; }
.criteria li::before {
  content: "";
  flex: none;
  width: 1.35rem; height: 1.35rem;
  border-radius: 0;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.5 3.5L15 7' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 1rem no-repeat;
}
.panel__art--wide { width: 100%; aspect-ratio: 16 / 6; min-height: 14rem; }
.panel__art--wide:not(:has(img)) { display: none; }

/* Melbourne band: full-bleed street photo under a navy wash. One asymmetric grid:
   the title is a cell, photos fill their cells edge to edge with text set on them,
   and the one text-only cell (who this is for) is white. No two cells alike. */
.melb { position: relative; isolation: isolate; width: 100vw; margin-left: calc(50% - 50vw); padding: clamp(2.5rem, 4vw, 3.5rem) 0; background: #0b1f4b; display: grid; align-content: center; }
.melb__photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }
.melb::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgb(0 0 0 / 0.3); }
.melb__inner { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.melb__grid { display: grid; gap: 0.75rem; }
.melb__title { color: #fff; font-size: clamp(1.75rem, 2.8vw, 2.25rem); align-self: end; padding: 0.5rem 0.25rem 0.75rem; }
.melb .tone--blue { color: #7fb0ff; }

.tile { position: relative; overflow: hidden; border-radius: 1rem; min-height: 14rem; }
/* Felt tiles: the client's rendered felt squares stretched to the tile, text in ink on top */
/* Navy felt panels rendered at each tile's own shape; the tile takes the render's aspect so nothing stretches */
.tile--felt { background: var(--felt) center / 100% 100% no-repeat; aspect-ratio: var(--ratio); min-height: 0; border-radius: 0; overflow: visible; }
@media (max-width: 47.99rem) { .tile--felt { aspect-ratio: auto; min-height: 15rem; } .tile--felt .tile__text { padding: 1.5rem 1.5rem 1.75rem; } }
.tile--felt::before, .tile--felt::after { display: none; }
.tile--felt .tile__text { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.75rem 2rem 2rem; color: #fff; }
.tile--felt .tile__text h3 { font-size: clamp(1.25rem, 1.7vw, 1.625rem); font-weight: 600; line-height: 1.08; letter-spacing: -0.03em; color: #fff; }
.tile--third .tile__text h3 { font-size: clamp(1rem, 1.25vw, 1.2rem); }
.tile--third .tile__text p { font-size: 0.875rem; }
.tile--felt .tile__text p { margin-top: 0.625rem; max-width: 30rem; font-size: 0.9375rem; font-weight: 400; line-height: 1.45; color: rgb(255 255 255 / 0.78); }
.tile--felt .tile__link { margin-top: 1rem; color: #fff; font-weight: 600; font-size: 0.9375rem; border-bottom-color: rgb(255 255 255 / 0.45); }
.tile--felt .tile__link:hover { border-bottom-color: #fff; }
.tile--felt .tile__link:hover { border-bottom-color: var(--ink); }
.tile--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile--photo::after { content: ""; position: absolute; inset: 0; background: rgb(0 0 0 / 0.35); }
.tile--photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgb(0 0 0 / 0.6) 0%, rgb(0 0 0 / 0) 60%); }
.tile__text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: clamp(1rem, 1.6vw, 1.25rem); color: #fff; }
.tile__text h3 { font-size: clamp(1rem, 1.3vw, 1.2rem); line-height: 1.1; letter-spacing: -0.03em; }
.tile__text p { margin-top: 0.4rem; max-width: 28rem; font-size: 0.875rem; color: rgb(255 255 255 / 0.8); }
.tile__link { display: inline-block; margin-top: 0.875rem; font-size: 0.9375rem; font-weight: 600; color: #fff; text-decoration: none; border-bottom: 1px solid rgb(255 255 255 / 0.5); }
.tile__link:hover { border-color: #fff; }
.tile--text { padding: 1.375rem 1.625rem 1.625rem; background: var(--paper); color: var(--ink); display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; }
.tile--text h3 { font-size: clamp(1.125rem, 1.5vw, 1.375rem); font-weight: 600; line-height: 1.08; letter-spacing: -0.03em; }
.tile--text h3 span { color: var(--blue); }
.tile--text .criteria { margin-top: 0.875rem; gap: 0.45rem; }
.tile--text .criteria li { font-size: 0.9rem; }
.tile--text p { margin-top: 0.875rem; padding-top: 0.75rem; border-top: 1px solid var(--rule); font-size: 0.8125rem; color: var(--muted); }
.tile--text .btn { align-self: stretch; justify-content: center; font-size: 0.875rem; padding: 0.7em 1em; }
.tile--text p + .btn { margin-top: 0.875rem; }
.tile--car img { object-position: 55% 45%; }
.tile--repair img { object-position: 50% 60%; }
.tile--third img { object-position: 30% 50%; }

/* Section heads */
.section-head { text-align: center; max-width: 40rem; margin-inline: auto; }
.section-head h2 { margin-top: 0; }
.section-head .pill + h2 { margin-top: 1.25rem; }
.section-head--left { text-align: left; margin-inline: 0; }
.section-head__lede { margin-top: 1.25rem; color: var(--muted); }

/* How it works */
.how { padding-block: clamp(5rem, 9vw, 8rem) 0; }
/* How it works: the felt road runs across; each step is a numbered pin on the road
   with its text beside it. On narrow screens the road is hidden and the steps stack. */
.road { position: relative; margin-top: clamp(2rem, 4vw, 3rem); }
@media (min-width: 64rem) { .road { width: 100vw; margin-left: calc(50% - 50vw); margin-top: 0; } }
.road__img { display: none; width: 100%; height: auto; }
.steps { list-style: none; display: grid; gap: 1rem; }
.steps li { padding: 1.25rem; background: #f6f5f2; border-radius: 1rem; }
.steps__n { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--blue); color: #fff; font-size: 0.8125rem; font-weight: 600; }
.steps li p { margin-top: 0.625rem; font-size: 0.9375rem; color: var(--muted); }

/* Numbers */
.numbers { padding-block: clamp(3rem, 6vw, 5rem) 0; }
.numbers__row { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.numbers__row li { padding: 1.5rem; background: #f6f5f2; border-radius: 1rem; }
.numbers__row strong { display: block; font-size: clamp(2rem, 4vw, 3rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.numbers__row span { display: block; margin-top: 0.5rem; font-size: 0.9375rem; color: var(--muted); }

/* FAQ */
.faq { padding-block: clamp(4rem, 8vw, 7rem) 0; }
.faq__grid { display: grid; gap: 2rem; }
.faq__list details { background: #f6f5f2; border-radius: var(--r-md); }
.faq__list details + details { margin-top: 0.625rem; }
.faq__list summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.125rem 1.375rem;
  font-weight: 600; cursor: pointer; list-style: none;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; flex: none; width: 1.75rem; height: 1.75rem; display: grid; place-items: center; border-radius: 0; background: var(--paper); font-weight: 500; }
.faq__list details[open] summary::after { content: "\2212"; }
.faq__list details p { padding: 0 1.375rem; color: var(--muted); }
.faq__list details p + p { margin-top: 0.75rem; }
.faq__list details p:last-child { padding-bottom: 1.375rem; }

/* Tail wag under the questions heading: a looping keyed frame sequence */
.wag { margin-top: 2rem; max-width: 20rem; }
.wag__frame { display: block; width: 100%; height: auto; }

/* Closing CTA */
.cta { padding-block: clamp(4rem, 8vw, 7rem) clamp(3rem, 6vw, 5rem); }
/* Closing CTA sits on the client's rendered navy felt banner, kept at the render's own
   proportions so its hairy rim is not distorted; the copy is centred over it. */
.cta__box {
  position: relative; display: grid; place-content: center; text-align: center;
  aspect-ratio: var(--banner-ratio, 2200 / 600);
  padding: clamp(1.5rem, 4vw, 3rem) clamp(1.5rem, 6vw, 5rem);
  background: var(--banner) center / 100% 100% no-repeat;
  color: #fff; border-radius: 0;
}
.cta__box h2 { font-size: clamp(1.5rem, 2.6vw, 2.25rem); }
@media (max-width: 47.99rem) { .cta__box { aspect-ratio: auto; min-height: 0; padding: 2.5rem 1.5rem; background-size: 100% 100%; } }
.cta__box .tone--blue { color: #7fb0ff; }
.cta__box .btn--dark { background: #fff; color: #0b1f4b; }
.cta__box .btn--dark:hover { background: #e3ecf7; }
.cta__box .btn--ghost { background: transparent; color: #fff; border-color: rgb(255 255 255 / 0.5); }
.cta__box .btn--ghost:hover { border-color: #fff; }
.cta__box .hero__actions { justify-content: center; }

/* Footer */
.foot { padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; border-top: 1px solid var(--rule); }
.foot__grid { display: grid; gap: 2rem; }
.foot__label { font-size: 0.875rem; font-weight: 600; color: var(--muted); }
.foot__phone { display: block; margin-top: 0.25rem; font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 500; letter-spacing: -0.03em; text-decoration: none; }
.foot__muted { color: var(--muted); font-size: 0.9375rem; }
.foot__line { margin-top: 0.75rem; font-size: 0.9375rem; }
address { font-style: normal; font-size: 0.9375rem; color: var(--muted); line-height: 1.45; }
address strong { display: block; margin-bottom: 0.25rem; color: var(--ink); font-weight: 600; }
.legal { margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 1.5rem; border-top: 1px solid var(--rule); font-size: 0.8125rem; color: var(--muted); }
.legal p { max-width: 64ch; }
.legal ul { list-style: none; display: flex; gap: 1.5rem; margin-top: 1rem; }

/* Phone call dock */
.dock { position: fixed; inset: auto 0 0 0; display: grid; grid-template-columns: 1fr 1fr; z-index: 5; }
.dock a { padding: 0.95rem 0.5rem calc(0.95rem + env(safe-area-inset-bottom)); text-align: center; font-weight: 600; text-decoration: none; background: var(--ink); color: var(--paper); }
.dock a + a { background: var(--paper); color: var(--ink); border-left: 1px solid var(--rule); }

/* Eligibility checker page: light card, same type and buttons as the rest of the site */
.checker { padding-block: clamp(2rem, 5vw, 4rem) clamp(4rem, 8vw, 6rem); }
.checker__form { max-width: 42rem; margin-inline: auto; padding: clamp(1.75rem, 4vw, 2.75rem); background: var(--blue-bg); border-radius: 1.25rem; }
.checker__lede { margin-top: 0.75rem; font-size: 1.0625rem; color: var(--muted); }
.checker__urgent { margin-top: 1.5rem; padding: 0.875rem 1.125rem; background: var(--paper); border-radius: 0.75rem; font-weight: 600; font-size: 0.9375rem; }
.step { display: none; margin: 0; padding: 0; border: 0; min-width: 0; }
.step.is-current { display: block; }
.step__count { margin-bottom: 0.75rem; font-size: 0.8125rem; font-weight: 600; color: var(--blue); }
.step legend, .step h1, .step h2 { float: left; width: 100%; padding: 0; font-size: clamp(1.5rem, 2.6vw, 2.125rem); line-height: 1.08; letter-spacing: -0.035em; }
.step legend + *, .step h2 + *, .step h1 + * { clear: both; }
.step :focus { outline: none; }
.step :focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.step__hint { display: block; margin-top: 0.375rem; font-size: 0.9375rem; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.step__opts { display: grid; gap: 0.5rem; margin-top: 1.5rem; }
.step__opts label { display: flex; align-items: center; gap: 0.875rem; padding: 0.95rem 1.125rem; background: var(--paper); border: 1px solid var(--rule); border-radius: 0.75rem; font-weight: 500; cursor: pointer; }
.step__opts label:hover { border-color: var(--ink); }
.step__opts label:has(input:checked) { border-color: var(--ink); background: var(--paper); }
.step__opts input { width: 1.125rem; height: 1.125rem; margin: 0; accent-color: var(--ink); flex: none; }
.step__note { margin-top: 1.25rem; font-size: 0.9375rem; color: var(--muted); }
.step__field { margin-top: 1.5rem; }
.step__field label { display: block; margin-bottom: 0.5rem; font-weight: 600; font-size: 0.9375rem; }
.input { display: block; width: 100%; padding: 0.85rem 1rem; font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--rule); border-radius: 0.75rem; }
.input:focus { border-color: var(--ink); outline: none; }
.input--rego { max-width: 12rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; font-size: 1.25rem; }
.step__consent { display: flex; align-items: flex-start; gap: 0.875rem; margin-top: 1.5rem; font-size: 0.9375rem; cursor: pointer; }
.step__consent input { width: 1.125rem; height: 1.125rem; margin: 0.15rem 0 0; accent-color: var(--ink); flex: none; }
.step__error { margin-top: 1rem; font-weight: 600; color: var(--ink); }
.step__error:empty { display: none; }
.step.has-error .step__opts label, .step.has-error .input { border-color: var(--ink); }
.step__actions { display: flex; align-items: center; gap: 1.5rem; margin-top: 2rem; }
.step__actions .btn { font-size: 1rem; }
.step__back { padding: 0; border: 0; background: none; font: inherit; font-weight: 500; color: var(--muted); text-decoration: underline; text-underline-offset: 0.18em; cursor: pointer; }
.step__back:hover { color: var(--ink); }
.step--result h2 { float: none; }
.step--result p { margin-top: 1.25rem; color: var(--muted); }
.step--result mark { background: var(--blue-bg); color: var(--ink); padding: 0 0.2em; border-radius: 4px; }
.link--button { padding: 0; border: 0; background: none; font: inherit; text-decoration: underline; cursor: pointer; }

/* Blog */
.blog, .post { padding-block: clamp(2rem, 5vw, 4rem) clamp(4rem, 8vw, 6rem); }
.blog__head { max-width: 40rem; }
.blog__head h1 { margin-top: 1.25rem; }
.blog__lede { margin-top: 1.25rem; font-size: 1.125rem; color: var(--muted); }
.blog__list { display: grid; gap: 1rem; margin-top: clamp(2rem, 4vw, 3rem); }
.post-card { background: #f6f5f2; border-radius: var(--r-lg); overflow: hidden; }
.post-card__link { display: block; color: inherit; text-decoration: none; }
.post-card__photo { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post-card__body { padding: 1.5rem; }
.post-card__meta, .post__meta { font-size: 0.875rem; color: var(--muted); }
.post-card h2 { margin-top: 0.5rem; font-size: 1.375rem; }
.post-card p:last-child { margin-top: 0.5rem; color: var(--muted); }
.post__wrap { max-width: 46rem; }
.post__head h1 { margin-top: 1.25rem; font-size: clamp(2rem, 4vw, 3.25rem); }
.post__meta { margin-top: 1rem; }
.post__hero { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-lg); margin-top: 2rem; }
.post__body { margin-top: 2.5rem; font-size: 1.125rem; line-height: 1.65; }
.post__body > * + * { margin-top: 1.25em; }
.post__lede { font-size: 1.3125rem; font-weight: 500; }
.post__body h2 { margin-top: 2em; font-size: 1.625rem; }
.post__body ul { padding-left: 1.25em; }
.post__body blockquote { margin: 2em 0; padding-left: 1.25em; border-left: 3px solid var(--blue); font-size: 1.25rem; font-weight: 500; }
.post__cta { margin-top: 3em; padding: 2rem; background: #f6f5f2; border-radius: var(--r-lg); }
.post__cta .btn { margin-top: 1.25rem; }
.post__back { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); }

@media (max-width: 23.5rem) {
  .nav__actions .btn { padding: 0.6em 0.9em; font-size: 0.875rem; }
}

/* Wider screens */
@media (min-width: 48rem) {
  body { padding-bottom: 0; }
  .dock { display: none; }
  .nav__call { display: inline; }
  .panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
  /* 12-col asymmetric grid, three rows of unequal height: no two tiles the same size */
  .melb { min-height: 100vh; min-height: 100svh; }
  /* 12-col asymmetric grid, three rows of unequal height: no two tiles the same size */
  .melb__grid { grid-template-columns: repeat(12, 1fr); grid-template-rows: auto auto auto; gap: 0.75rem; align-items: stretch; }
  .melb__title { align-self: end; padding-bottom: 0.5rem; }
  .melb__title { grid-column: 1 / 6; grid-row: 1; }
  .tile--car { grid-column: 6 / 13; grid-row: 1 / 3; min-height: 0; }
  .tile--who { grid-column: 1 / 6; grid-row: 2 / 4; min-height: 0; align-self: stretch; margin-bottom: 0.5rem; }
  .tile--repair { grid-column: 6 / 10; grid-row: 3; min-height: 0; }
  .tile--third { grid-column: 10 / 13; grid-row: 3; min-height: 0; }
  .tile--repair .tile__text h3, .tile--third .tile__text h3 { font-size: clamp(1.0625rem, 1.35vw, 1.3rem); }
  .tile--repair .tile__text p, .tile--third .tile__text p { font-size: 0.875rem; }
  .tile--repair .tile__text, .tile--third .tile__text { padding: 1.5rem 1.625rem 1.75rem; }

  .bump__sticky { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 3rem; }
  .bump__copy { padding-left: 4rem; }
  .hero__inner { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; min-height: calc(100vh - var(--nav-h) - 1.5rem - clamp(1.5rem, 3vw, 2.5rem)); min-height: calc(100svh - var(--nav-h) - 1.5rem - clamp(1.5rem, 3vw, 2.5rem)); }
  .hero__stage { min-height: 36rem; height: 100%; }
  .hero { overflow: clip; padding-bottom: 0; }
  .hero__stage img { z-index: 1; }
  .panels { position: relative; z-index: 2; }
  /* Position chosen by the client in mascot-preview.html */
  .hero__stage img { transform: translate(24%, 30%) rotate(-9deg) scale(1.31); transform-origin: center center; }
  .panel__art { min-height: 22rem; }
  .panel--wide .panel__head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .numbers__row { grid-template-columns: repeat(4, 1fr); }
  .faq__grid { grid-template-columns: 5fr 7fr; gap: 4rem; align-items: start; }
  .foot__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
  .blog__list { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 64rem) {
  .nav__links { display: flex; }
  .panel { padding: clamp(2rem, 3vw, 3rem); gap: 3rem; }
  .panel__art { min-height: 26rem; }
  /* Road layout: pins sit on the centreline at measured points; labels are boxed and
     offset from each pin so they sit in the clear space above a crest or below a dip. */
  .road { padding-block: 3.5rem 5rem; }
  .road__img { display: block; }
  .steps { position: absolute; inset: 3.5rem 0 5rem 0; display: block; }
  .steps li { position: absolute; overflow: visible; }
  .steps__n { position: static; display: block; width: auto; height: auto; margin-bottom: 0.5rem; border-radius: 0; background: none; color: var(--blue); font-size: 0.875rem; font-weight: 600; }
  .steps li { width: 18rem; height: auto; padding: 1.125rem 1.25rem; background: var(--paper); border: 1px solid var(--rule); border-radius: 0.875rem; box-shadow: 0 6px 20px rgb(0 0 0 / 0.08); }
  .steps li p { position: static; width: auto; margin: 0; padding: 0; background: none; border: 0; font-size: 0.9375rem; line-height: 1.45; text-align: left; color: var(--ink); }
  .step-1 { left: 12%; top: 34%; transform: translate(-20%, -50%); }
  .step-2 { left: 38%; top: 83%; transform: translate(-50%, -50%); }
  .step-3 { left: 58%; top: 17%; transform: translate(-50%, -50%); }
  .step-4 { left: 88%; top: 65%; transform: translate(-80%, -50%); }
}

/* Motion: cards rise in once as they enter view */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(1.25rem); transition: opacity 0.6s ease-out, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .faq__list details::details-content { block-size: 0; overflow: clip; transition: block-size 0.3s ease-out, content-visibility 0.3s allow-discrete; }
  .faq__list details[open]::details-content { block-size: auto; }
  :root { interpolate-size: allow-keywords; }
}
