/*
 * Inter (variable, self-hosted) — replaces Google Fonts CDN.
 * Privacy basis: removes pre-consent transmission of visitor IP to
 * Google LLC (USA) per AVG/GDPR Art. 5(1)(a) + Art. 13 and Dutch AP
 * 2022 Google Fonts guidance.
 * Font: Inter by Rasmus Andersson — SIL Open Font License 1.1
 * Source: https://github.com/rsms/inter (see ./inter/LICENSE.txt)
 *
 * PERF (perf/landing-wins 2026-05-29): the shipped woff2 files are SUBSET
 * to Latin + Latin-Extended (Dutch diacritics ë ï ö ü etc. + the IJ
 * ligature) plus the curated punctuation/symbols this product actually
 * renders. The full upstream variable font ships every Unicode block
 * (~344 KB roman / ~378 KB italic); the subset is ~94 KB / ~102 KB, a
 * ~250 KB cut off the landing critical path (roman is preloaded in
 * index.html). The wght 100–900 + opsz variable axes are preserved.
 *
 * To re-subset after a font upgrade (fonttools + brotli):
 *   pyftsubset InterVariable.woff2 --output-file=InterVariable.woff2 \
 *     --flavor=woff2 --no-hinting --desubroutinize \
 *     --layout-features='kern,liga,clig,calt,ccmp,mark,mkmk,locl' \
 *     --unicodes='U+0000-024F,U+00A0,U+00AE,U+00B7,U+00D7,U+2009,U+2013,
 *       U+2014,U+2018,U+2019,U+201C,U+201D,U+2022,U+2026,U+202F,U+2122,
 *       U+2191,U+2192,U+2193,U+2212,U+20AC'
 *
 * unicode-range below MUST stay in sync with the --unicodes above: it tells
 * the browser exactly which codepoints this face covers, so any glyph
 * outside the subset (e.g. CJK) cleanly falls to the system stack instead
 * of rendering tofu from a font that no longer carries it.
 */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter/InterVariable.woff2') format('woff2-variations');
  unicode-range:
    U+0000-024F,
    U+00A0, U+00AE, U+00B7, U+00D7,
    U+2009, U+2013-2014, U+2018-2019, U+201C-201D,
    U+2022, U+2026, U+202F, U+2122, U+2191-2193, U+2212, U+20AC;
}

@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter/InterVariable-Italic.woff2') format('woff2-variations');
  unicode-range:
    U+0000-024F,
    U+00A0, U+00AE, U+00B7, U+00D7,
    U+2009, U+2013-2014, U+2018-2019, U+201C-201D,
    U+2022, U+2026, U+202F, U+2122, U+2191-2193, U+2212, U+20AC;
}
