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

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

body {
  font-family: var(--font-family-en);
  color: var(--color-text-primary);
  background: var(--color-bg-default);
  -webkit-font-smoothing: antialiased;
}

button {
  font-family: inherit;
}

img {
  max-width: 100%;
}

/* Ported from the original `styles/global.css` skip link. */
.skip-link {
  position: absolute;
  top: -3rem;
  left: 0.5rem;
  z-index: 2000;
  padding: 0.5rem 1rem;
  background: #0d6efd;
  color: #fff;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 700;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 0.5rem;
}

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