/*
 * Storefront web fonts, self-hosted (SIL Open Font License - see the
 * LICENSE-*.txt files beside this one; woff2 files from Fontsource's
 * @fontsource-variable/sora, @fontsource-variable/inter and
 * @fontsource/jetbrains-mono, latin subset, which covers English and French
 * including oe/OE ligatures and typographic quotes).
 *
 * These replaced the Google Fonts stylesheet, which was a render-blocking
 * request to a third-party origin followed by a second hop to fonts.gstatic.com
 * before any text could paint. Served from our origin they share the page's
 * connection, get the static pipeline's year-long immutable caching, and the
 * two faces above the fold are <link rel="preload">ed from layout.html.
 *
 * Family names match tailwind.config.js (`font-heading`/`font-body`/
 * `font-mono`) and dashboard-ledger.css, so nothing else needs to know where
 * they come from. The dashboard still loads Google Fonts (it isn't indexed).
 */

/* One variable file per family covers every weight the storefront uses
   (Sora 400-800, Inter 400-700). */
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("sora-latin-wght-normal.0d0e5e4d2f9f.woff2") format("woff2-variations"),
       url("sora-latin-wght-normal.0d0e5e4d2f9f.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("inter-latin-wght-normal.260c81a4759b.woff2") format("woff2-variations"),
       url("inter-latin-wght-normal.260c81a4759b.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("jetbrains-mono-latin-500-normal.a21e038a03f7.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("jetbrains-mono-latin-700-normal.69002db50656.woff2") format("woff2");
}
