/* CP Coverage landing pages: warm theme (Dustin, 2026-11-03: "a warm version ... looks pretty sharp").
   The layout of the Advantage Plus Benefits pages (a deep band, Source Serif 4 headlines, Public Sans text,
   a white card floating on the band) in its own colors, so the two brands look separate: the "Harbor"
   palette (Dustin's pick, 2026-11-03) of slate blue, soft coral marks and rust-coral buttons.
   Load after base.css and before the page's skin.css. Same contract as a skin: base tokens, warm- classes,
   and the full-width bands. It never restyles .quiz-*; the quiz takes the look from the tokens.
   Every color lives in the PALETTE block below, so a new palette is one swap of that block
   (the other options are in _build/palettes/palettes.js). */

@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 200 900; font-display: swap; src: url(source-serif-4-latin.woff2) format("woff2"); }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(public-sans-latin.woff2) format("woff2"); }

/* ---------- PALETTE: Harbor (all colors; swap this block to change the palette) ---------- */
:root {
  /* page and card */
  --bg: #F5F3EF;
  --text: #1D2733;
  --text-muted: #56616D;
  --border: #DEDBD5;
  --accent: #B84E2B;          /* buttons, selected answers, checkbox */
  --accent-600: #9A3F21;      /* button hover */
  --accent-50: #F8EAE4;       /* selected answer and consent box fill */
  --focus: #B84E2B;
  --progress-fill: #B84E2B;
  --shadow-card: 0 24px 48px rgb(16 28 40 / 0.24);
  /* the band (hero and closing) */
  --band: #2C4A63;
  --band-text: #F4F1EC;       /* headline on the band */
  --band-muted: #D5DEE6;      /* small text on the band */
  --mark-on-band: #F6B08F;    /* eyebrow and check marks on the band */
  --ring-1: rgb(244 241 236 / 0.06);
  --ring-2: rgb(246 176 143 / 0.16);
  --photo-fill: rgb(244 241 236 / 0.08);
  --photo-line: rgb(244 241 236 / 0.2);
  --band-btn-bg: #F4F1EC;     /* closing-band button */
  --band-btn-text: #203749;
  /* light sections, header, footer */
  --mark: #E07B54;            /* underline under section titles */
  --brand-ink: #203749;       /* header wordmark */
  --footer-bg: #203749;
  --footer-text: #D5DEE6;
  --footer-strong: #F4F1EC;
}

/* ---------- Other tokens ---------- */
:root {
  --surface: #FFFFFF;
  --white: #FFFFFF;
  --on-accent: #FFFFFF;
  --font-body: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Source Serif 4", Georgia, "Times New Roman", serif;
  --display-weight: 600;
  --display-tracking: -0.005em;
  --radius-sm: 9px; --radius-md: 10px; --radius-lg: 14px;
  --space-section: 80px;
}

/* The page sits on the footer color so the strip under the footer (sticky-bar padding) matches it. */
body { background: var(--footer-bg); font-size: 17px; }
main { background: var(--bg); }

/* ---------- Header: a quiet cream strip, like A+B ---------- */
.site-header { min-height: 56px; background: var(--bg); border-bottom-color: var(--border); }
.site-header__brand { font-size: 20px; color: var(--brand-ink); }

/* ---------- The band ---------- */
.warm-band { position: relative; overflow: hidden; background: var(--band); color: var(--band-text); }
.warm-band::before, .warm-band::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.warm-band::after { top: -140px; right: -140px; width: 420px; height: 420px; border: 64px solid var(--ring-1); }
.warm-band::before { right: 8%; bottom: -170px; width: 300px; height: 300px; border: 44px solid var(--ring-2); }
.warm-band > * { position: relative; z-index: 1; }

.warm-hero { padding-top: 20px; padding-bottom: 36px; text-align: left; }
.warm-hero .eyebrow { margin-bottom: 10px; font-size: 14px; font-weight: 700; letter-spacing: 0.12em; color: var(--mark-on-band); text-wrap: balance; }
.warm-hero .h1 { font-size: 32px; font-weight: 700; line-height: 1.12; color: var(--band-text); text-wrap: balance; }
.warm-hero .trust-line { color: var(--band-muted); }
.warm-hero > .quiz { border-color: transparent; color: var(--text); }
.warm-hint { margin-top: 16px; font-size: 16px; line-height: 1.5; color: var(--band-muted); }

/* Photo: a family at home (decorative; never captioned or shown as customers). The fill shows while it loads;
   the photo covers the frame, so one image fits the phone (3:2) and desktop shapes. */
