*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  background-color: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.03em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  background-color: var(--color-paper);
  color: var(--color-ink);

}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 300;
  color: inherit;
  text-wrap: balance;
}

h1 {
  font-size: clamp(52px, 7.2vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(38px, 4.6vw, 64px);
  line-height: 1.04;
  letter-spacing: 0.01em;
}

h3 {
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.15;
  letter-spacing: 0.02em;
}

h4 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.03em;
}

p,
li,
dd {
  max-width: 66ch;
  text-wrap: pretty;
}

button,
input,
a,
summary {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.38;
}

a {
  text-decoration: none;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 2px solid var(--color-ink);
  outline-offset: 3px;
}

::selection {
  background-color: var(--color-ink);
  color: var(--color-paper);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 200;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  background-color: var(--color-ink);
  color: var(--color-paper);
  font-size: 14px;
  font-weight: 500;
}

.skip-link:focus {
  top: 16px;
}

.section-shell {
  max-width: var(--page-max-width);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
}
