/* ==========================================================================
   ElevenLabs Waldenburg Typography (Applied Universally Across 100% of the System)
   Zero Remote CDN / 100% Self-Hosted & GDPR/LGPD Compliant
   ========================================================================== */

/* Primary Font: Waldenburg (Exact ElevenLabs Signature Font) */
@font-face {
  font-family: 'Waldenburg';
  src: url('/fonts/Waldenburg-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

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

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

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

/* Also map all legacy font names directly to Waldenburg so nothing escapes */
@font-face {
  font-family: 'Inter';
  src: url('/fonts/Waldenburg-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/fonts/Waldenburg-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/fonts/Waldenburg-Bold.woff2') format('woff2');
  font-weight: 600 700 800 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Geist';
  src: url('/fonts/Waldenburg-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Geist';
  src: url('/fonts/Waldenburg-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Geist';
  src: url('/fonts/Waldenburg-Bold.woff2') format('woff2');
  font-weight: 600 700 800 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'GeistSans';
  src: url('/fonts/Waldenburg-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'GeistSans';
  src: url('/fonts/Waldenburg-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'GeistSans';
  src: url('/fonts/Waldenburg-Bold.woff2') format('woff2');
  font-weight: 600 700 800 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Geist Mono';
  src: url('/fonts/Waldenburg-Regular.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* Global Root Typography Tokens */
:root {
  --font-sans: 'Waldenburg', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  --font-mono: 'Waldenburg', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  --font-display: 'Waldenburg', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  --font-heading: 'Waldenburg', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  --font-geist-sans: 'Waldenburg', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  --font-geist-mono: 'Waldenburg', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* Total Universal Application: 100% of elements without any exception */
*, *::before, *::after,
html, body, button, input, select, textarea,
p, span, a, label, h1, h2, h3, h4, h5, h6,
th, td, div, section, header, nav, aside, footer,
code, kbd, samp, pre, .mono, .font-mono, [class*="font-mono"], [class*="mono"], [class*="font-sans"], [class*="font-display"] {
  font-family: 'Waldenburg', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}