.warm-photo {
  aspect-ratio: 3 / 2;
  margin: 24px 0 0;
  overflow: hidden;
  border: 1px solid var(--photo-line);
  border-radius: var(--radius-lg);
  background: var(--photo-fill);
}
.warm-photo > img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Checklist on the band: marigold checks, cream text */
.warm-check { display: grid; gap: 14px; margin-top: 28px; }
.warm-check > li { display: grid; grid-template-columns: 24px minmax(0, 1fr); column-gap: 12px; font-size: 17px; line-height: 1.45; color: var(--band-text); }
.warm-check svg { width: 22px; height: 22px; margin-top: 2px; fill: none; stroke: var(--mark-on-band); stroke-width: 2.75; stroke-linecap: round; stroke-linejoin: round; }

@media (min-width: 768px) {
  .warm-hero { padding-top: 48px; padding-bottom: 56px; }
  .warm-hero .eyebrow { font-size: 15px; letter-spacing: 0.14em; }
  .warm-hero .h1 { font-size: 42px; }
}
@media (min-width: 1024px) {
  .warm-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    grid-template-areas: "copy quiz" "aside quiz";
    grid-template-rows: auto 1fr;
    column-gap: 64px;
    align-items: start;
    padding-top: 64px;
    padding-bottom: 72px;
  }
  .warm-hero > .warm-hero__copy { grid-area: copy; }
  .warm-hero > .quiz { grid-area: quiz; max-width: none; margin: 0; }
  .warm-hero > .warm-hero__aside { grid-area: aside; }
  .warm-hero .h1 { font-size: 50px; line-height: 1.1; }
}

/* ---------- Sections below the band ---------- */
/* Full-width white stripe without a wrapper: the shadow paints the sides, clip-path trims it to the section. */
.warm-white { background: var(--white); box-shadow: 0 0 0 100vmax var(--white); clip-path: inset(0 -100vmax); }
.warm-wide { max-width: 1120px; }
.section__title { font-weight: 600; text-align: center; }
.section__title::after { content: ""; display: block; width: 56px; height: 4px; margin: 12px auto 0; border-radius: 2px; background: var(--mark); }
.section > .section__title + * { margin-top: 28px; }

/* "What happens next": serif petrol numerals, no circles; a row of three from 768px */
.steps > li::before {
  place-items: start center;
  width: auto;
  height: auto;
  margin-top: -6px;
  border: 0;
  background: none;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
}
@media (min-width: 768px) {
  .warm-wide .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px; }
  .warm-wide .steps > li { position: relative; grid-template-columns: 1fr; align-content: start; row-gap: 8px; }
  .warm-wide .steps > li::before { place-items: start; }
  .warm-wide .steps > li + li::after { content: ""; position: absolute; top: 0; bottom: 0; left: -28px; width: 1px; background: var(--border); }
}

/* Panels: white, hairline border, petrol top rule (A+B's benefit panels) */
.warm-panels { display: grid; gap: 12px; }
.warm-panels > li { padding: 20px; border: 1px solid var(--border); border-top: 3px solid var(--accent); border-radius: 6px; background: var(--white); font-size: 17px; line-height: 1.5; color: var(--text-muted); }
.warm-panels strong { display: block; margin-bottom: 6px; font-size: 18px; color: var(--text); }
@media (min-width: 768px) { .warm-panels { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }

/* Closing band: echoes the hero, sends people back up to the quiz */
.warm-closing { padding: 56px 16px 64px; background: var(--band); color: var(--band-text); text-align: center; }
.warm-closing .section__title { color: var(--band-text); }
.warm-closing .section__title::after { background: var(--mark-on-band); }
.warm-closing p { max-width: 52ch; margin: 24px auto 0; font-size: 17px; line-height: 1.5; color: var(--band-muted); }
.warm-closing__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  margin-top: 24px;
  padding: 0 28px;
  border-radius: var(--radius-sm);
  background: var(--band-btn-bg);
  color: var(--band-btn-text);
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
}
.warm-closing__button:focus-visible { outline-color: var(--mark-on-band); }
@media (hover: hover) { .warm-closing__button:hover { filter: brightness(1.08); } }
@media (min-width: 768px) { .warm-closing { padding: 72px 24px 80px; } }
/* Once the quiz has ended (exit or thank-you), the "go to the questions" band has nothing to offer. */
main:has(.quiz-screen[data-step="exit"]) .warm-closing,
main:has(.quiz-screen[data-step="thanks"]) .warm-closing { display: none; }

/* ---------- Footer ---------- */
.site-footer { border-top: 0; background: var(--footer-bg); color: var(--footer-text); }
.site-footer strong, .site-footer__links a { color: var(--footer-strong); }
