/*
 * Self-hosted fonts — §2. ZERO requests to any Google font domain
 * (GDPR, LG München precedent). All woff2 are copied into /static/fonts by
 * scripts/build-fonts.mjs from npm packages (@fontsource/*, material-symbols).
 * Latin + Cyrillic subsets are both shipped (the UI is Russian).
 *
 * Type roles (see tailwind.config.js fontFamily):
 *   sans (body)    -> Roboto
 *   display (head) -> Google Sans, falling back to Roboto until the OFL woff2 is
 *                     added (scripts/fetch-google-fonts.mjs / README).
 *   mono (code)    -> Google Sans Code / Roboto Mono
 *   icons          -> Material Symbols Outlined
 */

/* --- Roboto 400 --- */
@font-face {
  font-family: 'Roboto'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('/static/fonts/roboto-400-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Roboto'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('/static/fonts/roboto-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Roboto 500 --- */
@font-face {
  font-family: 'Roboto'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('/static/fonts/roboto-500-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Roboto'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('/static/fonts/roboto-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Roboto 600 (semibold — daisyUI buttons/menus default to 600) --- */
@font-face {
  font-family: 'Roboto'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('/static/fonts/roboto-600-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Roboto'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('/static/fonts/roboto-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Roboto 700 --- */
@font-face {
  font-family: 'Roboto'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('/static/fonts/roboto-700-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Roboto'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('/static/fonts/roboto-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Roboto Mono 400 (code fallback) --- */
@font-face {
  font-family: 'Roboto Mono'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('/static/fonts/roboto-mono-400-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Roboto Mono'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('/static/fonts/roboto-mono-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Material Symbols font removed: icons are now inline SVG (see Icon helper +
   static/icons/symbols.svg). */
