:root {
  --background: 216 33% 97%;
  --foreground: 222 33% 14%;
  --primary: 203 88% 45%;
  --secondary: 168 62% 39%;
  --muted: 214 28% 92%;
  --destructive: 2 72% 55%;
  --border: 217 25% 84%;
  --card: 0 0% 100%;
  --shadow-sm: 0 8px 20px hsla(216, 40%, 10%, 0.06);
  --shadow-md: 0 18px 44px hsla(216, 42%, 12%, 0.12);
  --shadow-lg: 0 28px 68px hsla(216, 48%, 10%, 0.16);
  --transition-fast: 120ms ease;
  --transition-smooth: 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
  --radius-sm: 0.65rem;
  --radius-md: 1rem;
  --radius-lg: 1.4rem;
}

.dark {
  --background: 222 34% 9%;
  --foreground: 215 30% 93%;
  --primary: 199 92% 62%;
  --secondary: 168 60% 50%;
  --muted: 223 23% 15%;
  --destructive: 5 84% 63%;
  --border: 223 18% 22%;
  --card: 222 28% 12%;
  --shadow-sm: 0 10px 24px hsla(220, 55%, 3%, 0.32);
  --shadow-md: 0 20px 48px hsla(220, 55%, 3%, 0.4);
  --shadow-lg: 0 34px 84px hsla(220, 55%, 2%, 0.5);
}

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

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

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

::selection {
  background: hsl(var(--primary) / 0.22);
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}