/* turtlely's type rules, for the whole app (Sean, 2026-10-06 20:56: "both tutti and stones are super small text
   like its a secret. we need large text sizes for accessibility purposes. there should be text font and size
   rules associated with the app as a whole").
   The rules:
   1. Fraunces for every word. TurtlelyNum supplies only numerals and their related symbols, then falls through to
      Fraunces for all other characters. Both faces are self-hosted in fonts.css.
   2. No text under 18px, ever. Small print (a caption, a chip's note) is --t-xs; a control's label is --t-s; reading
      text is --t-body. Headings go up from --t-l.
   3. Every size is multiplied by --t-scale, which the reader sets (html[data-text="large"|"larger"], kept by
      type.js), so the whole app grows together and nothing is sized in fixed px outside this scale.
   4. Line height 1.45 for reading, 1.2 for headings; buttons at least 44px tall to tap. */
@import url('/turtleden/shared/fonts.css');

:root {
  --font-display: 'TurtlelyNum', 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-text: var(--font-display);
  --t-scale: 1;
  --t-xs: calc(18px * var(--t-scale));
  --t-s: calc(18px * var(--t-scale));
  --t-m: calc(18px * var(--t-scale));
  --t-body: calc(18px * var(--t-scale));
  --t-l: calc(20px * var(--t-scale));
  --t-xl: calc(24px * var(--t-scale));
  --t-2xl: calc(32px * var(--t-scale));
  --lh-read: 1.45;
  --lh-head: 1.2;
}
html[data-text="large"] { --t-scale: 1.15; }
html[data-text="larger"] { --t-scale: 1.3; }
