* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-sans);
  line-height: 1.8;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(13, 125, 104, 0.07) 1px, transparent 1px),
    linear-gradient(180deg, rgba(13, 125, 104, 0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 80%);
}

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

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

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  line-height: 1.18;
  letter-spacing: 0;
}

h1 {
  font-size: 3.65rem;
  font-weight: 800;
}

h2 {
  font-size: 2.7rem;
  font-weight: 800;
}

h3 {
  font-size: 1.55rem;
  font-weight: 700;
}

input,
textarea,
button {
  font: inherit;
}

::selection {
  background: rgba(13, 125, 104, 0.2);
}

@media (max-width: 900px) {
  h1 {
    font-size: 3.2rem;
  }

  h2 {
    font-size: 2.25rem;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 1.85rem;
  }

  h3 {
    font-size: 1.28rem;
  }
}
