/*
 * The three typefaces this product uses, served from our own box.
 *
 * They used to come from fonts.googleapis.com: two preconnects, a stylesheet request
 * and then the font files themselves, all before the first paint, from a host we do not
 * control - and every visit handed a European customer's IP address to Google, which is
 * what the German court rulings on embedded Google Fonts are about. Self-hosted, the
 * files are on the same connection as the page, cached with our own assets, and there is
 * no third party in the render path.
 *
 * Variable fonts on purpose: one file per family covers weights 400-900, where the
 * static cut-and-paste needed six. Total ~135 KB for all three.
 *
 * The files come from the @fontsource-variable/* packages (see package.json) and are
 * committed rather than built: nothing about a font changes per release, and a missing
 * build step must not be able to leave the product without its typeface.
 *
 * `font-display: swap` - text is readable in a fallback face while the file arrives,
 * which is the behaviour the Google URL asked for with &display=swap.
 */

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url('/build/fonts/inter-latin-wght-normal.3100e775.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+20AC, U+2122, U+2191, U+2193, U+2212,
        U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-display: swap;
    font-weight: 100 1000;
    src: url('/build/fonts/dm-sans-latin-wght-normal.9fea608a.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+20AC, U+2122, U+2191, U+2193, U+2212,
        U+2215, U+FEFF, U+FFFD;
}

/*
 * Source Serif 4 is the current release of what the stylesheets call
 * "Source Serif Pro" - Adobe renamed it. The family name here is the OLD one on
 * purpose: it is what ~3 stylesheets ask for, and renaming those is a bigger change
 * than this one is allowed to be.
 */
@font-face {
    font-family: 'Source Serif Pro';
    font-style: normal;
    font-display: swap;
    font-weight: 200 900;
    src: url('/build/fonts/source-serif-4-latin-wght-normal.c1df4596.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+20AC, U+2122, U+2191, U+2193, U+2212,
        U+2215, U+FEFF, U+FFFD;
}
