:root {
  --background: 222 33% 97%;
  --foreground: 228 24% 14%;
  --primary: 259 85% 61%;
  --secondary: 206 62% 91%;
  --muted: 220 20% 93%;
  --destructive: 0 76% 56%;
  --border: 223 23% 84%;
  --card: 0 0% 100%;

  --shadow-sm: 0 6px 18px rgba(23, 23, 38, 0.06);
  --shadow-md: 0 14px 34px rgba(31, 28, 66, 0.1);
  --shadow-lg: 0 24px 60px rgba(31, 28, 66, 0.18);

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

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

.dark {
  --background: 228 24% 9%;
  --foreground: 220 20% 94%;
  --primary: 268 88% 68%;
  --secondary: 223 24% 18%;
  --muted: 225 18% 16%;
  --destructive: 0 80% 64%;
  --border: 224 17% 24%;
  --card: 228 22% 12%;

  --shadow-sm: 0 6px 18px rgba(0, 0, 0, 0.24);
  --shadow-md: 0 14px 34px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.42);
}

html, body, #root {
  min-height: 100%;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  transition: background-color var(--transition-smooth), color var(--transition-smooth);
}

textarea,
input,
button {
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: hsla(var(--primary), 0.22);
}
