:root {
  color-scheme: light dark;
  --canvas: #f4f6f8;
  --surface: #ffffff;
  --text: #203337;
  --muted: #52676d;
  --accent: #17685f;
  --border: #d9e2e5;
  --focus: #2563c5;
  --selection: #e2f2ec;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  background: var(--canvas);
  color: var(--text);
}
body {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.65;
}
.wrap {
  width: min(100% - 2.5rem, 74ch);
  margin-inline: auto;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-block: 1rem;
  border-bottom: 1px solid var(--border);
}
a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  overflow-wrap: anywhere;
}
a:hover {
  text-decoration-thickness: 2px;
}
a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
  border-radius: 2px;
}
.brand {
  font-size: 1.4rem;
  font-weight: 750;
  color: var(--text);
  text-decoration: none;
}
nav {
  display: flex;
  gap: 0.25rem;
}
nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.4rem 0.65rem;
  text-decoration: none;
  font-size: 0.95rem;
}
nav a[aria-current='page'] {
  text-decoration: underline;
  font-weight: 650;
}
main {
  padding-block: 2.75rem 3rem;
}
h1 {
  max-width: 24ch;
  font-size: 2.3rem;
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin: 0 0 1.25rem;
  text-wrap: balance;
}
h2 {
  font-size: 1.3rem;
  line-height: 1.35;
  margin: 2.5rem 0 0.75rem;
}
p {
  margin: 0.8rem 0;
}
.lead {
  font-size: 1.2rem;
}
li {
  margin-block: 0.8rem;
  padding-inline-start: 0.25rem;
}
ul {
  padding-inline-start: 1.35rem;
}
.draft {
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin-block: 1.5rem;
  font-size: 0.95rem;
}
footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  padding-block: 1rem 2rem;
  font-size: 0.95rem;
}
footer a {
  display: inline-block;
  padding-block: 0.35rem;
}
.skip {
  position: absolute;
  left: 1rem;
  top: -8rem;
  background: var(--surface);
  padding: 0.65rem 1rem;
  z-index: 1;
}
.skip:focus {
  top: 1rem;
}
::selection {
  color: var(--text);
  background: var(--selection);
}
@media (max-width: 480px) {
  header {
    display: grid;
    gap: 0.35rem;
  }
  nav {
    justify-content: space-between;
  }
  nav a {
    padding-inline: 0.35rem;
  }
  main {
    padding-block-start: 1.8rem;
  }
  h1 {
    font-size: 1.9rem;
  }
}
@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #10191e;
    --surface: #19262c;
    --text: #e4edef;
    --muted: #b0c3cb;
    --accent: #92ddc6;
    --border: #354a54;
    --focus: #a7caff;
    --selection: #223e38;
  }
}
@media print {
  :root {
    --canvas: #fff;
    --surface: #fff;
    --text: #000;
    --muted: #333;
    --accent: #000;
    --border: #bbb;
  }
  header nav,
  .skip {
    display: none;
  }
  .wrap {
    width: 100%;
  }
  main {
    padding-block: 1rem;
  }
}
