:root {
  --background: 216 44% 97%;
  --foreground: 217 42% 14%;
  --primary: 218 63% 28%;
  --secondary: 155 24% 40%;
  --muted: 214 26% 90%;
  --destructive: 2 72% 52%;
  --border: 216 24% 82%;
  --card: 0 0% 100%;
  --shadow-sm: 0 8px 18px hsla(218, 63%, 18%, 0.06);
  --shadow-md: 0 18px 42px hsla(218, 63%, 18%, 0.10);
  --shadow-lg: 0 28px 60px hsla(218, 63%, 18%, 0.16);
  --transition-fast: 150ms ease;
  --transition-smooth: 250ms cubic-bezier(0.22, 1, 0.36, 1);
  --radius-sm: 0.55rem;
  --radius-md: 0.9rem;
  --radius-lg: 1.3rem;
}

.dark {
  --background: 220 46% 8%;
  --foreground: 210 30% 94%;
  --primary: 213 68% 72%;
  --secondary: 148 31% 66%;
  --muted: 220 26% 18%;
  --destructive: 4 84% 68%;
  --border: 218 20% 24%;
  --card: 221 34% 11%;
  --shadow-sm: 0 8px 18px hsla(220, 60%, 2%, 0.24);
  --shadow-md: 0 18px 42px hsla(220, 60%, 2%, 0.34);
  --shadow-lg: 0 28px 60px hsla(220, 60%, 2%, 0.44);
}

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

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

textarea {
  resize: vertical;
}

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

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

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