:root {
  --background: 213 45% 98%;
  --foreground: 222 32% 16%;
  --primary: 221 83% 56%;
  --secondary: 166 71% 37%;
  --muted: 214 35% 94%;
  --destructive: 0 74% 55%;
  --border: 215 28% 86%;
  --card: 0 0% 100%;

  --shadow-sm: 0 10px 30px hsla(222, 40%, 20%, 0.08);
  --shadow-md: 0 18px 42px hsla(222, 40%, 18%, 0.12);
  --shadow-lg: 0 24px 64px hsla(222, 50%, 14%, 0.18);

  --transition-fast: 120ms ease;
  --transition-smooth: 220ms cubic-bezier(0.2, 0.8, 0.2, 1);

  --radius-sm: 0.75rem;
  --radius-md: 1rem;
  --radius-lg: 1.75rem;
}

.dark {
  --background: 222 33% 10%;
  --foreground: 210 40% 96%;
  --primary: 217 91% 64%;
  --secondary: 166 70% 48%;
  --muted: 223 22% 16%;
  --destructive: 0 80% 63%;
  --border: 221 17% 24%;
  --card: 222 28% 13%;

  --shadow-sm: 0 14px 30px hsla(220, 60%, 2%, 0.24);
  --shadow-md: 0 22px 48px hsla(220, 60%, 2%, 0.34);
  --shadow-lg: 0 30px 78px hsla(220, 60%, 2%, 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;
}

button,
a,
input {
  transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-smooth), transform var(--transition-smooth);
}

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

input::placeholder {
  color: hsl(var(--foreground) / 0.45);
}

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

#root {
  min-height: 100vh;
}
