/* Ledgr — Typography tokens
   The app uses Apple's system font (SF Pro) via .font(.system(size:weight:)).
   SF Pro is delivered through the `-apple-system` / `BlinkMacSystemFont` keywords
   (NOT a named webfont) — on Apple devices these resolve to SF Pro Text / Display
   natively; elsewhere they fall back to the platform system font. No @font-face by
   design — see README "Fonts" note. */
:root {
  --font-system: -apple-system, BlinkMacSystemFont, system-ui,
                 "Helvetica Neue", "Segoe UI", sans-serif;
  --font-rounded: ui-rounded, -apple-system, system-ui, sans-serif;

  /* Weights (SwiftUI Font.Weight) */
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;

  /* Type scale — every size is a literal .system(size:) used in the codebase */
  --text-balance: 28px;     /* Total Balance numeral */
  --text-hero: 30px;        /* Budget donut center numeral */
  --text-title-lg: 24px;    /* Jars "total set aside" */
  --text-nav-title: 17px;   /* summary numerals / nav large title weight */
  --text-headline: 16px;    /* section headers ("Recent Transactions") */
  --text-body: 15px;        /* row titles, list items */
  --text-subhead: 14px;     /* secondary rows, buttons */
  --text-callout: 13px;     /* captions, sublabels */
  --text-footnote: 12px;    /* meta, category names */
  --text-caption: 11px;     /* timestamps, pills */
  --text-caption2: 10px;    /* eyebrow labels (BALANCE) */

  /* Line heights */
  --leading-tight: 1.1;
  --leading-snug: 1.25;
  --leading-normal: 1.4;

  /* Tracking — eyebrow labels use small positive tracking */
  --tracking-eyebrow: 0.5px;
}
