/* ECCCC Sacramento — element defaults. Anything a page gets for free by linking styles.css. */
*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--surface-page);
  color: var(--text-primary);
  font: var(--type-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: var(--tracking-tight);
  color: var(--text-primary);
  text-wrap: balance;
}
h1 { font-size: var(--text-3xl); font-weight: var(--weight-black); line-height: var(--leading-tight); }
h2 { font-size: var(--text-2xl); font-weight: 800; line-height: var(--leading-snug); }
h3 { font-size: var(--text-xl); font-weight: var(--weight-bold); line-height: var(--leading-snug); }
h4 { font-size: var(--text-lg); font-weight: var(--weight-bold); line-height: var(--leading-snug); }
p { margin: 0 0 var(--space-4); max-width: var(--measure); text-wrap: pretty; }
a { color: var(--text-link); text-decoration-color: color-mix(in oklab, var(--text-link) 40%, transparent); text-decoration-thickness: 1.5px; text-underline-offset: 2px; transition: color var(--dur-fast) var(--ease-out); }
a:hover { color: var(--text-link-hover); text-decoration-color: currentColor; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--border-focus);
  outline-offset: 2px;
}
small { font-size: var(--text-xs); color: var(--text-secondary); }
code, kbd, samp { font: var(--type-mono); }
:lang(ti), :lang(am), .ethiopic { font-family: var(--font-ethiopic); }
hr { border: 0; border-top: var(--border-hair) solid var(--border-subtle); margin: var(--space-6) 0; }
::selection { background: var(--gold-200); color: var(--ink); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
