/* ==========================================================================
   Vintage Toy Dealer — single stylesheet
   Clean consumer-service design (SITE-BRIEF §5): white, a green brand
   colour for every action, near-black ink text with dark CTA + footer,
   neutral grey bands, and yellow as the spark (hero marker, trust ticks,
   wordmark dot, closing CTA). Mobile-first. No preprocessor.
   ==========================================================================
   Contents:
     1. Tokens          6. Hero & page intros   11. FAQ
     2. Reset & base    7. Trust strip          12. CTA band
     3. Typography      8. Cards & grids        13. Footer
     4. Buttons         9. Comparison table     14. Sticky mobile CTA
     5. Header & nav   10. Enquiry form         15. Motion & print
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
	/* Colour */
	--ink: #17211c;
	--ink-soft: #56655d;
	--bg: #ffffff;
	--tint: #f1f5f3;          /* neutral cool grey — alternating bands, cards  */
	--card: #ffffff;
	--line: #e2e8e4;
	--line-strong: #cbd5cf;   /* input borders                                 */
	--accent: #0b7a4b;        /* brand green — every action, one colour       */
	--accent-dark: #086139;   /* hover states, links on light backgrounds      */
	--accent-tint: #e3f3ea;   /* highlighted surfaces, focus rings             */
	--highlight: #ffd54a;     /* yellow — hero marker, trust ticks, CTA button  */
	--highlight-dark: #f2c433;/* yellow button hover                           */
	--on-ink-soft: #9aae9f;   /* muted text on ink (dark) backgrounds          */
	--footer: #1c1c1c;        /* neutral charcoal — true footer background      */
	--on-footer: #c9cdcb;     /* footer body text/links on charcoal             */
	--on-footer-soft: #a3a6a4;/* the quietest footer text — legal line only     */
	--error: #b02a1e;

	/* Fluid type scale */
	--step--1: clamp(0.875rem, 0.86rem + 0.1vw, 0.9375rem);
	--step-0: clamp(1rem, 0.97rem + 0.2vw, 1.0625rem);
	--step-1: clamp(1.15rem, 1.1rem + 0.3vw, 1.3rem);
	--step-2: clamp(1.4rem, 1.3rem + 0.5vw, 1.65rem);
	--step-3: clamp(1.8rem, 1.55rem + 1.1vw, 2.4rem);
	--step-4: clamp(2.2rem, 1.9rem + 1.8vw, 3.2rem);
	--step-5: clamp(2.6rem, 2rem + 3.2vw, 4.4rem);

	/* Space scale */
	--space-2xs: 0.375rem;
	--space-xs: 0.625rem;
	--space-s: 1rem;
	--space-m: 1.5rem;
	--space-l: 2.5rem;
	--space-xl: 4rem;
	--space-2xl: 6rem;
	--section-pad: clamp(3.5rem, 8vw, 6rem);

	/* Misc */
	--wrap: 68.75rem;                  /* ~1100px */
	--radius: 0.5rem;
	--radius-s: 0.5rem;
	--shadow-s: 0 1px 2px rgb(23 33 28 / 0.04), 0 4px 12px rgb(23 33 28 / 0.06);
	--shadow-m: 0 2px 4px rgb(23 33 28 / 0.05), 0 12px 32px rgb(23 33 28 / 0.09);
	--font: 'Sora', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

@font-face {
	font-family: 'Sora';
	font-style: normal;
	font-weight: 100 800;
	font-display: swap;
	src: url('fonts/sora-var-latin.woff2') format('woff2');
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font);
	font-size: var(--step-0);
	line-height: 1.65;
	color: var(--ink);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
}

img,
svg {
	display: block;
	max-inline-size: 100%;
}

:focus-visible {
	outline: 3px solid var(--accent-dark);
	outline-offset: 2px;
	border-radius: 4px;
}

/* Dark surfaces need a light focus ring. */
.cta-band :focus-visible,
.site-footer :focus-visible {
	outline-color: #fff;
}

