/* Reset, typography and shared primitives. */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(ellipse at 93% 10%, #eee9ff 0, transparent 29%), var(--paper);
  color: var(--ink);
  font: 16px/1.6 var(--font-body);
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}

img {
  max-width: 100%;
}

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

h1, h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1.08;
}

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

.wrap {
  max-width: var(--max-width);
  margin: auto;
  padding: 0 var(--gutter);
}

.section {
  padding: 100px 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}
