/* ═══════════════════════════════════════════════════════════
   Modern CSS Reset
   ═══════════════════════════════════════════════════════════ */

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

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

body {
  min-height: 100dvh;
  line-height: var(--line-height-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

:where(ul, ol) {
  list-style: none;
}

:where(a) {
  color: inherit;
  text-decoration: none;
}

/* Remove default details/summary arrow handled by custom styles */
:where(details > summary) {
  list-style: none;
}
:where(details > summary)::-webkit-details-marker {
  display: none;
}

/* Anchor scroll offset for sticky header */
:target {
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

