/* ─────────────────────────────────────────────────────────────
   Commoneer design tokens
   Colours are RGB channels (space separated) so rgb(var(--x) / alpha)
   works the same way it did in the original Tailwind build.
   Palette: peacock teal (trust) · marigold (voices) · kumkum red (entertainment)
   ───────────────────────────────────────────────────────────── */
:root {
  --color-primary: 30 95 180;
  --color-primary-dark: 20 26 74;
  --color-primary-soft: 218 238 237;
  --color-accent: 236 76 136;
  --color-accent-soft: 254 238 208;
  --color-accent-deep: 150 84 0;
  --color-coral: 191 36 97;
  --color-coral-soft: 251 227 220;
  --color-ink: 9 30 33;
  --color-ink-soft: 20 52 57;
  --color-background: 244 247 246;
  --color-surface: 255 255 255;
  --color-text: 17 30 33;
  --color-muted: 86 100 106;
  --color-border: 214 226 224;
  --color-success: 21 128 82;
  --color-warning: 161 98 7;
  --color-error: 185 28 28;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --header-h: 4rem;

  /* Spacing scale */
  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;

  /* Type scale (matches the original clamp() scale) */
  --text-display: clamp(2.5rem, 1.6rem + 3.9vw, 4.5rem);
  --text-h1: clamp(2.25rem, 1.5rem + 3.3vw, 4rem);
  --text-h2: clamp(1.75rem, 1.2rem + 2.3vw, 3rem);
  --text-h3: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --text-lead: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);

  --radius-sm: 0.75rem;
  --radius-md: 1.25rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
  --radius-full: 999px;

  --shadow-sm: 0 1px 2px rgb(11 31 34 / 0.05), 0 8px 24px -12px rgb(11 31 34 / 0.18);
  --shadow-lg: 0 2px 4px rgb(11 31 34 / 0.06), 0 18px 40px -14px rgb(11 31 34 / 0.28);

  --ease-out: cubic-bezier(.22,.61,.36,1);
  color-scheme: light;
}

@media (min-width: 768px) {
  :root { --header-h: 4.5rem; }
}
