/* Self-hosted landing fonts (RV-008 R6). Generated by scripts/fetch-landing-fonts.ts.
   Latin subset only; weights/styles match public/landing/index.html. */
@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/landing/fonts/dmsans-400-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/landing/fonts/dmsans-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/landing/fonts/dmsans-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/landing/fonts/dmsans-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/landing/fonts/dmsans-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Serif Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/landing/fonts/dmserifdisplay-400-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Serif Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/landing/fonts/dmserifdisplay-400-normal.woff2') format('woff2');
}

/* Metric-matched fallbacks so the pre-swap render matches the real fonts'
   dimensions — kills the layout shift and makes the swap nearly invisible.
   size-adjust measured in-browser: DM Sans/Arial 103.67%, DM Serif/Georgia 100.59%. */
@font-face {
  font-family: 'DM Sans Fallback';
  src: local('Arial');
  size-adjust: 103.67%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'DM Serif Fallback';
  src: local('Georgia');
  size-adjust: 100.59%;
  line-gap-override: 0%;
}
