/* Parker Health — spacing, radii, borders, shadows, motion
   Generous bone whitespace is a brand principle: one idea per tile, text is
   the hero. The spacing scale is a soft 4px base with room to breathe. */

:root {
  /* ── Spacing scale (4px base) ───────────────────────────────── */
  --space-0: 0;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;

  /* ── Radii — soft, warm, never sharp ────────────────────────── */
  --radius-sm: 6px;      /* inputs, small controls */
  --radius-md: 10px;     /* buttons, swatches */
  --radius-lg: 14px;     /* cards, panels */
  --radius-xl: 20px;     /* large surfaces, dialogs */
  --radius-pill: 999px;  /* badges, tags, tier pills */

  /* ── Borders ────────────────────────────────────────────────── */
  --border-width: 1px;
  --border-hairline-style: 1px solid var(--hairline);
  --rule-accent: 2px;      /* the signature mauve title rule */
  --rule-accent-width: 34px;
  --rule-copper: var(--rule-accent);        /* legacy alias */
  --rule-copper-width: var(--rule-accent-width); /* legacy alias */

  /* ── Shadows — soft, cool-tinted, low; premium not glossy ───── */
  --shadow-xs: 0 1px 2px rgba(76, 79, 105, 0.06);
  --shadow-sm: 0 1px 3px rgba(76, 79, 105, 0.08), 0 1px 2px rgba(76, 79, 105, 0.06);
  --shadow-md: 0 2px 12px rgba(76, 79, 105, 0.10);
  --shadow-lg: 0 8px 30px rgba(76, 79, 105, 0.14);
  --shadow-inset: inset 0 1px 2px rgba(76, 79, 105, 0.08);

  /* ── Motion — calm, no bounce ───────────────────────────────── */
  --ease-standard: cubic-bezier(0.4, 0.1, 0.2, 1); /* @kind other */
  --ease-out: cubic-bezier(0.2, 0.6, 0.2, 1); /* @kind other */
  --duration-fast: 120ms; /* @kind other */
  --duration-base: 200ms; /* @kind other */
  --duration-slow: 320ms; /* @kind other */

  /* ── Focus ring ─────────────────────────────────────────────── */
  --focus-ring: 0 0 0 3px var(--copper-tint);
}
