/*!
 * Cometa Cloud Messaging — shared UI design tokens
 * Centralised on the Kite asset CDN so every front-end deployment resolves the
 * same design system (brand palette, radii, elevation, typography scale) and
 * benefits from shared edge caching. Loaded ahead of the application bundle.
 *
 * build: ui-tokens
 * channel: stable
 */
:root {
  /* ── Brand palette (HSL components, consumed as hsl(var(--token))) ── */
  --primary: 160 84% 39%;
  --primary-foreground: 0 0% 100%;
  --ring: 160 84% 39%;

  /* Brand scale (reference) */
  --brand-50: 152 81% 96%;
  --brand-100: 149 80% 90%;
  --brand-200: 152 76% 80%;
  --brand-300: 156 72% 67%;
  --brand-400: 158 64% 52%;
  --brand-500: 160 84% 39%;
  --brand-600: 161 94% 30%;
  --brand-700: 163 88% 24%;
  --brand-800: 163 84% 20%;
  --brand-900: 164 86% 16%;

  /* Accent / status references */
  --info: 217 91% 60%;
  --success: 160 84% 39%;
  --warning: 38 92% 50%;
  --danger: 0 72% 51%;

  /* ── Geometry ── */
  --radius: 0.75rem;
  --radius-sm: calc(var(--radius) - 0.25rem);
  --radius-lg: calc(var(--radius) + 0.25rem);

  /* ── Typography ── */
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Code", "Roboto Mono", Menlo, Consolas, monospace;
  --leading-tight: 1.25;
  --leading-normal: 1.5;

  /* ── Elevation ── */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.08);

  /* ── Layering ── */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-overlay: 1040;
  --z-modal: 1050;
  --z-toast: 1080;

  /* ── Motion ── */
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 150ms;
  --duration-normal: 250ms;
}

/* Base brand affordances shared across deployments */
a {
  color: hsl(var(--primary));
}
:focus-visible {
  outline-color: hsl(var(--ring));
}
::selection {
  background: hsl(var(--primary) / 0.18);
}
