* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--blue);
  color: #fff;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

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

h1, h2, h3, h4, p, ol, ul {
  margin: 0;
  padding: 0;
}

ol, ul {
  list-style: none;
}

h1, h2, h3, h4 {
  font-weight: 500;
}

h2 {
  font-size: clamp(32px, 3.3vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

h3 {
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.012em;
}

address {
  font-style: normal;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 16px;
  top: 12px;
  z-index: 30;
  padding: 8px 14px;
  background: var(--ink);
  color: #fff;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 17px;
  }
}
