/*
 * Self-hosted latin subsets of the two brand faces.
 *
 * Google Fonts was the longest critical request chain on the deployed site
 * (864ms): the stylesheet had to be fetched from fonts.googleapis.com before
 * the browser even learned which files to get from fonts.gstatic.com — two
 * DNS + TLS handshakes to third-party hosts before any text could paint.
 * Serving the files from our own origin removes both hops.
 *
 * Google's CSS declares 37 @font-face rules across every unicode subset. Both
 * families are VARIABLE fonts, so the 7 latin faces resolve to just 2 files;
 * one weight-range face per family says the same thing. Non-latin subsets are
 * deliberately not shipped — this is an English-language AP prep app.
 *
 * unicode-range is kept so a non-latin glyph still falls through to a system
 * font instead of rendering as tofu.
 */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;         /* variable axis */
  font-display: swap;
  src: url('/fonts/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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 200 900;         /* variable axis */
  font-display: swap;
  src: url('/fonts/source-sans-3-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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
