.help-article-page {
    width: 100%;
    margin: 0;
}

.help-article {
    width: min(900px, 100%);
    margin-inline: auto;
    overflow: hidden;
    border: 2px solid #111;
    border-radius: 10px;
    background: #fff;
    box-shadow: none;
}

.help-article-layout {
    display: grid;
    width: min(1259px, 100%);
    margin-inline: auto;
    grid-template-columns: minmax(0, calc(100% - 404px)) minmax(280px, 380px);
    align-items: start;
    gap: 24px;
}

.help-article-header {
    padding: 28px 30px 24px;
    border-bottom: 2px solid #111;
    background: #111;
}

.help-article-header .help-eyebrow {
    margin: 0 0 12px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.help-article-header h1 {
    max-width: 780px;
    margin: 0;
    color: #fff;
    font-size: clamp(28px, 3.3vw, 42px);
    font-weight: 950;
    line-height: 1.08;
    overflow-wrap: anywhere;
}

.help-article-summary {
    max-width: 720px;
    margin: 12px 0 18px;
    color: #dfe6ee;
    font-size: 15px;
    font-weight: 720;
    line-height: 1.55;
}

.help-article-header time {
    color: rgba(255, 255, 255, 0.82);
    font-size: 12px;
    font-weight: 850;
}

.help-article-body {
    padding: 26px 30px;
    color: #202833;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.68;
}

.help-article-body h2,
.help-article-body h3,
.help-article-body h4 {
    scroll-margin-top: 24px;
}

.help-article-toc {
    position: sticky;
    top: 0;
    align-self: start;
    min-width: 0;
    max-height: calc(100vh - 24px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 18px 16px;
    border: 2px solid #111;
    background: #fff;
    box-shadow: none;
}

.help-article-toc {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.help-article-toc::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.help-article-toc > p {
    margin: 0 0 12px;
    color: #111111;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.help-article-toc nav {
    display: grid;
    gap: 8px;
}

.help-article-toc-link {
    display: block;
    color: #596273;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none;
    transition: color 140ms ease, transform 140ms ease;
}

.help-article-toc-link--level-3,
.help-article-toc-link--level-4 {
    padding-left: 12px;
    font-size: 12px;
    font-weight: 650;
}

.help-article-toc-link:hover,
.help-article-toc-link:focus-visible {
    color: #075ed1;
    outline: 0;
    transform: translateY(-1px);
}

.help-article-body > :first-child { margin-top: 0; }
.help-article-body > :last-child { margin-bottom: 0; }

.help-article-body h2,
.help-article-body h3,
.help-article-body h4 {
    margin: 1.7em 0 0.55em;
    color: #111;
    font-weight: 950;
    line-height: 1.12;
}

.help-article-body h2 { font-size: 22px; }
.help-article-body h3 { font-size: 18px; }
.help-article-body h4 { font-size: 16px; }
.help-article-body p { margin: 0 0 1.15em; }
.help-article-body ul,
.help-article-body ol { margin: 0 0 1.25em; padding-left: 1.5em; }
.help-article-body li + li { margin-top: 0.35em; }

.help-article-body a {
    color: #0f5fa8;
    font-weight: 850;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.15em;
}

.help-article-body code {
    padding: 0.12em 0.35em;
    border: 1px solid #cbd5e1;
    background: #f1f5f9;
    font-size: 0.92em;
}

.help-article-body blockquote {
    margin: 1.5em 0;
    padding: 18px 20px;
    border-left: 6px solid #111;
    background: #fff4bd;
}

.help-article-body blockquote p { margin: 0; }

.help-article-preview {
    margin: 0 0 14px;
    padding: 10px 14px;
    border: 2px solid #111;
    background: #f7cc3e;
    color: #111;
    font-weight: 900;
    text-align: center;
}

@media (max-width: 980px) {
    .help-article-layout {
        width: min(900px, 100%);
        display: flex;
        flex-direction: column;
    }

    .help-article-toc {
        position: static;
        width: 100%;
        order: -1;
    }
}

@media (max-width: 760px) {
    .help-article { border-radius: 8px; }

    .help-article-header,
    .help-article-body {
        padding-left: 16px;
        padding-right: 16px;
    }

    .help-article-toc {
        padding: 18px 16px;
    }

    .help-article-toc nav {
        gap: 7px;
    }
}
