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

html {
  background: var(--color-background);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-width: 20rem;
  height: 100dvh;
  margin: 0;
  overflow: hidden;

  background: var(--color-background);
  color: var(--color-text);

  font-family: var(--font-family);
  line-height: 1.5;

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button {
  color: inherit;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 0.1875rem solid var(--color-focus);
  outline-offset: 0.1875rem;
}

[hidden] {
  display: none !important;
}

noscript {
  display: block;
  padding: var(--space-4);
  text-align: center;
}
