:root {
  color: #282b2e;
  background: #edf0f2;
  font: 16px/1.6 Arial, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.wrap { width: min(100% - 2 * clamp(18px, 5vw, 64px), 1080px); margin-inline: auto; }
.masthead { position: sticky; z-index: 1; top: 0; color: #fff; background: #45494e; }
.masthead .wrap, .footer .wrap { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 10px 25px; padding-block: 16px; }
.brand { font-size: 24px; font-weight: 700; letter-spacing: -.055em; text-decoration: none; }
.masthead nav, .footer address { display: flex; flex-wrap: wrap; gap: 8px 20px; font-style: normal; }
.document { padding-block: clamp(22px, 5vw, 64px); }
.document main { padding: clamp(20px, 5vw, 62px); border: 1px solid #d9dbde; border-radius: 14px; background: #fff; }
h1 { margin: 0 0 12px; color: #303438; font: 700 clamp(27px, 4vw, 48px)/1.1 Georgia, serif; overflow-wrap: anywhere; }
h2 { margin: 0 0 7px; font-size: clamp(18px, 2.2vw, 23px); line-height: 1.3; }
p { margin: 0; }
.date { margin-block: 0 23px; color: #50545a; font-size: 14px; }
.document section { padding-block: 17px; border-top: 1px solid #e2e3e5; scroll-margin-top: 120px; }
.document section p + p { margin-top: .65em; }
.document section p { max-width: 79ch; overflow-wrap: anywhere; }
.document-list { margin: 0; padding: 0; list-style: none; }
.document-list li { border-top: 1px solid #e2e3e5; }
.document-list a { display: block; padding-block: 11px; font-weight: 700; }
.footer { border-top: 1px solid #d9dbde; color: #303438; }
.footer a { overflow-wrap: anywhere; }
.back-top { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #a0a4a9; border-radius: 50%; background: #f5f5dc; font-size: 23px; text-decoration: none; }

@media (max-width: 520px) {
  .masthead nav { order: 1; flex-basis: 100%; }
  .footer .wrap { align-items: flex-start; flex-direction: column; }
  .document main { border-radius: 10px; }
}
