:root {
  --background: 30 33% 98%;
  --foreground: 220 22% 16%;
  --primary: 14 89% 61%;
  --secondary: 24 32% 93%;
  --muted: 24 20% 90%;
  --destructive: 0 76% 58%;
  --border: 20 20% 86%;
  --card: 0 0% 100%;
  --shadow-sm: 0 6px 20px hsla(14, 70%, 30%, 0.08);
  --shadow-md: 0 14px 36px hsla(14, 70%, 30%, 0.12);
  --shadow-lg: 0 24px 70px hsla(14, 82%, 50%, 0.18);
  --transition-fast: 140ms ease;
  --transition-smooth: 240ms cubic-bezier(0.22, 1, 0.36, 1);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
}

.dark {
  --background: 228 22% 9%;
  --foreground: 28 28% 95%;
  --primary: 15 90% 64%;
  --secondary: 226 17% 16%;
  --muted: 225 16% 18%;
  --destructive: 0 78% 62%;
  --border: 227 15% 22%;
  --card: 228 21% 11%;
  --shadow-sm: 0 10px 24px hsla(0, 0%, 0%, 0.24);
  --shadow-md: 0 16px 44px hsla(0, 0%, 0%, 0.34);
  --shadow-lg: 0 28px 80px hsla(15, 90%, 60%, 0.2);
}

* {
  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;
}

button,
a,
input,
textarea,
select {
  transition: all var(--transition-fast);
}

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

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

textarea {
  resize: vertical;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}