/* Self-hosted webfonts — Geist (sans) + JetBrains Mono (mono), latin
   subset, the three weights the type scale actually uses.
 *
 * WHY THIS FILE EXISTS AND IS LINKED FROM <head> RATHER THAN @import-ed.
 * The families are only ever named through custom properties
 * (--brand-sans / --mono), and Docusaurus minifies with
 * cssnano-preset-advanced, whose postcss-discard-unused pass cannot see
 * through var() — it therefore judged these @font-face rules unused and
 * stripped them, emitting the woff2 files as ORPHANS and silently falling
 * the UI back to Inter. Measured, not assumed: adding one literal
 * `font-family: "Geist"` declaration made the rules survive. Keeping the
 * faces in a static, un-minified stylesheet loaded from <head> is
 * immune to that pass by construction, and mirrors the delivery shape the
 * previous third-party import happened to have.
 *
 * Replaces an @import of Google's font CDN (domain deliberately unwritten
 * so a grep for it stays a true signal), which put every reader's IP +
 * Referer in front of Google on every page load of the customer app and
 * both docs sites.
 *
 * PROVENANCE — copied verbatim from the OFL-1.1 @fontsource packages
 * (geist@5.3.0, jetbrains-mono@5.3.0), files/ dir, latin normal only.
 * Re-derive:
 *   curl -sL "$(npm view @fontsource/geist@5.3.0 dist.tarball)" \
 *     | tar -xzO package/files/geist-latin-400-normal.woff2 | shasum -a 256
 * sha256 (first 16) + bytes:
 *   ead637fd0b6b887d   12956  geist-latin-400-normal.woff2
 *   6145bf6706dbc1b6   13296  geist-latin-500-normal.woff2
 *   edde7cc4e2719898   13372  geist-latin-600-normal.woff2
 *   14425ba9c695763c   21168  jetbrains-mono-latin-400-normal.woff2
 *   cb182feeed4d798f   21832  jetbrains-mono-latin-500-normal.woff2
 *   400c6bfda18d5d14   21860  jetbrains-mono-latin-600-normal.woff2
 */

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/geist-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/geist-latin-500-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/geist-latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2");
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/jetbrains-mono-latin-600-normal.woff2") format("woff2");
}
