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

html,
body {
  min-height: 100%;
  margin: 0;
}

html {
  background: var(--color-coal);
}

body {
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--surface-page);
  position: relative;
  overflow-x: hidden;
}

body::before,
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  background-image: var(--noise-svg);
  background-size: 180px 180px;
  opacity: 0.25;
  mix-blend-mode: screen;
}

body::after {
  background: var(--surface-page-overlay);
}

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

button,
select {
  cursor: pointer;
}

a {
  color: inherit;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
a:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 2px;
}

input,
select,
button {
  border-radius: 0;
}

p,
ul,
h1,
h2,
h3 {
  margin: 0;
}

ul {
  padding-left: 0;
  list-style: none;
}

[hidden] {
  display: none !important;
}