:target,
section[id] {
	scroll-margin-block-start: 6.5rem; /* clears the sticky header */
}

.wrap {
	max-inline-size: var(--wrap);
	margin-inline: auto;
	padding-inline: var(--space-m);
}

.wrap--narrow {
	max-inline-size: 46rem;
}

.visually-hidden {
	position: absolute;
	inline-size: 1px;
	block-size: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	inset-block-start: -3rem;
	inset-inline-start: var(--space-s);
	z-index: 100;
	padding: 0.5em 1em;
	background: var(--ink);
	color: #fff;
	border-radius: 0 0 var(--radius-s) var(--radius-s);
	transition: inset-block-start 0.15s ease;
}

.skip-link:focus {
	inset-block-start: 0;
}

/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */
h1,
h2,
h3 {
	line-height: 1.12;
	text-wrap: balance;
	margin-block: 0 0.5em;
}

h1 {
	font-size: var(--step-4);
	font-weight: 800;
	letter-spacing: -0.03em;
}

h2 {
	font-size: var(--step-3);
	font-weight: 700;
	letter-spacing: -0.02em;
}

h3 {
	font-size: var(--step-1);
	font-weight: 600;
	letter-spacing: -0.01em;
}

p,
ul,
ol {
	margin-block: 0 var(--space-s);
}

a {
	color: var(--accent-dark);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

a:hover {
	color: var(--accent);
}

.section-sub {
	font-size: var(--step-1);
	color: var(--ink-soft);
	max-inline-size: 60ch;
	margin-block-end: var(--space-l);
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
	display: inline-block;
	padding: 0.85em 1.8em;
	border: 0;
	border-radius: 999px;
	background: var(--accent);
	color: #fff;
	font-family: var(--font);
	font-size: var(--step-0);
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
	background: var(--accent-dark);
	color: #fff; /* re-assert: the global a:hover would otherwise win and turn this green-on-green */
	transform: translateY(-1px);
	box-shadow: 0 3px 8px rgb(23 33 28 / 0.18);
}

.btn:active {
	transform: none;
	box-shadow: none;
}

.btn:disabled {
	opacity: 0.7;
	cursor: wait;
	transform: none;
	box-shadow: none;
}

.btn--big {
	padding: 1em 2.3em;
	font-size: var(--step-1);
	font-weight: 700;
}

.btn--nav {
	padding: 0.65em 1.3em;
	font-size: 0.875rem;
	white-space: nowrap;
}

/* --------------------------------------------------------------------------
   5. Header & nav
   -------------------------------------------------------------------------- */
.site-header {
	position: sticky;
	inset-block-start: 0;
	z-index: 80;
	background: var(--bg);
	border-block-end: 1px solid var(--line);
}

.site-header__in {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-s);
	padding-block: 0.9rem;
}

.wordmark {
	font-family: var(--font);
	font-weight: 800;
	font-size: 1.2rem;
	line-height: 1.2;
	letter-spacing: -0.02em;
	white-space: nowrap;
	text-decoration: none;
	color: var(--ink);
	margin: 0;
}

a.wordmark:hover {
	color: var(--ink); /* the mark is not a "link" — no hover colour shift.
	                       Scoped to the anchor only: the footer wordmark is a
	                       <p>, and --ink is nearly the same as the charcoal
	                       footer background, so this rule mustn't reach it. */
}

.wordmark__dot {
	color: var(--accent); /* green full stop — the brand colour, in the mark */
}

@media (min-width: 40em) {
	.wordmark {
		font-size: 1.35rem;
	}
}

.site-nav {
	display: flex;
	align-items: center;
	gap: var(--space-s);
}

.site-nav ul {
	display: none; /* mobile: revealed by the toggle; noscript CSS shows it inline */
	position: absolute;
	inset-inline: 0;
	inset-block-start: 100%;
	z-index: 50;
	margin: 0;
	padding: var(--space-s) var(--space-m) var(--space-m);
	list-style: none;
	background: var(--card);
	border-block-end: 1px solid var(--line);
	box-shadow: var(--shadow-m);
}

