/* Fonts
   Headings: "zuume-rough" (Adobe Fonts, licensed, loaded by the kit <link> in src/layout.html once added),
   then Anton (self-hosted, OFL) as the free fallback, then sans-serif.
   Body: Open Sans (self-hosted, OFL, variable weight). */
@font-face { font-family: 'Anton'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/anton-latin.woff2) format('woff2'); }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 300 800; font-stretch: 100%; font-display: swap; src: url(/fonts/open-sans-latin-var.woff2) format('woff2'); }
@font-face { font-family: 'Open Sans'; font-style: italic; font-weight: 300 800; font-stretch: 100%; font-display: swap; src: url(/fonts/open-sans-italic-latin-var.woff2) format('woff2'); }

:root {
  --heading-font: "zuume-rough", "Anton", "Arial Narrow", sans-serif;
  --body-font: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --slate: #36454F;      /* page background */
  --slate-deep: #2C3940; /* alternate bands, cards (contrast with #F4F4F8: 10.8:1, with #FFA500: 6.0:1) */
  --slate-ink: #26323A;  /* header and footer */
  --orange: #FFA500;     /* H1 colour and accents (5.0:1 on slate, passes AA for all text sizes) */
  --orange-hover: #FFB833;
  --sub: #F4F4F8;        /* h2 and h3 (9.0:1 on slate) */
  --text: #F4F4F8;       /* body text */
  --muted: #D5DBDF;      /* help text (7.1:1 on slate) */
  --ink: #1E272D;        /* dark text on orange buttons (7.7:1) */
  --radius: 14px;
  --max: 68rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--text); background: var(--slate);
  font-family: var(--body-font); font-size: 1.0625rem; line-height: 1.65;
}
img { max-width: 100%; height: auto; }
a { color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--orange-hover); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--orange); color: var(--ink); padding: .6rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; top: 1rem; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 44rem; }

.tbc { background: #FFF3E3; border: 1px dashed #B85F0A; border-radius: 4px; padding: 0 .3em; font-weight: 700; color: #7A3E00; white-space: normal; }

/* Headings */
h1, h2, h3, .display, .logo, .step-num, legend {
  font-family: var(--heading-font); font-weight: 700; letter-spacing: .01em; line-height: 1.05;
}
h1 { color: var(--orange); text-transform: uppercase; font-size: clamp(2.8rem, 10vw, 5.2rem); margin: 0 0 1rem; }
h2, h3 { color: var(--sub); text-transform: uppercase; }
h2 { font-size: clamp(2rem, 6vw, 2.9rem); margin: 0 0 1rem; }
h3 { font-size: 1.55rem; margin: .2rem 0 .6rem; }
.hl { color: inherit; }
/* Anton has a single (bold) weight; stop browsers faking a heavier one. */
h1, h2, h3, legend, .logo, .step-num { font-synthesis: none; }
/* Rough, distressed texture for the free fallback only (removed by fonts.js when Zuume Rough loads). */
.rough-fallback h1, .rough-fallback h2, .rough-fallback .logo {
  -webkit-mask-image: url(/assets/rough.svg); mask-image: url(/assets/rough.svg);
  -webkit-mask-size: 240px 240px; mask-size: 240px 240px;
}

.site-header { background: var(--slate-ink); border-bottom: 3px solid var(--orange); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: .9rem; padding-bottom: .9rem; flex-wrap: wrap; }
.logo { font-size: 1.7rem; color: var(--sub); text-decoration: none; text-transform: uppercase; }
.logo span { color: var(--orange); }
.site-nav ul { list-style: none; display: flex; gap: 1.1rem; margin: 0; padding: 0; flex-wrap: wrap; }
.site-nav a { color: var(--sub); text-decoration: none; font-weight: 600; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--orange); }

.hero { padding: 3rem 0 3.5rem; }
.hero p { font-size: 1.2rem; max-width: 40rem; }
.hero .small { font-size: .95rem; color: var(--muted); }

.btn { display: inline-block; background: var(--orange); color: var(--ink); font-family: var(--body-font); font-weight: 700; font-size: 1.1rem; text-decoration: none; border: 2px solid var(--orange); border-radius: 999px; padding: .85rem 1.6rem; cursor: pointer; min-height: 48px; line-height: 1.3; }
.btn:hover { background: var(--orange-hover); border-color: var(--orange-hover); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--orange); }
.btn-ghost:hover { background: rgba(255,165,0,.12); color: var(--orange-hover); }
.btn-row { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; margin-top: 1.5rem; }

