:root {
  --background: 42 52% 94%;
  --foreground: 154 22% 18%;
  --primary: 137 24% 45%;
  --primary-foreground: 42 58% 96%;
  --secondary: 42 74% 67%;
  --secondary-foreground: 154 24% 18%;
  --muted: 78 24% 84%;
  --muted-foreground: 154 12% 38%;
  --destructive: 8 62% 56%;
  --destructive-foreground: 42 58% 96%;
  --border: 82 22% 78%;
  --card: 42 56% 98%;
  --shadow-sm: 0 6px 16px rgba(57, 82, 65, 0.08);
  --shadow-md: 0 12px 32px rgba(57, 82, 65, 0.12);
  --shadow-lg: 0 24px 60px rgba(57, 82, 65, 0.18);
  --transition-fast: 160ms ease;
  --transition-smooth: 320ms cubic-bezier(.2,.8,.2,1);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
}

.dark {
  --background: 154 20% 10%;
  --foreground: 42 48% 92%;
  --primary: 137 23% 63%;
  --primary-foreground: 154 24% 10%;
  --secondary: 42 62% 58%;
  --secondary-foreground: 154 24% 10%;
  --muted: 154 15% 18%;
  --muted-foreground: 42 24% 74%;
  --destructive: 8 62% 62%;
  --destructive-foreground: 154 24% 10%;
  --border: 154 14% 26%;
  --card: 154 18% 14%;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: hsl(var(--foreground));
  background:
    radial-gradient(circle at 15% 10%, hsla(var(--secondary), .28), transparent 28rem),
    radial-gradient(circle at 90% 20%, hsla(var(--primary), .18), transparent 24rem),
    hsl(var(--background));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button, a { -webkit-tap-highlight-color: transparent; }
.focus-ring:focus-visible {
  outline: 3px solid hsla(var(--secondary), .8);
  outline-offset: 3px;
}
.soft-card {
  background: hsla(var(--card), .88);
  border: 1px solid hsla(var(--border), .72);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(18px);
}
.lift {
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
}
.lift:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.breathe-orb {
  animation: breathe 6s ease-in-out infinite;
}
.float-gentle {
  animation: floatGentle 5s ease-in-out infinite;
}
.pulse-soft {
  animation: pulseSoft 2.8s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { transform: scale(.78); opacity: .72; }
  50% { transform: scale(1.08); opacity: 1; }
}
@keyframes floatGentle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes pulseSoft {
  0%, 100% { box-shadow: 0 0 0 0 hsla(var(--primary), .24); }
  50% { box-shadow: 0 0 0 14px hsla(var(--primary), 0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}