:root {
  --background: 224 30% 98%;
  --foreground: 226 34% 14%;
  --card: 0 0% 100%;
  --primary: 257 84% 62%;
  --secondary: 190 82% 42%;
  --muted: 220 20% 94%;
  --destructive: 0 75% 56%;
  --border: 224 20% 86%;
  --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 18px 44px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 28px 64px rgba(15, 23, 42, 0.16);
  --transition-fast: 160ms ease;
  --transition-smooth: 260ms ease;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

.dark {
  --background: 227 32% 8%;
  --foreground: 220 20% 96%;
  --card: 226 30% 12%;
  --primary: 263 88% 68%;
  --secondary: 187 80% 48%;
  --muted: 226 18% 18%;
  --destructive: 0 78% 60%;
  --border: 224 18% 22%;
  --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.24);
  --shadow-md: 0 18px 44px rgba(0, 0, 0, 0.34);
  --shadow-lg: 0 28px 64px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

button,
textarea,
input {
  font: inherit;
}

textarea::placeholder,
input::placeholder {
  color: hsla(var(--foreground), 0.45);
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-thumb {
  background: hsla(var(--primary), 0.38);
  border-radius: 999px;
}

::-webkit-scrollbar-track {
  background: hsla(var(--muted), 0.4);
}

@keyframes pulse-soft {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 1;
  }
}

.animate-pulse-soft {
  animation: pulse-soft 1.1s ease-in-out infinite;
}