.document { padding-block: 48px 88px; }
.document-pages { display: flex; gap: 8px; margin-bottom: 40px; }
.document-pages a { padding: 8px 16px; border-radius: 24px; font-size: 14px; color: var(--muted); }
.document-pages a[aria-current] { background: var(--yellow); color: #101113; }
.document-pages a:hover { text-decoration: underline; text-underline-offset: 4px; }
.document__intro { max-width: 740px; margin-bottom: 56px; }
.document__intro .eyebrow { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.document h1 { font-size: clamp(40px, 5vw, 60px); letter-spacing: -.045em; margin-bottom: 24px; }
.document__summary { color: var(--muted); font-size: 18px; line-height: 1.65; }
.updated { margin-top: 20px; color: var(--muted); font-size: 14px; }
.document-layout { display: grid; grid-template-columns: 240px minmax(0, 720px); gap: 64px; align-items: start; }
.document-toc { position: sticky; top: var(--header-offset); max-height: calc(100dvh - var(--header-offset) - 24px); overflow-y: auto; padding-right: 16px; scrollbar-width: thin; }
.document-toc summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 600; cursor: pointer; list-style: none; }
.document-toc summary::-webkit-details-marker { display: none; }
.document-toc summary::marker { content: ""; }
.document-toc summary::after { content: ""; width: 18px; height: 18px; flex: 0 0 18px; background: var(--muted); mask: url('/assets/site/icons/chevron-down.svg') center / contain no-repeat; }
.document-toc[open] summary::after { transform: rotate(180deg); }
.document-toc ol { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 2px; }
.document-toc a { display: block; padding-block: 6px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.document-toc a:hover { color: var(--yellow); }
.document__body { min-width: 0; font-size: 17px; line-height: 1.75; }
.document__body section { padding-block: 32px; border-top: 1px solid var(--line); }
.document__body section:first-child { padding-top: 0; border: 0; }
.document__body h2 { font-size: 24px; line-height: 1.3; letter-spacing: -.025em; margin-bottom: 18px; text-wrap: pretty; }
.document__body h3 { font-size: 18px; line-height: 1.4; margin-top: 24px; margin-bottom: 12px; }
.document__body p, .document__body ul { color: rgb(255 255 255 / 82%); }
.document__body p + p, .document__body ul + p { margin-top: 16px; }
.document__body ul { padding-left: 22px; margin-block: 16px; }
.document__body li + li { margin-top: 10px; }
.document__body a { text-decoration: underline; text-decoration-color: #72736d; text-underline-offset: 4px; overflow-wrap: anywhere; }
.document__body a:hover { color: var(--yellow); }
.document__body strong { font-weight: 600; color: var(--text); }
.callout { padding: 24px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 20px; }
@media (max-width: 1000px) {
  .document-layout { grid-template-columns: 200px minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 900px) {
  .document { padding-block: 32px 56px; }
  .document-layout { grid-template-columns: 1fr; gap: 32px; }
  .document-toc { position: static; max-height: none; padding: 20px; border: 1px solid var(--line); border-radius: 16px; }
  .document-toc summary { font-size: 16px; }
  .document-toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 24px; }
  .document__intro { margin-bottom: 32px; }
}
@media (max-width: 520px) {
  .document-pages { margin-bottom: 32px; }
  .document-pages a { padding-inline: 14px; }
  .document__summary { font-size: 17px; }
  .document__body { font-size: 16px; }
  .document__body h2 { font-size: 23px; }
  .document-toc ol { grid-template-columns: 1fr; }
  .callout { padding: 20px; }
}

/* Support questions: the homepage's list, each answer opens in place. */
.vplus { white-space: nowrap; }
.vplus > i { font-style: normal; color: var(--yellow); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 18px; cursor: pointer; font-size: 17px; font-weight: 500; line-height: 1.4; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::marker { content: ""; }
.faq-list summary::after { content: ""; flex: 0 0 20px; width: 20px; height: 20px; background: var(--muted); mask: url('/assets/site/icons/chevron-down.svg') center / contain no-repeat; transition: transform .35s var(--ease); }
.faq-list details[open]:not(.is-closing) > summary::after { transform: rotate(180deg); }
.faq-list summary:hover { color: #fff; }
.faq-list details > p { padding-bottom: 18px; color: var(--muted); }
