/* ============================================================
   FocusFlow — typography.css
   ============================================================ */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--color-text-dark);
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin: 0;
  font-weight: 600;
}

h1 { font-size: var(--text-3xl); font-weight: 700; }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-xl); }
h4 { font-size: var(--text-lg); }

p { margin: 0; letter-spacing: 0.01em; }

.text-xs { font-size: var(--text-xs); }
.text-sm { font-size: var(--text-sm); }
.text-lg { font-size: var(--text-lg); }
.text-xl { font-size: var(--text-xl); }
.text-2xl { font-size: var(--text-2xl); }
.text-3xl { font-size: var(--text-3xl); }
.text-4xl { font-size: var(--text-4xl); }

.font-display { font-family: var(--font-display); }
/* Digit displays — tabular figures, no slashed zero. */
.font-mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1, "zero" 0;
  letter-spacing: 0;
}

.text-muted { color: var(--color-text-muted); }
.text-dark { color: var(--color-text-dark); }
.weight-500 { font-weight: 500; }
.weight-600 { font-weight: 600; }
.weight-700 { font-weight: 700; }

/* Font size accessibility setting (Settings → Appearance) */
[data-fontsize="large"] { font-size: 17.5px; }
[data-fontsize="xlarge"] { font-size: 19px; }
