/* Alliance No. 2 Font - Global Application to Entire Website */

/* Apply to all elements while preserving sizes */
* {
  /* Primary font with fallbacks */
  font-family: 'Alliance No 2', 'Alliance No. 2', 'Helvetica Neue', 'Arial', sans-serif !important;
}

/* Enable stylistic alternates globally */
body,
html {
  /* Enable stylistic alternates */
  font-feature-settings:
    'ss04' 1,     /* Stylistic Set 04 */
    'ss03' 1,     /* Additional stylistic sets */
    'ss02' 1,
    'ss01' 1,
    'liga' 1,     /* Standard ligatures */
    'kern' 1      /* Kerning */
    !important;

  /* Alternative syntax for broader browser support */
  -webkit-font-feature-settings: 'ss04' 1, 'ss03' 1, 'ss02' 1, 'ss01' 1;
  -moz-font-feature-settings: 'ss04' 1, 'ss03' 1, 'ss02' 1, 'ss01' 1;

  /* Text rendering optimization */
  text-rendering: optimizeLegibility !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

/* Ensure all text elements inherit the font features */
h1, h2, h3, h4, h5, h6,
p, span, div, a, button, input, textarea, select,
li, td, th, label, blockquote, cite, code, pre,
.testimonials-title,
.testimonials-mobile-title,
.feature-title,
.feature-description,
.cta-text,
.navbar-brand,
.nav-link,
.hero-title,
.hero-subtitle,
.build-title,
.build-text,
.section-title {
  /* Ensure font family is applied */
  font-family: 'Alliance No 2', 'Alliance No. 2', 'Helvetica Neue', 'Arial', sans-serif !important;

  /* Inherit font features from body */
  font-feature-settings: inherit !important;
}

/* Special handling for code and pre elements to use monospace variant if available */
code, pre, .code, .monospace {
  font-family: 'Alliance No 2 Mono', 'Alliance No. 2 Mono', 'Courier New', monospace !important;
}

/* Ensure buttons and form elements get the font */
button, input, textarea, select, option {
  font-family: 'Alliance No 2', 'Alliance No. 2', 'Helvetica Neue', 'Arial', sans-serif !important;
}

/* If using a web font service, uncomment and add your font files */
/*
@font-face {
  font-family: 'Alliance No 2';
  src: url('/fonts/AllianceNo2-Regular.woff2') format('woff2'),
       url('/fonts/AllianceNo2-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Alliance No 2';
  src: url('/fonts/AllianceNo2-Medium.woff2') format('woff2'),
       url('/fonts/AllianceNo2-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Alliance No 2';
  src: url('/fonts/AllianceNo2-SemiBold.woff2') format('woff2'),
       url('/fonts/AllianceNo2-SemiBold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Alliance No 2';
  src: url('/fonts/AllianceNo2-Bold.woff2') format('woff2'),
       url('/fonts/AllianceNo2-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Alliance No 2';
  src: url('/fonts/AllianceNo2-Light.woff2') format('woff2'),
       url('/fonts/AllianceNo2-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
*/

/* IMPORTANT: This CSS only changes the font-family and font features */
/* All font sizes, weights, line-heights, and other properties remain unchanged */
/* The existing styles from other CSS files will be preserved */