*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 32px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: var(--body) / 1.7 var(--sans);
  overflow-wrap: break-word;
}
button,
input {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
button:disabled {
  cursor: default;
}
::selection {
  background: rgba(var(--dot), 0.3);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.15;
}
h2 {
  font-size: var(--h2);
  letter-spacing: -0.045em;
}
h3 {
  font-size: 1.2rem;
  letter-spacing: -0.025em;
}
p {
  color: var(--muted);
}
button {
  border: 0;
}
small {
  font-size: 0.8125rem;
}
.mono {
  font-family: var(--mono);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
[hidden] {
  display: none !important;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  z-index: 100;
  padding: 12px 20px;
  background: var(--accent);
  color: var(--ink);
}
.skip-link:focus {
  transform: none;
}
.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
* {
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--bg);
}
::marker {
  color: var(--accent);
}
.text-link {
  position: relative;
  color: var(--text);
}
.text-link::after {
  content: "";
  position: absolute;
  inset: auto 0 -3px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-med) var(--ease-out);
}
.text-link:hover::after,
.text-link:focus-visible::after {
  transform: scaleX(1);
}
