/* ETHAS design tokens — load before any component CSS that uses var(--*) names. */

:root {
  /* Brand */
  --color-primary:        #032159;
  --color-primary-hover:  #134193;
  --color-primary-active: #021A47;
  --color-secondary:      #45BDF6;
  --color-accent:         #5DE0D8;
  --color-warn:           #FFC107;
  --color-danger:         #D10707;

  /* Neutrals */
  --color-bg:        #FFFFFF;
  --color-surface:   #F5F9FB;
  --color-surface-2: #ECF3F8;
  --color-border:    #E1E8EF;
  --color-text:      #032159;
  --color-text-muted:#5A6A82;
  --color-text-inv:  #FFFFFF;

  /* Typography */
  --ff-body:     'Montserrat', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ff-display:  'Roboto Condensed', system-ui, sans-serif;
  --ff-wordmark: 'Stange', Georgia, serif;

  /* Spacing scale */
  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px;
  --space-9: 96px;

  /* Radius */
  --radius-sm: 6px;  --radius-md: 12px; --radius-lg: 20px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(3, 33, 89, .06), 0 1px 3px rgba(3, 33, 89, .08);
  --shadow-md: 0 4px 12px rgba(3, 33, 89, .08);
  --shadow-lg: 0 18px 40px -12px rgba(3, 33, 89, .18);

  /* Motion */
  --t-fast: 120ms;
  --t-base: 220ms;
  --t-slow: 400ms;
  --ease-out: cubic-bezier(.2, .7, .2, 1);
}

/* Global motion guard */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Visible focus ring */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 3px;
  border-radius: 3px;
}
