/* UI fonts, self-hosted so the app (and its first paint) work offline and need no third party.
   Montserrat is the design's UI font; Roboto is what Syncfusion's theme and MudBlazor's
   fallback stack use. Both are SIL Open Font License (see static/fonts/ui/OFL.txt).
   Latin and Latin Extended only; add a subset here if a language needs it.
   Paths are relative to this file (css/ -> fonts/ui/). */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url(../fonts/ui/montserrat-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url(../fonts/ui/montserrat-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: 'Roboto';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url(../fonts/ui/roboto-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url(../fonts/ui/roboto-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;
}

/* The study panel's Hebrew and Greek (the original-language text, and Hebrew or Greek words in the notes): the same Noto
   fonts as FlowVerse, SIL Open Font License (static/fonts/study/OFL.txt). Montserrat has neither script, and devices often
   lack polytonic Greek (accented letters such as U+1F70 fall apart into a letter and a loose mark) and Hebrew cantillation.
   Each face is limited to its script by unicode-range, so it downloads only when that script is on screen, and a copy
   already on the device is used first. Regular weight only: the text is never bold. The files are FlowVerse's TTFs
   wrapped as WOFF 1.0 (each table zlib-compressed, glyphs unchanged): 234 KB together instead of 448 KB. */
@font-face {
    font-family: 'Noto Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local('Noto Sans'), local('NotoSans-Regular'), url(../fonts/study/NotoSans-Regular.woff) format('woff');
    unicode-range: U+0300-036F, U+02DA, U+0370-03FF, U+1F00-1FFF;
}

@font-face {
    font-family: 'Noto Sans Hebrew';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local('Noto Sans Hebrew'), local('NotoSansHebrew-Regular'), url(../fonts/study/NotoSansHebrew-Regular.woff) format('woff');
    unicode-range: U+0590-05FF, U+FB1D-FB4F, U+25CC;
}
