:root {
  color-scheme: light;
  --paper: #fcfcfb;
  --ink: #171716;
  --quiet: #8a8a84;
  --rule: #deded9;
  --focus: #2457d6;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

.page {
  width: min(100% - 48px, 680px);
  margin: 0 auto;
  padding: clamp(72px, 13vh, 136px) 0 96px;
}

.masthead {
  margin-bottom: clamp(96px, 18vh, 176px);
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.055em;
  line-height: 1.2;
  text-transform: lowercase;
}

section {
  padding: 22px 0 44px;
  border-top: 1px solid var(--rule);
}

section + section {
  margin-top: 44px;
}

h2 {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 450;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.empty-state {
  margin-top: 18px;
  color: var(--quiet);
  font-size: 14px;
  line-height: 1.5;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}

@media (max-width: 520px) {
  .page {
    width: min(100% - 32px, 680px);
    padding-top: 56px;
  }

  .masthead {
    margin-bottom: 104px;
  }

  section + section {
    margin-top: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