.site-nav ul.open {
	display: block;
}

.site-nav ul a {
	display: block;
	padding-block: 0.7em;
	font-weight: 600;
	color: var(--ink);
	text-decoration: none;
}

.site-nav ul a:hover {
	color: var(--accent-dark);
}

/* Mobile keeps the sticky bottom CTA instead — one clear action, no cramming. */
.site-nav .btn--nav {
	display: none;
}

.nav-toggle {
	display: inline-flex;
	align-items: center;
	padding: 0.7em; /* with the icon this lands ≈46px — comfortable touch target */
	border: 1px solid var(--line);
	border-radius: 999px;
	background: transparent;
	color: var(--ink);
	cursor: pointer;
}

.nav-toggle svg {
	inline-size: 1.45rem;
	block-size: 1.45rem;
}

@media (min-width: 48em) {
	.nav-toggle {
		display: none;
	}

	.site-nav {
		gap: var(--space-m);
	}

	.site-nav .btn--nav {
		display: inline-block;
	}

	.site-nav ul {
		display: flex;
		position: static;
		gap: 1.75rem;
		padding: 0;
		background: none;
		border: 0;
		box-shadow: none;
	}

	.site-nav ul a {
		padding-block: 0.2em;
		font-size: var(--step--1);
		color: var(--ink-soft);
	}

	.site-nav ul a:hover {
		color: var(--ink);
	}
}

/* --------------------------------------------------------------------------
   6. Hero & page intros
   -------------------------------------------------------------------------- */
.hero {
	padding-block: clamp(3.5rem, 9vw, 6.5rem);
	text-align: center;
	background: linear-gradient(180deg, var(--tint) 0%, var(--bg) 60%);
}

.hero h1 {
	font-size: var(--step-5);
	max-inline-size: 18ch;
	margin-inline: auto;
}

/* The one flourish: a yellow marker stroke behind the key phrase. */
.hl {
	background-image: linear-gradient(transparent 58%, var(--highlight) 58% 96%, transparent 96%);
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
	padding-inline: 0.06em;
}

.hero__sub {
	max-inline-size: 56ch;
	margin-inline: auto;
	font-size: var(--step-1);
	color: var(--ink-soft);
	margin-block-end: var(--space-l);
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: var(--space-m);
}

.hero__secondary {
	font-weight: 600;
	color: var(--ink);
	text-decoration-thickness: 2px;
	text-decoration-color: var(--accent);
}

.hero__secondary:hover {
	color: var(--accent-dark);
}

