:root {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: #172234;
  background: #fff;
  line-height: 1.65;
  font-synthesis: none;
  --blue: #174893;
  --muted: #4a5a70;
  --rule: #dbe3ee;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--blue); text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; }

.shell { width: min(100% - 2.5rem, 47rem); margin-inline: auto; }
.masthead, .footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem 1.5rem;
  padding-block: 1.1rem;
}
.masthead { border-bottom: 1px solid var(--rule); }
.wordmark { color: inherit; font-weight: 700; text-decoration: none; }
.masthead nav, .footer { font-size: 0.9375rem; }
main { padding-block: clamp(2.25rem, 8vw, 4.75rem); }
h1, h2 { line-height: 1.16; text-wrap: balance; }
h1 { font-size: clamp(2.45rem, 7vw, 4.25rem); letter-spacing: -0.055em; margin: 0 0 1.25rem; }
h2 { font-size: 1.375rem; letter-spacing: -0.025em; margin: 0 0 0.85rem; }
p { margin: 0 0 1rem; max-width: 69ch; }
.intro { color: var(--muted); font-size: 1.125rem; }
section { border-top: 1px solid var(--rule); margin-top: 2rem; padding-top: 1.5rem; }
section p:last-child { margin-bottom: 0; }
.primary {
  display: inline-block;
  background: var(--blue);
  color: white;
  border-radius: 0.35rem;
  padding: 0.55rem 0.9rem;
  margin-top: 0.3rem;
  font-weight: 600;
  text-decoration: none;
}
.primary:hover { background: #113a78; }
code { overflow-wrap: anywhere; }
.footer { color: var(--muted); border-top: 1px solid var(--rule); }
