* {
  box-sizing: border-box;
}

html {
  background: #fbfaf6;
  color: #27231f;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #fbfaf6;
}

.hidden {
  display: none !important;
}

.document-shell {
  width: min(100% - 48px, 720px);
  margin: 0 auto;
  padding: 88px 0 96px;
}

.loading {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #746f66;
}

.document-label {
  margin: 0 0 16px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #746f66;
}

.document-view > h1 {
  margin: 0 0 48px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6vw, 66px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.03em;
}

.document-body {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  line-height: 1.72;
}

.document-body p {
  margin: 0 0 1.35em;
}

.document-section-heading {
  margin: 2.2em 0 .7em;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.25;
}

.powered {
  width: min(100% - 48px, 720px);
  margin: 0 auto;
  padding: 0 0 36px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  color: #746f66;
}

@media (max-width: 700px) {
  .document-shell {
    width: min(100% - 32px, 720px);
    padding-top: 60px;
    padding-bottom: 72px;
  }

  .document-view > h1 {
    font-size: clamp(40px, 13vw, 58px);
  }

  .document-section-heading {
    font-size: 22px;
  }

  .powered {
    width: min(100% - 32px, 720px);
  }
}


.document-body .document-list {
  margin: 0 0 1.35em;
  padding-left: 1.35em;
}

.document-body .document-list-nested {
  margin: .45em 0 0;
}

.document-body .document-list li {
  margin: .35em 0;
}


.document-body.document-pdf-structured .document-section-heading {
  margin-top: 1.35em;
  margin-bottom: .55em;
}

.document-body.document-pdf-structured > .document-section-heading:first-child {
  margin-top: 0;
}


@media (max-width: 620px) {
  .document-body.document-pdf-structured .document-list {
    padding-left: 1.05em;
  }

  .document-body.document-pdf-structured .document-list-nested {
    padding-left: .85em;
  }

  .document-body.document-pdf-structured li,
  .document-body.document-pdf-structured p {
    overflow-wrap: anywhere;
    word-break: normal;
  }
}
