*,
*::before,
*::after {
  box-sizing: border-box;
}
body,
h1,
h2,
h3,
p {
  margin: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-height) + 20px);
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
summary {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
button {
  border: 0;
  color: inherit;
  cursor: pointer;
  background: none;
}
a {
  color: inherit;
  text-decoration: none;
}
input,
select {
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  min-height: 46px;
  padding: 10px 12px;
  font-size: 16px;
  width: 100%;
  min-width: 0;
}
select {
  padding-right: 28px;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
h1:focus,
main:focus {
  outline: none;
}
h1 {
  font-size: 32px;
  line-height: 1.25;
  font-weight: 650;
  letter-spacing: -1.1px;
  overflow-wrap: anywhere;
}
h2 {
  font-size: 16px;
  line-height: 1.5;
  font-weight: 600;
}
h3 {
  font-size: 14px;
  font-weight: 550;
}
.icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}
.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;
}
.skip-link {
  position: fixed;
  z-index: 200;
  top: 8px;
  left: 8px;
  padding: 12px;
  background: var(--accent);
  color: var(--accent-ink);
  transform: translateY(-150%);
  border-radius: 8px;
}
.skip-link:focus {
  transform: translateY(0);
}
.muted {
  color: var(--text-2);
}
.small {
  font-size: 12px;
}
.full-width {
  width: 100%;
}
body:has(dialog[open]) {
  overflow: hidden;
}
::selection {
  background: var(--accent);
  color: var(--accent-ink);
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
