/* Yuni design tokens: from Brand Suite v1. Never hardcode hex in components. */
:root {
  /* brand */
  --yuni-blue: #2347C5;  --yuni-sky: #38BDF8;  --yuni-sun: #FFD60A;
  --yuni-teal: #10B981;  --yuni-teal-deep: #0E8A64;  --yuni-alert: #EF4444;
  /* neutrals */
  --ink: #0F172A;  --text: var(--ink);  --text-muted: #475569;  --text-faint: #64748B;
  --surface: #FFFFFF;  --surface-2: #F8FAFC;  --border: #E2E8F0;
  /* gradients */
  --grad-focus:  linear-gradient(135deg, #2347C5, #38BDF8);
  --grad-joy:    linear-gradient(135deg, #FFD60A, #FDE047);
  --grad-health: linear-gradient(135deg, #0E8A64, #10B981);
  /* shape, space, shadow */
  --radius-btn: 24px;  --radius-card: 20px;  --radius-phone: 36px;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-6: 24px; --space-8: 32px;
  --shadow-card: 0 8px 32px -16px rgba(0,0,0,.2);
  --shadow-cta:  0 8px 20px -8px var(--yuni-blue);
  /* type: self-host the font files in /fonts so it works offline */
  --font-display: 'Plus Jakarta Sans', 'Nunito', system-ui, sans-serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --safe-top: env(safe-area-inset-top, 0px);  --safe-bottom: env(safe-area-inset-bottom, 0px);
}
:root[data-theme="dark"] {
  --text: #F1F5F9;  --text-muted: #94A3B8;  --text-faint: #64748B;
  --surface: #0F172A;  --surface-2: #111C34;  --border: #1E293B;
  --shadow-card: 0 8px 32px -16px rgba(0,0,0,.6);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --text: #F1F5F9;  --text-muted: #94A3B8;  --text-faint: #64748B;
    --surface: #0F172A;  --surface-2: #111C34;  --border: #1E293B;
  }
}
