/*
 * SN-DESIGN-SYSTEM-001 Phase A - self-hosted typefaces.
 *
 * These faces were previously fetched from fonts.googleapis.com / fonts.gstatic.com on every page
 * load. That was a render-blocking third-party request that also disclosed the visitor's IP address
 * to Google from a medical device's pharmacist-facing surface. They are now served same-origin.
 *
 * Licensing: all three are SIL Open Font License 1.1. The OFL requires the copyright notice to
 * travel with the font, so OFL-AtkinsonHyperlegibleNext.txt, OFL-SourceSerif4.txt and
 * OFL-JetBrainsMono.txt sit beside the .woff2 files in this directory and must not be separated
 * from them. See README.md here for provenance and the exact regeneration command.
 *
 * A guard test (tests/Feature/NoRemoteFontsGuardTest.php) fails the suite if any Google Fonts
 * reference reappears under resources/.
 *
 * The unicode-range below is the union of the Google Fonts 'latin' and 'latin-ext' subsets - the
 * exact coverage these pages had before self-hosting. It deliberately reaches past Latin Extended-A
 * into Latin Extended-B: Romanian s-comma (U+0219) and t-comma (U+021B) live at U+0180-024F, so a
 * strict Latin + Latin Extended-A subset would have silently dropped Romanian diacritics.
 * Characters outside this range - Gurmukhi, for the 'pa' catalogue entry rendered on
 * resources/views/languages/settings.blade.php - fall through to the next family in the stack,
 * which is exactly what happened before, because Google served no Gurmukhi subset either.
 */

@font-face {
    font-family: 'Atkinson Hyperlegible Next';
    src: url('/fonts/atkinson-hyperlegible-next-latin.woff2') format('woff2-variations');
    font-weight: 200 800;
    font-style: normal;
    font-display: swap;
    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,U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,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: 'Source Serif 4';
    src: url('/fonts/source-serif-4-latin.woff2') format('woff2-variations');
    font-weight: 200 900;
    font-style: normal;
    font-display: swap;
    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,U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,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';
    src: url('/fonts/jetbrains-mono-latin.woff2') format('woff2-variations');
    font-weight: 100 800;
    font-style: normal;
    font-display: swap;
    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,U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,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;
}
