:root {
  --background: 42 33% 98%;
  --foreground: 222 28% 14%;
  --primary: 258 84% 58%;
  --secondary: 163 63% 42%;
  --muted: 220 24% 93%;
  --destructive: 2 78% 57%;
  --border: 220 20% 86%;
  --card: 0 0% 100%;

  --shadow-sm: 0 10px 25px -18px hsla(258, 84%, 40%, 0.32);
  --shadow-md: 0 18px 40px -20px hsla(258, 84%, 38%, 0.38);
  --shadow-lg: 0 28px 70px -28px hsla(258, 84%, 30%, 0.45);

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

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

.dark {
  --background: 230 24% 10%;
  --foreground: 210 26% 96%;
  --primary: 264 88% 68%;
  --secondary: 167 72% 50%;
  --muted: 229 20% 18%;
  --destructive: 0 82% 63%;
  --border: 228 17% 24%;
  --card: 229 23% 13%;

  --shadow-sm: 0 10px 25px -18px hsla(264, 88%, 65%, 0.28);
  --shadow-md: 0 20px 50px -24px hsla(264, 88%, 65%, 0.36);
  --shadow-lg: 0 34px 80px -30px hsla(264, 88%, 65%, 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;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
}

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

button {
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid hsl(var(--primary));
  outline-offset: 2px;
}

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