/* ============================================================================
   FONTS — Adhelm landing page

   Onest (SIL Open Font License 1.1), self-hosted. NOT loaded from Google.
   A `@import url(fonts.googleapis.com)` sends every German visitor's IP to
   Google before the page has drawn a pixel, which is the exact thing the
   LG München I ruling of 2022-01-20 (3 O 17493/20) found unlawful. The panel
   already self-hosts for the same reason — see panel/frontend/src/styles/ds/
   fonts.css. The landing page is the first thing a prospect loads, so it is
   the last place to get this wrong.

   One file per subset, both variable: the weight axis carries 300…700, so
   300 (body), 400 (headings), 500 (labels) and 600 (the wordmark) all come
   out of the same 33 KB download.
   ============================================================================ */

@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('fonts/onest-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: 'Onest';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('fonts/onest-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* The 3-D wordmark is cut from the same family — buildWordmark() measures
   `600 320px Wordmark`, so the alias has to exist or the canvas falls back to
   the UA's sans and the letterforms stop matching the navigation. */
@font-face {
  font-family: 'Wordmark';
  font-style: normal;
  font-weight: 300 700;
  font-display: block;
  src: url('fonts/onest-latin.woff2') format('woff2');
  unicode-range: U+0041-005A, U+0061-007A;
}
