/* Design tokens: the only place colors, fonts and sizes are defined (design.md section 3).
   The Chrome extension keeps an exact copy (extension/tokens.css). Change a value here and in design.md together. */
:root {
  --c-primary: #C2552D;
  --c-primary-hover: #A8461F;
  --c-primary-active: #8E3A19;
  --c-on-primary: #FFFFFF;

  --c-bg: #FBF5EC;
  --c-surface: #FFFFFF;
  --c-surface-sunken: #F4EADB;
  --c-border: #EADFCE;

  --c-text: #2A1F17;
  --c-text-2: #6E5E50;

  --c-ok: #2F7D4F;      --c-ok-bg: #E6F2EA;
  --c-err: #B3261E;     --c-err-bg: #FBE9E7;
  --c-warn: #8A5A00;    --c-warn-bg: #FFF1D6;

  /* family member colors, in join order */
  --m1: #2E6F73; --m2: #B5651D; --m3: #7A4E9C; --m4: #3D6FB6; --m5: #A23E5A; --m6: #5B7F2A;

  --font: "Rubik", "Segoe UI", system-ui, sans-serif;
  --font-code: "JetBrains Mono", ui-monospace, Consolas, monospace;

  --t-h1: 24px; --t-h2: 18px; --t-body: 16px; --t-small: 14px;
  --t-code: 32px; --t-code-hero: 40px; --t-code-ext: 22px;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px;

  --r-btn: 12px; --r-card: 16px;
  --shadow: 0 1px 2px rgba(42,31,23,.06), 0 4px 16px rgba(42,31,23,.06);
  --focus: 0 0 0 3px #FBF5EC, 0 0 0 5px #C2552D;

  --ease: cubic-bezier(.2,.8,.2,1);
  --dur: 200ms;
}
