:root {
  --background: 44 80% 96%;
  --foreground: 247 35% 12%;
  --primary: 264 89% 58%;
  --primary-foreground: 0 0% 100%;
  --secondary: 173 74% 34%;
  --secondary-foreground: 0 0% 100%;
  --muted: 42 42% 89%;
  --muted-foreground: 247 12% 42%;
  --destructive: 356 78% 56%;
  --destructive-foreground: 0 0% 100%;
  --border: 42 28% 78%;
  --card: 0 0% 100%;
  --shadow-sm: 0 8px 20px hsl(247 35% 12% / 0.08);
  --shadow-md: 0 18px 45px hsl(247 35% 12% / 0.12);
  --shadow-lg: 0 28px 70px hsl(247 35% 12% / 0.18);
  --transition-fast: 150ms ease;
  --transition-smooth: 280ms cubic-bezier(.2,.8,.2,1);
  --radius-sm: 0.75rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
}

.dark {
  --background: 247 35% 8%;
  --foreground: 44 80% 96%;
  --primary: 268 94% 68%;
  --primary-foreground: 0 0% 100%;
  --secondary: 173 76% 48%;
  --secondary-foreground: 247 35% 8%;
  --muted: 247 24% 17%;
  --muted-foreground: 44 24% 70%;
  --destructive: 356 84% 64%;
  --destructive-foreground: 0 0% 100%;
  --border: 247 22% 24%;
  --card: 247 30% 12%;
  --shadow-sm: 0 8px 20px hsl(0 0% 0% / 0.20);
  --shadow-md: 0 18px 45px hsl(0 0% 0% / 0.30);
  --shadow-lg: 0 28px 70px hsl(0 0% 0% / 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

button, input, select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}