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

body {
  min-width: 17.5rem;
  margin: 0;
  font-size: var(--body);
  line-height: 1.55;
}

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

button, summary {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

a {
  color: var(--accent);
  text-decoration-thickness: .08em;
  text-underline-offset: .18em;
}

a:hover {
  color: var(--accent-strong);
}

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

[tabindex="-1"]:focus:not(:focus-visible) {
  outline: none;
}

h1, h2, h3, h4, p, dl {
  margin: 0;
}

h1, h2, h3, h4 {
  line-height: 1.25;
}

h1 {
  font-size: clamp(1.95rem, 3.6vw, 2.65rem);
  font-weight: 720;
  letter-spacing: -.045em;
}

h2 {
  font-size: 1.1875rem;
  letter-spacing: -.02em;
}

h3 {
  font-size: 1rem;
}

dd {
  margin: 0;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 20;
  inset: var(--space-3) auto auto var(--space-3);
  padding: var(--space-2) var(--space-4);
  transform: translateY(calc(-100% - var(--space-4)));
  border-radius: var(--radius);
  background: var(--surface);
  font-weight: 650;
}

.skip-link:focus {
  transform: none;
}

.muted {
  color: var(--muted);
}
