/* Self-hosted Inter + Outfit.
 *
 * Self-hosted for a legal reason, not a performance one. Loading these from
 * fonts.gstatic.com sends every visitor's IP address to Google LLC on first
 * paint — before any consent exists, and on a landing page that is mostly
 * served to logged-out visitors. There is no lawful basis for that transfer
 * (see LG München I, 3 O 17493/20), and no banner on this site ever asked for
 * one. Do not "optimise" this back to the CDN.
 *
 * Four files, not twenty. Google serves both families as VARIABLE fonts, so
 * every weight of Inter resolves to the same .woff2 and every weight of Outfit
 * likewise — the per-weight URLs in the generated stylesheet are the same file
 * under different names. Hence one face per family per subset, with a weight
 * RANGE instead of a single value. Adding a weight inside the range costs
 * nothing; going outside it silently falls back to synthetic bolding.
 *
 * Only latin and latin-ext are shipped. The product is German-only
 * (client_profiles.language_preference defaults to 'de'), so the cyrillic,
 * greek and vietnamese faces Google also offers were ~800 kB nobody requests.
 *
 * unicode-range is what keeps latin-ext free: the browser fetches it only when
 * a glyph outside basic latin is actually painted.
 *
 * font-display: swap matches the previous CDN URL (&display=swap) — text paints
 * in the fallback stack immediately and swaps when the face arrives.
 *
 * To refresh: fetch the Google stylesheet with a modern browser UA, take the
 * latin/latin-ext woff2 URLs, overwrite the four files here, and check the
 * unicode-range values below still match.
 */

/* Inter — 400/500/600/700 are used across the app; range covers all of them. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/inter-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;
}

/* Outfit — the display face; the app uses up to 900 on landing headlines. */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/outfit-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/outfit-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;
}
