/* ==========================================================================
   DESIGN TOKENS - CRYSTAL WEBSITE FRONTEND V3 (PRODUCTION-READY BASE)
   ========================================================================== */

:root {
  /* --- Colors --- */
  --color-bg: #faf7f2;
  --color-bg-alt: #f3ede3;
  --color-surface: #ffffff;
  --color-surface-soft: #f7f3eb;
  --color-surface-muted: #efe9de;

  /* Pastel Intention Card Backgrounds */
  --color-tint-sleep: #f1ecf5;
  --color-tint-love: #fbf0f2;
  --color-tint-protection: #edf3ec;
  --color-tint-beginner: #fcf4e8;
  --color-tint-focus: #edf5f7;

  /* Typography Colors */
  --color-text-primary: #2d2b27;
  --color-text-secondary: #68645b;
  --color-text-muted: #959085;
  --color-text-inverse: #ffffff;

  /* Brand Colors */
  --color-sage: #5f6b55;
  --color-sage-hover: #4e5845;
  --color-sage-dark: #414b39;
  --color-sage-soft: #e3e8de;
  --color-sage-tint: #f0f4ee;
  --color-sage-banner: #919c88;

  /* Gold & Warm Accents */
  --color-gold: #b89052;
  --color-gold-hover: #a27b3d;
  --color-gold-dark: #8e682e;
  --color-gold-soft: #f5edd9;
  --color-gold-tint: #fdfaf3;

  /* Borders & Dividers */
  --color-border: #e8e1d5;
  --color-border-light: #f2ece1;
  --color-border-dark: #d2c8b8;

  /* Status */
  --color-success: #637a5b;
  --color-warning: #bd863d;
  --color-error: #a85850;

  /* --- Typography --- */
  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Type Scale */
  --text-display: clamp(2.4rem, 4.8vw, 3.5rem);
  --text-h1: clamp(1.9rem, 3.6vw, 2.6rem);
  --text-h2: clamp(1.5rem, 2.6vw, 2.1rem);
  --text-h3: clamp(1.2rem, 1.8vw, 1.45rem);
  --text-h4: clamp(1.05rem, 1.2vw, 1.18rem);
  --text-body-lg: 1.125rem;
  --text-body: 0.9375rem;
  --text-body-sm: 0.8438rem;
  --text-meta: 0.75rem;
  --text-eyebrow: 0.6875rem;

  /* Line Heights */
  --leading-tight: 1.15;
  --leading-snug: 1.28;
  --leading-normal: 1.6;
  --leading-relaxed: 1.75;

  /* Letter Spacing */
  --tracking-tight: -0.015em;
  --tracking-normal: 0;
  --tracking-wide: 0.05em;
  --tracking-wider: 0.1em;
  --tracking-widest: 0.16em;

  /* --- Layout & Spacing --- */
  --container-max: 1240px;
  --container-narrow: 980px;
  --container-reading: 760px;
  --container-padding: clamp(1rem, 4vw, 2.5rem);

  --header-height: 76px;
  --header-height-mobile: 64px;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 80px;
  --space-10: 104px;

  /* --- Border Radius --- */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  /* --- Elevation & Transitions --- */
  --shadow-subtle: 0 2px 8px rgba(45, 43, 39, 0.04);
  --shadow-card: 0 4px 16px rgba(45, 43, 39, 0.06);
  --shadow-hover: 0 10px 28px rgba(45, 43, 39, 0.09);

  --transition-fast: 0.18s ease;
  --transition-normal: 0.28s cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --z-sticky: 100;
  --z-drawer: 200;
}
