:root {
  --background: 222 33% 98%;
  --foreground: 226 31% 14%;
  --primary: 244 84% 62%;
  --secondary: 225 35% 94%;
  --muted: 223 17% 88%;
  --destructive: 6 82% 58%;
  --border: 225 20% 84%;
  --card: 0 0% 100%;

  --shadow-sm: 0 8px 18px rgba(17, 24, 39, 0.06);
  --shadow-md: 0 16px 38px rgba(17, 24, 39, 0.10);
  --shadow-lg: 0 24px 64px rgba(17, 24, 39, 0.16);

  --transition-fast: 160ms ease;
  --transition-smooth: 280ms cubic-bezier(0.22, 1, 0.36, 1);

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
}

.dark {
  --background: 228 28% 9%;
  --foreground: 220 22% 94%;
  --primary: 247 88% 68%;
  --secondary: 229 20% 17%;
  --muted: 225 14% 24%;
  --destructive: 8 84% 64%;
  --border: 228 16% 24%;
  --card: 229 23% 12%;

  --shadow-sm: 0 8px 18px rgba(0, 0, 0, 0.24);
  --shadow-md: 0 16px 38px rgba(0, 0, 0, 0.32);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.42);
}

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

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

button,
input,
select {
  font: inherit;
}

::selection {
  background: hsla(var(--primary), 0.18);
}

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