/* Bara de vikter som faktiskt används någonstans i appen deklareras här.
   Varje deklaration innebär en nedladdning på 14-22 kB, och outfit-300,
   jetbrains-mono-500 och jetbrains-mono-600 användes inte av någon regel. */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('/fonts/outfit-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url('/fonts/outfit-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url('/fonts/outfit-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url('/fonts/outfit-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-display: swap;
  font-weight: 800;
  src: url('/fonts/outfit-800.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('/fonts/jetbrains-mono-400.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url('/fonts/jetbrains-mono-700.woff2') format('woff2');
}
/* Lexend — dyslexivänligt typsnitts-alternativ ("Aa"-knappen, se shared.js).
   Nyare forskning (2024–2026) visar ofta bättre läshastighet/flyt för ADHD
   och dyslexi än Verdana, tack vare kerning optimerad för det snarare än
   bokstavsformen — men till skillnad från Verdana finns det inte
   förinstallerat, måste levereras som webbtypsnitt. Bara "latin"-
   teckenuppsättningen (å/ä/ö ingår redan där), hämtad via npm-paketet
   @fontsource/lexend, ~14 kB per vikt. */
@font-face {
  font-family: 'Lexend';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('/fonts/lexend-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Lexend';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url('/fonts/lexend-700.woff2') format('woff2');
}
