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

html {
  min-width: 320px;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: var(--font-system);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

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

dl,
dd,
p,
h1 {
  margin: 0;
}

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