/* ══════════════════════════════════════════════════════════════
   ATAVUS — Self-hosted fonts for legal pages
   Drop-in replacement for the Google Fonts <link> tags in
   pravni-upozorneni.html, obchodni-podminky.html,
   zasady-ochrany-osobnich-udaju.html, cookies.html.
   Paths are relative to the legal pages (same dir as css/).
   ══════════════════════════════════════════════════════════════ */

@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('EB Garamond Regular'), local('EBGaramond-Regular'),
       url('../assets/fonts/eb-garamond-v32-latin_latin-ext-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: local('EB Garamond Italic'), local('EBGaramond-Italic'),
       url('../assets/fonts/eb-garamond-v32-latin_latin-ext-italic.woff2') format('woff2');
}

@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: local('EB Garamond Medium'), local('EBGaramond-Medium'),
       url('../assets/fonts/eb-garamond-v32-latin_latin-ext-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Cormorant Garamond Regular'), local('CormorantGaramond-Regular'),
       url('../assets/fonts/cormorant-garamond-v21-latin_latin-ext-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: local('Cormorant Garamond Italic'), local('CormorantGaramond-Italic'),
       url('../assets/fonts/cormorant-garamond-v21-latin_latin-ext-italic.woff2') format('woff2');
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: local('Cormorant Garamond Medium'), local('CormorantGaramond-Medium'),
       url('../assets/fonts/cormorant-garamond-v21-latin_latin-ext-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: local('Cormorant Garamond Medium Italic'), local('CormorantGaramond-MediumItalic'),
       url('../assets/fonts/cormorant-garamond-v21-latin_latin-ext-300italic.woff2') format('woff2');
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('JetBrains Mono Regular'), local('JetBrainsMono-Regular'),
       url('../assets/fonts/jetbrains-mono-v24-latin_latin-ext-regular.woff2') format('woff2');
}

/* Legal body copy is intentionally editorial serif. tokens.css now defines
   --body as EB Garamond directly (no system sans default to override), so
   this file only needs the weight bump — long-form legal reading wants 400,
   not the 300 the marketing page uses for shorter display copy. */
.legal-page p,
.legal-page ul,
.legal-page .legal-table {
  font-weight: 400;
}
