/* Self-hosted faces.
 *
 * The same three variable fonts the SPA installs from @fontsource, copied out
 * of the package's `files` directory under `frontend/node_modules`, so the
 * site and the product render in byte-identical type. Latin subset only — it
 * covers en, pt-BR and es; `latin-ext` is for Central and Eastern European
 * and would be 40KB of glyphs no locale here uses.
 *
 * DO NOT write a glob with a slash-star in this comment. An earlier version
 * named the source path literally and the `*` followed by `/` inside it
 * closed the comment early, which swallowed the opening of the first
 * `@font-face` below. The result was silent: Inter Variable and Roboto Mono
 * loaded, Inter Tight did not, and every headline on the site rendered in
 * `system-ui` while the CSS still looked correct.
 *
 * WHY NOT THE CDN. The previous version pulled these from fonts.googleapis.com
 * with `display=swap`, which meant the first paint of a 68px headline was
 * `system-ui` and then jumped. That flash is the single most visible "cheap
 * site" tell a page like this has, and it also put a third-party request in
 * front of a product whose whole argument is about controlling your own
 * record.
 *
 * `display: swap` stays deliberately. With the file preloaded and served from
 * the same origin the swap window is short enough that `block` would risk
 * invisible text on a bad connection for no gain.
 */
@font-face {
  font-family: 'Inter Tight Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('../assets/fonts/inter-tight-var.woff2') format('woff2-variations');
  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: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('../assets/fonts/inter-var.woff2') format('woff2-variations');
  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: 'Roboto Mono Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 700;
  src: url('../assets/fonts/roboto-mono-var.woff2') format('woff2-variations');
  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;
}
