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

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, system-ui, -apple-system, sans-serif;
  font-size: 13px;
  line-height: 1.4;
  background: var(--bg);
  color: var(--fg);
  overflow: hidden;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 600;
}

h2 {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h3 {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 4px;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

canvas {
  display: block;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

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

.dim {
  color: var(--fg-dim);
}

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

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

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

.noscript {
  padding: 24px;
  color: var(--bad);
}
