/* ============================================================
   UR-system — Base element defaults
   Minimal, opt-in resets that apply the token system globally.
   ============================================================ */

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

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

h1, h2, h3, h4 {
  font-family: var(--heading-font);
  color: var(--text-strong);
  font-weight: var(--heading-weight);
  line-height: var(--leading-snug);
  margin: 0;
}

/* Editorial serif display — opt in with .display */
.display {
  font-family: var(--display-font);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  line-height: var(--leading-tight);
  color: var(--text-strong);
}

code, kbd, samp, .mono {
  font-family: var(--code-font);
  font-feature-settings: "tnum" 1;
}

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

::selection { background: var(--green-200); color: var(--green-900); }
