/*
 * Self-hosted brand faces — Latin subset of each face Clean Kitchen uses.
 * Cormorant Garamond is a variable font, so two files cover all five
 * weight/style combinations.
 *
 * Deliberately its own stylesheet rather than part of site.css: this is a
 * cross-origin surface. A tenant's `brand.fontUrl` points candle apps here
 * (see services/identity/common/brand.ts), so a Notify or login screen served
 * from another worker renders in the same type as the marketing site without
 * pulling in the site's layout rules.
 *
 * The `src` URLs are root-absolute and resolve against *this stylesheet's*
 * origin, not the embedding page's — which is what makes the cross-origin case
 * work. The woff2 responses carry Access-Control-Allow-Origin from the worker's
 * standard allowlist (core/candle-service/src/cors.ts withCORS); webfonts are
 * always fetched in CORS mode, so that header is required, not optional.
 */

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/fonts/cormorant-garamond.woff2') format('woff2');
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url('/fonts/cormorant-garamond-italic.woff2') format('woff2');
}

@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/lato-300.woff2') format('woff2');
}

@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/lato-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/lato-700.woff2') format('woff2');
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/jetbrains-mono.woff2') format('woff2');
}
