/* Work Being Digital Design System v1.4 — Color Grammar
   Chroma authority = Work Being logo.
   Neutral atmosphere + UI reference = evaluation.workbeing.com. */
:root {
  /* Canonical brand chroma */
  --wb-navy:#1B304F;
  --wb-blue:#415882;
  --wb-pink:#ED8C9D;
  --wb-red:#E54B49;
  --wb-teal:#4BABB9;
  --wb-orange:#E26633;
  --wb-yellow:#F3A630;

  /* Evaluation-derived neutral environment */
  --wb-canvas:#FBFAF8;
  --wb-sand:#F5F2EC;
  --wb-cream:#F9F7EA;
  --wb-paper:#FFFFFF;
  --wb-soft:#F8F7F3;
  --wb-line:#DEDAD2;
  --wb-control-boundary:#7F8793;
  --wb-ink:#1D2936;
  --wb-muted:#626C7F;

  /* Predictable tint ladder — never invent ad-hoc pastel hex values */
  --wb-navy-08:rgba(27,48,79,.08); --wb-navy-14:rgba(27,48,79,.14); --wb-navy-22:rgba(27,48,79,.22); --wb-navy-40:rgba(27,48,79,.40);
  /* Structural Navy opacity aliases retained for existing quiet borders/geometry. */
  --wb-navy-06:rgba(27,48,79,.06); --wb-navy-10:rgba(27,48,79,.10); --wb-navy-16:rgba(27,48,79,.16); --wb-navy-28:rgba(27,48,79,.28);
  --wb-blue-08:rgba(65,88,130,.08); --wb-blue-14:rgba(65,88,130,.14); --wb-blue-22:rgba(65,88,130,.22); --wb-blue-40:rgba(65,88,130,.40);
  --wb-teal-08:rgba(75,171,185,.08); --wb-teal-14:rgba(75,171,185,.14); --wb-teal-22:rgba(75,171,185,.22); --wb-teal-40:rgba(75,171,185,.40);
  --wb-pink-08:rgba(237,140,157,.08); --wb-pink-14:rgba(237,140,157,.14); --wb-pink-22:rgba(237,140,157,.22); --wb-pink-40:rgba(237,140,157,.40);
  --wb-orange-08:rgba(226,102,51,.08); --wb-orange-14:rgba(226,102,51,.14); --wb-orange-22:rgba(226,102,51,.22); --wb-orange-40:rgba(226,102,51,.40);
  --wb-yellow-08:rgba(243,166,48,.08); --wb-yellow-14:rgba(243,166,48,.14); --wb-yellow-22:rgba(243,166,48,.22); --wb-yellow-40:rgba(243,166,48,.40);
  --wb-red-08:rgba(229,75,73,.08); --wb-red-14:rgba(229,75,73,.14); --wb-red-22:rgba(229,75,73,.22); --wb-red-40:rgba(229,75,73,.40);

  /* Semantic aliases — colour communicates a stable expectation */
  --wb-sem-system:var(--wb-navy);
  --wb-sem-info:var(--wb-blue);
  --wb-sem-positive:var(--wb-teal);
  --wb-sem-reflection:var(--wb-pink);
  --wb-sem-action:var(--wb-orange);
  --wb-sem-attention:var(--wb-yellow);
  --wb-sem-critical:var(--wb-red);

  --wb-bg-system:var(--wb-navy-14);
  --wb-bg-info:var(--wb-blue-14);
  --wb-bg-positive:var(--wb-teal-14);
  --wb-bg-reflection:var(--wb-pink-14);
  --wb-bg-action:var(--wb-orange-14);
  --wb-bg-attention:var(--wb-yellow-14);
  --wb-bg-critical:var(--wb-red-14);

  /* Behaviour-state aliases */
  --wb-state-selected:var(--wb-navy);
  --wb-state-focus-keyline:var(--wb-navy);
  --wb-state-focus-halo:var(--wb-yellow);
  --wb-state-complete:var(--wb-teal);
  --wb-state-minimum:var(--wb-yellow);
  --wb-state-inactive:var(--wb-blue-08);
  --wb-mode-build:var(--wb-teal);
  --wb-mode-steady:var(--wb-blue);
  --wb-mode-protect:var(--wb-yellow);


  /* Professional role identity accents — equal micro-signals, never semantic states */
  --wb-role-consultant:#2F5D8C;
  --wb-role-advisor:#B7791F;
  --wb-role-coach:#2F7D68;
  --wb-role-therapist:#7A4E7B;

  /* Typography — Source Sans 3 is canonical in v1.4 */
  --wb-font-sans:"Source Sans 3","Source Sans Pro",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  --wb-font-weight-regular:400; --wb-font-weight-medium:500; --wb-font-weight-semibold:600; --wb-font-weight-bold:700;
  --wb-type-xs:.75rem; --wb-type-sm:.875rem; --wb-type-md:1rem; --wb-type-lg:1.125rem; --wb-type-xl:1.5rem; --wb-type-2xl:2rem; --wb-type-display:clamp(2.25rem,5vw,2.75rem);

  /* Spacing */
  --wb-space-1:.25rem; --wb-space-2:.5rem; --wb-space-3:.75rem; --wb-space-4:1rem; --wb-space-5:1.35rem; --wb-space-6:1.5rem; --wb-space-8:2rem; --wb-space-10:2.5rem; --wb-space-12:3rem; --wb-space-16:4rem; --wb-space-20:5rem;

  /* Geometry */
  --wb-radius-control:12px; --wb-radius-small:16px; --wb-radius-card:16px; --wb-radius-panel:22px; --wb-radius-shell:28px; --wb-radius-surface:var(--wb-radius-shell); --wb-radius-pill:999px;
  --wb-shadow-surface:0 18px 54px rgba(27,48,79,.075); --wb-shadow-hover:0 12px 28px rgba(27,48,79,.09);
  --wb-motion-fast:140ms; --wb-motion-base:200ms; --wb-ease:cubic-bezier(.2,.7,.2,1);
  --wb-width-focus:820px; --wb-width-app:1120px; --wb-gutter-mobile:16px; --wb-gutter-desktop:24px;
}
