/* ==========================================================================
   MOMSLY — DESIGN TOKENS
   Warm, calm, premium. Pink → purple. Built for exhausted moms at 3am.
   ========================================================================== */

:root {
  /* Brand palette */
  --color-primary: #F472B6;
  --color-primary-dark: #EC5AA3;
  --color-secondary: #A78BFA;
  --color-secondary-dark: #8F6FF0;
  --color-bg: #FFF9FC;
  --color-card: #FFFFFF;
  --color-accent: #FDE68A;
  --color-text: #1F2937;
  --color-subtext: #6B7280;
  --color-border: #F3E8FF;
  --color-success: #22C55E;
  --color-warning: #F59E0B;
  --color-danger: #EF4444;

  --gradient-brand: linear-gradient(135deg, #F472B6 0%, #A78BFA 100%);
  --gradient-soft: linear-gradient(135deg, rgba(244,114,182,0.12) 0%, rgba(167,139,250,0.12) 100%);
  --gradient-accent: linear-gradient(135deg, #FDE68A 0%, #F472B6 100%);

  /* Spacing scale */
  --space-2xs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;

  /* Radius */
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  /* Shadows — soft, diffused, never harsh */
  --shadow-sm: 0 2px 8px rgba(31, 41, 55, 0.04);
  --shadow-md: 0 8px 24px rgba(167, 139, 250, 0.12);
  --shadow-lg: 0 16px 40px rgba(167, 139, 250, 0.18);
  --shadow-glow: 0 0 0 4px rgba(244, 114, 182, 0.12);

  /* Typography */
  --font-display: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-script: 'Caveat', cursive;

  --fs-3xl: clamp(2rem, 5vw, 2.75rem);
  --fs-2xl: clamp(1.5rem, 4vw, 2rem);
  --fs-xl: 1.375rem;
  --fs-lg: 1.125rem;
  --fs-md: 1rem;
  --fs-sm: 0.875rem;
  --fs-xs: 0.75rem;

  /* Layout */
  --nav-height: 96px;
  --header-height: 64px;
  --max-width: 480px;

  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dark mode */
[data-theme="dark"] {
  --color-primary: #F472B6;
  --color-secondary: #A78BFA;
  --color-bg: #15121C;
  --color-card: #1E1A28;
  --color-accent: #FDE68A;
  --color-text: #F3EEFA;
  --color-subtext: #A79FBE;
  --color-border: #2E2739;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.45);
  --gradient-soft: linear-gradient(135deg, rgba(244,114,182,0.16) 0%, rgba(167,139,250,0.16) 100%);
}
