/* Pinnacle Pharmacy design tokens — the ONLY place raw color/scale values live.
   Palette carried over from the brand's existing pages (cardinal / warm stone / gold).
   CC-3 expands this file (self-hosted brand fonts, full type scale, contrast docs). */
:root {
  /* color roles */
  --color-primary: #9D2235;        /* cardinal */
  --color-primary-dark: #7A1A2A;
  --color-primary-deep: #5C1320;
  --color-accent: #C4A265;         /* gold */
  --color-accent-dark: #A8894D;
  --color-canvas: #F8F4EF;         /* warm stone canvas — the page ground, never pure white */
  --color-surface-gray: #ECEAE6;   /* warm gray band — varies the stone/cream rhythm */
  --color-surface: #FFFFFF;
  --color-surface-warm: #F5F0EB;
  --color-surface-cream: #F0EBE4;
  --color-border: #E0DAD2;
  --color-text: #333333;
  --color-text-soft: #555555;
  --color-text-inverse: #FFFFFF;
  --color-ink: #1C1917;
  --color-inverse-hairline: rgba(255, 255, 255, 0.15); /* hairline rules on dark surfaces */
  --color-inverse-veil: rgba(255, 255, 255, 0.12);     /* translucent hover fill on dark surfaces */

  /* type — self-hosted variable fonts (css/fonts.css) */
  --font-heading: 'Oswald', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif;
  --text-base: 1rem;
  --text-sm: 0.875rem;
  --text-lg: 1.125rem;
  --text-xl: 1.5rem;
  --text-2xl: 2rem;
  --text-3xl: 2.5rem;

  /* spacing / shape */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2.5rem;
  --space-6: 4rem;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-pill: 6px;              /* owner direction 2026-07-13: rounded-rects, not pills */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);

  /* focus + motion + layering */
  --focus-ring: 3px solid #1a6fd4;
  --focus-offset: 2px;
  --motion-fast: 150ms;
  --motion-reveal: 500ms;
  --z-header: 100;
  --z-action-bar: 90;
}
