:root {
  color-scheme: light;
  --paper: #f6f5ef;
  --ink: #1f2a26;
  --muted: #56635d;
  --green: #173e35;
  --lime: #d5ed91;
  --line: #dcded4;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 1.0625rem;
  line-height: 1.6;
}

.wrap {
  max-width: 40rem;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

header {
  background: var(--green);
  color: var(--paper);
  border-bottom: 4px solid var(--lime);
}

header .wrap {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
  font-size: 1.35rem;
  font-weight: 700;
}

header .brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: inherit;
  text-decoration: none;
}
header .brand:focus-visible { outline-color: var(--lime); }


main { padding-top: clamp(2.5rem, 9vh, 5rem); }

h1 {
  margin: 0 0 .75rem;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.25;
  text-wrap: balance;
}

.lead {
  max-width: 34rem;
  margin-bottom: 5.5rem;
  font-size: 1.15rem;
  color: var(--muted);
}

h2 {
  margin: 2rem 0 .5rem;
  font-size: 1rem;
  color: var(--green);
}

p { margin: 0 0 1rem; }

a { color: var(--green); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
@media (max-width: 480px) { h1 { font-size: 1.6rem; } }

a:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 2px; }

footer a { color: inherit; }

footer {
  margin-top: 3.5rem;
  padding-bottom: 2.5rem;
  color: var(--muted);
  font-size: .875rem;
}

footer::before {
  content: "";
  display: block;
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  padding: .75rem 1rem;
  background: var(--lime);
  color: var(--green);
}
.skip-link:focus { top: 1rem; }

.prose h1 { margin-bottom: .25rem; }
.prose .updated { color: var(--muted); font-size: .875rem; margin-bottom: 2rem; }
.prose h2 { margin-top: 2.25rem; }
.prose ul { margin: 0 0 1rem; padding-left: 1.25rem; }
.prose li { margin-bottom: .25rem; }
