:root {
  color-scheme: light;
  --ink: #17324a;
  --muted: #536973;
  --page: #f7f3e9;
  --paper: #fffdf7;
  --line: #d6ded9;
  --sea: #dff3f2;
  --link: #8a382c;
  font:
    100%/1.65 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    system-ui,
    sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --ink: #f4f0e6;
    --muted: #b4c8c5;
    --page: #101c21;
    --paper: #192a30;
    --line: #3e5559;
    --sea: #1d3b42;
    --link: #ffc6ad;
  }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
}
a {
  color: var(--link);
  text-underline-offset: 0.2em;
}
a:hover {
  text-decoration-thickness: 0.15em;
}
a:focus-visible {
  outline: 3px solid var(--link);
  outline-offset: 4px;
  border-radius: 3px;
}
.shell {
  width: min(100% - 2.5rem, 72rem);
  margin-inline: auto;
}
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem 2rem;
  padding-block: 1rem;
}
.brand {
  display: inline-flex;
  gap: 0.7rem;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
  font-family: Georgia, serif;
  font-size: 1.5rem;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.85rem;
  background: #17324a;
  color: #f4c66b;
  font-size: 2rem;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1.25rem;
}
nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
}
nav a[aria-current="page"] {
  font-weight: 750;
  text-decoration-thickness: 0.15em;
}
.skip-link {
  position: absolute;
  z-index: 2;
  top: 0.75rem;
  left: 1rem;
  padding: 0.6rem 1rem;
  transform: translateY(-200%);
  background: var(--paper);
}
.skip-link:focus {
  transform: none;
}
main {
  max-width: 48rem;
  padding-block: clamp(2rem, 6vw, 5rem);
}
h1,
h2,
h3 {
  line-height: 1.15;
  text-wrap: balance;
}
h1 {
  margin: 0 0 1rem;
  font:
    400 clamp(2.5rem, 7vw, 4.5rem)/1.04 Georgia,
    serif;
  letter-spacing: -0.045em;
}
h2 {
  margin: 2.5rem 0 0.9rem;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}
h3 {
  margin: 1.6rem 0 0.6rem;
  font-size: 1.1rem;
}
p,
ul,
ol {
  margin: 0 0 1.15rem;
}
li + li {
  margin-top: 0.45rem;
}
.updated,
.muted {
  color: var(--muted);
}
.intro {
  font-size: 1.15rem;
}
.summary {
  margin-block: 1.8rem 2rem;
  padding: 1.25rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--sea);
}
.summary p:last-child,
.summary ul:last-child {
  margin-bottom: 0;
}
.contents {
  display: block;
  margin-block: 1.5rem 2rem;
}
.contents ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 0;
  list-style: none;
  gap: 0.25rem 1rem;
}
.contents li + li {
  margin: 0;
}
.contents a {
  min-height: 44px;
}
section[id] {
  scroll-margin-top: 1.5rem;
}
.contact {
  padding: 1.25rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--paper);
  overflow-wrap: anywhere;
}
.site-footer {
  border-top: 1px solid var(--line);
}
.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}
code {
  overflow-wrap: anywhere;
}
@media (max-width: 480px) {
  .shell {
    width: calc(100% - 2rem);
  }
  .header-inner {
    align-items: flex-start;
  }
  .header-inner nav {
    gap: 0 1rem;
  }
  .contents ul {
    grid-template-columns: 1fr;
  }
}
@media (prefers-contrast: more) {
  :root {
    --muted: var(--ink);
  }
  .summary,
  .contact {
    border-width: 2px;
  }
}
@media print {
  .site-header,
  .site-footer,
  .skip-link,
  .contents {
    display: none;
  }
  :root {
    color-scheme: light;
    --ink: #000;
    --muted: #333;
    --page: #fff;
    --paper: #fff;
    --link: #000;
  }
  main {
    max-width: none;
    padding: 0;
  }
}

.contact h2:first-child {
  margin-top: 0;
}
