/* ============================================================
   Webify Component Library — Modern Reset
   Client-agnostic. Never edit per project.
   ============================================================ */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* clip (not hidden) contains the off-canvas mobile drawer without
     creating a scroll container — so the sticky header keeps working
     and there is no horizontal scroll in LTR or RTL. */
  overflow-x: clip;
}
body { overflow-x: clip; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  min-height: 100vh;
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

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

ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }

h1, h2, h3, h4 { line-height: var(--leading-tight); text-wrap: balance; }
p { text-wrap: pretty; }

:target { scroll-margin-top: calc(var(--header-h) + 1rem); }

:focus-visible {
  outline: 3px solid var(--brand-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

.visually-hidden {
  position: absolute !important;
  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;
  inset-inline-start: var(--space-md);
  inset-block-start: -100%;
  z-index: var(--z-toast);
  padding: var(--space-xs) var(--space-md);
  background: var(--brand-primary);
  color: var(--brand-on-primary);
  border-radius: var(--radius-md);
  transition: inset-block-start var(--transition-base);
}
.skip-link:focus { inset-block-start: var(--space-md); }
