/**
 * CanMedTicino — Font self-hosted.
 *
 * Nessuna richiesta a fonts.googleapis.com, fonts.gstatic.com o api.fontshare.com:
 * i caratteri partono al primo byte di ogni pagina, quindi con un provider esterno
 * l'indirizzo IP del visitatore usciva PRIMA del consenso. Su un sito di pazienti
 * quell'IP, unito alla pagina richiesta, e' un dato che riguarda la salute.
 *
 * Licenze (i testi completi sono in assets/fonts/):
 * - Fraunces, JetBrains Mono: SIL Open Font License 1.1 — self-hosting consentito.
 * - Satoshi: ITF Free Font License v2.0, art. 01 — self-hosting «permitted and
 *   recommended»; art. 02 vieta subsetting e conversione, quindi il woff2 e' quello
 *   ufficiale di Fontshare, non modificato.
 *
 * I range di font-weight non sono presunti: sono verificati confrontando l'MD5 dei
 * file serviti da Google con quelli del range completo. Fraunces e' il variable
 * intero (100-900); JetBrains Mono viene ristretto da Google al range richiesto
 * (400-500) e dichiarare di piu' farebbe interpolare su dati assenti.
 *
 * @package CanMedTicino
 */

/* Satoshi — body sans. Variable wght 300-900 (range dal README ufficiale ITF). */
@font-face {
  font-family: 'Satoshi';
  src: url('../fonts/Satoshi-Variable.woff2') format('woff2-variations');
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

/* Fraunces italic — latin (22852 byte) */
@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/Fraunces-italic-latin.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  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;
}

/* Fraunces italic — latin-ext (20944 byte) */
@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/Fraunces-italic-latin-ext.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  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;
}

/* Fraunces normal — latin (36620 byte) */
@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/Fraunces-var-latin.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;
}

/* Fraunces normal — latin-ext (33584 byte) */
@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/Fraunces-var-latin-ext.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  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;
}

/* JetBrains Mono normal — latin (31432 byte) */
@font-face {
  font-family: 'JetBrains Mono';
  src: url('../fonts/JetBrainsMono-var-latin.woff2') format('woff2');
  font-weight: 400 500;
  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 normal — latin-ext (11624 byte) */
@font-face {
  font-family: 'JetBrains Mono';
  src: url('../fonts/JetBrainsMono-var-latin-ext.woff2') format('woff2');
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
  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;
}
