/* Design tokens: serene porcelain canvas, deep plum ink, botanical sage & berry-plum accents */

:root {
  /* Surfaces */
  --bg-canvas: #f8f6fb;
  --bg-surface: #ffffff;
  --bg-subtle: #f3eff8;
  --bg-instruction: #f6f4fa;
  --bg-coach: #f5effa;
  --bg-sage: #edf5f1;
  --bg-rose: #fdf2f4;
  --bg-peach: #fdf3eb;

  /* Ink & borders (WCAG AA+ contrast) */
  --ink-primary: #251f33;
  --ink-secondary: #5a526b;
  --border-subtle: #e7e1ef;
  --border-strong: #d3c9e0;

  /* Brand & semantic accents */
  --accent-primary: #6e4388;
  --accent-primary-hover: #58336f;
  --accent-primary-soft: #efe6f6;
  --accent-coach: #593573;
  --accent-coach-border: #dfd0ec;
  --accent-sage: #246d52;
  --accent-sage-border: #c5dfd4;
  --accent-crimson: #9f233b;
  --accent-crimson-border: #e5b8c2;
  --accent-peach-ink: #8f4719;

  /* Typography: 1 versatile sans family, crisp 3-size scale */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --text-heading: 1.0625rem; /* 17px */
  --text-body: 0.9375rem;    /* 15px */
  --text-sm: 0.8125rem;      /* 13px */

  /* Radii & spacing */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 9999px;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;

  /* Elevation */
  --shadow-soft: 0 2px 10px rgb(37 31 51 / 0.05);
  --shadow-dialog: 0 18px 44px rgb(37 31 51 / 0.16);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 150ms;
  --dur-med: 210ms;
}
