.help-center-page,
.help-article-page {
    width: min(1180px, calc(100% - 28px));
    margin: 24px auto 56px;
}

.help-center-hero,
.help-assistant-promo {
    display: grid;
    gap: 18px;
    padding: 24px;
    border: 1px solid #dfe6ef;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
}

.help-center-hero h1,
.help-article-content h1 {
    margin: 4px 0 8px;
    color: #101828;
    font-size: clamp(1.8rem, 5vw, 2.7rem);
    line-height: 1.08;
}

.help-center-hero p,
.help-assistant-promo p,
.help-article-lead {
    margin: 0;
    color: #667085;
    line-height: 1.65;
}

.help-center-eyebrow {
    margin: 0;
    color: #175cd3;
    font-size: 0.76rem;
    font-weight: 850;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.help-category-nav {
    display: flex;
    gap: 10px;
    margin: 18px 0;
    padding-bottom: 4px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.help-category-nav a {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 9px 13px;
    border: 1px solid #d7e0ec;
    border-radius: 999px;
    color: #344054;
    background: #ffffff;
    font-weight: 750;
    text-decoration: none;
}

.help-category-nav a:hover,
.help-category-nav a:focus-visible,
.help-category-nav a.is-active {
    border-color: #84adff;
    color: #0b57d0;
    background: #eef5ff;
}

.help-category-nav img {
    width: 17px;
    height: 17px;
}

.help-category-nav small {
    min-width: 22px;
    padding: 2px 6px;
    border-radius: 999px;
    color: #475467;
    background: #f2f4f7;
    text-align: center;
}

.help-article-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
}

.help-article-card {
    display: grid;
    align-content: start;
    gap: 10px;
    min-height: 210px;
    padding: 20px;
    border: 1px solid #dfe6ef;
    border-radius: 18px;
    background: #ffffff;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.help-article-card:hover {
    transform: translateY(-2px);
    border-color: #b8d3ff;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
}

.help-article-card > span {
    color: #175cd3;
    font-size: 0.76rem;
    font-weight: 850;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.help-article-card h2 {
    margin: 0;
    color: #101828;
    font-size: 1.1rem;
    line-height: 1.3;
}

.help-article-card p {
    margin: 0;
    color: #667085;
    line-height: 1.55;
}

.help-article-card a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    color: #0b57d0;
    font-weight: 800;
    text-decoration: none;
}

.help-empty-state {
    display: grid;
    justify-items: center;
    gap: 12px;
    padding: 48px 24px;
    border: 1px dashed #b8c4d6;
    border-radius: 18px;
    background: #ffffff;
    text-align: center;
}

.help-empty-state img {
    width: 42px;
    height: 42px;
}

.help-empty-state h1,
.help-empty-state h2,
.help-empty-state p {
    margin: 0;
}

.help-assistant-promo {
    margin-top: 20px;
    border-color: #b8d3ff;
    background: linear-gradient(135deg, #f8fbff 0%, #eef5ff 100%);
}

.help-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
    color: #667085;
    font-size: 0.9rem;
}

.help-breadcrumb a {
    color: #0b57d0;
    font-weight: 750;
    text-decoration: none;
}

.help-article-content {
    padding: 24px;
    border: 1px solid #dfe6ef;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
}

.help-article-body {
    display: grid;
    gap: 16px;
    margin-top: 28px;
    color: #344054;
    font-size: 1rem;
    line-height: 1.78;
}

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

.help-article-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e5eaf1;
}

.help-related-articles {
    margin-top: 18px;
    padding: 20px;
    border: 1px solid #dfe6ef;
    border-radius: 18px;
    background: #ffffff;
}

.help-related-articles h2 {
    margin: 0 0 14px;
    font-size: 1.1rem;
}

.help-related-articles > div {
    display: grid;
    gap: 10px;
}

.help-related-articles a {
    display: grid;
    gap: 3px;
    padding: 12px 14px;
    border-radius: 12px;
    color: #101828;
    background: #f7f9fc;
    text-decoration: none;
}

.help-related-articles a:hover,
.help-related-articles a:focus-visible {
    background: #eef5ff;
}

.help-related-articles span {
    color: #667085;
    font-size: 0.88rem;
}

@media (min-width: 720px) {
    .help-center-hero,
    .help-assistant-promo {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
    }

    .help-article-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1040px) {
    .help-article-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .help-article-content {
        padding: 38px 44px;
    }
}
