@font-face {
  font-family: 'FontHeaders';
  src: url('/fonts/founders-grotesk-condensed-semibold.woff2') format('woff2');
  font-weight: 600; /* Assuming 'semibold' means font-weight 600 */
  font-style: normal;
  font-display: swap; /* Crucial for better user experience during loading */
  font-feature-settings: 'kern' 1, 'liga' 1, 'calt' 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

@font-face {
  font-family: 'FontText';
  src: url('/fonts/founders-grotesk-regular.woff2') format('woff2');
  font-weight: 400; /* Assuming 'regular' means font-weight 400 */
  font-style: normal;
  font-display: swap; /* Crucial for better user experience during loading */
  font-feature-settings: 'kern' 1, 'liga' 1, 'calt' 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

@font-face {
  font-family: 'DM Sans';
  src: url('/fonts/DMSans-VariableFont.ttf') format('truetype');
  font-weight: 1 1000; /* Define the full range for a variable font */
  font-style: normal; /* Or 'italic' if the variable font also includes an italic axis */
  font-display: swap; /* Crucial for better user experience during loading */
  font-feature-settings: 'kern' 1, 'liga' 1, 'calt' 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Global font rendering consistency */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'kern' 1, 'liga' 1, 'calt' 1;
}