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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: var(--size-body);
  line-height: var(--line-copy);
  color: var(--color-ink);
  background:
    linear-gradient(180deg, rgba(27, 95, 209, 0.08), transparent 22rem),
    linear-gradient(90deg, rgba(17, 22, 29, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(17, 22, 29, 0.045) 1px, transparent 1px),
    var(--color-paper);
  background-size: auto, 7rem 7rem, 7rem 7rem, auto;
}

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

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
  overflow-wrap: anywhere;
}

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

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(27, 95, 209, 0.38);
  outline-offset: 3px;
}

code,
pre {
  font-family:
    "IBM Plex Mono", "SFMono-Regular", "SF Mono", Consolas, "Liberation Mono", monospace;
}

pre {
  overflow-x: auto;
}
