/* Editor / document type scale · shared by every direction.
   The text editor is a core feature: this is the hierarchy a landlord sees
   while drafting an act, from H1 down to caption. Sizes & line-heights are
   shared; each direction renders them in its own --font-display / --font-body,
   so the hierarchy keeps the same rhythm while changing personality. */
:root {
  /* document headings (rendered in --font-display) */
  --doc-h1: 40px;   --doc-h1-lh: 1.08; /* @kind other */
  --doc-h2: 30px;   --doc-h2-lh: 1.15; /* @kind other */
  --doc-h3: 23px;   --doc-h3-lh: 1.25; /* @kind other */
  --doc-h4: 18px;   --doc-h4-lh: 1.35; /* @kind other */   /* rendered in --font-body, bold */

  /* body & inline (rendered in --font-body) */
  --doc-lead: 19px; --doc-lead-lh: 1.6; /* @kind other */
  --doc-body: 16px; --doc-body-lh: 1.72; /* @kind other */  /* generous for reading legal text */
  --doc-small: 13px; --doc-small-lh: 1.5; /* @kind other */
  --doc-caption: 12px;

  /* editor measure & rhythm */
  --doc-measure: 68ch;        /* max line length for comfortable reading */
  --doc-block-gap: 1em;       /* paragraph spacing */
  --doc-heading-gap: 1.5em;   /* space above a heading */
}
