:root {
  --background: 210 40% 98%;
  --foreground: 222 32% 14%;
  --primary: 211 88% 44%;
  --secondary: 168 52% 42%;
  --muted: 210 24% 92%;
  --destructive: 0 72% 52%;
  --border: 214 24% 84%;
  --card: 0 0% 100%;
  --shadow-sm: 0 8px 24px hsla(214, 40%, 20%, 0.06);
  --shadow-md: 0 16px 40px hsla(214, 40%, 20%, 0.1);
  --shadow-lg: 0 24px 60px hsla(214, 42%, 18%, 0.16);
  --transition-fast: 150ms ease;
  --transition-smooth: 250ms ease;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

.dark {
  --background: 222 30% 10%;
  --foreground: 210 30% 95%;
  --primary: 208 90% 58%;
  --secondary: 168 52% 50%;
  --muted: 221 22% 18%;
  --destructive: 0 70% 56%;
  --border: 218 18% 26%;
  --card: 222 24% 14%;
  --shadow-sm: 0 10px 24px hsla(0, 0%, 0%, 0.22);
  --shadow-md: 0 18px 38px hsla(0, 0%, 0%, 0.28);
  --shadow-lg: 0 30px 70px hsla(0, 0%, 0%, 0.36);
}

* {
  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:
    radial-gradient(circle at top right, hsla(211, 88%, 44%, 0.09), transparent 28%),
    radial-gradient(circle at bottom left, hsla(168, 52%, 42%, 0.1), transparent 30%),
    hsl(var(--background));
}

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

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

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

input:focus,
select:focus,
textarea:focus,
button:focus,
a:focus {
  outline: none;
  box-shadow: 0 0 0 3px hsla(211, 88%, 44%, 0.18);
}

.glass {
  background: linear-gradient(180deg, hsla(0, 0%, 100%, 0.8), hsla(0, 0%, 100%, 0.66));
  backdrop-filter: blur(14px);
}

.dark .glass {
  background: linear-gradient(180deg, hsla(222, 24%, 18%, 0.88), hsla(222, 24%, 14%, 0.76));
}

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

::-webkit-scrollbar-thumb {
  background: hsla(211, 88%, 44%, 0.25);
  border-radius: 999px;
}

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