/* 
 * Font Loading Strategy
 * Optimized for performance and compatibility
 */

/* Inter Variable Font with font-display:swap for better rendering */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

/* Font Face with System Font Fallback */
body,
html {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Ensure proper font rendering across browsers */
* {
    -webkit-font-smoothing: inherit;
    -moz-osx-font-smoothing: inherit;
}

/* Fallback for when fonts don't load */
.font-loading-fallback {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}
