/* First Light fonts (SIL Open Font Licence 1.1; see CREDITS.md). Cut to Latin + Vietnamese by tools/make-fonts.py.
   Fraunces: headings and the wordmark, pinned to the soft setting the owner chose, weights 560 to 700.
   Be Vietnam Pro: interface text in en, vi, tl, id. Other scripts keep their Noto fonts (fonts/fonts.css).
   The ONE place these faces are declared: the site, the landing pages and the waiting list all load this file. */
@font-face { font-family: "Fraunces FL"; font-weight: 560 700; font-display: swap; src: url("fonts/fraunces-fl.woff2") format("woff2");
  unicode-range: U+0020-007E, U+00A0-017F, U+01A0-01A1, U+01AF-01B0, U+0300-0309, U+0323, U+1EA0-1EF9, U+2010-203A, U+20AB, U+2212; }
@font-face { font-family: "Be Vietnam Pro"; font-weight: 400; font-display: swap; src: url("fonts/be-vietnam-pro-400.woff2") format("woff2");
  unicode-range: U+0020-007E, U+00A0-017F, U+01A0-01A1, U+01AF-01B0, U+0300-0309, U+0323, U+1EA0-1EF9, U+2010-203A, U+20AB, U+2212; }
@font-face { font-family: "Be Vietnam Pro"; font-weight: 600; font-display: swap; src: url("fonts/be-vietnam-pro-600.woff2") format("woff2");
  unicode-range: U+0020-007E, U+00A0-017F, U+01A0-01A1, U+01AF-01B0, U+0300-0309, U+0323, U+1EA0-1EF9, U+2010-203A, U+20AB, U+2212; }

/* Stand-ins while the two fonts above are on their way (audit 23 Nov 2026, S1: the page must not move when they arrive).
   Each is a font the phone already has, resized so its words take the same room and sit on the same line as ours: Arial
   and Georgia on iPhone, Mac and Windows; Roboto and Noto Serif on Android. Numbers measured from the font files over the
   real page text (size-adjust = our average letter width / theirs; then our ascent and descent divided by it). A phone
   without the named font skips that stand-in and uses the next font in the list, as before. Latin and Vietnamese only
   (the same unicode-range), so a stand-in never draws another script. */
@font-face { font-family: "BVP Standin A"; font-weight: 400; src: local("Arial"), local("ArialMT");
  size-adjust: 109.5%; ascent-override: 91.4%; descent-override: 24.2%; line-gap-override: 0%;
  unicode-range: U+0020-007E, U+00A0-017F, U+01A0-01A1, U+01AF-01B0, U+0300-0309, U+0323, U+1EA0-1EF9, U+2010-203A, U+20AB, U+2212; }
@font-face { font-family: "BVP Standin A"; font-weight: 600; src: local("Arial Bold"), local("Arial-BoldMT");
  size-adjust: 104.8%; ascent-override: 95.4%; descent-override: 25.3%; line-gap-override: 0%;
  unicode-range: U+0020-007E, U+00A0-017F, U+01A0-01A1, U+01AF-01B0, U+0300-0309, U+0323, U+1EA0-1EF9, U+2010-203A, U+20AB, U+2212; }
@font-face { font-family: "BVP Standin R"; font-weight: 400; src: local("Roboto"), local("Roboto-Regular");
  size-adjust: 110.2%; ascent-override: 90.8%; descent-override: 24.1%; line-gap-override: 0%;
  unicode-range: U+0020-007E, U+00A0-017F, U+01A0-01A1, U+01AF-01B0, U+0300-0309, U+0323, U+1EA0-1EF9, U+2010-203A, U+20AB, U+2212; }
@font-face { font-family: "BVP Standin R"; font-weight: 600; src: local("Roboto Bold"), local("Roboto-Bold"), local("Roboto");
  size-adjust: 111.4%; ascent-override: 89.8%; descent-override: 23.8%; line-gap-override: 0%;
  unicode-range: U+0020-007E, U+00A0-017F, U+01A0-01A1, U+01AF-01B0, U+0300-0309, U+0323, U+1EA0-1EF9, U+2010-203A, U+20AB, U+2212; }
@font-face { font-family: "Fraunces Standin G"; font-weight: 560 700; src: local("Georgia Bold"), local("Georgia-Bold");
  size-adjust: 91.2%; ascent-override: 107.2%; descent-override: 28%; line-gap-override: 0%;
  unicode-range: U+0020-007E, U+00A0-017F, U+01A0-01A1, U+01AF-01B0, U+0300-0309, U+0323, U+1EA0-1EF9, U+2010-203A, U+20AB, U+2212; }
@font-face { font-family: "Fraunces Standin N"; font-weight: 560 700; src: local("Noto Serif Bold"), local("NotoSerif-Bold");
  size-adjust: 93.1%; ascent-override: 105%; descent-override: 27.4%; line-gap-override: 0%;
  unicode-range: U+0020-007E, U+00A0-017F, U+01A0-01A1, U+01AF-01B0, U+0300-0309, U+0323, U+1EA0-1EF9, U+2010-203A, U+20AB, U+2212; }

/* Language NAMES in another script (Nepali, Burmese and Sinhala, each written in its own letters) in menus, lists and "Your language" lines: fonts holding just those
   letters (1 to 2 KB each; tools/make-names-font.py), so a page in another language never downloads three whole fonts for
   three words (audit S8). "block", like the full Burmese and Sinhala fonts: a name never flashes in a phone font (a
   Zawgyi phone would scramble the Burmese one). Used only through --font-names (theme/first-light.css, the waiting list);
   running text keeps the full fonts. */
@font-face { font-family: "Orso Names"; font-weight: 400; font-display: block; src: url("fonts/orso-names-ne-400.woff2") format("woff2"); unicode-range: U+0900-097F; }
@font-face { font-family: "Orso Names"; font-weight: 600; font-display: block; src: url("fonts/orso-names-ne-600.woff2") format("woff2"); unicode-range: U+0900-097F; }
@font-face { font-family: "Orso Names"; font-weight: 400; font-display: block; src: url("fonts/orso-names-my-400.woff2") format("woff2"); unicode-range: U+1000-109F; }
@font-face { font-family: "Orso Names"; font-weight: 600; font-display: block; src: url("fonts/orso-names-my-600.woff2") format("woff2"); unicode-range: U+1000-109F; }
@font-face { font-family: "Orso Names"; font-weight: 400; font-display: block; src: url("fonts/orso-names-si-400.woff2") format("woff2"); unicode-range: U+0D80-0DFF; }
@font-face { font-family: "Orso Names"; font-weight: 600; font-display: block; src: url("fonts/orso-names-si-600.woff2") format("woff2"); unicode-range: U+0D80-0DFF; }
