:root {
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --background: 38 38% 96%;
  --foreground: 222 47% 11%;
  --card: 0 0% 100%;
  --card-foreground: 222 47% 11%;
  --popover: 0 0% 100%;
  --popover-foreground: 222 47% 11%;
  --primary: 16 88% 50%;
  --primary-foreground: 0 0% 100%;
  --secondary: 215 32% 17%;
  --secondary-foreground: 38 38% 96%;
  --muted: 38 24% 90%;
  --muted-foreground: 215 18% 36%;
  --accent: 172 62% 39%;
  --accent-foreground: 0 0% 100%;
  --destructive: 0 72% 47%;
  --destructive-foreground: 0 0% 100%;
  --success: 142 58% 34%;
  --success-foreground: 0 0% 100%;
  --warning: 37 92% 50%;
  --warning-foreground: 222 47% 11%;
  --info: 217 91% 54%;
  --info-foreground: 0 0% 100%;
  --border: 35 20% 82%;
  --input: 35 20% 82%;
  --ring: 16 88% 50%;
  --radius: 0.625rem;
  --shadow-sm: 0 1px 2px hsl(var(--foreground) / 0.05);
  --shadow-md: 0 4px 12px hsl(var(--foreground) / 0.08);
  --shadow-lg: 0 12px 32px hsl(var(--foreground) / 0.12);
  --shadow-elegant: 0 18px 48px hsl(var(--primary) / 0.22);
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.dark {
  --background: 222 47% 8%;
  --foreground: 38 38% 96%;
  --card: 222 40% 12%;
  --card-foreground: 38 38% 96%;
  --popover: 222 40% 12%;
  --popover-foreground: 38 38% 96%;
  --primary: 18 92% 58%;
  --primary-foreground: 222 47% 8%;
  --secondary: 38 20% 88%;
  --secondary-foreground: 222 47% 8%;
  --muted: 220 24% 18%;
  --muted-foreground: 38 18% 72%;
  --accent: 172 55% 47%;
  --accent-foreground: 222 47% 8%;
  --destructive: 0 76% 58%;
  --destructive-foreground: 0 0% 100%;
  --success: 142 55% 45%;
  --success-foreground: 222 47% 8%;
  --warning: 41 92% 58%;
  --warning-foreground: 222 47% 8%;
  --info: 217 91% 64%;
  --info-foreground: 222 47% 8%;
  --border: 220 22% 24%;
  --input: 220 22% 24%;
  --ring: 18 92% 58%;
}

* { box-sizing: border-box; }
html { font-family: var(--font-sans); background: hsl(var(--background)); color: hsl(var(--foreground)); }
body { margin: 0; min-height: 100vh; background: hsl(var(--background)); color: hsl(var(--foreground)); }
button, input, select, textarea { font: inherit; }
input, select, textarea { font-size: max(16px, 1rem); }
img { display: block; max-width: 100%; }
::selection { background: hsl(var(--primary) / 0.22); }
