:root {
  color-scheme: light;
  --bg: #fbfaf7;
  --fg: #191917;
  --muted: #6b6a64;
  --line: #e6e2da;
  --card: #ffffff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0 1.25rem 5rem;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 44rem; margin: 0 auto; }

header { padding: 4.5rem 0 0; }

.kicker {
  margin: 0 0 1rem;
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

h1 {
  margin: 0 0 .6rem;
  font-size: clamp(2rem, 6vw, 2.9rem);
  line-height: 1.1;
  letter-spacing: -.02em;
  font-weight: 650;
}

.lead {
  margin: 0 0 2.5rem;
  font-size: 1.15rem;
  color: #3a3a36;
  max-width: 34rem;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  padding: .9rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 2.5rem;
  font-size: .9rem;
}

nav a { color: var(--muted); text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { color: var(--fg); text-decoration: underline; }

section { margin: 0 0 2.75rem; }

h2 {
  margin: 0 0 .9rem;
  font-size: 1.05rem;
  letter-spacing: .01em;
  font-weight: 650;
}

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration-color: #b9b4a8; text-underline-offset: 2px; }
a:hover { text-decoration-color: var(--fg); }

ol.steps, ul.plain {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}

ol.steps li {
  counter-increment: step;
  position: relative;
  padding: 1rem 0 1rem 2.75rem;
  border-top: 1px solid var(--line);
}

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

ol.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 1rem;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: .78rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

ol.steps strong { display: block; font-weight: 600; margin-bottom: .15rem; }
ol.steps span { color: var(--muted); font-size: .95rem; }

ul.plain li {
  padding: .55rem 0 .55rem 1.4rem;
  position: relative;
  border-bottom: 1px solid var(--line);
}
ul.plain li:last-child { border-bottom: 0; }
ul.plain li::before {
  content: "";
  position: absolute;
  left: .2rem;
  top: 1.15rem;
  width: .42rem;
  height: .42rem;
  border-radius: 999px;
  background: var(--line);
}

ul.plain li.done::before { background: #4f7a4f; }
ul.plain li.open::before { background: #b8862b; }

.note {
  border-left: 2px solid var(--line);
  padding: .1rem 0 .1rem 1rem;
  color: var(--muted);
  font-size: .95rem;
}

.grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}

.grid div { background: var(--card); padding: 1rem 1.1rem; }
.grid dt { margin: 0 0 .2rem; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.grid dd { margin: 0; font-variant-numeric: tabular-nums; }

code {
  font: .88em/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
  background: #f1efe9;
  padding: .1rem .3rem;
  border-radius: 3px;
}

footer {
  margin-top: 3.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .88rem;
}

footer p { margin: 0 0 .4rem; }
