:root {
  --background: 42 30% 97%;
  --foreground: 220 22% 15%;
  --primary: 20 88% 52%;
  --secondary: 186 72% 38%;
  --muted: 36 28% 92%;
  --destructive: 0 72% 54%;
  --border: 25 20% 84%;
  --card: 0 0% 100%;
  --shadow-sm: 0 8px 20px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 18px 44px rgba(15, 23, 42, 0.10);
  --shadow-lg: 0 28px 80px rgba(15, 23, 42, 0.14);
  --transition-fast: 180ms ease;
  --transition-smooth: 320ms cubic-bezier(0.22, 1, 0.36, 1);
  --radius-sm: 0.75rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
}

.dark {
  --background: 218 28% 10%;
  --foreground: 40 20% 95%;
  --primary: 22 92% 58%;
  --secondary: 186 74% 46%;
  --muted: 217 22% 16%;
  --destructive: 0 76% 62%;
  --border: 217 18% 24%;
  --card: 220 24% 13%;
  --shadow-sm: 0 8px 22px rgba(0, 0, 0, 0.24);
  --shadow-md: 0 18px 44px rgba(0, 0, 0, 0.34);
  --shadow-lg: 0 32px 90px rgba(0, 0, 0, 0.42);
}

* {
  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;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

.animate-enter {
  animation: fadeUp 500ms var(--transition-smooth) both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
