:root {
  --background: 216 33% 97%;
  --foreground: 223 28% 15%;
  --primary: 260 83% 60%;
  --secondary: 169 74% 41%;
  --muted: 220 22% 92%;
  --destructive: 0 72% 56%;
  --border: 223 18% 84%;
  --card: 0 0% 100%;
  --shadow-sm: 0 10px 30px -18px hsla(223, 45%, 16%, 0.18);
  --shadow-md: 0 22px 45px -20px hsla(223, 50%, 14%, 0.22);
  --shadow-lg: 0 28px 80px -28px hsla(260, 70%, 36%, 0.42);
  --transition-fast: 180ms ease;
  --transition-smooth: 320ms cubic-bezier(0.22, 1, 0.36, 1);
  --radius-sm: 0.75rem;
  --radius-md: 1.1rem;
  --radius-lg: 1.6rem;
}

.dark {
  --background: 228 28% 10%;
  --foreground: 220 20% 94%;
  --primary: 264 90% 69%;
  --secondary: 171 73% 49%;
  --muted: 228 18% 18%;
  --destructive: 0 83% 68%;
  --border: 228 16% 24%;
  --card: 228 24% 13%;
  --shadow-sm: 0 10px 24px -18px hsla(220, 40%, 2%, 0.55);
  --shadow-md: 0 24px 48px -24px hsla(220, 50%, 2%, 0.64);
  --shadow-lg: 0 34px 90px -30px hsla(264, 90%, 60%, 0.4);
}

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

input,
select,
textarea,
button {
  font: inherit;
}

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

input::placeholder,
textarea::placeholder {
  color: hsl(var(--foreground) / 0.38);
}

::selection {
  background: hsl(var(--primary) / 0.2);
  color: hsl(var(--foreground));
}

::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}

::-webkit-scrollbar-thumb {
  background: hsl(var(--foreground) / 0.18);
  border-radius: 999px;
  border: 2px solid hsl(var(--background));
}

::-webkit-scrollbar-track {
  background: hsl(var(--background));
}
