/*
 * FamzoLearn type — the app's own two families (CuriokidsRN/src/theme/typography.ts):
 *   • Baloo 2 (display): headings, titles, buttons. Chubby and rounded, with a
 *     matched Devanagari, so Hindi/Marathi words get the same voice.
 *   • Nunito (text): everything you read. Rounded but calm.
 * Self-hosted (the CSP allows fonts from 'self' only), cut from the app's TTFs
 * to Latin + Devanagari. The Devanagari half only downloads when a page shows it.
 * Both are SIL Open Font License.
 */
@font-face { font-family: "Baloo 2"; font-weight: 700; font-display: swap;
  src: url("fonts/Baloo2-Bold-latin.woff") format("woff");
  unicode-range: U+0000-024F, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0300-036F, U+1E00-1EFF, U+2000-206F, U+20AC, U+20B9, U+2122, U+2190-2199, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Baloo 2"; font-weight: 800 900; font-display: swap;
  src: url("fonts/Baloo2-ExtraBold-latin.woff") format("woff");
  unicode-range: U+0000-024F, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0300-036F, U+1E00-1EFF, U+2000-206F, U+20AC, U+20B9, U+2122, U+2190-2199, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Baloo 2"; font-weight: 700; font-display: swap;
  src: url("fonts/Baloo2-Bold-deva.woff") format("woff");
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+25CC, U+A830-A839, U+A8E0-A8FF; }
@font-face { font-family: "Baloo 2"; font-weight: 800 900; font-display: swap;
  src: url("fonts/Baloo2-ExtraBold-deva.woff") format("woff");
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+25CC, U+A830-A839, U+A8E0-A8FF; }
@font-face { font-family: "Nunito"; font-weight: 100 500; font-display: swap; src: url("fonts/Nunito-Medium.woff") format("woff"); }
@font-face { font-family: "Nunito"; font-weight: 600; font-display: swap; src: url("fonts/Nunito-SemiBold.woff") format("woff"); }
@font-face { font-family: "Nunito"; font-weight: 700; font-display: swap; src: url("fonts/Nunito-Bold.woff") format("woff"); }
@font-face { font-family: "Nunito"; font-weight: 800 900; font-display: swap; src: url("fonts/Nunito-ExtraBold.woff") format("woff"); }

:root {
  --font-text: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  /* Baloo for Latin + Devanagari; Nunito, then the system, for every other script. */
  --font-display: "Baloo 2", "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
