/* Type scale (Jared, 2026-11-02): every body-text size comes from this short list, in rem so it still grows with the visitor's browser
   text size. Loaded LAST so it overrides the sizes in the older stylesheets without editing them (several are shared/generated files).
   Left out on purpose: display sizes (sites banner headings, arcade names and buttons, pixel-font front-page text). */
:root {
  --fs-title: 2rem;        /* lesson title (h1) */
  --fs-h2: 1.5rem;         /* lesson section headings and the closing bands */
  --fs-h3: 1.25rem;        /* sub-headings (Play to Practice), site title */
  --fs-body: 1rem;         /* body text, lists, problems, game text */
  --fs-small: 0.875rem;    /* captions, labels, footer, card text, descriptions */
  --fs-tiny: 0.6875rem;    /* card field/credit lines, banner footer */
}
.lesson h1 { font-size: var(--fs-title); }
.lesson-body h2 { font-size: var(--fs-h2); }
.site-title { font-size: var(--fs-h3); }

/* small */
.post-date, .category-breadcrumb, .category-count, .reading-kind, .site-footer, .handout-back, .unit-reading-list .reading-desc, .arcade-desc,
.video-embed figcaption, .lesson-body figure.diagram-fig figcaption, .lesson-body p:has(> img) + p em, .sci-card p { font-size: var(--fs-small); }
@media (max-width: 480px) { .sci-card p { font-size: var(--fs-small); } }

/* tiny */
.sci-field, .sci-credit, .sites-banner .sb-foot { font-size: var(--fs-tiny); }
