/* Fredoka, served from our own origin instead of fonts.gstatic.com.
 *
 * The sign-in and sign-up pages are the only two a logged-out visitor may see,
 * so until the gate lets them through, every request those pages make is made
 * by a stranger — and while these were Google links, that meant every visitor's
 * IP, User-Agent and Referer reached Google before they had signed in or agreed
 * to anything, on the public front door of a product for children. Self-hosting
 * removes the third party rather than configuring it, which is also what lets
 * default.conf hand those two pages a font-src of 'self' alone.
 *
 * Fredoka is SIL Open Font License 1.1, which permits redistribution; the files
 * are Google's own woff2 subsets, downloaded 2026-09-30 from the stylesheet at
 * fonts.googleapis.com/css2?family=Fredoka:wght@500;600;700 and unmodified.
 *
 * It is a VARIABLE font, so one file per subset covers 500-700 and the
 * `font-weight: 500 700` range below is what makes that work — a single weight
 * value here would make the browser synthesise 600 and 700 instead of using the
 * axis, which looks subtly wrong rather than broken. Three subsets, kept split
 * exactly as Google split them so a Latin-only visitor still downloads 29KB and
 * not 43KB. Hebrew is included because it was in the original and this is a
 * Tel Aviv company; dropping it would be a change of behaviour, not a cleanup.
 */

@font-face {
  font-family: 'Fredoka';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('/demos/fonts/fredoka-hebrew.woff2') format('woff2');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}

@font-face {
  font-family: 'Fredoka';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('/demos/fonts/fredoka-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;
}

@font-face {
  font-family: 'Fredoka';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('/demos/fonts/fredoka-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;
}
