* { box-sizing: border-box; }
body, figure, p, h1, h2, h3, dl, dd { margin: 0; }
html { background: var(--paper); color: var(--ink); font: 17px/1.5 var(--body-font); }
html, body { min-width: 0; }
img { display: block; width: 100%; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .26em; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
a:hover { text-decoration: underline; }
a, button, select { touch-action: manipulation; }
button, select { font: inherit; color: inherit; }
button, select { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
::selection { color: var(--action-text); background: var(--accent); }
.shell { width: min(100% - 2 * var(--gutter), var(--max-width)); margin-inline: auto; }
.sr-only, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.skip:focus { position: absolute; z-index: 3; top: 7px; left: 7px; background: var(--paper); padding: 12px; }
#main:focus { outline: none; }
section[id] { scroll-margin-top: 14px; }
.masthead-inner, .footer-inner {
  min-height: 71px; display: flex; align-items: center; justify-content: space-between; gap: 11px;
}
.masthead nav, .footer nav { display: flex; gap: clamp(12px,3.4vw,52px); align-items: center; }
.masthead nav a, .footer nav a {
  min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; font-weight: 650;
}
.masthead nav a:hover, .footer nav a:hover { text-decoration: underline; }
.logo { width: 241px; display: block; flex: 0 0 auto; }
.primary {
  display: inline-flex; min-height: 47px; width: max-content; align-items: center; justify-content: center;
  background: var(--accent); color: var(--action-text); border: 1px solid var(--action-border);
  text-decoration: none; font-weight: 700; padding: 8px 18px;
}
.primary:hover { text-decoration: underline; }
.footer-logo { display: flex; gap: 8px; align-items: center; text-decoration: none; font-weight: 700; }
.footer-logo img { width: 36px; height: 36px; object-fit: contain; }
@media (max-width: 680px) {
  .masthead-inner, .footer-inner { min-height: 59px; gap: 8px; }
  .masthead nav a, .footer nav a { font-size: .74rem; white-space: nowrap; }
  .logo { width: clamp(116px,32vw,166px); }
  .footer-logo { font-size: .84rem; }
  .footer-logo img { width: 29px; height: 29px; }
}
