/* ==========================================================================
   Supplements.bd: Design Tokens & CSS Custom Properties
   Aesthetic: Quiet Luxury, Clinical Authority, Editorial Whitespace
   ========================================================================== */

:root {
  /* --- Primary Color Palette --- */
  --sb-bg: #FAFAF8;                /* Warm Alabaster / Off-White */
  --sb-surface: #F2F1ED;           /* Soft Stone / Sand */
  --sb-surface-hover: #ECEAE4;     /* Elevated Surface */
  --sb-surface-subtle: #F6F5F2;    /* Ultra-light container */
  --sb-text: #141413;              /* Deep Charcoal (never pure black) */
  --sb-text-muted: #5C5B57;        /* Warm Slate */
  --sb-text-light: #8E8D88;        /* Hairline / Metadata text */
  --sb-accent: #1B3B2B;            /* Deep Botanical Forest Green */
  --sb-accent-hover: #12281D;      /* Deepened Botanical */
  --sb-accent-subtle: #EBF1ED;     /* Pale Sage Tint */
  --sb-border: #E5E4DF;            /* Hairline Subtle Border */
  --sb-border-dark: #D4D2CA;       /* Focused / Active Border */
  --sb-white: #FFFFFF;
  --sb-black: #0E0E0D;

  /* --- Feedback & Trust Colors --- */
  --sb-success: #1B5E38;
  --sb-success-bg: #EEF7F1;
  --sb-warning: #946800;
  --sb-badge-bg: #EAE8E2;

  /* --- Typography --- */
  --sb-font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --sb-font-editorial: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sb-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --sb-tracking-tight: -0.025em;
  --sb-tracking-editorial: -0.015em;
  --sb-tracking-caps: 0.08em;
  
  --sb-lh-tight: 1.15;
  --sb-lh-heading: 1.25;
  --sb-lh-body: 1.65;
  --sb-lh-editorial: 1.8;

  /* --- Spacing Scale --- */
  --sb-space-2xs: 4px;
  --sb-space-xs: 8px;
  --sb-space-sm: 12px;
  --sb-space-md: 16px;
  --sb-space-lg: 24px;
  --sb-space-xl: 32px;
  --sb-space-2xl: 48px;
  --sb-space-3xl: 64px;
  --sb-space-4xl: 96px;
  --sb-space-5xl: 128px;

  /* --- Section Rhythm Scale --- */
  --sb-section-gap: clamp(4rem, 7vw, 6.5rem);
  --sb-section-gap-compact: clamp(2.5rem, 4.5vw, 3.75rem);

  /* --- Layout & Dimensions --- */
  --sb-container-max: 1320px;
  --sb-container-content: 1120px;
  --sb-container-narrow: 840px;
  --sb-container-reading: 740px;
  --sb-gutter: 24px;
  --sb-header-height: 76px;
  --sb-pdp-nav-height: 52px;

  /* --- Borders & Radii --- */
  --sb-radius-xs: 2px;
  --sb-radius-sm: 4px;
  --sb-radius-md: 6px;
  --sb-radius-lg: 12px;
  --sb-radius-full: 9999px;

  /* --- Shadows & Elevations (Quiet & Non-Aggressive) --- */
  --sb-shadow-subtle: 0 1px 3px rgba(20, 20, 19, 0.04);
  --sb-shadow-card: 0 4px 20px rgba(20, 20, 19, 0.03);
  --sb-shadow-drawer: -8px 0 32px rgba(20, 20, 19, 0.08);
  --sb-shadow-dropdown: 0 12px 32px rgba(20, 20, 19, 0.08);

  /* --- Transitions --- */
  --sb-transition-fast: 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  --sb-transition-smooth: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --sb-transition-slow: 0.45s cubic-bezier(0.16, 1, 0.3, 1);

  /* --- Z-Indices --- */
  --sb-z-base: 1;
  --sb-z-nav-sticky: 80;
  --sb-z-header: 100;
  --sb-z-overlay: 150;
  --sb-z-drawer: 200;
  --sb-z-modal: 250;
}

