:root {
  --background: 222 43% 98%;
  --foreground: 225 33% 12%;
  --primary: 276 89% 61%;
  --secondary: 225 30% 93%;
  --muted: 225 22% 90%;
  --muted-foreground: 225 14% 40%;
  --destructive: 2 78% 56%;
  --border: 228 20% 84%;
  --card: 0 0% 100%;
  --shadow-sm: 0 8px 20px rgba(33, 28, 79, 0.08);
  --shadow-md: 0 16px 36px rgba(25, 24, 60, 0.14);
  --shadow-lg: 0 28px 70px rgba(20, 18, 54, 0.22);
  --transition-fast: 160ms ease;
  --transition-smooth: 280ms cubic-bezier(0.22, 1, 0.36, 1);
  --radius-sm: 0.6rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
}

.dark {
  --background: 230 29% 8%;
  --foreground: 220 25% 96%;
  --primary: 278 92% 68%;
  --secondary: 229 22% 16%;
  --muted: 228 18% 18%;
  --muted-foreground: 226 16% 68%;
  --destructive: 3 75% 58%;
  --border: 228 16% 24%;
  --card: 228 24% 11%;
  --shadow-sm: 0 10px 20px rgba(0, 0, 0, 0.24);
  --shadow-md: 0 18px 44px rgba(0, 0, 0, 0.34);
  --shadow-lg: 0 28px 90px rgba(0, 0, 0, 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:
    radial-gradient(circle at top, hsl(var(--primary) / 0.12), transparent 24%),
    hsl(var(--background));
  color: hsl(var(--foreground));
}

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

button {
  font: inherit;
}

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

#root {
  min-height: 100vh;
}

.tabular-nums {
  font-variant-numeric: tabular-nums;
}