/* Design tokens — ported from src/index.css. HSL colours kept space-separated
   so we can use them with `hsl(var(--x) / alpha)`. */

:root {
  /* Light theme */
  --background: 0 0% 100%;
  --foreground: 220 20% 20%;
  --card: 0 0% 100%;
  --card-foreground: 220 20% 20%;
  --popover: 0 0% 100%;
  --popover-foreground: 220 20% 20%;
  --primary: 217 91% 50%;
  --primary-foreground: 0 0% 100%;
  --secondary: 220 14% 96%;
  --secondary-foreground: 220 20% 20%;
  --muted: 220 14% 96%;
  --muted-foreground: 220 10% 50%;
  --accent: 217 91% 50%;
  --accent-foreground: 0 0% 100%;
  --destructive: 0 84% 60%;
  --destructive-foreground: 0 0% 100%;
  --border: 220 14% 90%;
  --input: 220 14% 90%;
  --ring: 217 91% 50%;
  --orange: 25 95% 53%;
  --teal: 174 72% 40%;
  --navy: 220 60% 20%;

  --radius: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.25rem;
  --radius-full: 9999px;

  /* Spacing scale (rem) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Type */
  --font-heading: 'Poppins', system-ui, sans-serif;
  --font-body: 'Open Sans', system-ui, sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-card: 0 4px 20px -2px rgba(0,0,0,0.08);
  --shadow-card-hover: 0 8px 30px -4px rgba(0,0,0,0.12);
  --shadow-lg: 0 10px 40px -6px rgba(0,0,0,0.15);

  /* Layout */
  --container-max: 80rem; /* matches Tailwind max-w-7xl */
  --header-height: 72px;
  --header-height-lg: 88px;
}

[data-theme="dark"] {
  --background: 220 20% 10%;
  --foreground: 220 10% 90%;
  --card: 220 18% 13%;
  --card-foreground: 220 10% 90%;
  --popover: 220 18% 13%;
  --popover-foreground: 220 10% 90%;
  --primary: 217 91% 60%;
  --primary-foreground: 220 20% 10%;
  --secondary: 220 14% 18%;
  --secondary-foreground: 220 10% 85%;
  --muted: 220 14% 18%;
  --muted-foreground: 220 10% 55%;
  --accent: 217 91% 60%;
  --accent-foreground: 220 20% 10%;
  --destructive: 0 84% 60%;
  --destructive-foreground: 0 0% 100%;
  --border: 220 14% 22%;
  --input: 220 14% 22%;
  --ring: 217 91% 60%;
  --orange: 25 95% 58%;
  --teal: 174 72% 45%;
  --navy: 220 60% 70%;
}
