/**
 * Self-hosted webfonts — the last external request this application made.
 *
 * Every other asset was already local; the three families came from Google's
 * CDN, which meant a workstation that had never reached the network fell back
 * to system fonts, and a workstation that had reached it announced each page
 * load to a third party. README Limitation 5 recorded that as the remaining
 * blocker to an air-gapped deployment. It is closed by these files.
 *
 * All three are VARIABLE fonts: one file per subset covers every weight the
 * application uses, which is why there are six files and not twenty-four.
 *
 *   Inter           300-700   UI text
 *   JetBrains Mono  400-700   counts, tabular figures, exported text
 *   Libre Franklin  400-700   the WBC ΔΣ wordmark
 *
 * Subsets are latin and latin-ext throughout, plus greek for Inter alone —
 * see the note above the Inter faces; the product name needs it. Cyrillic and
 * Vietnamese are NOT bundled: they would add weight for ranges this interface
 * does not use, and a glyph outside the bundled ranges falls back to a system
 * font rather than failing to render. Free-text morphology comments in those
 * scripts will therefore look different from the surrounding interface — a
 * cosmetic difference, recorded here so it is a decision rather than a
 * surprise.
 *
 * LICENSING. These fonts are NOT covered by this project's Apache-2.0 licence.
 * All three are under the SIL Open Font License 1.1; the full text and the
 * copyright line for each is beside this file as <family>-OFL.txt, and must
 * travel with any redistribution. See NOTICE.
 *
 *   Inter           Copyright 2020 The Inter Project Authors
 *   JetBrains Mono  Copyright 2020 The JetBrains Mono Project Authors
 *   Libre Franklin  Copyright 2020 The Libre Franklin Project Authors
 *
 * `font-display: swap` is kept from the CDN stylesheet: text paints immediately
 * in a fallback and reflows when the file arrives. On a local file that window
 * is short, but a counter whose numbers are invisible for even 100 ms while an
 * operator is mid-count is worse than one whose numbers reflow.
 */

/* ---------------------------------------------------------------- Inter */
/*
 * Greek, for the product name itself.
 *
 * "WBC ΔΣ" contains U+0394 and U+03A3, which are Greek — so the mark cannot be
 * set in the wordmark face at all: Google serves no Greek subset for Libre
 * Franklin, and none exists upstream. Inter does have one, so it is bundled
 * here and the wordmark's font stack falls back to it. That way the two
 * characters in the product's own name come from a font that ships with the
 * application rather than from whatever the workstation happens to have.
 *
 * greek-ext (U+1F00-1FFF) is polytonic and ancient Greek. Not bundled: it
 * would add weight for glyph ranges nothing here uses.
 */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('inter-greek.woff2') format('woff2');
    unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1,
        U+03A3-03FF;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('inter-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
        U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
        U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('inter-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;
}

/* ------------------------------------------------------- JetBrains Mono */
@font-face {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('jetbrains-mono-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
        U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
        U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('jetbrains-mono-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;
}

/* -------------------------------------------------------- Libre Franklin */
@font-face {
    font-family: 'Libre Franklin';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('libre-franklin-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
        U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
        U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Libre Franklin';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('libre-franklin-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;
}
