:root {
  --background: 210 100% 99%;
  --foreground: 218 42% 14%;
  --primary: 214 92% 48%;
  --secondary: 210 90% 96%;
  --muted: 214 35% 93%;
  --destructive: 0 78% 58%;
  --border: 214 32% 86%;
  --card: 0 0% 100%;
  --muted-foreground: 220 18% 40%;

  --shadow-sm: 0 8px 24px hsla(214, 50%, 25%, 0.08);
  --shadow-md: 0 18px 40px hsla(214, 60%, 28%, 0.12);
  --shadow-lg: 0 28px 70px hsla(214, 70%, 24%, 0.18);

  --transition-fast: 180ms ease;
  --transition-smooth: 320ms cubic-bezier(0.22, 1, 0.36, 1);

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
}

.dark {
  --background: 220 35% 10%;
  --foreground: 210 40% 96%;
  --primary: 210 100% 64%;
  --secondary: 220 28% 16%;
  --muted: 220 22% 18%;
  --destructive: 0 75% 62%;
  --border: 220 20% 24%;
  --card: 220 30% 12%;
  --muted-foreground: 218 18% 72%;
}

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

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

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