:root {
  --background: 34 45% 96%;
  --foreground: 222 42% 12%;
  --primary: 344 78% 47%;
  --primary-foreground: 0 0% 100%;
  --secondary: 32 88% 58%;
  --secondary-foreground: 222 42% 12%;
  --muted: 31 22% 88%;
  --muted-foreground: 222 12% 42%;
  --destructive: 0 74% 52%;
  --destructive-foreground: 0 0% 100%;
  --border: 28 22% 82%;
  --card: 0 0% 100%;
  --shadow-sm: 0 4px 14px rgba(31, 24, 20, 0.08);
  --shadow-md: 0 16px 40px rgba(31, 24, 20, 0.12);
  --shadow-lg: 0 26px 70px rgba(31, 24, 20, 0.18);
  --transition-fast: 160ms ease;
  --transition-smooth: 260ms cubic-bezier(.2,.8,.2,1);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
}
.dark {
  --background: 222 38% 9%;
  --foreground: 34 45% 96%;
  --primary: 344 82% 62%;
  --primary-foreground: 0 0% 100%;
  --secondary: 32 88% 62%;
  --secondary-foreground: 222 42% 10%;
  --muted: 222 22% 17%;
  --muted-foreground: 34 20% 72%;
  --destructive: 0 78% 62%;
  --destructive-foreground: 0 0% 100%;
  --border: 222 20% 25%;
  --card: 222 30% 13%;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
input, select, textarea { font-size: max(16px, 1rem); }
.focus-ring:focus-visible { outline: 3px solid hsl(var(--secondary)); outline-offset: 2px; }
.glass-card { background: hsla(var(--card), .88); backdrop-filter: blur(18px); box-shadow: var(--shadow-md); }
.safe-bottom { padding-bottom: calc(0.75rem + env(safe-area-inset-bottom)); }
.safe-top { padding-top: env(safe-area-inset-top); }
