/*
 * Self-hosted replacement for the Google Fonts CSS the app used to link
 * (`fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:...&family=Spline+Sans+Mono:...`),
 * removed for DSGVO reasons (security audit report D §2 "Frontend"): a link
 * to Google on every SPA load sent every employee's IP, User-Agent and
 * Referer to a third party on every page load.
 *
 * Families/weights/subsets match `src/theme/typography.ts`'s font stack
 * exactly - Plus Jakarta Sans 300-800 and Spline Sans Mono 300-700, latin +
 * latin-ext only (German product UI, no Cyrillic - the Russian locale is
 * paused). Both are variable fonts: Google's own css2 response serves one
 * woff2 per subset covering the whole requested weight range, so this file
 * vendors exactly those 2x2 files rather than one file per weight.
 *
 * URLs are relative to this file's own location, so the same stylesheet
 * works whether the app is served at the domain root or under a base path
 * like `/r` (VITE_BASE_PATH, see src/paths.ts) - no absolute path here needs
 * to know which mount it is running under.
 *
 * OFL.txt in each family's own subfolder is Google Fonts' required licence
 * text (SIL Open Font License) for that family's redistribution.
 */

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('./plus-jakarta-sans/plus-jakarta-sans-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: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('./plus-jakarta-sans/plus-jakarta-sans-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;
}

@font-face {
  font-family: 'Spline Sans Mono';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('./spline-sans-mono/spline-sans-mono-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: 'Spline Sans Mono';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('./spline-sans-mono/spline-sans-mono-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;
}
