.doc-heading,
.doc-layout,
.doc-contact {
  padding: clamp(42px, 5vw, 82px) var(--pad);
}
.doc-heading .eyebrow {
  color: var(--rose);
}
.doc-heading h1 {
  margin: 25px 0 18px;
  font-size: clamp(3.6rem, 7.2vw, 8rem);
  line-height: 0.94;
}
.doc-heading em,
.doc-contact em {
  color: var(--rose);
}
.doc-heading > p:not([class]) {
  max-width: 56ch;
  color: #eddee6;
  font-size: 1.1rem;
}
.updated {
  margin-top: 25px;
  color: #e4c5d3;
  font-size: 0.93rem;
}
.doc-layout {
  display: grid;
  grid-template-columns: minmax(185px, 0.48fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(30px, 6vw, 110px);
}
.contents {
  position: sticky;
  top: 28px;
  max-width: 31ch;
}
.contents .eyebrow {
  color: #884460;
}
.contents ul {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
}
.contents li + li {
  margin-top: 8px;
}
.contents a {
  text-decoration: underline;
  text-decoration-color: #bfa6b2;
  text-underline-offset: 0.23em;
}
.contents a:hover,
.prose a:hover {
  text-decoration-color: currentColor;
}
.prose {
  max-width: 70ch;
}
.prose h2 {
  font-size: clamp(2rem, 3vw, 3.2rem);
  letter-spacing: -0.038em;
  line-height: 1.06;
  scroll-margin-top: 24px;
}
.prose h2:not(:first-child) {
  margin-top: 2.4rem;
}
.prose p {
  line-height: 1.74;
  color: #513d4b;
  margin-top: 0.9rem;
}
.prose a {
  color: #743953;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.doc-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.doc-contact h2 {
  font-size: clamp(2.8rem, 5.2vw, 5.2rem);
  line-height: 0.96;
  margin-bottom: 20px;
}
.doc-contact p {
  font-weight: 500;
}
.doc-contact address {
  font-style: normal;
  color: #ecdee5;
  margin-top: 0.35rem;
}
.doc-methods {
  display: grid;
  gap: 8px;
}
.doc-methods a {
  font-size: clamp(1.2rem, 1.8vw, 2rem);
  width: fit-content;
}
.doc-methods a:hover {
  text-decoration: underline;
  text-underline-offset: 0.22em;
}
@media (max-width: 740px) {
  .doc-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .contents {
    position: static;
    max-width: none;
  }
  .contents ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
    gap: 9px 20px;
  }
  .contents li + li {
    margin: 0;
  }
  .doc-contact {
    display: grid;
  }
}
