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

html { font-size: var(--text-base); }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.5;
  color: var(--text-primary);
  background: var(--bg-base);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.5rem;
  line-height: 1.25;
  font-weight: 600;
}
h1 { font-size: var(--text-xl); }
h2 { font-size: var(--text-lg); }
h3 { font-size: var(--text-md); }

p  { margin: 0 0 1rem; }
a  { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

ul, ol { margin: 0; padding: 0; list-style: none; }

input, textarea, select, button { font: inherit; }

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

/* Utilities */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.hp { display: none !important; }
.text-muted   { color: var(--text-muted); font-size: var(--text-sm); }
.text-danger  { color: var(--danger); }
.text-secondary { color: var(--text-secondary); }
.monospace    { font-family: var(--font-mono); font-size: var(--text-sm); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
