/*
 * theme-fonts.css — self-hosted variable web fonts for the Typography control (--app-font).
 *
 * SIL OFL licensed; woff2 files live in ./fonts (latin subset, one variable file per family,
 * ~37-48KB each). ENTERPRISE self-host rationale: no third-party CDN dependency, works offline,
 * deterministic (files pinned in-repo), and no user-IP leak to a font CDN (a real GDPR concern).
 *
 * font-display:swap + the browser's lazy font loading mean a family's woff2 is fetched ONLY when
 * --app-font actually selects it — the default 'sans-serif' downloads nothing. So these four
 * additions cost zero bytes for anyone who doesn't pick them.
 *
 * Family names here MUST match the stacks in theme-spec.js FONT_STACKS (and the server mirror
 * server/schemas/theme-requests.js). Inter + Roboto were already offered in the picker but never
 * loaded (they silently fell back to system fonts); declaring them here makes them render for real.
 */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('./fonts/inter-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('./fonts/roboto-var.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 100 700;
  src: url('./fonts/ibm-plex-sans-var.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 100 1000;
  src: url('./fonts/dm-sans-var.woff2') format('woff2');
}
