/* Asurgo final build: design tokens (style guide LOCKED 2026-10-24, "Ethos frosted";
   asurgo-brain/working/design/style-guide-2026-10-24.md, Figma MvPMYh4iIFWmzivTv9dIPz page 610:58).
   Fonts, colours, type scale, radii, 8 px spacing, focus rings, band colours, and the page base.
   Every final-build page loads this file, then components.css, then its own small page file. */

/* ---------- Fonts ---------- */
/* Headings: Newsreader Medium + Medium Italic (OFL, assets/fonts/newsreader/OFL.txt). Static instances at optical size 36,
   the size Figma renders the 30 to 60 px headings at. Only Medium is preloaded. */
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/assets/fonts/newsreader/newsreader-medium-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 500; font-display: swap;
  src: url(/assets/fonts/newsreader/newsreader-medium-italic-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Metric-matched stand-in while Newsreader loads (keeps the swap shift near 0) */
@font-face { font-family: "Newsreader Fallback"; src: local("Georgia"); size-adjust: 92%; ascent-override: 102%; descent-override: 28%; line-gap-override: 0%; }
/* The site's sans: Open Sans (self-hosted) for body text; Azo Sans (Adobe kit, id="azo-kit") for H3s, labels and numbers */
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 400 700; font-stretch: 100%; font-display: swap;
  src: url(/assets/css/b1/fonts/open-sans-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Azo Fallback"; src: local("Arial"), local("Helvetica Neue"), local("Helvetica");
  size-adjust: 97%; ascent-override: 98%; descent-override: 26%; line-gap-override: 0%; }

:root {
  /* Colour (style guide §1). Colour carries meaning: navy = action, green = good news, amber = caveat. */
  --navy: #104975;          /* buttons, links, frosted panels, footer, estimator */
  --navy-d: #0A2B45;        /* navy hover */
  --ink: #0E2233;           /* headings, strong text */
  --body-c: #3E5266;        /* body text (never #6B7B8C) */
  --white: #FFFFFF;
  --off: #F6FAF9;           /* page background, strips */
  --tan: #F0EBE1;           /* problem band */
  --mist: #EDF4F3;          /* coverage band, claim band, open FAQ item, icon circles */
  --peach: #FDF1E4;         /* stat card, close band */
  --sky: #E6F1F7;           /* stat card */
  --cream: #F7F5F0;         /* guides band */
  --cream-2: #FBF9F5;       /* guide hero */
  --green: #1F7A4D; --green-bg: #E3F2E9;   /* good news, check circles (white tick) */
  --amber: #8A4612; --amber-bg: #FBEBD9;   /* caveats only */
  --line: #E3DDD2;          /* hairlines, card borders */
  --star: #F5C451;          /* stars on navy */
  --on-navy: #FFFFFF; --on-navy-2: #DCE8F1; --on-navy-3: #B9D3E6;   /* text on navy: main, legal, labels */
  --visited-on-navy: #C9A7FF;

  /* Type (style guide §2) */
  --serif: "Newsreader", "Newsreader Fallback", Georgia, serif;
  --head: "Azo Fallback", system-ui, sans-serif;
  --body: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-body: 18px; --fs-small: 16px; --fs-cell: 17px;        /* phone; desktop values below. Nothing under 16 px. */
  --fs-h1-panel: 33px; --fs-h1-guide: 40px; --fs-h2: 30px; --fs-h2-l: 32px;
  --track-h1: -.015em; --track-h2: -.01em;

  /* Shape and space: 8 px grid */
  --r-s: 12px; --r-m: 16px; --r-l: 20px; --r-xl: 24px; --r-2xl: 28px; --r-pill: 999px;
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 40px; --s6: 48px; --s7: 56px; --s8: 64px; --s12: 96px;
  --gutter: 20px; --wrap: 1248px;
  --tap: 48px;
  --shadow: 0 12px 32px rgba(14, 34, 51, .08), 0 2px 6px rgba(14, 34, 51, .04);

  /* Focus (style guide §6): 3 px navy ring, 2 px offset; 3 px white on photos, panels and navy */
  --ring: 3px solid var(--navy); --ring-on-dark: 3px solid var(--white); --ring-offset: 2px;

  /* Header height (the hero pulls up under it) */
  --hdr-h: 64px;
}
.fonts-azo { --head: "azo-sans-web", "Azo Fallback", system-ui, sans-serif; }
@media (min-width: 1024px) {
  :root { --fs-body: 17px; --fs-cell: 16px; --fs-h1-panel: 48px; --fs-h1-guide: 60px; --fs-h2: 44px; --fs-h2-l: 46px; --gutter: 24px; --hdr-h: 80px; }
}

/* ---------- Bands (sections alternate light tints; no dark band mid-page) ---------- */
.band-off { background: var(--off); } .band-white { background: var(--white); } .band-tan { background: var(--tan); }
.band-mist { background: var(--mist); } .band-peach { background: var(--peach); } .band-sky { background: var(--sky); }
.band-cream { background: var(--cream); } .band-cream-2 { background: var(--cream-2); }

/* ---------- Page base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 16px); }
body.f { margin: 0; background: var(--white); color: var(--body-c); font: 400 var(--fs-body)/1.5 var(--body); overflow-x: clip; }
.f img { display: block; max-width: 100%; height: auto; }
.f picture { display: block; }
.f h1, .f h2 { margin: 0; font-family: var(--serif); font-weight: 500; color: var(--ink); text-wrap: balance; }
.f h1 { letter-spacing: var(--track-h1); }
.f h2 { letter-spacing: var(--track-h2); }
.f h1 em, .f h2 em { font-style: italic; color: inherit; }   /* italic second line only; never a coloured accent word */
.f h3, .f h4 { margin: 0; font-family: var(--head); font-weight: 700; letter-spacing: 0; color: var(--ink); text-wrap: balance; }
:where(.f) :where(p, ul, ol, dl, dd, figure, blockquote) { margin: 0; }
:where(.f) :where(ul, ol) { padding: 0; list-style: none; }
.f a { color: var(--navy); }
.f :focus-visible { outline: var(--ring); outline-offset: var(--ring-offset); border-radius: 4px; }
.f .on-dark :focus-visible { outline: var(--ring-on-dark); }
.f .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.f .skip { position: absolute; left: 16px; top: -100px; z-index: 3000; padding: 12px 16px; border-radius: 8px; background: var(--navy); color: var(--white); font-weight: 700; }
.f .skip:focus { top: 12px; }
html.hdr-lock { overflow: hidden; }
