/* ============================================================
   SWORN — Base / Reset
   Minimal, opinionated defaults so specimens & kits inherit the
   brand without per-file boilerplate. Not a full normalize.
   ============================================================ */

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: var(--leading-normal);
  font-weight: var(--weight-regular);
  color: var(--text-primary);
  background: var(--surface-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1;
}

h1, h2, h3, h4, h5, h6, p, figure { margin: 0; }

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

code, kbd, samp, pre {
  font-family: var(--font-mono);
  font-size: 0.9em;
  letter-spacing: var(--tracking-mono);
}

::selection { background: var(--clay-100); color: var(--ink-900); }

hr { border: none; border-top: var(--border-thin) solid var(--divider); margin: var(--space-6) 0; }

img, svg, video { display: block; max-width: 100%; }

/* Numeric alignment for protocol values & tables */
.tabular { font-variant-numeric: tabular-nums; }
