:root {
  --font-sans: Inter, ui-sans-serif, system-ui, sans-serif;
  --background: 214 40% 98%;
  --foreground: 222 47% 11%;
  --card: 0 0% 100%;
  --card-foreground: 222 47% 11%;
  --popover: 0 0% 100%;
  --popover-foreground: 222 47% 11%;
  --primary: 221 83% 53%;
  --primary-foreground: 210 40% 98%;
  --secondary: 210 40% 94%;
  --secondary-foreground: 222 47% 11%;
  --muted: 210 40% 92%;
  --muted-foreground: 215 16% 38%;
  --accent: 172 66% 45%;
  --accent-foreground: 222 47% 11%;
  --destructive: 0 72% 51%;
  --destructive-foreground: 210 40% 98%;
  --success: 142 71% 36%;
  --success-foreground: 210 40% 98%;
  --warning: 38 92% 50%;
  --warning-foreground: 222 47% 11%;
  --info: 199 89% 48%;
  --info-foreground: 210 40% 98%;
  --border: 214 32% 86%;
  --input: 214 32% 86%;
  --ring: 221 83% 53%;
  --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 48px 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: 222 47% 8%;
  --foreground: 210 40% 98%;
  --card: 222 47% 11%;
  --card-foreground: 210 40% 98%;
  --popover: 222 47% 10%;
  --popover-foreground: 210 40% 98%;
  --primary: 217 91% 60%;
  --primary-foreground: 222 47% 8%;
  --secondary: 217 33% 18%;
  --secondary-foreground: 210 40% 98%;
  --muted: 217 33% 17%;
  --muted-foreground: 215 20% 72%;
  --accent: 172 66% 50%;
  --accent-foreground: 222 47% 8%;
  --destructive: 0 72% 60%;
  --destructive-foreground: 222 47% 8%;
  --success: 142 71% 45%;
  --success-foreground: 222 47% 8%;
  --warning: 38 92% 56%;
  --warning-foreground: 222 47% 8%;
  --info: 199 89% 58%;
  --info-foreground: 222 47% 8%;
  --border: 217 33% 22%;
  --input: 217 33% 22%;
  --ring: 217 91% 60%;
}

* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; }
body {
  min-height: 100%;
  margin: 0;
  font-family: var(--font-sans);
  background: hsl(var(--background));
  color: hsl(var(--foreground));
}
button, input, textarea, select { font: inherit; }
input, textarea, select { font-size: max(16px, 1rem); }
.safe-bottom { padding-bottom: env(safe-area-inset-bottom); }
.hero-surface {
  background:
    radial-gradient(circle at top left, hsl(var(--primary) / 0.16), transparent 34rem),
    radial-gradient(circle at bottom right, hsl(var(--accent) / 0.16), transparent 30rem),
    hsl(var(--card));
}
.slide-canvas {
  background:
    linear-gradient(135deg, hsl(var(--primary) / 0.12), transparent 42%),
    linear-gradient(315deg, hsl(var(--accent) / 0.16), transparent 38%),
    hsl(var(--card));
}
