:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: #061854;
  background: #f6f7f9;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.wrap { width: min(1140px, calc(100% - 40px)); margin-inline: auto; }
header, footer { background: white; }
header { border-bottom: 3px solid #061854; }
header .wrap { padding-block: 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; }
header a.brand { display: inline-flex; align-items: center; min-height: 44px; }
header img { display: block; width: 156px; height: auto; }
header nav { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: .9375rem; }
header nav a { display: inline-flex; align-items: center; min-height: 44px; color: #061854; text-decoration: none; font-weight: 500; }
header nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
header nav a[aria-current="page"], footer a[aria-current="page"] { font-weight: 700; text-decoration: underline; text-decoration-color: #b8222c; text-decoration-thickness: 2px; text-underline-offset: 5px; }
main { flex: 1; padding: clamp(24px, 4.5vh, 48px) 16px; }
article {
  width: min(740px, 100%);
  margin-inline: auto;
  background: white;
  border: 1px solid #dce0e5;
  border-radius: 0.5rem;
  padding: clamp(24px, 5vw, 44px);
  color: #182335;
  line-height: 1.65;
}
article > :last-child { margin-bottom: 0; }
:where(article) h1 {
  color: #061854;
  font-size: clamp(1.65rem, 4vw, 2.2rem);
  line-height: 1.16;
  letter-spacing: -.02em;
  margin: 0 0 12px;
}
:where(article) h1::after { content: ""; display: block; width: 40px; height: 3px; margin: 14px 0 0; background: #b8222c; }
.meta { color: #4a5568; font-size: .875rem; margin: 0 0 24px; }
:where(article) h2 {
  color: #061854;
  font-size: 1.15rem;
  line-height: 1.3;
  margin: 30px 0 12px;
  padding-top: 22px;
  border-top: 1px solid #e6e9ee;
}
:where(article) h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 24px; }
:where(article) p { margin: 0 0 14px; overflow-wrap: break-word; }
:where(article) :is(ul, ol) { margin: 0 0 16px; padding-left: 22px; }
:where(article) li { margin-bottom: 8px; overflow-wrap: break-word; }
:where(article) li:last-child { margin-bottom: 0; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .92em;
  overflow-wrap: anywhere;
}
.callout {
  background: #f6f7f9;
  border: 1px solid #e6e9ee;
  border-left: 4px solid #061854;
  padding: 14px 18px;
  border-radius: 0 0.375rem 0.375rem 0;
  margin: 20px 0;
}
.callout p:last-child { margin-bottom: 0; }
article a { color: #1a649a; text-underline-offset: 3px; }
article a:hover { color: #061854; }
footer { border-top: 1px solid #dce0e5; font-size: .875rem; }
footer .wrap, footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0 24px; }
footer .wrap { justify-content: space-between; padding-block: 10px; }
footer a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 3px solid #1a649a; outline-offset: 3px; }
@media (max-width: 560px) {
  header .wrap { padding-block: 10px 6px; gap: 2px 16px; }
  header img { width: 132px; }
}
