/* Minimal modern reset */
*, *::before, *::after {
  box-sizing: border-box;
}

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

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

h1, h2, h3, h4 {
  font-size: inherit;
  font-weight: inherit;
}

ul[class], ol[class] {
  list-style: none;
  padding: 0;
}

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--color-purple, #7d6eb2);
  outline-offset: 2px;
}

/* Skip link — visible only when focused (keyboard access to <main>) */
.skip-link {
  position: absolute;
  top: -40px;
  left: 8px;
  z-index: 1000;
  background-color: var(--color-white, #fff);
  color: var(--color-text, #202020);
  padding: 8px 16px;
  border: 1px solid var(--color-border, #ddd);
}

.skip-link:focus {
  top: 8px;
}

@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;
  }
}