/* One orchestrated load moment; killed by prefers-reduced-motion below. */
@keyframes rise {
	from {
		opacity: 0;
		transform: translateY(14px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

.hero h1 {
	animation: rise 0.5s 0.05s ease-out backwards;
}

.hero__sub {
	animation: rise 0.5s 0.15s ease-out backwards;
}

.hero__actions {
	animation: rise 0.5s 0.25s ease-out backwards;
}

/* Subpage intros: left-aligned, quieter — same soft gradient as the home hero. */
.page-hero {
	padding-block: clamp(2rem, 5vw, 3.5rem) clamp(3.5rem, 7vw, 5rem);
	background: linear-gradient(180deg, var(--tint) 0%, var(--bg) 60%);
}

.page-hero .hero__sub {
	font-size: var(--step-1);
}

/* Breadcrumbs sit inside the page hero, above the h1. */
.crumbs {
	margin-block-end: var(--space-m);
	font-size: var(--step--1);
	color: var(--ink-soft);
}

.crumbs a {
	color: inherit;
}

/* --------------------------------------------------------------------------
   7. Trust strip
   -------------------------------------------------------------------------- */
.trust-strip-band {
	border-block: 1px solid var(--line);
	background: var(--tint);
}

.trust-strip {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--space-s) var(--space-m);
	margin: 0 auto;
	padding-block: var(--space-m);
	list-style: none;
}

.trust-strip li {
	display: flex;
	align-items: center;
	gap: 0.6em;
	font-size: var(--step--1);
	font-weight: 600;
}

.trust-strip svg {
	inline-size: 1.4em;
	block-size: 1.4em;
	padding: 0.24em;
	flex-shrink: 0;
	background: var(--highlight);
	color: var(--ink);
	border-radius: 50%;
}

@media (min-width: 48em) {
	.trust-strip {
		grid-template-columns: repeat(4, auto);
		justify-content: space-between;
	}
}

/* --------------------------------------------------------------------------
   8. Cards & grids (steps, toys, about, chips)
   -------------------------------------------------------------------------- */
.section {
	padding-block: var(--section-pad);
}

.section--tight {
	padding-block: var(--space-xl);
}

.section--tint {
	background: var(--tint);
}

.steps {
	display: grid;
	gap: var(--space-m);
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: step;
}

.steps li {
	counter-increment: step;
	padding: var(--space-l) var(--space-m);
	background: var(--tint);
	border-radius: var(--radius);
}

/* Tinted bands flip the cards to white so they still read as cards. */
.section--tint .steps li,
.mini-steps .steps li {
	background: var(--card);
	border: 1px solid var(--line);
}

.steps li::before {
	content: counter(step);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	inline-size: 2.4rem;
	block-size: 2.4rem;
	border-radius: 50%;
	background: var(--accent);
	color: #fff;
	font-size: var(--step-1);
	font-weight: 700;
	margin-block-end: var(--space-m);
}

.steps li p {
	color: var(--ink-soft);
}

.steps li > :last-child {
	margin-block-end: 0;
}

.steps__more {
	margin-block-start: var(--space-m);
	font-weight: 600;
}

@media (min-width: 48em) {
	.steps {
		grid-template-columns: repeat(3, 1fr);
	}
}

.mini-steps {
	padding-block: var(--section-pad);
	background: var(--tint);
}

/* Toys I buy grid — clean text cards, arrow affordance, no icons. */
.toys-grid {
	display: grid;
	gap: var(--space-xs);
	margin: var(--space-m) 0;
	padding: 0;
	list-style: none;
}

.toy-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-s);
	min-block-size: 100%;
	padding: 1.1rem 1.25rem;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius-s);
	font-weight: 600;
	line-height: 1.35;
	color: var(--ink);
	text-decoration: none;
	transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.toy-card::after {
	content: '\2192' / ''; /* → decorative — empty alt keeps it out of the link name */
	flex-shrink: 0;
	color: var(--accent);
	font-weight: 700;
	transition: transform 0.15s ease;
}

.toy-card:hover {
	transform: translateY(-2px);
	border-color: var(--accent);
	box-shadow: var(--shadow-s);
	color: var(--ink);
}

.toy-card:hover::after {
	transform: translateX(3px);
}

