/*
 * Roboto Flex, vendored.
 *
 * ## Why the file is here rather than a Google Fonts link
 *
 * `style-src` is `[SELF, NONCE]` and deliberately carries no `unsafe-inline`
 * (`config/settings/base.py`). A `<link>` to `fonts.googleapis.com` is a
 * stylesheet from another origin, so the CSP blocks it -- and it fails in the
 * quiet direction: the page renders, at the fallback face, with only a console
 * entry to say so. `font-src` is `[SELF, "data:"]`, so the FILE would have been
 * refused too.
 *
 * Self-hosting also means the application has no third-party request on its
 * critical path, which is the same reason Unfold ships Inter and Material
 * Symbols as static files rather than linking them.
 *
 * ## What was taken
 *
 * The **latin subset** of the variable font -- 82 KB, one file covering weights
 * 100 to 1000. Google Fonts serves nine subsets; the other eight are Cyrillic,
 * Greek and Vietnamese, which this application has no use for. Taking the whole
 * family would have been most of a megabyte for glyphs no invoice contains.
 *
 * `font-display: swap` on purpose: text is painted immediately in the fallback
 * and reflows when the face arrives. The alternative, `block`, holds the first
 * paint for up to three seconds on a document somebody is trying to read.
 *
 * `LICENSE.txt` sits beside the font. Roboto Flex is SIL OFL 1.1, which requires
 * the licence to travel with the file -- vendoring without it is the part people
 * forget.
 *
 * Regenerate by fetching the family's CSS with a modern browser User-Agent --
 * the API serves `.ttf` to anything it does not recognise -- then take the URL
 * from the block whose unicode-range matches the one below, and download it.
 */

@font-face {
  font-family: "Roboto Flex";
  font-style: normal;
  font-weight: 100 1000;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/roboto-flex-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;
}
