/*
 * Self-hosted webfonts. Both are SIL Open Font License 1.1; see
 * /assets/fonts/OFL.txt for the notices and full text.
 *
 * Inter carries the whole site. Excalifont is the whiteboard-marker face used
 * only by the hero annotation, so it stays in step with the hand-drawn arrow
 * beside it instead of landing on whatever cursive a device happens to ship.
 *
 * Subsets are split by unicode-range so the Latin Extended files are only
 * fetched by pages that actually need the accents.
 */

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('/assets/fonts/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;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('/assets/fonts/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: 'Excalifont';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/assets/fonts/excalifont-latin.woff2') format('woff2');
    unicode-range: U+20-7E, U+A0-A3, U+A5-A6, U+A8-AB, U+AD-B1, U+B4, U+B6-B8, U+BA-FF, U+131,
        U+152-153, U+2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+2013-2014, U+2018-201A,
        U+201C-201E, U+2020, U+2022, U+2024-2026, U+2030, U+2039-203A, U+20AC, U+2122, U+2212;
}

@font-face {
    font-family: 'Excalifont';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/assets/fonts/excalifont-latin-ext.woff2') format('woff2');
    unicode-range: U+100-130, U+132-137, U+139-149, U+14C-151, U+154-17E, U+192, U+1FC-1FF,
        U+218-21B, U+237, U+1E80-1E85, U+1EF2-1EF3, U+2113;
}
