/* Main font configuration - All fonts locally hosted for GDPR compliance */

/* Import Inter as primary font with optimized loading */
@import url('./inter/inter.css');

/* Import Roboto as fallback */
@import url('./roboto/roboto.css');

/* Import JetBrains Mono for code */
@import url('./jetbrains-mono/jetbrains-mono.css');

/* Critical font definitions with font-display: swap for better performance */
@font-face {
  font-family: 'Inter';
  src: url('./inter/Inter-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('./inter/Inter-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('./inter/Inter-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('./inter/Inter-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Font stack configuration - NO external references */
:root {
  --font-sans: 'Inter', 'Roboto', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Consolas', 'Monaco', 'Courier New', monospace;
}

/* Override any system font references to use local fonts only */
body {
  font-family: var(--font-sans);
}

/* Ensure all fonts are loaded from local sources */
* {
  font-display: swap;
}