* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

img,
svg {
  max-width: 100%;
  height: auto;
}

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

a:hover {
  color: var(--color-primary-2);
}

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

main {
  min-height: 60vh;
}

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

h1 {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 1.02;
  max-width: 11ch;
}

h2 {
  font-size: clamp(1.7rem, 3.2vw, 3rem);
  line-height: 1.12;
}

h3 {
  font-size: 1.12rem;
  line-height: 1.25;
}

p {
  color: var(--color-muted);
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--color-accent), white 20%);
  outline-offset: 3px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
