.document-container {
  width: min(100% - clamp(2.5rem, 8vw, 8rem), 76rem);
  margin-inline: auto;
}
.document-header {
  padding: clamp(7.5rem, 11vw, 10rem) 0 clamp(2.5rem, 5vw, 4.5rem);
  background: linear-gradient(155deg, #f7f7f7 18%, #e7f2f2 62%, #c0e3e4);
  border-radius: 0 0 clamp(1.5rem, 3vw, 3rem) clamp(1.5rem, 3vw, 3rem);
}
.document-header h1 {
  max-width: 26ch;
  color: #003436;
  font-size: clamp(2.125rem, 4.5vw, 3.5rem);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.15;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.document-header p {
  margin-top: 1rem;
  max-width: 68ch;
  color: #294e50;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.65;
}
.document-layout {
  display: grid;
  grid-template-columns: minmax(13.5rem, 18rem) minmax(0, 45rem);
  align-items: start;
  justify-content: space-between;
  gap: clamp(2rem, 6vw, 7rem);
  padding-block: clamp(3rem, 6vw, 6rem);
}
.document-index {
  position: sticky;
  top: 6rem;
  max-height: calc(100vh - 8rem);
  overflow: auto;
  border-block: 1px solid #b7d4d4;
  color: #003436;
}
.document-index summary {
  cursor: pointer;
  padding: .875rem 0;
  font-size: .9375rem;
  font-weight: 500;
}
.document-index ul, .document-links { list-style: none; margin: 0; padding: 0; }
.document-index ul { padding-bottom: .75rem; }
.document-index a {
  display: block;
  padding: .4rem .125rem;
  color: #285e60;
  text-decoration: none;
  font-size: .875rem;
  line-height: 1.5;
}
.document-index a:hover, .document-links a:hover { text-decoration: underline; }
.document-layout article { min-width: 0; color: #203b3d; overflow-wrap: anywhere; }
.document-layout article section + section {
  margin-top: clamp(1.8rem, 3vw, 2.75rem);
  padding-top: clamp(1.8rem, 3vw, 2.75rem);
  border-top: 1px solid #d8e6e6;
}
.document-layout h2 {
  margin: 0 0 .8rem;
  color: #003436;
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1.3;
}
.document-layout article p { font-size: 1rem; line-height: 1.8; }
.document-layout article p + p { margin-top: .8rem; }
.document-links { margin-top: .85rem; }
.document-links a { color: #1e6264; text-underline-offset: .2em; }

@media screen and (width > 800px) {
  .document-header { padding-bottom: var(--desktop-section-padding); }
  .document-layout { padding-block: var(--desktop-section-padding); }
  .document-layout article section + section {
    margin-top: var(--desktop-section-padding);
    padding-top: calc(var(--desktop-section-padding) - 1px);
  }
}
@media (max-width: 52rem) {
  .document-layout { grid-template-columns: minmax(0, 1fr); gap: var(--desktop-section-gap, 2rem); padding-top: 2rem; }
  .document-index { position: static; max-height: none; }
}
@media print {
  body > .nav, body > .footer, .document-index { display: none; }
  .document-header, .document-layout { display: block; padding: 1rem 0; background: white; }
  .document-container { width: 100%; }
  .document-layout h2 { break-after: avoid; }
}
