:root {
  --background: 218 33% 98%;
  --foreground: 222 33% 12%;
  --primary: 257 84% 58%;
  --secondary: 188 78% 46%;
  --muted: 220 18% 90%;
  --destructive: 2 78% 56%;
  --border: 220 20% 84%;
  --card: 0 0% 100%;
  --shadow-sm: 0 6px 18px rgba(18, 24, 40, 0.06);
  --shadow-md: 0 14px 36px rgba(18, 24, 40, 0.12);
  --shadow-lg: 0 24px 64px rgba(18, 24, 40, 0.18);
  --transition-fast: 180ms ease;
  --transition-smooth: 320ms cubic-bezier(0.2, 0.8, 0.2, 1);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

.dark {
  --background: 224 30% 10%;
  --foreground: 220 20% 96%;
  --primary: 262 88% 68%;
  --secondary: 189 85% 56%;
  --muted: 224 16% 20%;
  --destructive: 2 80% 62%;
  --border: 225 15% 24%;
  --card: 226 24% 14%;
}

* {
  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));
}

button,
a,
input,
textarea {
  transition: all var(--transition-fast);
}

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

textarea,
input,
button {
  font: inherit;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}