/*
 * Self-hosted fonts (see public/fonts/README.md). local() is tried first, so a
 * system-installed copy avoids the download; if a file is missing the stacks in
 * tokens.css fall back to system Arabic fonts. font-display: swap everywhere.
 */

@font-face {
  font-family: 'Amiri';
  src:
    local('Amiri'),
    local('Amiri-Regular'),
    url('../fonts/Amiri-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Amiri';
  src:
    local('Amiri Bold'),
    local('Amiri-Bold'),
    url('../fonts/Amiri-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Amiri Quran';
  src:
    local('Amiri Quran'),
    local('AmiriQuran-Regular'),
    url('../fonts/AmiriQuran-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Noto Naskh Arabic';
  src:
    local('Noto Naskh Arabic'),
    url('../fonts/NotoNaskhArabic-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Noto Kufi Arabic';
  src:
    local('Noto Kufi Arabic'),
    url('../fonts/NotoKufiArabic-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Noto Kufi Arabic';
  src:
    local('Noto Kufi Arabic Bold'),
    url('../fonts/NotoKufiArabic-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
