/* ==========================================================================
   SAFVC Design System Tokens
   8pt spacing grid, Inter typography scale, Figma verified palette
   ========================================================================== */

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

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

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

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

:root {
  /* Brand & Semantic Colors */
  --color-indigo: #2F3174;
  --color-indigo-dark: #232559;
  --color-heading: #111827;
  --color-body: #374151;
  --color-muted: #596174;
  --color-text-dark: #1F2937;
  --color-text-subtle: #4B5563;
  --color-sidebar-label: #6B7280;
  --color-translate-text: #333C56;

  /* Surfaces & Backgrounds */
  --color-white: #FFFFFF;
  --color-lavender: #F4F4FA;
  --color-hero-bg: #EAEAF1;
  --color-toc-bg: #F9FAFB;
  --color-masthead-bg: #F3F4F6;
  --color-scam-bg: #EAF2FF;
  --color-translate-bg: #F7F9FE;
  --color-footer-bg: #18181B;
  --color-media-bg: #000000;

  /* Borders */
  --color-border: #DCDDE7;
  --color-border-strong: #D1D5DB;
  --color-app-border: #E6E6E6;

  /* Interactive & Status Accents */
  --color-gov-blue: #1A56E5;
  --color-translate-blue: #1361F0;
  --color-focus-ring: #1A56E5;
  --color-error: #B91C1C;
  --color-error-bg: #FEF2F2;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --text-xs: 0.75rem;      /* 12px */
  --text-sm: 0.875rem;     /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-lg: 1.125rem;     /* 18px */
  --text-xl: 1.25rem;      /* 20px */
  --text-2xl: 1.5rem;      /* 24px */
  --text-3xl: 1.75rem;     /* 28px */
  --text-quote: 2rem;      /* 32px */
  --text-h2: 2.25rem;      /* 36px */
  --text-h1: 3rem;         /* 48px */
  --text-display: 3.5rem;  /* 56px */

  --leading-tight: 1.1;
  --leading-display: 1.14;
  --leading-normal: 1.4;
  --leading-relaxed: 1.5;
  --leading-loose: 1.56;

  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;

  /* 8pt Spacing Scale */
  --space-0: 0px;
  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-32: 32px;
  --space-40: 40px;
  --space-48: 48px;
  --space-56: 56px;
  --space-64: 64px;
  --space-72: 72px;
  --space-120: 120px;
  --space-140: 140px;

  /* Layout Widths */
  --container-max: 1440px;
  --container-inner: 1240px;
  --container-reading: 764px;
  --container-narrow: 640px;

  /* Radii */
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(17, 24, 39, 0.06);
  --shadow-md: 0 8px 20px rgba(17, 24, 39, 0.1);
  --shadow-lg: 0 16px 36px rgba(17, 24, 39, 0.16);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --duration-fast: 150ms;
  --duration-base: 220ms;
  --duration-slow: 300ms;

  /* Z-Index Layers */
  --z-sticky: 20;
  --z-dropdown: 40;
  --z-header: 50;
  --z-overlay: 80;
  --z-modal: 100;
}
