:root {
  --background: 220 33% 98%;
  --foreground: 225 35% 12%;
  --primary: 255 86% 58%;
  --secondary: 174 78% 38%;
  --muted: 222 28% 93%;
  --muted-foreground: 224 15% 42%;
  --destructive: 352 78% 52%;
  --border: 224 22% 86%;
  --card: 0 0% 100%;
  --shadow-sm: 0 8px 20px hsl(225 35% 12% / 0.08);
  --shadow-md: 0 16px 40px hsl(225 35% 12% / 0.11);
  --shadow-lg: 0 24px 70px hsl(225 35% 12% / 0.16);
  --transition-fast: 150ms ease;
  --transition-smooth: 260ms cubic-bezier(0.22, 1, 0.36, 1);
  --radius-sm: 0.65rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
}

.dark {
  --background: 225 35% 8%;
  --foreground: 220 28% 96%;
  --primary: 258 90% 70%;
  --secondary: 174 72% 50%;
  --muted: 225 28% 16%;
  --muted-foreground: 220 16% 72%;
  --destructive: 352 82% 64%;
  --border: 225 24% 22%;
  --card: 225 32% 11%;
  --shadow-sm: 0 8px 20px hsl(0 0% 0% / 0.22);
  --shadow-md: 0 16px 40px hsl(0 0% 0% / 0.3);
  --shadow-lg: 0 24px 70px hsl(0 0% 0% / 0.38);
}

* { 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, a, input, textarea { transition: transform var(--transition-smooth), background-color var(--transition-fast), border-color var(--transition-fast), opacity var(--transition-fast), box-shadow var(--transition-fast); }
input, textarea { font-size: max(16px, 1rem); }
button:active, a:active { transform: scale(0.98); }
::selection { background: hsl(var(--primary) / 0.22); }
