/*
 * Self-hosted webfonts for the cream marketing surface.
 * Replaces the prior fonts.googleapis.com + fonts.gstatic.com
 * external dependency (PR after #292). Variable-font versions
 * downloaded from Google Fonts CDN (no licensing change — both
 * fonts ship under SIL Open Font License).
 *
 * One file per family covers the full weight axis:
 *   figtree.woff2     — Figtree variable weights 300-900 (sans, headlines + body)
 *   reckless-light.woff2 — Reckless Light (serif accent for hero subheads)
 *   newsreader.woff2  — Newsreader weights 200-400 (fallback if Reckless
 *                       fails to load)
 *
 * font-display: swap → render fallback immediately, replace with
 * the webfont when it loads. Same posture as the prior Google
 * CDN behavior, no FOIT.
 *
 * Loaded by /index.html (home), /app/* (app-spa.html), and the
 * cream editorial pages. Caddy serves /fonts/* under the @immutable
 * matcher (30-day public cache). Loaded once per visitor per 30
 * days regardless of which cream page they land on first.
 */

@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('/fonts/figtree.woff2') format('woff2');
}

@font-face {
  font-family: 'Reckless Light';
  font-style: normal;
  font-weight: 300 400;
  font-display: swap;
  src: url('/fonts/reckless-light.woff2') format('woff2');
}

@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 200 400;
  font-display: swap;
  src: url('/fonts/newsreader.woff2') format('woff2');
}
