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

html {
  overflow-x: hidden;
  background: var(--color-canvas);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  scroll-padding-top: calc(var(--topbar-height) + 16px);
  scroll-padding-bottom: calc(var(--mobile-nav-height) + 16px);
}

body {
  min-width: 280px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--color-canvas);
  font-size: 15px;
}

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

button, select, input, textarea, [tabindex] {
  scroll-margin-bottom: calc(var(--mobile-nav-height) + 18px);
}

button, select, input {
  min-height: 40px;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

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

h1, h2, h3, p, dl, dd, ul {
  margin-top: 0;
}

h1 {
  margin-bottom: 8px;
  font-size: 34px;
  font-weight: 720;
  line-height: 1.18;
}

h2 {
  font-size: 20px;
  line-height: 1.35;
}

h3 {
  font-size: 15px;
  line-height: 1.4;
}

small {
  font-size: 12px;
}

[hidden] {
  display: none !important;
}
