.doc-page {
  color: var(--ink);
  background: white;
}

.doc-width {
  width: min(67.5rem, calc(100% - clamp(2.5rem, 10vw, 9rem)));
  margin-inline: auto;
}

.doc-page h1,
.doc-page h2,
.doc-page p {
  margin: 0;
}

.doc-page h1,
.doc-page h2 {
  text-wrap: balance;
}

.doc-hero {
  padding-block: clamp(4.5rem, 9vw, 8rem) clamp(4rem, 7vw, 6rem);
  text-align: center;
}

.doc-hero h1 {
  font-size: clamp(2.75rem, 6.8vw, 5.25rem);
  line-height: 1.08;
  font-weight: 650;
  letter-spacing: -.04em;
}

.doc-hero > p {
  max-width: 42rem;
  margin: 1.25rem auto 0;
  color: var(--muted);
  font-size: clamp(1.125rem, 2vw, 1.4rem);
  line-height: 1.55;
  text-wrap: balance;
}

.doc-page a {
  color: var(--blue);
  text-underline-offset: .18em;
}

.doc-hero > a {
  display: inline-block;
  margin-top: 1rem;
  padding: .35rem;
  font-weight: 550;
}

.doc-hero .policy-date {
  margin-top: 1rem;
  font-size: .875rem;
}

.doc-columns {
  display: grid;
  grid-template-columns: minmax(0, .48fr) minmax(0, 1fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: start;
}

.help-questions,
.policy-layout {
  border-top: 1px solid var(--line);
  padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(4.5rem, 8vw, 8rem);
}

.help-questions > h2,
.help-contact h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  line-height: 1.16;
  letter-spacing: -.035em;
  font-weight: 620;
}

.help-question {
  border-bottom: 1px solid var(--line);
}

.help-question summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.5rem;
  color: var(--ink);
  font-size: clamp(1.125rem, 1.55vw, 1.35rem);
  line-height: 1.4;
  font-weight: 560;
  cursor: pointer;
  list-style: none;
}

.help-question:first-child summary {
  padding-top: .42rem;
}

.help-question summary::-webkit-details-marker {
  display: none;
}

.help-question summary:hover {
  color: var(--blue);
}

.help-plus {
  width: .93rem;
  height: .93rem;
  position: relative;
  flex: none;
  color: var(--muted);
}

.help-plus::before,
.help-plus::after {
  content: '';
  position: absolute;
  inset: calc(50% - 1px) 0 auto;
  border-top: 2px solid currentColor;
}

.help-plus::after {
  transform: rotate(90deg);
}

.help-question[open] .help-plus::after {
  display: none;
}

.help-question p,
.help-contact p,
.policy-text p {
  color: #45454c;
  font-size: 1.0625rem;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.help-question p {
  padding: 0 1.8rem 1.5rem 0;
}

.help-contact {
  background: #f5f5f7;
  padding-block: clamp(3rem, 6vw, 5.5rem);
}

.help-actions {
  display: flex;
  gap: .25rem 1.5rem;
  flex-wrap: wrap;
  margin-top: 1.15rem;
}

.help-actions a {
  display: inline-block;
  padding-block: .5rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.policy-index {
  position: sticky;
  top: 5.5rem;
  max-height: calc(100vh - 7rem);
  overflow-y: auto;
  padding: .3rem;
  margin: -.3rem;
}

.policy-index h2 {
  font-size: 1.125rem;
  font-weight: 620;
}

.policy-index ul {
  display: grid;
  gap: .2rem;
  margin: .9rem 0 0;
  padding: 0;
  list-style: none;
}

.policy-index a {
  display: inline-block;
  padding-block: .3rem;
  font-size: .9375rem;
  line-height: 1.45;
  color: var(--muted);
  text-decoration: none;
}

.doc-page a:hover,
.policy-index a:focus-visible {
  color: var(--blue);
  text-decoration: underline;
}

.policy-text section {
  padding-top: 2.75rem;
}

.policy-text h2 {
  margin-bottom: .9rem;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  letter-spacing: -.025em;
  line-height: 1.2;
  font-weight: 620;
}

.policy-text p + p {
  margin-top: .95rem;
}

.doc-page [id] {
  scroll-margin-top: 5.5rem;
}

.doc-page :focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: .2rem;
}

@media (max-width: 47rem) {
  .doc-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.8rem;
  }

  .doc-hero {
    padding-block: 3.75rem 3rem;
  }

  .help-question p {
    padding-right: 0;
  }

  .policy-index {
    position: static;
    max-height: none;
  }

  .policy-index ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1.1rem;
  }

  .policy-index a {
    padding-block: .5rem;
  }

  .policy-text {
    padding-top: 2rem;
    border-top: 1px solid var(--line);
  }
}
