/* Self-hosted font declarations — replaces the Google Fonts CDN link.
   Roboto v51 and Dancing Script v29 are variable fonts: a single file per
   unicode-range subset covers all weights the app uses (300–900 for Roboto,
   400–500 for Dancing Script). This eliminates fonts.googleapis.com and
   fonts.gstatic.com from the CSP trust surface.

   Three families, and only one of them is a choice:

     Satoshi   everything the browser renders. One face for the marketing
                    site, the application, the auth pages, a tenant's own public
                    pages and the guest portal.
     Roboto         Google's sign-in button, and nothing else. Their brand terms
                    require it; infrastructure/router/auth_social_test.go pins it.
     Dancing Script the handwritten accent on the landing pages.

   The family is --font-sans in tailwind-input.css, not here. This file only says
   what exists. template/font_surface_test.go keeps the two in step.

   Satoshi comes from Fontshare as a variable woff2 covering the full latin
   set in one file, so it needs no unicode-range split. Downloaded
   rather than linked because the CSP is `font-src 'self'`: a cdn.fontshare.com
   URL is refused by the browser, not by review. See assets/fonts/README.md for
   the source URLs and the licences. */

/* Satoshi — every rendered page */
@font-face {
  font-family: 'Satoshi';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('/assets/fonts/satoshi-variable.woff2') format('woff2');
}

/* Roboto — latin-ext */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('/assets/fonts/roboto-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;
}

/* Roboto — latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('/assets/fonts/roboto-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;
}

/* Dancing Script — latin-ext */
@font-face {
  font-family: 'Dancing Script';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/dancing-script-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;
}

/* Dancing Script — latin */
@font-face {
  font-family: 'Dancing Script';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/dancing-script-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;
}
