/* ===========================================================================
   RTKconnect — Base element defaults (opt-in via styles.css)
   Minimal, token-driven resets so specimen cards & kits share a baseline.
   =========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font: var(--role-body);
  color: var(--text-body);
  background: var(--surface-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  color: var(--text-strong);
  margin: 0;
  text-wrap: balance;
}
h1 { font: var(--role-h1); }
h2 { font: var(--role-h2); }
h3 { font: var(--role-h3); }

p { margin: 0; text-wrap: pretty; }

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

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

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

:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
  border-radius: var(--radius-sm);
}
