/* Minimal shared reset — each option's styles.css carries the actual design system. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.reduced-motion { scroll-behavior: auto; }

body, h1, h2, h3, h4, p, figure, blockquote, dl, dd {
  margin: 0;
}

html, body { height: 100%; }
body { text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }

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

input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
a { color: inherit; text-decoration: none; }

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

/* Respect reduced-motion globally; components opt into extra motion only outside this */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 1000;
  background: #111;
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 4px;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 1rem; }
