:root {
  --background: 42 46% 96%;
  --foreground: 130 28% 12%;
  --primary: 136 48% 31%;
  --primary-foreground: 0 0% 100%;
  --secondary: 39 58% 88%;
  --secondary-foreground: 130 28% 12%;
  --muted: 42 24% 88%;
  --muted-foreground: 128 12% 38%;
  --destructive: 2 73% 48%;
  --destructive-foreground: 0 0% 100%;
  --border: 42 25% 80%;
  --card: 43 55% 98%;
  --accent: 29 83% 52%;
  --ring: 136 48% 31%;
  --shadow-sm: 0 6px 18px hsl(130 28% 12% / 0.08);
  --shadow-md: 0 14px 35px hsl(130 28% 12% / 0.12);
  --shadow-lg: 0 24px 70px hsl(130 28% 12% / 0.18);
  --transition-fast: 140ms ease;
  --transition-smooth: 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
  --radius-sm: 0.75rem;
  --radius-md: 1.1rem;
  --radius-lg: 1.6rem;
}

.dark {
  --background: 132 26% 9%;
  --foreground: 43 55% 94%;
  --primary: 136 48% 52%;
  --primary-foreground: 132 26% 9%;
  --secondary: 130 18% 18%;
  --secondary-foreground: 43 55% 94%;
  --muted: 130 18% 17%;
  --muted-foreground: 43 18% 72%;
  --destructive: 2 73% 58%;
  --destructive-foreground: 0 0% 100%;
  --border: 130 18% 24%;
  --card: 132 24% 12%;
  --accent: 29 83% 58%;
  --ring: 136 48% 52%;
  --shadow-sm: 0 6px 18px hsl(0 0% 0% / 0.22);
  --shadow-md: 0 14px 35px hsl(0 0% 0% / 0.32);
  --shadow-lg: 0 24px 70px hsl(0 0% 0% / 0.44);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

input,
select,
textarea {
  font-size: max(16px, 1rem);
}

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

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