:root {
  --paper: #f3efe6;
  --ink: #111111;
  --muted: #4a4740;
  --rule: #111111;
  --serif: "Newsreader", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "IBM Plex Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.55;
  font-optical-sizing: auto;
}

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

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

a:hover { text-decoration-thickness: 2px; }

a:focus-visible,
.wordmark:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.4rem 0.7rem;
  z-index: 10;
}

.skip:focus { top: 0.75rem; }

.masthead {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  padding: 1.1rem 6vw 1rem;
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  background: var(--paper);
  z-index: 5;
}

.wordmark {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.nav {
  display: flex;
  gap: 1.25rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav a { text-decoration: none; }
.nav a:hover { text-decoration: underline; }

.hero {
  padding: 12vh 6vw 10vh;
  border-bottom: 1px solid var(--rule);
  max-width: 58rem;
}

.kicker {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 0.85rem;
  color: var(--muted);
}

h1 {
  font-size: clamp(3.4rem, 12vw, 7.4rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.03em;
  margin: 0 0 1.6rem;
}

.lede {
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  line-height: 1.35;
  max-width: 34rem;
  margin: 0;
}

.section {
  padding: 5.5rem 6vw;
  border-bottom: 1px solid var(--rule);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.2rem;
}

.section-head h2 {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
}

.prose {
  max-width: 38rem;
}

.prose p { margin: 0 0 1.1rem; }
.prose p:last-child { margin-bottom: 0; }

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  max-width: 48rem;
}

.steps li {
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  column-gap: 1.25rem;
  padding: 1.4rem 0;
  border-top: 1px solid var(--rule);
}

.steps li:last-child { border-bottom: 1px solid var(--rule); }

.steps li::before {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  content: counter(step);
  counter-increment: step;
}

.steps { counter-reset: step; }

.steps h3 {
  font-size: 1.25rem;
  font-weight: 500;
  margin: 0 0 0.35rem;
}

.steps p {
  margin: 0;
  color: var(--muted);
  grid-column: 2;
}

.steps h3 { grid-column: 2; }

.mail {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 500;
}

.note {
  color: var(--muted);
  font-size: 1rem;
}

.colophon {
  padding: 2rem 6vw 3rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.colophon p { margin: 0; }
.colophon a { text-decoration: none; }
.colophon a:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .masthead {
    flex-direction: column;
    align-items: flex-start;
    position: static;
  }
  .hero { padding-top: 8vh; }
  .steps li {
    grid-template-columns: 1fr;
  }
  .steps li::before { margin-bottom: 0.4rem; }
  .steps h3, .steps p { grid-column: 1; }
}

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

@media print {
  .masthead { position: static; }
  .nav, .skip { display: none; }
  body { background: #fff; font-size: 11pt; }
  a { text-decoration: none; }
  .section, .hero { padding: 1.4rem 0; border-color: #000; }
}