@media (min-width: 34em) {
	.toys-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 56em) {
	.toys-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* About block */
.about-card {
	padding: clamp(var(--space-m), 5vw, var(--space-l)) clamp(var(--space-m), 5vw, 3rem);
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.about-card blockquote {
	margin: 0 0 var(--space-s);
	max-inline-size: 62ch;
	line-height: 1.7;
}

.about-card > div > p:last-child {
	margin-block-end: 0;
	font-weight: 600; /* the "More about me" link line only — not the quote itself */
}

/* Chip links ("Also buying") */
.chip-list {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-xs);
	margin: 0;
	padding: 0;
	list-style: none;
}

.chip-list a {
	display: inline-block;
	padding: 0.55em 1.1em;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 999px;
	font-size: var(--step--1);
	font-weight: 600;
	color: var(--ink);
	text-decoration: none;
	transition: border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.chip-list a:hover {
	border-color: var(--accent);
	color: var(--accent-dark);
	transform: translateY(-1px);
}

.also-buying {
	padding-block: var(--space-l) var(--space-xl);
}

/* Content lists on brand pages */
.want-list {
	padding-inline-start: 1.2em;
}

.want-list li {
	margin-block-end: 0.4em;
}

.want-list li::marker {
	color: var(--accent);
}

.prose {
	max-inline-size: 65ch;
}

.prose h2 {
	margin-block-start: var(--space-l);
}

/* Reviews (disabled at launch — see includes/reviews.php) */
.reviews {
	padding-block: var(--space-l);
}

.reviews__list {
	display: grid;
	gap: var(--space-m);
	margin: 0;
	padding: 0;
	list-style: none;
}

.review-card {
	padding: var(--space-m);
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.review-card__who {
	margin: 0;
	font-size: var(--step--1);
	font-weight: 600;
	color: var(--ink-soft);
}

@media (min-width: 48em) {
	.reviews__list {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* --------------------------------------------------------------------------
   9. Comparison table
   -------------------------------------------------------------------------- */
/* Below 41em the 38rem table overflows the wrap, so say so — testers missed
   the sideways scroll. Hidden from screen readers: the region itself is
   focusable and captioned. */
.compare-hint {
	margin-block: var(--space-l) 0.5rem;
	font-size: var(--step--1);
	font-weight: 600;
	color: var(--ink-soft);
}

.compare-scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin-block-start: var(--space-l);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

@media (max-width: 40.99em) {
	.compare-hint + .compare-scroll {
		margin-block-start: 0;
	}
}

@media (min-width: 41em) {
	.compare-hint {
		display: none;
	}
}

.compare {
	inline-size: 100%;
	min-inline-size: 38rem;
	border-collapse: collapse;
	background: var(--card);
	font-size: var(--step--1);
}

.compare th,
.compare td {
	padding: 1em 1.1em;
	border-block-end: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}

.compare thead td,
.compare thead th {
	background: var(--tint);
	font-weight: 700;
	border-block-end: 1px solid var(--line);
}

.compare thead th:last-child {
	background: var(--accent);
	color: #fff;
}

.compare tbody th {
	font-weight: 600;
	white-space: nowrap;
}

.compare tbody tr:last-child th,
.compare tbody tr:last-child td {
	border-block-end: 0;
}

.compare .compare__vtd {
	background: var(--accent-tint);
	font-weight: 600;
}

/* --------------------------------------------------------------------------
   10. Enquiry form
   -------------------------------------------------------------------------- */
.form-section {
	padding-block: var(--section-pad);
}

.form-brand-note {
	display: inline-block;
	margin: 0 0 var(--space-s);
	padding: 0.3em 0.9em;
	background: var(--accent-tint);
	color: var(--accent-dark);
	border-radius: 999px;
	font-weight: 600;
	font-size: var(--step--1);
}

.enquiry-form {
	padding: clamp(var(--space-m), 4vw, var(--space-l));
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-m);
}

.field {
	margin-block-end: var(--space-m);
}

.field label {
	display: block;
	font-weight: 600;
	margin-block-end: 0.4em;
}

.field input[type='text'],
.field input[type='email'],
.field textarea {
	inline-size: 100%;
	padding: 0.8em 1em;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-s);
	background: var(--card);
	font: inherit;
	color: var(--ink);
}

.field textarea {
	resize: vertical;
}

.field input:focus,
.field textarea:focus {
	border-color: var(--accent);
	outline: none;
	box-shadow: 0 0 0 4px var(--accent-tint);
}

.field input[type='file'] {
	inline-size: 100%;
	padding: var(--space-m) var(--space-s);
	border: 2px dashed var(--line-strong);
	border-radius: var(--radius-s);
	background: var(--tint);
	font-size: var(--step--1);
}

.field-help {
	font-size: var(--step--1);
	color: var(--ink-soft);
	margin-block: 0.4em 0.5em;
}

/* Reassurance line above the submit button: match the hero's own
   text-before-primary-button gap (--space-l) rather than the tighter
   field-to-field rhythm, so it doesn't crowd the CTA. */
.field-help--presubmit {
	margin-block-end: var(--space-l);
}

.field-error {
	display: none;
	font-size: var(--step--1);
	font-weight: 600;
	color: var(--error);
	margin-block: 0.4em 0;
}

/* Inline validation: show the message once the user has interacted. */
.field input:user-invalid ~ .field-error,
.field textarea:user-invalid ~ .field-error {
	display: block;
}

.check {
	display: flex;
	align-items: baseline;
	gap: 0.55em;
	font-size: var(--step--1);
	font-weight: 600;
	margin-block-start: var(--space-s);
	padding-block: 0.3em; /* the whole label is the tap target — give it height */
}

.check input {
	accent-color: var(--accent);
	inline-size: 1.25em;
	block-size: 1.25em;
	flex-shrink: 0;
	position: relative;
	inset-block-start: 0.15em;
}

.photo-previews {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(4.5rem, 1fr));
	gap: var(--space-xs);
	margin: var(--space-s) 0 0;
	padding: 0;
	list-style: none;
}

.photo-previews li {
	position: relative;
}

.photo-previews img {
	inline-size: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: var(--radius-s);
	border: 1px solid var(--line);
}

.photo-previews button {
	position: absolute;
	inset-block-start: -0.5rem;
	inset-inline-end: -0.5rem;
	inline-size: 1.75rem;
	block-size: 1.75rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--ink);
	color: #fff;
	font-size: 1rem;
	line-height: 1;
	cursor: pointer;
}

.photo-previews button:hover {
	background: var(--error);
}

.photo-status {
	font-size: var(--step--1);
	color: var(--ink-soft);
	margin-block: 0.5em 0;
}

.enquiry-form .btn {
	inline-size: 100%;
	text-align: center;
}

.form-note {
	margin-block: var(--space-s) 0;
	font-size: var(--step--1);
	font-weight: 600;
	color: var(--ink-soft);
	text-align: center;
}

.form-alert {
	padding: var(--space-s) var(--space-m);
	margin-block-end: var(--space-m);
	background: #fbeae8;
	border: 1px solid var(--error);
	border-radius: var(--radius-s);
}

.form-alert > :last-child {
	margin-block-end: 0;
}

/* Honeypot — parked off-screen, not display:none (some bots check). */
.hp-field {
	position: absolute;
	inset-inline-start: -9999px;
	inline-size: 1px;
	block-size: 1px;
	overflow: hidden;
}

/* --------------------------------------------------------------------------
   11. FAQ
   -------------------------------------------------------------------------- */
.faq {
	padding-block: var(--section-pad);
	background: var(--tint);
}

.faq__list {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
}

.faq details {
	border-block-end: 1px solid var(--line);
}

.faq details:last-child {
	border-block-end: 0;
}

.faq summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-s);
	padding: 1.1rem var(--space-m);
	font-weight: 600;
	cursor: pointer;
	list-style: none;
}

