/* Self-hosted fonts. Regenerate via fonts/subset.sh. */

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

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

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/fonts/Inter-ExtraBold.woff2") format("woff2");
}

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

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

/* Nerd Fonts Symbols v3.5.1 (github.com/ryanoasis/nerd-fonts, release
   NerdFontsSymbolsOnly, SymbolsNerdFont-Regular.ttf sha256 2839f0a5...5829),
   subset to the list-marker icons. Licences: LICENSE-NerdFonts.txt.
   font-display: block avoids flashing private-use tofu before it loads. */
@font-face {
  font-family: "Nerd Symbols";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("/fonts/NerdSymbols-Subset.woff2") format("woff2");
}

/* Source Serif 4 (SIL OFL 1.1, see OFL-SourceSerif4.txt). Variable: the roman
   carries the wght + opsz axes so display sizes pick the high-contrast
   optical size automatically; the italic carries wght only. Latin subset from
   Fontsource (github.com/fontsource/font-files). */
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src:
    url("/fonts/SourceSerif4-Var-Roman.woff2") format("woff2-variations"),
    url("/fonts/SourceSerif4-Var-Roman.woff2") format("woff2");
}

@font-face {
  font-family: "Source Serif 4";
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
  src:
    url("/fonts/SourceSerif4-Var-Italic.woff2") format("woff2-variations"),
    url("/fonts/SourceSerif4-Var-Italic.woff2") format("woff2");
}
