* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

:where(
  a,
  button,
  summary,
  label,
  input,
  select,
  textarea,
  [role="button"],
  [tabindex]
) {
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  color: var(--sa-color-ink);
  background: var(--sa-color-surface);
  font-family: var(--sa-font-base);
  line-height: 1.5;
}

a {
  color: inherit;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
}
:where(a, button, input, select, textarea, summary):focus-visible {
  outline: var(--sa-focus-ring);
  outline-offset: 3px;
}

.sa-skip-link {
  position: absolute;
  z-index: 1000;
  transform: translateY(-120%);
  border-radius: var(--sa-radius-sm);
  padding: var(--sa-space-3) var(--sa-space-4);
  background: var(--sa-color-ink);
  color: var(--sa-color-surface);
  font-weight: 800;
}

.sa-skip-link:focus {
  transform: translateY(0);
}
