:root {
  /* Spacing Scale (strict 4px / 8px rhythm) */
  --space-3xs: 2px;
  --space-2xs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 72px;
  --space-4xl: 96px;

  /* Typography Scale */
  --text-xs: 0.8125rem;
  --text-sm: 0.875rem;
  --text-md: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.375rem;
  --text-2xl: 1.75rem;
  --text-3xl: 2.25rem;

  --text-display-s: clamp(2rem, 3.5vw + 0.5rem, 3rem);
  --text-display: clamp(2.5rem, 4.5vw + 0.5rem, 4.25rem);
  --text-section: clamp(1.875rem, 2.5vw + 0.5rem, 2.75rem);
  --text-title: clamp(1.25rem, 1vw + 0.875rem, 1.5rem);
  --text-lead: clamp(1.0625rem, 0.5vw + 0.95rem, 1.25rem);

  /* Motion & Interaction Tokens */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  
  --dur-micro: 140ms;
  --dur-short: 220ms;
  --dur-medium: 380ms;
  --dur-reveal: 520ms;
  --dur-long: 750ms;
  --dur-ambient: 18s;

  /* Layout Containers */
  --container: 1280px;
  --gutter: 32px;
  --gap-columns: 24px;
  --section-gap-s: 56px;
  --section-gap: 88px;
  --section-gap-l: 120px;

  /* Z-Index Hierarchy */
  --z-base: 1;
  --z-raised: 10;
  --z-sticky: 100;
  --z-dropdown: 200;
  --z-header: 300;
  --z-modal: 500;

  /* Futuristic Dose Palette */
  --color-paper: #F8F6EF;
  --color-paper-2: #FFFDF7;
  --color-paper-3: #F1EFE6;
  --color-paper-dark: #10231C;
  --color-paper-darker: #071A14;
  --color-forest: #071A14;
  --color-forest-surface: rgba(252, 251, 247, 0.06);
  --color-forest-border: rgba(218, 223, 213, 0.16);

  --color-ink: #10231C;
  --color-ink-2: #1E382E;
  --color-ink-light: #F8F6EF;
  --color-ink-white: #FCFBF7;
  --color-muted: #4A5D54;
  --color-muted-light: #7E9489;

  --color-surface-translucent: rgba(252, 251, 247, 0.08);
  --color-surface-translucent-light: rgba(252, 251, 247, 0.05);
  --color-text-translucent: rgba(252, 251, 247, 0.88);
  --color-text-translucent-high: rgba(252, 251, 247, 0.94);
  --color-dark-row: rgba(7, 26, 20, 0.65);

  --color-rule: #DADFD5;
  --color-rule-subtle: #E8ECE4;
  --color-rule-dark: rgba(218, 223, 213, 0.16);
  --color-grid-line: rgba(16, 35, 28, 0.05);
  --color-grid-line-dark: rgba(218, 223, 213, 0.07);

  /* Pharmacy Emerald (WCAG AA 5.6:1 against warm white/paper) */
  --color-accent: #067A4E;
  --color-accent-deep: #045F3D;
  --color-accent-hover: #045F3D;
  --color-accent-soft: #D9F3E5;
  --color-accent-ink: #FCFBF7;
  --color-accent-surface: #D9F3E5;
  --color-accent-translucent: rgba(6, 122, 78, 0.12);
  --color-accent-translucent-border: rgba(6, 122, 78, 0.35);
  --color-focus: #067A4E;
  --color-focus-dark: #34D399;
  --color-glow: rgba(6, 122, 78, 0.22);

  /* Dose Technical Plastic Tints & Borders */
  --p-thu: #D9F3E5; /* Mint */
  --p-tue: #F4EBC1; /* Warm Gold */
  --p-fri: #DFE5F7; /* Pale Lavender */
  --p-mon: #FDE8E1; /* Soft Peach */
  --p-wed: #E4F3D6; /* Soft Lime */
  --p-sat: #EDE7F6; /* Soft Violet */
  --p-sun: #FCE4EC; /* Soft Rose */

  --color-mint-border: #BCE2CE;
  --color-yellow-border: #E8D38A;
  --color-lavender-border: #C8D3EB;

  --light: #FCFBF7;
  --glint: rgba(252, 251, 247, 0.9);

  /* Typography: Hallmark Dose Specification */
  --font-display: "Schibsted Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "DM Mono", ui-monospace, SFMono-Regular, monospace;
  --font-outlier: "DM Mono", ui-monospace, SFMono-Regular, monospace;

  --tracking-display: -0.03em;
  --display-weight: 700;

  --radius-xs: 4px;
  --radius-input: 10px;
  --radius-card: 14px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --rule-hair: 1px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(16, 35, 28, 0.05);
  --shadow-card: 0 1px 2px rgba(16, 35, 28, 0.06), 0 16px 36px -16px rgba(6, 122, 78, 0.12);
  --shadow-lift: 0 1px 1px rgba(16, 35, 28, 0.08), 8px 18px 28px -14px rgba(16, 35, 28, 0.12), 18px 40px 60px -30px rgba(6, 122, 78, 0.18);
  --shadow-dark: 0 20px 48px rgba(7, 26, 20, 0.55);
  --shadow-glow: 0 0 32px -8px rgba(6, 122, 78, 0.35);
}
