/* ============================================================
   ROYAL Ai — the typeface
   Montserrat is the standard font on every Royal surface
   (Bryan's ruling). Self-hosted, not pulled from a font CDN:
   one less third party in front of a lender's customers, and the
   service worker can cache it so the app looks right offline.
   Variable weight 400-800 in a single file per style, latin only.
   ============================================================ */
@font-face{
  font-family:'Montserrat';
  font-style:normal;
  font-weight:400 800;
  font-display:swap;
  src:url('../assets/fonts/montserrat-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;
}
@font-face{
  font-family:'Montserrat';
  font-style:italic;
  font-weight:400 800;
  font-display:swap;
  src:url('../assets/fonts/montserrat-latin-italic.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;
}

/* The stack every Royal surface uses. The fallbacks are ordered so that
   if Montserrat has not painted yet, the substitute is close enough in
   width that nothing jumps. */
:root{
  --royal-font:'Montserrat','Segoe UI','Avenir Next','Helvetica Neue',system-ui,sans-serif;
}
