:root {
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif;
  --background: 42 33% 96%;
  --foreground: 160 22% 13%;
  --card: 0 0% 100%;
  --card-foreground: 160 22% 13%;
  --popover: 0 0% 100%;
  --popover-foreground: 160 22% 13%;
  --primary: 153 55% 32%;
  --primary-foreground: 0 0% 100%;
  --secondary: 35 55% 88%;
  --secondary-foreground: 160 22% 18%;
  --muted: 43 27% 90%;
  --muted-foreground: 160 9% 38%;
  --accent: 24 85% 56%;
  --accent-foreground: 0 0% 100%;
  --destructive: 0 72% 45%;
  --destructive-foreground: 0 0% 100%;
  --success: 145 58% 32%;
  --success-foreground: 0 0% 100%;
  --warning: 38 92% 45%;
  --warning-foreground: 35 60% 13%;
  --info: 206 74% 38%;
  --info-foreground: 0 0% 100%;
  --border: 42 20% 82%;
  --input: 42 20% 82%;
  --ring: 153 55% 32%;
  --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 16px 40px hsl(var(--primary) / 0.18);
  --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: 155 22% 8%;
  --foreground: 42 32% 92%;
  --card: 156 20% 12%;
  --card-foreground: 42 32% 92%;
  --popover: 156 20% 12%;
  --popover-foreground: 42 32% 92%;
  --primary: 151 48% 54%;
  --primary-foreground: 155 22% 8%;
  --secondary: 154 18% 18%;
  --secondary-foreground: 42 32% 92%;
  --muted: 154 16% 18%;
  --muted-foreground: 43 16% 72%;
  --accent: 24 82% 62%;
  --accent-foreground: 155 22% 8%;
  --destructive: 0 67% 58%;
  --destructive-foreground: 0 0% 100%;
  --success: 145 53% 52%;
  --success-foreground: 155 22% 8%;
  --warning: 40 90% 58%;
  --warning-foreground: 155 22% 8%;
  --info: 204 78% 64%;
  --info-foreground: 155 22% 8%;
  --border: 154 15% 25%;
  --input: 154 15% 25%;
  --ring: 151 48% 54%;
}

* { box-sizing: border-box; }
html { font-family: var(--font-sans); color-scheme: light; }
html.dark { color-scheme: dark; }
body { margin: 0; min-height: 100vh; }
button, input, select, textarea { font: inherit; }
button { min-height: 48px; }
.form-input { font-size: max(16px, 1rem); }
.app-shell { min-height: 100vh; padding-bottom: calc(5rem + env(safe-area-inset-bottom)); padding-top: env(safe-area-inset-top); }
.bottom-safe { padding-bottom: env(safe-area-inset-bottom); }
.card-radius { border-radius: var(--radius); }
.hero-orb { background: radial-gradient(circle at 30% 30%, hsl(var(--accent) / 0.28), transparent 34%), radial-gradient(circle at 72% 42%, hsl(var(--primary) / 0.22), transparent 38%), hsl(var(--card)); }