section.band { padding: 3rem 0; }
section.band.alt { background: var(--slate-deep); }
section.band.dark { background: var(--slate-ink); border-top: 3px solid var(--orange); }

.cards { display: grid; gap: 1rem; grid-template-columns: 1fr; margin-top: 1.5rem; padding: 0; list-style: none; }
@media (min-width: 46rem) { .cards.three { grid-template-columns: repeat(3, 1fr); } .cards.two { grid-template-columns: repeat(2, 1fr); } }
.card, .callout, .finder-panel, .affili { border: 2px solid var(--orange); border-radius: var(--radius); background: var(--slate-deep); }
.card { padding: 1.25rem 1.25rem 1rem; }
section.band.alt .card, section.band.alt .callout { background: var(--slate); }
.step-num { font-size: 2.2rem; color: var(--orange); line-height: 1; }
.price { font-weight: 700; font-size: 1.3rem; color: var(--orange); }
.price-note { font-size: .95rem; font-weight: 600; margin-top: -.4rem; }
ul.ticks { padding-left: 1.2rem; }
ul.ticks li { margin-bottom: .45rem; }
ul.ticks li::marker { color: var(--orange); }
.callout { padding: 1.25rem; margin: 1.5rem 0; }
.callout h3:first-child { margin-top: 0; }

.site-footer { background: var(--slate-ink); color: var(--muted); padding: 2.5rem 0; font-size: .95rem; border-top: 3px solid var(--orange); }
.site-footer .cols { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 46rem) { .site-footer .cols { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer h2 { font-size: 1.4rem; margin: 0 0 .5rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .35rem; }
.fineprint { margin-top: 2rem; font-size: .85rem; }

/* Finder */
.finder { padding: 2rem 0 3rem; }
.finder-panel { padding: 1.5rem 1.25rem; }
@media (min-width: 40rem) { .finder-panel { padding: 2rem; } }
.progress { height: 10px; background: var(--slate); border: 1px solid #5B6C77; border-radius: 999px; overflow: hidden; margin-bottom: .5rem; }
.progress > div { height: 100%; width: 0; background: var(--orange); transition: width .2s ease; }
.progress-label { font-size: .9rem; color: var(--muted); margin: 0 0 1rem; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { color: var(--sub); text-transform: uppercase; font-size: 1.7rem; margin-bottom: .5rem; padding: 0; line-height: 1.15; }
.help { color: var(--muted); margin: 0 0 1rem; font-size: .98rem; }
.choice { display: flex; align-items: flex-start; gap: .75rem; border: 2px solid #5B6C77; border-radius: 10px; padding: .85rem 1rem; margin-bottom: .6rem; cursor: pointer; background: var(--slate); color: var(--text); }
.choice:hover { border-color: var(--sub); }
.choice input { margin-top: .3rem; width: 1.2rem; height: 1.2rem; accent-color: var(--orange); flex: none; }
.choice:has(input:checked) { border-color: var(--orange); background: rgba(255,165,0,.12); }
.field { margin-bottom: 1.25rem; }
.field label.lbl { display: block; font-weight: 700; margin-bottom: .3rem; }
.field input[type=text], .field input[type=email] { width: 100%; font: inherit; color: var(--ink); background: #fff; padding: .75rem .9rem; border: 2px solid #8796A0; border-radius: 10px; min-height: 48px; }
.field input:focus { border-color: var(--orange); }
.error { color: #FFD2C2; background: rgba(164,22,26,.35); border-left: 4px solid #FF8A80; padding: .4rem .7rem; font-weight: 700; margin: .4rem 0 0; }
.error:empty { display: none; }
.result-card { border-left: 6px solid var(--orange); padding-left: 1rem; margin: 1.5rem 0 2rem; }
.result-card.second { border-left-color: var(--sub); }
.badge { display: inline-block; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; background: transparent; color: var(--sub); border: 1px solid var(--sub); border-radius: 999px; padding: .15rem .7rem; }
.badge.open { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.eyebrow { font-weight: 700; color: var(--orange); text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; margin: 0; }
.affili { padding: 1.25rem; margin: 1.5rem 0; background: var(--slate); }
.honest { font-style: italic; border-top: 2px solid #5B6C77; padding-top: 1rem; }
.finder-panel h1 { font-size: clamp(2.4rem, 9vw, 3.8rem); }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.foundations { border: 2px solid var(--orange); border-radius: var(--radius); padding: 1rem 1.25rem; background: var(--slate); }
.small-print { font-size: .92rem; color: var(--muted); border-top: 1px solid #5B6C77; padding-top: .6rem; }
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