.faq summary:hover {
	color: var(--accent-dark);
}

.faq summary::-webkit-details-marker {
	display: none;
}

.faq summary::after {
	content: '+' / '';
	flex-shrink: 0;
	font-size: var(--step-2);
	font-weight: 300;
	line-height: 1;
	color: var(--accent);
	transition: transform 0.15s ease;
}

.faq details[open] summary::after {
	transform: rotate(45deg);
}

.faq details p {
	padding: 0 var(--space-m) var(--space-m);
	margin: 0;
	color: var(--ink-soft);
	max-inline-size: 65ch;
}

/* --------------------------------------------------------------------------
   12. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
	background: var(--accent);
	color: #fff;
	text-align: center;
	padding-block: clamp(4rem, 10vw, var(--space-2xl));
}

.cta-band h2 {
	max-inline-size: 24ch;
	margin-inline: auto;
}

.cta-band p {
	max-inline-size: 40ch;
	margin-inline: auto;
	color: rgb(255 255 255 / 0.85);
	font-size: var(--step-1);
	margin-block-end: var(--space-l);
}

/* The yellow moment: opens on a yellow marker, closes on a yellow button on green. */
.cta-band .btn {
	background: var(--highlight);
	color: var(--ink);
}

.cta-band .btn:hover {
	background: var(--highlight-dark);
	color: var(--ink); /* keep dark text; the global a:hover would wash it out */
	box-shadow: 0 3px 8px rgb(0 0 0 / 0.25);
}

