:root {
  --background: 36 40% 96%;
  --foreground: 220 26% 16%;
  --primary: 20 90% 58%;
  --primary-foreground: 36 100% 98%;
  --secondary: 144 34% 89%;
  --muted: 32 24% 91%;
  --muted-foreground: 220 12% 40%;
  --destructive: 3 78% 56%;
  --border: 30 22% 82%;
  --card: 0 0% 100%;

  --shadow-sm: 0 8px 20px rgba(34, 27, 18, 0.06);
  --shadow-md: 0 16px 40px rgba(34, 27, 18, 0.1);
  --shadow-lg: 0 22px 60px rgba(34, 27, 18, 0.14);

  --transition-fast: 180ms ease;
  --transition-smooth: 280ms cubic-bezier(0.22, 1, 0.36, 1);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

.dark {
  --background: 224 26% 10%;
  --foreground: 34 50% 96%;
  --primary: 20 92% 62%;
  --primary-foreground: 220 30% 10%;
  --secondary: 219 24% 18%;
  --muted: 223 20% 16%;
  --muted-foreground: 220 12% 68%;
  --destructive: 2 78% 62%;
  --border: 223 18% 24%;
  --card: 224 24% 12%;

  --shadow-sm: 0 8px 20px rgba(0, 0, 0, 0.24);
  --shadow-md: 0 16px 40px rgba(0, 0, 0, 0.34);
  --shadow-lg: 0 24px 70px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, hsla(var(--primary), 0.15), transparent 30%),
    radial-gradient(circle at top right, hsla(var(--secondary), 0.5), transparent 32%),
    hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

#root {
  min-height: 100vh;
}

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

input,
select,
button {
  font: inherit;
}

button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}