:root {
  --bg: #faf8f4;
  --fg: #1c1b19;
  --muted: #6b675f;
  --rule: #e3dfd6;
  --accent: #a3412b;
  --serif: "Newsreader", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141412;
    --fg: #ebe7df;
    --muted: #9a958b;
    --rule: #2c2b28;
    --accent: #e07a5f;
  }
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--serif);
  font-size: 1.1875rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 36rem;
  margin: 0 auto;
  padding: clamp(3rem, 10vh, 7rem) 1.25rem 4rem;
}

.mono {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  color: var(--muted);
}

header { margin-bottom: 4.5rem; }

header > .mono { margin-bottom: 2rem; color: var(--fg); }

h1 {
  font-size: clamp(1.75rem, 5vw, 2.4rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
}

h1, h2, .big { text-wrap: balance; }

p, li { text-wrap: pretty; }

.lede { color: var(--muted); margin-bottom: 1.5rem; }

.meta { margin-bottom: 2rem; }

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

section p + p,
section p + ol,
section ol + p,
section ul + blockquote { margin-top: 1rem; }

h2 { font-weight: 400; margin-bottom: 1rem; }

ul, ol { list-style: none; }

ul li::before { content: "– "; color: var(--muted); }

html { scroll-behavior: smooth; }

section a:not(.cta) {
  color: var(--accent);
  text-underline-offset: 3px;
}

.steps { counter-reset: step; }

.steps li {
  counter-increment: step;
  position: relative;
  padding: 0.35rem 0 0.35rem 1.75rem;
}

.steps li::before {
  content: counter(step) ".";
  position: absolute;
  left: 0;
  top: 0.65rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--muted);
}

.note {
  margin-top: 1rem;
  color: var(--muted);
  font-style: italic;
}

.people {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.people li {
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 0.2rem 0.85rem;
  font-size: 1rem;
}

.people li::before { content: none; }

.people li.you { border-color: var(--accent); }

.people li.you .cta {
  border-bottom: 0;
  padding-bottom: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hosts {
  display: flex;
  gap: 2rem;
  margin-top: 1.25rem;
}

.hosts a { text-decoration: none; transition: opacity 0.15s; }

.hosts a:hover { opacity: 0.75; }

.hosts a:hover figcaption { color: var(--accent); }

.hosts figure { text-align: center; }

.hosts img {
  display: block;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--rule);
  margin-bottom: 0.5rem;
}

.hosts figcaption {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
}

.cta {
  display: inline-block;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: opacity 0.15s;
}

.cta:hover { opacity: 0.7; }

.closing .big {
  font-size: 1.6rem;
  line-height: 1.3;
  margin: 0.75rem 0 1.25rem;
}

footer {
  border-top: 1px solid var(--rule);
  padding-top: 2rem;
  text-transform: none;
}
