/* =========================================================
   Self-hosted typefaces
   ---------------------------------------------------------
   Served from our own static files, never a font CDN: a
   visitor in Iran may not be able to reach Google Fonts or
   jsDelivr, and a missing webfont there means a page set in
   whatever the browser falls back to.

   Declaring a face costs nothing until something asks for
   it - the browser only downloads the file once an element
   is actually rendered in that family. So an account on the
   default system font never fetches any of them.

   The Latin faces are the fontsource "latin" subsets of each
   variable font, declared under a "... Variable" family name - never
   the bare name, which a stack may already ask for as an installed
   font (the default one begins with Inter). Keep the names and files
   in step with FONT_FACES in accounts/typography.py.

   Linked from all three app shells and, through the UNFOLD
   STYLES setting, the admin as well.
   ========================================================= */


/* Vazirmatn v33.003 - SIL Open Font License 1.1, see
   ../fonts/vazirmatn/OFL.txt. Persian/Arabic glyphs with Latin
   from Roboto, so one family covers both scripts. The variable
   build: one 110 KB file carries every weight from 100 to 900. */
@font-face {
    font-family: "Vazirmatn";
    src: url("../fonts/vazirmatn/Vazirmatn-Variable.f6d31671339d.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}


/* Inter - SIL Open Font License 1.1, see ../fonts/inter/OFL.txt.
   A neutral sans drawn for screens. 48 KB. */
@font-face {
    font-family: "Inter Variable";
    src: url("../fonts/inter/Inter-Variable-latin.260c81a4759b.woff2") format("woff2");
    font-weight: 100 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;
}


/* Atkinson Hyperlegible Next - SIL Open Font License 1.1, see
   ../fonts/atkinson-hyperlegible-next/OFL.txt. From the Braille
   Institute, for low-vision readers: letters drawn so they cannot
   be mistaken for one another. 34 KB. */
@font-face {
    font-family: "Atkinson Hyperlegible Next Variable";
    src: url("../fonts/atkinson-hyperlegible-next/AtkinsonHyperlegibleNext-Variable-latin.825fabef695f.woff2") format("woff2");
    font-weight: 100 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;
}


/* Source Serif 4 - SIL Open Font License 1.1, see
   ../fonts/source-serif-4/OFL.txt. A book serif for long reading.
   51 KB. */
@font-face {
    font-family: "Source Serif 4 Variable";
    src: url("../fonts/source-serif-4/SourceSerif4-Variable-latin.197cc326af6d.woff2") format("woff2");
    font-weight: 100 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;
}


/* JetBrains Mono - SIL Open Font License 1.1, see
   ../fonts/jetbrains-mono/OFL.txt. Monospaced. 40 KB. */
@font-face {
    font-family: "JetBrains Mono Variable";
    src: url("../fonts/jetbrains-mono/JetBrainsMono-Variable-latin.b058178d7f30.woff2") format("woff2");
    font-weight: 100 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;
}
