:root {
  --bg: #0a0a0a;
  --text: #f5f5f2;
  --muted: #b8b8b3;
  --line: #2a2a2a;
  --focus: #ffffff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 6rem; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-system, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  color: var(--bg);
  background: var(--text);
  padding: 0.5rem 0.75rem;
}
.skip-link:focus { top: 1rem; }

.site-header,
main,
footer {
  width: min(100% - 3rem, 56rem);
  margin-inline: auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: baseline;
  justify-content: space-between;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
main { padding-top: 5rem; }

.wordmark {
  color: var(--text);
  font-weight: 650;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
nav a, address a, .contact-link { color: var(--text); }
nav a { color: var(--muted); text-decoration: none; }
nav a:hover, nav a:focus-visible { color: var(--text); text-decoration: underline; }

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

.hero { padding: 6rem 0 5rem; }
.eyebrow {
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  margin: 0 0 1rem;
  text-transform: uppercase;
}
h1 {
  font-size: clamp(3rem, 12vw, 6rem);
  font-weight: 620;
  letter-spacing: -0.055em;
  line-height: 0.95;
  margin: 0;
}
.lede {
  font-size: clamp(1.45rem, 3.5vw, 2.1rem);
  line-height: 1.3;
  max-width: 42rem;
  margin: 2.5rem 0 1.5rem;
}
.hero-copy { color: var(--muted); max-width: 38rem; }
.contact-link { text-underline-offset: 0.25em; }

section:not(.hero) {
  border-top: 1px solid var(--line);
  padding: 3.5rem 0;
}
h2 {
  font-size: 1rem;
  letter-spacing: 0.12em;
  margin: 0 0 2rem;
  text-transform: uppercase;
}
h3 { font-size: 1.15rem; margin: 0 0 0.5rem; }
.item { max-width: 42rem; }
.item + .item { margin-top: 2.25rem; }
.item p, .steps p, #about p, #contact p { color: var(--muted); }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: steps; }
.steps li { counter-increment: steps; max-width: 42rem; }
.steps li + li { margin-top: 2.25rem; }
.steps h3::before {
  color: var(--muted);
  content: "0" counter(steps) " — ";
  font-weight: 400;
}

#about p { max-width: 42rem; }

address { font-style: normal; margin-top: 2rem; }
address p { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; margin: 0.75rem 0; }
address span { color: var(--muted); min-width: 4rem; }
address a { text-underline-offset: 0.25em; }

footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  padding: 2rem 0 3rem;
}

@media (max-width: 40rem) {
  .site-header, main, footer { width: min(100% - 2rem, 56rem); }
  .hero { padding: 4rem 0 3.5rem; }
  section:not(.hero) { padding: 2.75rem 0; }
}

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