:root {
  --background: 210 40% 98%;
  --foreground: 223 30% 16%;
  --primary: 260 84% 58%;
  --secondary: 186 78% 39%;
  --muted: 220 26% 93%;
  --destructive: 2 78% 58%;
  --border: 221 23% 84%;
  --card: 0 0% 100%;
  --shadow-sm: 0 8px 20px hsl(223 30% 16% / 0.08);
  --shadow-md: 0 18px 40px hsl(223 30% 16% / 0.12);
  --shadow-lg: 0 28px 64px hsl(260 84% 38% / 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: 225 24% 10%;
  --foreground: 210 38% 95%;
  --primary: 264 88% 68%;
  --secondary: 186 72% 55%;
  --muted: 226 18% 18%;
  --destructive: 3 80% 64%;
  --border: 226 16% 24%;
  --card: 224 22% 13%;
  --shadow-sm: 0 8px 20px hsl(0 0% 0% / 0.22);
  --shadow-md: 0 18px 40px hsl(0 0% 0% / 0.3);
  --shadow-lg: 0 28px 64px hsl(264 88% 10% / 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

code,
pre {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

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

::-webkit-scrollbar-thumb {
  background: hsl(var(--border));
  border-radius: 999px;
}

::-webkit-scrollbar-track {
  background: transparent;
}