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

html {
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
  font-family: var(--font-sans);
  line-height: 1.5;
}

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--text);
}

button,
input,
select,
textarea {
  border-radius: 0;
  color: inherit;
  font: inherit;
}

button:not(:disabled),
[role="button"]:not(:disabled) {
  cursor: pointer;
}

button,
input,
select,
textarea {
  background: transparent;
  border: 0;
}

button:disabled,
input:disabled,
select:disabled,
textarea:disabled {
  cursor: not-allowed;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

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

table {
  border-collapse: collapse;
  border-color: inherit;
  text-indent: 0;
}

summary {
  display: list-item;
}

ol,
ul {
  margin: 0;
  padding: 0;
}

[data-instant] {
  transition: none !important;
}

.is-hidden {
  display: none !important;
}

.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;
}

.icon {
  flex-shrink: 0;
  height: 1rem;
  width: 1rem;
}

.icon--small {
  height: 0.875rem;
  width: 0.875rem;
}

.icon--medium {
  height: 1.25rem;
  width: 1.25rem;
}

.icon--large {
  height: 1.75rem;
  width: 1.75rem;
}

@media (min-width: 640px) {
  .icon--nav {
    height: 1.125rem;
    width: 1.125rem;
  }
}

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

.mono-text {
  font-family: var(--font-mono);
}

.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
