/*
 * Self-hosted fonts for CASA security compliance
 * Eliminates external dependencies on fonts.googleapis.com
 * Both fonts are variable fonts supporting multiple weights
 */

/* Inter - Primary UI font (weights 300-900) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('/fonts/inter-variable.woff2') format('woff2');
}

/* Outfit - Hero/marketing font (weights 300-800) */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('/fonts/outfit-variable.woff2') format('woff2');
}

/*
 * RTL script fonts - loaded on demand via unicode-range
 * Only downloaded when Arabic/Hebrew characters are rendered.
 * Persian (Farsi) and Urdu use the Arabic script, so noto-sans-arabic covers all three.
 */

/* Noto Sans Arabic - Arabic, Persian, Urdu scripts (weights 100-900) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/noto-sans-arabic-variable.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-089F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}

/* Noto Sans Hebrew - Hebrew script (weights 100-900) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/noto-sans-hebrew-variable.woff2') format('woff2');
  unicode-range: U+0590-05FF, U+FB1D-FB4F;
}
