/*
 * fonts.css
 * Self-hosted Krub @font-face declarations for the rouxbarb.com static site
 * (marketing landing, beta signup flow, creators pages). D6b follow-up.
 *
 * WHY: These pages previously pulled Krub from Google Fonts, sending every
 * visitor's IP to Google on each page view (the classic GDPR "Google Fonts"
 * exposure). D6 already self-hosted Krub for the API-rendered legal pages
 * (see public/styles.css); this file closes the same gap for the static HTML.
 *
 * LICENSE: Krub is SIL Open Font License v1.1 (Copyright 2018 The Krub
 * Project Authors / Cadson Demak), which permits self-hosting and
 * redistribution. The required license text ships alongside the fonts at
 * /fonts/OFL.txt.
 *
 * SUBSET: Latin only — these pages have no Thai/Vietnamese/latin-ext
 * content. The unicode-range below matches Google Fonts' "latin" subset
 * (and the woff2 files are Google's v11 latin subset), so glyph coverage is
 * identical to the previous Google-hosted version: no visual regression.
 *
 * WEIGHTS: 400, 500, 600, 700 — the four weights the pages' CSS actually
 * uses (index.html: 400/500/700; beta.css & creators.css: 400/500/600/700).
 * The 400/500/700 woff2 files are reused from D6 (no duplication); 600 was
 * added for D6b.
 *
 * `font-display: swap` keeps text visible during font load (no FOIT); the
 * `system-ui, -apple-system, sans-serif` fallback in each page's
 * `font-family` stack renders first.
 */
@font-face {
  font-family: 'Krub';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/krub-400.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: 'Krub';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/krub-500.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: 'Krub';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/krub-600.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: 'Krub';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/krub-700.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;
}
