:root {
  --background: 30 33% 98%;
  --foreground: 0 0% 8%;
  --card: 0 0% 100%;
  --primary: 28 96% 52%;
  --secondary: 0 0% 8%;
  --muted: 30 20% 94%;
  --destructive: 0 74% 54%;
  --border: 24 18% 84%;
  --shadow-sm: 0 8px 20px hsla(0, 0%, 8%, 0.08);
  --shadow-md: 0 16px 40px hsla(0, 0%, 8%, 0.14);
  --shadow-lg: 0 24px 60px hsla(0, 0%, 8%, 0.18);
  --transition-fast: 180ms ease;
  --transition-smooth: 280ms cubic-bezier(0.22, 1, 0.36, 1);
  --radius-sm: 0.75rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --muted-foreground: 24 8% 38%;
}

.dark {
  --background: 0 0% 5%;
  --foreground: 30 18% 96%;
  --card: 0 0% 9%;
  --primary: 28 100% 56%;
  --secondary: 0 0% 92%;
  --muted: 0 0% 14%;
  --destructive: 0 80% 62%;
  --border: 0 0% 18%;
  --shadow-sm: 0 8px 20px hsla(0, 0%, 0%, 0.24);
  --shadow-md: 0 16px 40px hsla(0, 0%, 0%, 0.34);
  --shadow-lg: 0 24px 60px hsla(0, 0%, 0%, 0.44);
  --muted-foreground: 30 8% 72%;
}

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

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

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

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

@keyframes float-up {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

main {
  animation: float-up var(--transition-smooth);
}
