/*
 * The redesign's fonts (Public Sans, IBM Plex Mono; named in tokens.css as --font and --mono),
 * self-hosted so the signing page, the editor's Web preview and the Version 2 PDF use the same
 * files: web/fonts/redesign (fontsource builds, SIL OFL 1.1, see the OFL-*.txt files there).
 * They were loaded from Google Fonts before, which serves its own builds.
 *
 * The Version 2 PDF embeds exactly these rules, files inlined (SignedPdfFonts reads this file), so
 * a change here reaches the PDF too. The unicode ranges are fontsource's latin and
 * latin-ext subsets; Public Sans is variable, so one file per subset covers every weight.
 *
 * Only what the redesign uses: Public Sans regular, IBM Plex Mono 400. No rule asks for italic
 * Public Sans or a heavier Plex Mono (the browser would synthesise them); add the fontsource file
 * and a rule here if one ever does.
 */

@font-face {
    font-family: 'Public Sans';
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url('../../fonts/redesign/public-sans-latin-wght-normal.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: 'Public Sans';
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url('../../fonts/redesign/public-sans-latin-ext-wght-normal.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: 'IBM Plex Mono';
    font-style: normal;
    font-display: swap;
    font-weight: 400;
    src: url('../../fonts/redesign/ibm-plex-mono-latin-400-normal.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;
}
