/**
 * BRAKEMATIC, LDA — Design System Tokens
 * Industrial Minimalist Technical Architecture
 */

:root {
  /* Brand Core Tokens (Required by Brand Guidelines) */
  --brand-blue: #00306D;
  --brand-yellow: #F5AD00;
  --surface: #FFFFFF;
  --surface-muted: #F6F7F9;
  --text: #202833;
  --text-muted: #566170;
  --border: #DDE2E8;

  /* Functional Interactive Tokens */
  --brand-blue-hover: #00224E;
  --brand-blue-light: #EBF1F8;
  --brand-yellow-hover: #D99A00;
  --brand-yellow-subtle: #FFF8E6;
  --border-focus: #00306D;
  --border-subtle: #ECEFF3;
  --surface-alt: #F1F4F8;

  /* State Tokens */
  --state-error: #B00020;
  --state-error-bg: #FDF2F2;
  --state-success: #1E6B37;
  --state-success-bg: #F0FDF4;
  --state-warning: #855300;
  --state-warning-bg: #FEF9C3;

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  /* Font Sizes (Fluid Scale) */
  --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.875rem;  /* 30px */
  --text-4xl: 2.25rem;   /* 36px */
  --text-5xl: 2.75rem;   /* 44px */

  /* Line Heights */
  --leading-tight: 1.2;
  --leading-snug: 1.35;
  --leading-normal: 1.5;
  --leading-relaxed: 1.65;

  /* Spacing Scale */
  --space-1: 0.25rem;  /* 4px */
  --space-2: 0.5rem;   /* 8px */
  --space-3: 0.75rem;  /* 12px */
  --space-4: 1rem;     /* 16px */
  --space-5: 1.25rem;  /* 20px */
  --space-6: 1.5rem;   /* 24px */
  --space-8: 2rem;     /* 32px */
  --space-10: 2.5rem;  /* 40px */
  --space-12: 3rem;    /* 48px */
  --space-16: 4rem;    /* 64px */
  --space-20: 5rem;    /* 80px */

  /* Layout Widths */
  --container-max: 1200px;
  --container-narrow: 840px;
  --container-padding: 1.5rem;

  /* Discrete Radii (Minimalist & Industrial, no capsule default) */
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;

  /* Shadows (Functional elevation only) */
  --shadow-none: none;
  --shadow-sm: 0 1px 3px rgba(0, 48, 109, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 48, 109, 0.08);
  --shadow-lg: 0 8px 24px rgba(0, 48, 109, 0.12);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;

  /* Focus Indicator Ring */
  --focus-ring: 0 0 0 3px rgba(0, 48, 109, 0.35);
  --focus-ring-yellow: 0 0 0 3px rgba(245, 173, 0, 0.5);
}

@media (min-width: 1024px) {
  :root {
    --container-padding: 2rem;
  }
}
