:root {
  --background: 42 45% 96%;
  --foreground: 152 38% 12%;
  --primary: 145 58% 31%;
  --primary-foreground: 0 0% 100%;
  --secondary: 82 42% 76%;
  --secondary-foreground: 152 38% 12%;
  --muted: 88 25% 88%;
  --muted-foreground: 152 12% 38%;
  --destructive: 4 75% 48%;
  --destructive-foreground: 0 0% 100%;
  --border: 132 20% 78%;
  --card: 46 55% 98%;
  --shadow-sm: 0 6px 18px hsl(152 38% 12% / 0.08);
  --shadow-md: 0 14px 34px hsl(152 38% 12% / 0.12);
  --shadow-lg: 0 24px 70px hsl(152 38% 12% / 0.18);
  --transition-fast: 150ms ease;
  --transition-smooth: 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
  --radius-sm: 0.75rem;
  --radius-md: 1.15rem;
  --radius-lg: 1.75rem;
}

.dark {
  --background: 154 34% 8%;
  --foreground: 44 45% 94%;
  --primary: 142 62% 48%;
  --primary-foreground: 154 34% 8%;
  --secondary: 128 22% 22%;
  --secondary-foreground: 44 45% 94%;
  --muted: 150 23% 14%;
  --muted-foreground: 88 18% 74%;
  --destructive: 4 78% 58%;
  --destructive-foreground: 0 0% 100%;
  --border: 149 20% 24%;
  --card: 153 30% 11%;
  --shadow-sm: 0 6px 18px hsl(0 0% 0% / 0.18);
  --shadow-md: 0 14px 34px hsl(0 0% 0% / 0.24);
  --shadow-lg: 0 24px 70px hsl(0 0% 0% / 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 10% 10%, hsl(var(--secondary) / 0.35), transparent 28rem),
    radial-gradient(circle at 90% 5%, hsl(var(--primary) / 0.16), transparent 26rem),
    hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  text-decoration: none;
}

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

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

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

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
