:root {
  --background: 252 43% 97%;
  --foreground: 242 33% 12%;
  --primary: 258 83% 56%;
  --primary-foreground: 0 0% 100%;
  --secondary: 252 34% 91%;
  --secondary-foreground: 244 31% 18%;
  --muted: 250 22% 88%;
  --muted-foreground: 245 12% 43%;
  --destructive: 348 78% 50%;
  --destructive-foreground: 0 0% 100%;
  --border: 250 24% 83%;
  --card: 0 0% 100%;
  --shadow-sm: 0 6px 18px hsl(258 83% 18% / 0.08);
  --shadow-md: 0 14px 38px hsl(258 83% 18% / 0.12);
  --shadow-lg: 0 24px 70px hsl(258 83% 18% / 0.18);
  --transition-fast: 150ms ease;
  --transition-smooth: 280ms cubic-bezier(.2,.8,.2,1);
  --radius-sm: 0.75rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
}

.dark {
  --background: 244 34% 9%;
  --foreground: 252 33% 96%;
  --primary: 266 92% 70%;
  --primary-foreground: 244 34% 9%;
  --secondary: 245 24% 17%;
  --secondary-foreground: 252 33% 96%;
  --muted: 245 20% 22%;
  --muted-foreground: 250 15% 72%;
  --destructive: 350 88% 66%;
  --destructive-foreground: 244 34% 9%;
  --border: 245 22% 24%;
  --card: 244 30% 12%;
}

* { 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, textarea, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }

.hero-orb {
  background:
    radial-gradient(circle at 18% 20%, hsl(var(--primary) / 0.24), transparent 28%),
    radial-gradient(circle at 80% 10%, hsl(312 85% 64% / 0.18), transparent 24%),
    radial-gradient(circle at 60% 90%, hsl(186 90% 48% / 0.16), transparent 28%);
}

.checker {
  box-shadow: inset 0 0 0 1px hsl(var(--foreground) / 0.04);
}

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

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

@media (prefers-reduced-motion: reduce) {
  * {
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
  }
}