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

html, body { margin: 0; padding: 0; }

html {
  font-family: var(--font-family);
  font-size: 16px;
  color: var(--color-ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  background: var(--color-paper);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-body);
}

button, input {
  font: inherit;
  color: inherit;
  background: transparent;
  border: 0;
  margin: 0;
  padding: 0;
}

button { cursor: pointer; }

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

input:focus, button:focus, a:focus { outline: 0; }

:focus-visible {
  outline: 2px solid var(--color-ink);
  outline-offset: 3px;
}
