.doc-hero { position: relative; overflow: hidden; color: #f3f5f9; background:
radial-gradient(45% 120% at 8% 100%, color-mix(in srgb, var(--brand) 30%, transparent), transparent 70%),
radial-gradient(40% 90% at 92% 0%, rgba(47, 140, 255, .22), transparent 70%),
linear-gradient(160deg, #0d1426, #0a0e1a 70%); }
.doc-hero-in { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding-top: 34px; padding-bottom: 36px; }
.doc-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: #9aa4b8; }
.doc-crumb a { color: #c8d0de; }
.doc-crumb a:hover { color: #fff; }
.doc-kicker { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 99px; font-size: 12.5px; font-weight: 800; color: #ffcf9f; background: color-mix(in srgb, var(--brand) 20%, transparent); border: 1px solid color-mix(in srgb, var(--brand) 55%, transparent); }
.doc-hero h1 { margin: 0; font-size: clamp(26px, 3.6vw, 40px); font-weight: 900; line-height: 1.45; color: #fff; }
.doc-lead { max-width: 64ch; font-size: 16px; line-height: 2; color: #cfd6e4; }
.doc-lead b, .doc-lead strong { color: #ffb26b; }
.doc-meta { display: inline-flex; align-items: center; gap: 6px; margin: 4px 0 0; font-size: 13px; color: #9aa4b8; }
.doc-body { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 36px; align-items: start; padding-top: 32px; padding-bottom: 48px; }
.doc-body.doc-solo { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.doc-toc { position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow-y: auto; padding: 16px; border-radius: var(--r-l); background: var(--s1); border: 1px solid var(--bd); }
.doc-toc summary { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14px; list-style: none; cursor: default; padding-bottom: 10px; border-bottom: 1px solid var(--ln); }
.doc-toc summary::-webkit-details-marker { display: none; }
.doc-toc summary svg:first-child { color: var(--brand); }
.doc-toc summary svg:last-child { display: none; }
.doc-toc ol { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.doc-toc a { display: flex; align-items: flex-start; gap: 10px; padding: 8px; border-radius: var(--r-s); font-size: 13.5px; line-height: 1.7; color: var(--tx2); }
.doc-toc a:hover { background: var(--s2); color: var(--tx); text-decoration: none; }
.doc-toc .doc-n { width: 22px; height: 22px; font-size: 12px; }
.doc-n { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; font-weight: 900; font-size: 14px; color: var(--brand-ink); background: var(--brand); }
.doc-main { display: flex; flex-direction: column; gap: 0; min-width: 0; max-width: 820px; }
.doc-intro { margin-bottom: 8px; font-size: 16px; line-height: 2.05; color: var(--tx2); }
.doc-sec { padding: 26px 0; border-top: 1px solid var(--ln); scroll-margin-top: 96px; }
.doc-main > .doc-sec:first-child { padding-top: 0; border-top: 0; }
.doc-sec > h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-size: clamp(18px, 2vw, 22px); font-weight: 900; line-height: 1.5; }
.doc-sec .prose { font-size: 15.5px; line-height: 2.05; color: var(--tx2); }
.doc-sec .prose h3 { margin: 18px 0 6px; font-size: 16.5px; color: var(--tx); }
.doc-sec .prose ul, .doc-sec .prose ol { padding-inline-start: 22px; margin: 6px 0 12px; }
.doc-sec .prose li { margin: 4px 0; }
.doc-sec .prose a { color: var(--brand); text-decoration: underline; }
.doc-sec .prose .note { padding: 12px 14px; border-radius: 12px; background: var(--info-bg); border-inline-start: 3px solid var(--info); color: var(--tx); }
.doc-steps { position: relative; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.doc-steps::before { content: ''; position: absolute; top: 24px; bottom: 24px; inset-inline-start: 23px; width: 2px; background: linear-gradient(180deg, var(--brand), color-mix(in srgb, var(--brand) 15%, transparent)); }
.doc-steps > li { position: relative; display: flex; gap: 16px; align-items: flex-start; }
.doc-step-ico { position: relative; z-index: 1; flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: #fff; font-weight: 900; background: linear-gradient(140deg, #ffb26b, var(--brand)); box-shadow: 0 10px 22px -10px var(--brand); }
.doc-steps > li > div { flex: 1; min-width: 0; padding: 14px 16px; border-radius: var(--r-l); background: var(--s1); border: 1px solid var(--bd); }
.doc-step-n { display: block; font-size: 12px; font-weight: 800; color: var(--brand); }
.doc-steps strong { display: block; font-size: 16px; line-height: 1.6; }
.doc-steps p { margin: 4px 0 0; font-size: 14px; line-height: 1.85; color: var(--mt); }
.doc-cta { margin-top: 22px; }
.doc-help { display: flex; align-items: center; gap: 16px; margin-top: 26px; padding: 20px 22px; border-radius: var(--r-l); background: var(--acc-bg); border: 1px solid var(--acc-bd); }
.doc-help > div { flex: 1; min-width: 0; }
.doc-help strong { display: block; font-size: 16px; margin-bottom: 4px; }
.doc-help p { margin: 0; color: var(--tx2); line-height: 1.9; }
.doc-help p a { color: var(--brand); font-weight: 700; }
.doc-help-ico { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--brand); color: var(--brand-ink); }
.doc-soon { display: flex; align-items: center; gap: 18px; padding: 28px; border-radius: var(--r-xl); background: var(--s1); border: 1px dashed var(--acc-bd); }
.doc-soon > div { flex: 1; min-width: 0; }
.doc-soon strong { display: block; font-size: 17px; margin-bottom: 6px; }
.doc-soon p { margin: 0; color: var(--tx2); line-height: 1.9; }
.doc-soon p a { color: var(--brand); font-weight: 700; }
.doc-soon-ico { flex: none; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; background: var(--acc-bg); color: var(--acc); border: 1px solid var(--acc-bd); }
@media (max-width: 859.98px) {
.doc-hero-in { padding-top: 24px; padding-bottom: 26px; }
.doc-body { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 18px; }
.doc-toc { position: static; max-height: none; padding: 0; }
.doc-toc summary { cursor: pointer; padding: 14px 16px; border-bottom: 0; min-height: 48px; }
.doc-toc summary svg:last-child { display: inline; margin-inline-start: auto; transition: transform .2s; }
.doc-toc details[open] summary { border-bottom: 1px solid var(--ln); }
.doc-toc details[open] summary svg:last-child { transform: rotate(180deg); }
.doc-toc ol { margin: 0; padding: 8px; }
.doc-help { flex-direction: column; align-items: stretch; text-align: start; }
.doc-help .btn, .doc-cta .btn, .doc-soon .btn { width: 100%; }
.doc-soon { flex-direction: column; align-items: stretch; padding: 22px 18px; }
.doc-steps::before { inset-inline-start: 21px; }
.doc-step-ico { width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) { .doc-toc summary svg { transition: none; } }
