/*
 * SORA, SELF-HOSTED, for every layout (app, auth, admin).
 *
 * Served from this origin rather than linked from fonts.googleapis.com on purpose: the
 * Content-Security-Policy is `style-src 'self'; font-src 'self'` (public/index.php and
 * deploy/nginx-client.ideo.ee.conf, kept identical by CspParityTest), and a Google Fonts link
 * would have meant loosening both, and handing every visitor's IP address to Google on every
 * page view.
 *
 * One variable font per subset - weights 100 to 800 live in the one file - taken from Google
 * Fonts' own build (v17). Sora has no italic. Latin covers English and Estonian's õ ä ö ü;
 * latin-ext is still needed for š and ž, which Estonian uses in loanwords and names. The
 * `unicode-range` values are Google's, so a page that never shows a latin-ext character never
 * downloads that file. `font-display: swap` shows text in the fallback face at once rather than
 * leaving it invisible while the font loads.
 *
 * Licence: SIL Open Font License 1.1 - see public/assets/fonts/LICENSE.md.
 */
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('../fonts/sora-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: 'Sora';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('../fonts/sora-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;
}

/* Form controls do not inherit the page's font by default in any browser; without this every
   button, input, select and textarea would stay in the system face. */
button, input, select, textarea { font-family: inherit; }
