/* ============================================================
   Fonts, extracted verbatim from the reference pages.
   ------------------------------------------------------------
   Every file in ../assets/fonts/ was decoded from the base64
   data: URIs embedded in the two saved reference pages, so the
   rendering matches those sites exactly rather than
   approximating them with a lookalike.

   LICENSING, read before shipping any of this to production:
     - Inter          OFL 1.1        free to ship
     - Geist Sans     OFL 1.1        free to ship (Vercel)
     - Geist Mono     OFL 1.1        free to ship (Vercel)
     - Hedvig Letters Sans  OFL 1.1  free to ship
     - ABC Diatype    COMMERCIAL     Dinamo licence required
     - STK Bureau Serif  COMMERCIAL  Studio Triple licence required
   The two commercial faces are here so the Rulebase theme is
   accurate to look at. They must be licensed or swapped before
   this goes on a public domain.
   ============================================================ */

/* -- Inter, variable. Distrify + Rulebase body ---------------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../assets/fonts/inter-400-65850a37.woff2') format('woff2');
}

/* -- ABC Diatype. Rulebase display --------------------------- */
@font-face {
  font-family: 'ABC Diatype';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/abc-diatype-400-1b9ffb60.ttf') format('truetype');
}

/* -- Hedvig Letters Sans. Rulebase CTA / button face ---------- */
/* Latin subset. */
@font-face {
  font-family: 'Hedvig Letters Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/hedvig-letters-sans-400-f1369faa.woff2') format('woff2');
  unicode-range: U+0-FF, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC,
                 U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191,
                 U+2193, U+2212, U+2215;
}
/* Symbol / arrow subset. */
@font-face {
  font-family: 'Hedvig Letters Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/hedvig-letters-sans-400-44d7a256.woff2') format('woff2');
  unicode-range: U+1-C, U+E-1F, U+7F-9F, U+20DD-20E0, U+20E2-20E4,
                 U+2150-218F, U+2190, U+2192, U+2194-2199, U+21AF,
                 U+21E6-21F0, U+21F3, U+2218-2219;
}

/* -- STK Bureau Serif, variable. Rulebase accent serif -------- */
@font-face {
  font-family: 'STK Bureau Serif';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('../assets/fonts/stk-bureau-serif-300-600-caae328a.ttf') format('truetype');
}

/* -- Geist Sans, six static weights. Paid everything --------- */
@font-face { font-family: 'Geist Sans'; font-style: normal; font-weight: 200; font-display: swap;
  src: url('../assets/fonts/geist-sans-200-fcc235d5.woff2') format('woff2'); }
@font-face { font-family: 'Geist Sans'; font-style: normal; font-weight: 300; font-display: swap;
  src: url('../assets/fonts/geist-sans-300-3dd00411.woff2') format('woff2'); }
@font-face { font-family: 'Geist Sans'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../assets/fonts/geist-sans-400-c7c6c540.woff2') format('woff2'); }
@font-face { font-family: 'Geist Sans'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../assets/fonts/geist-sans-500-217fdb92.woff2') format('woff2'); }
@font-face { font-family: 'Geist Sans'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../assets/fonts/geist-sans-600-dc87336a.woff2') format('woff2'); }
@font-face { font-family: 'Geist Sans'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../assets/fonts/geist-sans-700-c7d1f898.woff2') format('woff2'); }

/* -- Geist Mono. Paid data labels, Rulebase mono ------------- */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../assets/fonts/geist-mono-500-7bf7a1df.woff2') format('woff2');
}

/* -- IBM Plex Mono. Distrify spec-sheet voice ----------------
   The Distrify DS points at three pinned fonts.gstatic.com
   URLs which now 404, so the family is vendored locally from
   @fontsource/ibm-plex-mono (OFL 1.1, free to ship) instead.
   Latin subset, the three weights the DS actually declares. */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/ibm-plex-mono-400.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/ibm-plex-mono-500.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/ibm-plex-mono-600.woff2') format('woff2');
}
