:root {
  --background: 220 24% 97%;
  --foreground: 224 32% 12%;
  --primary: 210 100% 52%;
  --secondary: 215 32% 92%;
  --muted: 216 20% 88%;
  --destructive: 0 78% 58%;
  --border: 217 24% 84%;
  --card: 0 0% 100%;
  --shadow-sm: 0 6px 18px hsla(222, 35%, 18%, 0.08);
  --shadow-md: 0 14px 36px hsla(222, 35%, 18%, 0.12);
  --shadow-lg: 0 24px 70px hsla(222, 45%, 15%, 0.18);
  --transition-fast: 140ms ease;
  --transition-smooth: 240ms cubic-bezier(0.22, 1, 0.36, 1);
  --radius-sm: 0.5rem;
  --radius-md: 0.9rem;
  --radius-lg: 1.35rem;
}

.dark {
  --background: 224 30% 8%;
  --foreground: 210 40% 96%;
  --primary: 196 100% 56%;
  --secondary: 224 22% 16%;
  --muted: 224 18% 22%;
  --destructive: 0 82% 62%;
  --border: 224 18% 24%;
  --card: 224 28% 11%;
  --shadow-sm: 0 10px 24px hsla(220, 60%, 2%, 0.28);
  --shadow-md: 0 16px 44px hsla(220, 60%, 2%, 0.38);
  --shadow-lg: 0 30px 84px hsla(220, 60%, 2%, 0.5);
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
}

html.dark {
  color-scheme: dark;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

button,
input,
iframe {
  font: inherit;
}

button {
  cursor: pointer;
}

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

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

::-webkit-scrollbar-thumb {
  background: hsla(var(--foreground), 0.18);
  border-radius: 999px;
}

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