:root {
  --bg: #fbfbfa;
  --ink: #1e2326;
  --muted: #5c6468;
  --rule: #d9dedf;
  --teal: #1c8c87;
  --link: #15716d;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161c1e;
    --ink: #e6e9e9;
    --muted: #a3abae;
    --rule: #2b3538;
    --teal: #58c6c0;
    --link: #84d8d3;
  }
}

html { font-size: 17px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.page {
  max-width: 46rem;
  margin: 0 auto;
  padding: 5.5rem 1.25rem 4rem;
}

.masthead h1 {
  font-size: 2.6rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0 0 1.1rem;
}
.masthead .lede {
  font-size: 1.15rem;
  line-height: 1.45;
  max-width: 36rem;
  margin: 0;
}
.masthead .meta {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--muted);
  margin: 1.4rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.6rem;
}
.masthead::after {
  content: "";
  display: block;
  width: 3rem;
  height: 3px;
  background: var(--teal);
  margin: 2.5rem 0 3.25rem;
}

section {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  column-gap: 2rem;
  margin: 0 0 2.75rem;
}
section h2 {
  grid-column: 1;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.01em;
  margin: 0.4rem 0 0;
}
section > div { grid-column: 2; }
section p { margin: 0 0 1rem; }
section > div > p:last-child { margin-bottom: 0; }

.entry { margin: 0 0 1.75rem; }
.entry:last-child { margin-bottom: 0; }
.entry.compact { margin-bottom: 1.1rem; }
.entry .when {
  display: block;
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 0.15rem;
}
.entry h3 {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
}
.entry .org {
  color: var(--muted);
  margin: 0.1rem 0 0.5rem;
}
.entry.compact .org { margin-bottom: 0; }
.entry p + ul { margin-top: -0.4rem; }

ul {
  margin: 0.4rem 0 0;
  padding-left: 1.1rem;
}
li { margin: 0.3rem 0; }
li::marker { color: var(--teal); }
ul.plain { margin: 0; }

a {
  color: var(--link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}
a:hover { text-decoration-thickness: 2px; }
a:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 2px;
}

.colophon {
  margin-top: 4rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--muted);
}
.colophon p { margin: 0; }

@media (max-width: 40rem) {
  html { font-size: 16px; }
  .page { padding-top: 3.5rem; }
  .masthead h1 { font-size: 2.1rem; }
  section { grid-template-columns: 1fr; row-gap: 0.6rem; }
  section > div { grid-column: 1; }
}

@media print {
  html { font-size: 11pt; }
  body { background: #fff; color: #000; }
  .page { max-width: none; padding: 0; }
  a { color: #000; text-decoration: none; }
  .colophon { display: none; }
}
