/*
 * Self-hosted web fonts — replaces the former Google Fonts <link> (fonts.googleapis.com
 * stylesheet + fonts.gstatic.com woff2). Vendored so the app makes ZERO external requests
 * and the CSP can drop the Google font hosts (style-src/font-src back to 'self').
 *
 * Both families are variable fonts; the latin subset is a single woff2 per style that
 * covers the whole weight axis, so `font-weight: <lo> <hi>` maps every weight we use to
 * one file. font-display: swap keeps text visible during load; the CSS var stacks in
 * main.css (--font-d / --font-b) still list Georgia / system-ui as graceful fallbacks.
 */

/* DM Sans — body (weights 400/500/600 used across the UI). */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/static/fonts/dm-sans-latin.woff2') format('woff2');
}

/* Fraunces — display / headings (weights 400/600/700 used). */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/static/fonts/fraunces-latin.woff2') format('woff2');
}

/* Fraunces italic — used for accent italics (weight 500). */
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('/static/fonts/fraunces-italic-latin.woff2') format('woff2');
}
