html {
  scroll-behavior: smooth;
}

body {
  min-width: 20rem;
  background: var(--color-surface);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
}

h1,
h2,
h3 {
  line-height: 1.15;
  text-wrap: balance;
}

h1 { font-size: clamp(2.3rem, 8vw, 4.75rem); }
h2 { font-size: clamp(1.75rem, 5vw, 2.8rem); }
h3 { font-size: 1.25rem; }

a { color: inherit; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 0.2rem solid var(--color-accent);
  outline-offset: 0.2rem;
}

::selection {
  background: #bde6e4;
}
