/* ============================================================
   Tocker — Base element defaults
   Minimal, token-driven. Sets the calm reading surface,
   focus treatment, and selection.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: var(--leading-normal);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Headings — navy, bold, tight tracking */
h1, h2, h3, h4 {
  margin: 0;
  font-weight: var(--weight-bold);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-tight);
  color: var(--text);
}

p { margin: 0; }

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover { color: var(--accent-hover); }

/* Tabular numerals everywhere times/durations appear */
.tnum { font-variant-numeric: tabular-nums; font-family: var(--font-mono); }

::selection {
  background: var(--signal-22);
  color: var(--text);
}

/* Visible, accessible focus — charter §4.3 */
:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
  border-radius: var(--radius-xs);
}
:focus:not(:focus-visible) { outline: none; }
