/*
 * RAYN self-hosted fonts for the SPA shell (app.html), latin subset only.
 *
 * Lives in public/fonts/ — NOT public/marketing/fonts/ — because
 * scripts/sync-marketing-dist.mjs wipes dist/marketing after `vite build`, so
 * anything Vite copies out of public/marketing/ is deleted before deploy. This
 * directory survives, and is where the guest widget already self-hosts its
 * Cormorant, so both surfaces now share one cached URL per face.
 *
 * A near-identical copy lives at marketing/fonts/fonts.css for the separate
 * static marketing runtime (rayn-co.com's prebuilt HTML). Keep the two in step —
 * src/__tests__/marketingFontScope.test.js asserts the @font-face blocks match.
 */

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('./cormorant-garamond-normal.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: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url('./cormorant-garamond-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;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('./inter.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;
}

:root {
  --rayn-font-editorial: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --rayn-font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
