/* Ezora design tokens. Primitives first, then the semantic mapping for the default (light) theme.
   Components consume semantic tokens only; themes change the semantic mapping, never the components. */
:root {
  color-scheme: light;
  /* Primitive palette: Ezora navy is the primary colour, orange is an accent used sparingly. */
  --ez-palette-navy-950: #06111c;
  --ez-palette-navy-800: #0d1b2a;
  --ez-palette-navy-700: #12314b;
  --ez-palette-navy-600: #164a70;
  --ez-palette-navy-200: #c7dae8;
  --ez-palette-navy-100: #e7f0f6;
  --ez-palette-navy-50: #f5f9fb;
  --ez-palette-orange-700: #7a3400;
  --ez-palette-orange-600: #e56800;
  --ez-palette-orange-500: #ff7a00;
  --ez-palette-orange-100: #fff0e5;
  --ez-palette-red-700: #b3261e;
  --ez-palette-red-100: #f9dede;
  --ez-palette-red-950: #410e0b;
  --ez-palette-green-700: #1b6b3a;
  --ez-palette-green-100: #d6f0dd;
  --ez-palette-green-950: #0a2e17;
  --ez-palette-amber-200: #ffe9a8;
  --ez-palette-amber-950: #3d2e00;
  --ez-palette-blue-100: #d7e6fb;
  --ez-palette-blue-950: #0b2a55;
  --ez-palette-blue-700: #0050b3;
  --ez-palette-neutral-0: #ffffff;
  --ez-palette-slate-700: #3e5367;
  --ez-palette-slate-500: #6b8296;

  /* Spacing, shape, type and motion scales */
  --ez-space-1: 0.25rem;
  --ez-space-2: 0.5rem;
  --ez-space-3: 0.75rem;
  --ez-space-4: 1rem;
  --ez-space-5: 1.5rem;
  --ez-space-6: 2rem;
  --ez-space-7: 3rem;
  --ez-space-8: 4rem;
  --ez-radius-sm: 0.25rem;
  --ez-radius-md: 0.5rem;
  --ez-radius-lg: 1rem;
  --ez-radius-pill: 62.5rem;
  --ez-shadow-sm: 0 1px 2px rgb(0 0 0 / 12%);
  --ez-shadow-md: 0 2px 8px rgb(0 0 0 / 16%);
  --ez-shadow-lg: 0 12px 32px rgb(0 0 0 / 22%);
  --ez-scrim: rgb(13 27 42 / 45%);
  --ez-shadow-edge: 1px 0 3px rgb(0 0 0 / 8%);
  --ez-radius-field: 0.5rem;
  --ez-sidebar-width: 15.5rem;
  --ez-sidebar-width-collapsed: 4.75rem;
  --ez-topbar-height: 4rem;
  --ez-button-height: 2.625rem;
  --ez-font-family-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ez-font-family-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ez-font-size-xs: 0.75rem;
  --ez-font-size-sm: 0.875rem;
  --ez-font-size-md: 1rem;
  --ez-font-size-lg: 1.25rem;
  --ez-font-size-xl: 1.75rem;
  --ez-font-weight-regular: 400;
  --ez-font-weight-medium: 600;
  --ez-line-height-body: 1.5;
  --ez-control-height-md: 2.75rem;
  --ez-duration-fast: 120ms;

  /* Semantic tokens (light) */
  --ez-font-family-brand: "Audiowide", var(--ez-font-family-body);
  --ez-color-bg: var(--ez-palette-navy-50);
  --ez-color-surface: var(--ez-palette-neutral-0);
  --ez-color-surface-variant: var(--ez-palette-navy-100);
  --ez-color-surface-container: #eef4f8;
  --ez-color-surface-container-high: #e1ebf2;
  --ez-color-surface-sunken: #e9f0f5;
  --ez-color-text-primary: var(--ez-palette-navy-800);
  --ez-color-text-muted: var(--ez-palette-slate-700);
  --ez-color-border: var(--ez-palette-slate-500);
  --ez-color-link: var(--ez-palette-navy-600);
  --ez-color-action-primary: var(--ez-palette-navy-800);
  --ez-color-on-action-primary: var(--ez-palette-neutral-0);
  --ez-color-brand-container: var(--ez-palette-navy-200);
  --ez-color-on-brand-container: var(--ez-palette-navy-800);
  --ez-color-accent: var(--ez-palette-orange-600);
  --ez-color-on-accent: var(--ez-palette-navy-800);
  --ez-color-accent-container: var(--ez-palette-orange-100);
  --ez-color-on-accent-container: var(--ez-palette-orange-700);
  --ez-color-logo-plate: var(--ez-palette-neutral-0);
  --ez-color-danger: var(--ez-palette-red-700);
  --ez-color-on-danger: var(--ez-palette-neutral-0);
  --ez-stage-bg: #000000;
  --ez-stage-text: #ffffff;
  --ez-stage-muted: #cfd3da;
  --ez-color-danger-container: var(--ez-palette-red-100);
  --ez-color-on-danger-container: var(--ez-palette-red-950);
  --ez-color-success: var(--ez-palette-green-700);
  --ez-color-success-container: var(--ez-palette-green-100);
  --ez-color-on-success-container: var(--ez-palette-green-950);
  --ez-color-warning-container: var(--ez-palette-amber-200);
  --ez-color-on-warning-container: var(--ez-palette-amber-950);
  --ez-color-info-container: var(--ez-palette-blue-100);
  --ez-color-on-info-container: var(--ez-palette-blue-950);
  --ez-focus-ring-color: var(--ez-palette-blue-700);
  --ez-focus-ring-width: 3px;
  --ez-focus-ring-offset: 2px;
}
