/* =============================================
   DESIGN TOKENS — Lonvital Creative Hub
   Palette: Teal-green medical + warm darks
   Font: Satoshi
============================================= */
:root, [data-theme="light"] {
  --color-bg:               #f4f6f4;
  --color-surface:          #f7f9f7;
  --color-surface-2:        #ffffff;
  --color-surface-offset:   #eef1ee;
  --color-surface-offset-2: #e8ece8;
  --color-surface-dynamic:  #dfe4df;
  --color-divider:          #d4dbd4;
  --color-border:           #c8d1c8;

  --color-text:             #1a2b1a;
  --color-text-muted:       #5a6e5a;
  --color-text-faint:       #9aab9a;
  --color-text-inverse:     #f4f9f4;

  --color-primary:          #0f7a5a;
  --color-primary-hover:    #0a5f44;
  --color-primary-active:   #08442e;
  --color-primary-highlight:#cce4d9;
  --color-primary-subtle:   #e8f4ef;

  --color-accent:           #1a9e6f;
  --color-accent-glow:      rgba(26,158,111,0.15);

  --color-success:          #2d8a3e;
  --color-success-bg:       #e6f4e8;
  --color-warning:          #c47a00;
  --color-warning-bg:       #fff3cc;
  --color-error:            #c43a3a;
  --color-error-bg:         #fde8e8;
  --color-info:             #0070bb;
  --color-info-bg:          #e0f0ff;

  --color-tiktok:           #ff2d55;
  --color-meta:             #0866ff;
  --color-google:           #34a853;
  --color-canva:            #7d2ae8;
  --color-echo:             #ff6b35;

  --radius-sm:   0.375rem;
  --radius-md:   0.5rem;
  --radius-lg:   0.75rem;
  --radius-xl:   1rem;
  --radius-2xl:  1.25rem;
  --radius-full: 9999px;

  --transition: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-sm: 0 1px 2px rgba(15,50,15,0.06);
  --shadow-md: 0 4px 12px rgba(15,50,15,0.08);
  --shadow-lg: 0 12px 32px rgba(15,50,15,0.12);

  --font-body: 'Satoshi', 'Inter', system-ui, sans-serif;

  --sidebar-w: 240px;
  --topbar-h:  56px;

  --text-xs:   clamp(0.75rem,   0.7rem   + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.8125rem, 0.75rem  + 0.25vw, 0.9375rem);
  --text-base: clamp(0.9375rem, 0.875rem + 0.25vw, 1rem);
  --text-lg:   clamp(1.0625rem, 1rem     + 0.5vw,  1.25rem);
  --text-xl:   clamp(1.25rem,   1.1rem   + 0.75vw, 1.5rem);

  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
}

[data-theme="dark"] {
  --color-bg:               #0f1410;
  --color-surface:          #141a15;
  --color-surface-2:        #1a211b;
  --color-surface-offset:   #1c2320;
  --color-surface-offset-2: #212b22;
  --color-surface-dynamic:  #2a362b;
  --color-divider:          #243025;
  --color-border:           #2e3d30;

  --color-text:             #cdd8cd;
  --color-text-muted:       #7a927a;
  --color-text-faint:       #4a5e4a;
  --color-text-inverse:     #1a2b1a;

  --color-primary:          #3dbb8a;
  --color-primary-hover:    #2ea070;
  --color-primary-active:   #1f8558;
  --color-primary-highlight:#1e3d2e;
  --color-primary-subtle:   #172e22;

  --color-accent:           #4dd4a0;
  --color-accent-glow:      rgba(77,212,160,0.12);

  --color-success:          #5cbf72;
  --color-success-bg:       #1a2e1c;
  --color-warning:          #e8a820;
  --color-warning-bg:       #2b2410;
  --color-error:            #e86060;
  --color-error-bg:         #2b1616;
  --color-info:             #5aabee;
  --color-info-bg:          #102030;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.25);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.35);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.45);
}
