/* ============================================================
   OpsPal — Base element defaults
   Applies the tokens to bare HTML so specimens & kits inherit them.
   ============================================================ */

:root {
  color-scheme: light;
  font-family: var(--font-sans);
  line-height: var(--leading-body);
  background: var(--bg);
  color: var(--text);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  color: var(--text-heading);
  font-weight: var(--weight-bold);
  line-height: var(--leading-snug);
}
h1 { font-size: var(--text-display); letter-spacing: -0.01em; margin: 0.5rem 0 1rem; }
h2 { font-size: var(--text-h2); margin: 0 0 1rem; }
h3 { font-size: var(--text-h3); margin: 0 0 var(--space-heading); }

p { color: var(--muted); margin: 0 0 var(--space-stack); }

a { color: inherit; }

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

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