/* --------------------------------------------------------------------------
   13. Footer
   -------------------------------------------------------------------------- */
.site-footer {
	background: var(--footer);
	border-block-start: 1px solid rgb(255 255 255 / 0.12); /* seam against the CTA band above */
	color: #fff;
	padding-block: var(--space-xl) var(--space-l);
	font-size: var(--step--1);
}

.site-footer a {
	color: #fff;
}

.site-footer a:hover {
	color: var(--on-footer);
}

.site-footer__top {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: var(--space-m);
	margin-block-end: var(--space-l);
}

.wordmark--footer {
	display: block;
	color: #fff;
	margin-block-end: var(--space-2xs);
}

.site-footer__nav {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-m);
	margin: 0;
	padding: 0;
	list-style: none;
	font-weight: 600;
}

.site-footer__nav a {
	display: inline-block;
	padding-block: 0.3em; /* tap padding — keeps footer links ≥ the 24px WCAG minimum */
	text-decoration: none;
}

.site-footer__nav a:hover {
	text-decoration: underline;
	color: #fff;
}

.site-footer__label {
	font-size: 0.8125rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--on-footer);
	margin-block-end: var(--space-xs);
}

.site-footer__brands {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
	gap: 0.1em var(--space-m); /* row rhythm now mostly comes from the link padding */
	margin: 0 0 var(--space-l);
	padding: 0;
	list-style: none;
}

.site-footer__brands a {
	display: inline-block;
	padding-block: 0.3em; /* tap padding, as .site-footer__nav a */
	color: var(--on-footer);
	text-decoration: none;
}

.site-footer__brands a:hover {
	color: #fff;
	text-decoration: underline;
}

.site-footer__legal {
	margin: 0;
	padding-block-start: var(--space-m);
	border-block-start: 1px solid rgb(255 255 255 / 0.12);
	color: var(--on-footer-soft);
}

/* --------------------------------------------------------------------------
   14. Sticky mobile CTA
   -------------------------------------------------------------------------- */
.sticky-cta {
	position: fixed;
	inset-block-end: 0;
	inset-inline: 0;
	z-index: 90;
	display: block;
	padding: 1rem var(--space-m);
	padding-block-end: calc(1rem + env(safe-area-inset-bottom));
	background: var(--accent);
	color: #fff;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
	box-shadow: 0 -4px 16px rgb(23 33 28 / 0.18);
	transition: transform 0.2s ease;
}

.sticky-cta:hover {
	color: #fff;
}

.sticky-cta--hidden {
	transform: translateY(110%);
}

@media (min-width: 48em) {
	.sticky-cta {
		display: none;
	}
}

/* Keep the end of the page clear of the bar on mobile. The clearance lives on
   the footer (not the body) so it's footer-coloured — white body padding used
   to peek out behind the bar at the very bottom. */
@media (max-width: 47.99em) {
	.site-footer:has(+ .sticky-cta) {
		padding-block-end: calc(var(--space-l) + 3.75rem + env(safe-area-inset-bottom, 0px));
	}
}

/* --------------------------------------------------------------------------
   15. Motion & print
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		transition: none !important;
		animation: none !important;
	}
}

@media print {
	.site-header,
	.site-footer,
	.sticky-cta,
	.cta-band {
		display: none;
	}
}
