:root {
  --background: 180 33% 98%;
  --foreground: 190 45% 12%;
  --primary: 176 78% 34%;
  --primary-foreground: 0 0% 100%;
  --secondary: 28 96% 55%;
  --secondary-foreground: 0 0% 100%;
  --muted: 184 20% 91%;
  --muted-foreground: 190 18% 38%;
  --destructive: 0 78% 58%;
  --destructive-foreground: 0 0% 100%;
  --border: 184 22% 84%;
  --card: 0 0% 100%;
  --shadow-sm: 0 4px 14px rgba(16, 70, 70, 0.08);
  --shadow-md: 0 14px 34px rgba(16, 70, 70, 0.12);
  --shadow-lg: 0 24px 70px rgba(16, 70, 70, 0.18);
  --transition-fast: 160ms ease;
  --transition-smooth: 280ms cubic-bezier(.2,.8,.2,1);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
}
.dark {
  --background: 191 44% 8%;
  --foreground: 180 22% 94%;
  --primary: 174 75% 45%;
  --primary-foreground: 190 45% 8%;
  --secondary: 30 96% 59%;
  --secondary-foreground: 190 45% 8%;
  --muted: 190 30% 15%;
  --muted-foreground: 184 16% 72%;
  --destructive: 0 72% 62%;
  --destructive-foreground: 0 0% 100%;
  --border: 190 24% 22%;
  --card: 190 38% 11%;
}
* { 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;
}
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
input, select, textarea { font-size: max(16px, 1rem); }
.safe-bottom { padding-bottom: calc(86px + env(safe-area-inset-bottom)); }
.hero-grid {
  background-image: radial-gradient(circle at 20% 10%, hsl(var(--primary) / 0.18), transparent 28%), radial-gradient(circle at 90% 20%, hsl(var(--secondary) / 0.16), transparent 32%), linear-gradient(hsl(var(--border) / 0.45) 1px, transparent 1px), linear-gradient(90deg, hsl(var(--border) / 0.45) 1px, transparent 1px);
  background-size: auto, auto, 36px 36px, 36px 36px;
}
.card-hover { transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth); }
.card-hover:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.focus-ring:focus-visible { outline: 3px solid hsl(var(--secondary) / 0.55); outline-offset: 2px; }
