/* nevadasystem.com — typefaces
 *
 * Self-hosted so every visitor sees the same letterforms. Before this, the
 * sans stack listed Helvetica Neue first and Inter third while loading Inter
 * from Google, so Macs rendered Helvetica Neue and ignored the download while
 * Windows rendered Inter — and the mono resolved to SF Mono on Mac, Consolas
 * on Windows and Roboto Mono on Android, which meant the site's signature
 * element was a different typeface on every platform.
 *
 * Both files are the latin subset of the variable font, so one file per family
 * covers weight 400 through 700. Latin only: the site publishes no non-latin
 * text, and the full subset costs several times the size.
 *
 * Serving these from our own origin is faster than Google Fonts, not slower —
 * it removes a DNS lookup and TLS handshake to fonts.gstatic.com, and the
 * connection to this origin is already open by the time CSS is parsed.
 *
 * This is also the first shared stylesheet the site has ever had. Every other
 * rule still lives inline in each page, which is why the palette drifted into
 * two variants — see STYLE.md. When those tokens are centralised, they belong
 * next to this file.
 *
 * Fonts are cached immutably by filename via _headers. If either is ever
 * updated, change the filename or the cached copy will be served for a year.
 *
 * Inter — SIL Open Font License 1.1 — Copyright (c) 2016 The Inter Project
 *   Authors. https://github.com/rsms/inter
 * JetBrains Mono — SIL Open Font License 1.1 — Copyright (c) 2020 JetBrains
 *   s.r.o. https://github.com/JetBrains/JetBrainsMono
 */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;          /* variable: one file covers the range */
  font-display: swap;            /* matches the previous Google Fonts behaviour */
  src: url("/fonts/inter-var-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: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/jetbrainsmono-var-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;
}
