:root {
  --background: 222 30% 98%;
  --foreground: 226 31% 14%;
  --primary: 260 84% 60%;
  --secondary: 188 78% 44%;
  --muted: 225 14% 45%;
  --destructive: 0 78% 58%;
  --border: 224 20% 88%;
  --card: 0 0% 100%;
  --shadow-sm: 0 10px 24px -18px hsl(226 31% 14% / 0.28);
  --shadow-md: 0 18px 40px -20px hsl(260 84% 30% / 0.35);
  --shadow-lg: 0 32px 80px -28px hsl(226 31% 14% / 0.36);
  --transition-fast: 160ms ease;
  --transition-smooth: 280ms cubic-bezier(0.22, 1, 0.36, 1);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

.dark {
  --background: 225 22% 10%;
  --foreground: 220 30% 96%;
  --primary: 264 85% 68%;
  --secondary: 188 72% 52%;
  --muted: 224 14% 68%;
  --destructive: 0 78% 66%;
  --border: 223 18% 22%;
  --card: 224 20% 14%;
  --shadow-sm: 0 12px 28px -18px hsl(0 0% 0% / 0.48);
  --shadow-md: 0 18px 42px -24px hsl(264 85% 18% / 0.55);
  --shadow-lg: 0 36px 90px -36px hsl(0 0% 0% / 0.7);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

::selection {
  background: hsl(var(--primary) / 0.22);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}