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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  font-family: var(--ps-font-sans);
  color: var(--ps-text);
  background-color: var(--ps-surface);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button, input, select {
  font-family: inherit;
}

:focus-visible {
  outline: 2px solid var(--ps-primary);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  inset-inline-start: 16px;
  top: -60px;
  z-index: 999;
  background: var(--ps-navy);
  color: var(--ps-inverse);
  padding: 10px 16px;
  border-radius: var(--ps-radius-md);
  font-weight: 600;
  transition: top var(--ps-transition);
}

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

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