/* Static cuts of the self-hosted faces.
   A large inlined stylesheet left the face unregistered on first paint,
   so the headline drew in a fallback and then swapped.
   These files are preloaded from each page.
   Plus Jakarta Sans: marketing headlines. Inter: body and UI.
   SIL OFL 1.1: fonts/PlusJakartaSans-OFL.txt, fonts/Inter-OFL.txt */

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: block;
  src: url('/fonts/PlusJakartaSans.woff2') format('woff2');
}

@font-face {
  font-family: 'Rightstune Sans';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url('/fonts/Inter-400.woff2?v=1') format('woff2');
}

@font-face {
  font-family: 'Rightstune Sans';
  font-style: normal;
  font-weight: 600;
  font-display: block;
  src: url('/fonts/Inter-600.woff2?v=1') format('woff2');
}

@font-face {
  font-family: 'Rightstune Sans';
  font-style: normal;
  font-weight: 500;
  font-display: block;
  src: url('/fonts/Inter-500.woff2?v=1') format('woff2');
}

@font-face {
  font-family: 'Rightstune Sans';
  font-style: normal;
  font-weight: 700;
  font-display: block;
  src: url('/fonts/Inter-700.woff2?v=1') format('woff2');
}

@font-face {
  font-family: 'Rightstune Sans';
  font-style: normal;
  font-weight: 800;
  font-display: block;
  src: url('/fonts/Inter-800.woff2?v=1') format('woff2');
}

@font-face {
  font-family: 'Rightstune Sans';
  font-style: italic;
  font-weight: 400;
  font-display: block;
  src: url('/fonts/Inter-Italic-400.woff2?v=1') format('woff2');
}

@font-face {
  font-family: 'Rightstune Sans';
  font-style: italic;
  font-weight: 700;
  font-display: block;
  src: url('/fonts/Inter-Italic-700.woff2?v=1') format('woff2');
}

/* Hold text until the preloaded faces are ready, so a fallback cannot paint. */
html.rt-font-wait body {
  visibility: hidden;
}
