/* ============================================
   LINUS — Design Tokens (Pastel Light Mode)
   Personal AI Assistant for Ruanna
   ============================================ */

:root {
  /* ---- Page ---- */
  --bg-primary: #FAFBFE;
  --bg-secondary: #F3F4F8;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F8F9FC;
  --bg-overlay: rgba(55, 65, 81, 0.3);

  /* ---- Pastel Card Backgrounds ---- */
  --bg-briefing: #F0EEFF;
  --bg-wallet: #EEFAF5;
  --bg-shopping: #FFF5EE;
  --bg-contacts: #EEF5FF;
  --bg-notes: #FFFCE8;
  --bg-email: #FFF0F5;
  --bg-weather: #E8F4FD;
  --bg-tasks-card: #F5F0FF;

  /* ---- Pastel Accents ---- */
  --accent-lavender: #8B7EC8;
  --accent-lavender-light: #C4BBE8;
  --accent-lavender-bg: #F0EEFF;
  --accent-mint: #5BAD8A;
  --accent-mint-light: #A3D9C0;
  --accent-mint-bg: #EEFAF5;
  --accent-peach: #E8956A;
  --accent-peach-light: #F5C4A8;
  --accent-peach-bg: #FFF5EE;
  --accent-sky: #5B9BD5;
  --accent-sky-light: #A8CCE8;
  --accent-sky-bg: #EEF5FF;
  --accent-yellow: #D4A843;
  --accent-yellow-light: #E8D48A;
  --accent-yellow-bg: #FFFCE8;
  --accent-rose: #D47B8A;
  --accent-rose-light: #E8B0BA;
  --accent-rose-bg: #FFF0F5;

  /* ---- Roles (context) ---- */
  --color-magnolia: #D47B8A;
  --color-magnolia-bg: #FFF0F5;
  --color-casa: #5BAD8A;
  --color-casa-bg: #EEFAF5;
  --color-doyou: #5B9BD5;
  --color-doyou-bg: #EEF5FF;

  /* ---- Status ---- */
  --color-danger: #E57373;
  --color-danger-bg: #FFF0F0;
  --color-warning: #E8A84D;
  --color-warning-bg: #FFF8EC;
  --color-success: #5BAD8A;
  --color-success-bg: #EEFAF5;

  /* ---- Text ---- */
  --color-text: #374151;
  --color-text-secondary: #6B7280;
  --color-text-muted: #9CA3AF;
  --color-text-inverse: #FFFFFF;

  /* ---- Borders ---- */
  --color-border: #E8EAF0;
  --color-border-light: #F0F1F5;

  /* ---- Linus Orb ---- */
  --color-linus-1: #B8A9C9;
  --color-linus-2: #7C9CBF;
  --color-linus-3: #A3D9C0;
  --color-linus-glow: rgba(184, 169, 201, 0.3);

  /* ---- Shadows ---- */
  --shadow-xs: 0 1px 2px rgba(55, 65, 81, 0.03);
  --shadow-sm: 0 1px 4px rgba(55, 65, 81, 0.05);
  --shadow-md: 0 2px 8px rgba(55, 65, 81, 0.06);
  --shadow-lg: 0 4px 16px rgba(55, 65, 81, 0.08);
  --shadow-xl: 0 8px 32px rgba(55, 65, 81, 0.1);
  --shadow-glow: 0 0 30px rgba(184, 169, 201, 0.2);
  --shadow-glow-active: 0 0 50px rgba(184, 169, 201, 0.4);

  /* ---- Radii ---- */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  /* ---- Typography ---- */
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --text-xs: 0.6875rem;    /* 11px */
  --text-sm: 0.8125rem;    /* 13px */
  --text-base: 0.875rem;   /* 14px */
  --text-md: 0.9375rem;    /* 15px */
  --text-lg: 1.0625rem;    /* 17px */
  --text-xl: 1.25rem;      /* 20px */
  --text-2xl: 1.625rem;    /* 26px */
  --text-3xl: 2rem;        /* 32px */

  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;

  --leading-tight: 1.2;
  --leading-normal: 1.5;
  --leading-relaxed: 1.65;

  /* ---- Spacing (4px base grid) ---- */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 12px;
  --space-lg: 16px;
  --space-xl: 20px;
  --space-2xl: 24px;
  --space-3xl: 32px;
  --space-4xl: 40px;
  --space-5xl: 48px;
  --space-6xl: 64px;

  /* ---- Layout ---- */
  --nav-height: 68px;
  --header-height: 56px;
  --container-max: 428px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --touch-target: 44px;

  /* ---- Transitions ---- */
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow: 400ms ease;
  --transition-spring: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* ---- Z-Index Scale ---- */
  --z-base: 1;
  --z-card: 10;
  --z-nav: 100;
  --z-linus: 200;
  --z-overlay: 300;
  --z-modal: 400;
  --z-toast: 500;
}
