.help-center-main {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #f6f7fb;
}

.help-center-page {
    flex: 1;
    overflow-y: auto;
    padding: 28px 32px 44px;
    background: linear-gradient(180deg, #f6f7fb 0%, #fff 42%, #f7f9fc 100%);
}

.help-center {
    max-width: 1220px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
    font-family: var(--font-sans, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
}

.help-hero {
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid rgba(25, 25, 112, 0.12);
    border-radius: 8px;
    background: linear-gradient(180deg, #fff 0%, #fbfcff 100%);
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

.help-hero::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, #191970, #2454d6, #14a38b, #f59e0b);
}

.help-hero::after {
    content: "";
    position: absolute;
    inset: 5px 0 auto;
    height: 90px;
    background: linear-gradient(180deg, rgba(25, 25, 112, 0.045), transparent);
    pointer-events: none;
}

.help-hero__copy {
    position: relative;
    z-index: 1;
    width: min(820px, 100%);
    padding: clamp(36px, 5vw, 68px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.help-hero__eyebrow,
.help-section-heading span,
.help-guide-card__topline span {
    color: #3b5bdb;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.help-hero h1 {
    max-width: 820px;
    margin: 10px 0 14px;
    color: #111827;
    font-size: clamp(2.25rem, 4.8vw, 4.4rem);
    line-height: 1.02;
    font-weight: 900;
    letter-spacing: 0;
    text-wrap: balance;
}

.help-hero p {
    max-width: 720px;
    margin: 0 0 28px;
    color: #3f4f66;
    font-size: 1.08rem;
    line-height: 1.7;
    font-weight: 500;
}

.help-search {
    width: min(640px, 100%);
    padding: 8px 8px 8px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(25, 25, 112, 0.18);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.11);
}

.help-search svg {
    width: 18px;
    height: 18px;
    color: #64748b;
    flex-shrink: 0;
}

.help-search input {
    width: 100%;
    min-width: 0;
    height: 48px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #0f172a;
    font: inherit;
    font-size: 0.98rem;
}

.help-search__button {
    height: 44px;
    padding: 0 18px;
    border: 0;
    border-radius: 8px;
    background: #191970;
    color: #fff;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(25, 25, 112, 0.24);
    transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.help-search__button:hover {
    background: #11115a;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(25, 25, 112, 0.3);
}

.help-search-status {
    width: min(640px, 100%);
    margin-top: 10px;
    color: #3f4f66;
    font-size: 0.9rem;
    font-weight: 650;
}

.help-search-status[hidden] {
    display: none;
}

.help-search--empty {
    border-color: rgba(220, 38, 38, 0.28);
    box-shadow: 0 16px 34px rgba(220, 38, 38, 0.08);
}

.help-section-heading {
    margin-bottom: 16px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
}

.help-section-heading h2 {
    margin: 4px 0 0;
    color: #0f172a;
    font-size: 1.55rem;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0;
}

.help-guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 18px;
}

.help-guide-card {
    position: relative;
    min-height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid #dbe3ef;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.help-guide-card:hover {
    border-color: #b8c4f8;
    box-shadow: 0 12px 28px rgba(59, 91, 219, 0.12);
    transform: translateY(-2px);
}

.help-guide-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: #3b5bdb;
}

.help-guide-card:nth-child(2n)::before {
    background: #16a34a;
}

.help-guide-card:nth-child(3n)::before {
    background: #f59e0b;
}

.help-guide-card[hidden] {
    display: none;
}

.help-guide-card__media {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-bottom: 1px solid #e2e8f0;
    background: #eef2ff;
}

.help-guide-card__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.help-guide-card__body {
    flex: 1;
    min-height: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.help-guide-card__topline {
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.help-guide-card__topline span {
    padding: 4px 7px;
    border-radius: 999px;
    background: #eef2ff;
    letter-spacing: 0;
    text-transform: none;
    font-size: 0.72rem;
}

.help-guide-card h3 {
    margin: 0 0 8px;
    color: #0f172a;
    font-size: 1.3rem;
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: 0;
}

.help-guide-card p {
    margin: 0 0 14px;
    color: #42526a;
    line-height: 1.65;
    font-size: 0.95rem;
    font-weight: 500;
}

.help-guide-card ul {
    margin: 0 0 18px;
    padding-left: 18px;
    color: #5b6c82;
    font-size: 0.88rem;
    line-height: 1.55;
}

.help-guide-card__link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-end;
    gap: 6px;
    color: #3b5bdb;
    font-size: 0.86rem;
    font-weight: 800;
    text-decoration: none;
    transition: color 140ms ease, transform 210ms cubic-bezier(0.22, 1, 0.36, 1);
}

.help-guide-card__link-label {
    line-height: 1;
}

.help-guide-card__arrow {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    color: #94a3b8;
    transition: color 140ms ease, transform 210ms cubic-bezier(0.22, 1, 0.36, 1);
}

.help-guide-card:hover .help-guide-card__link,
.help-guide-card__link:hover {
    color: #243cba;
    transform: translateX(3px);
}

.help-guide-card:hover .help-guide-card__arrow,
.help-guide-card__link:hover .help-guide-card__arrow {
    color: #3b5bdb;
}

@media (max-width: 1100px) {
    .help-hero {
        min-height: 360px;
    }
}

@media (max-width: 720px) {
    .help-center-page {
        padding: 18px 14px calc(80px + env(safe-area-inset-bottom, 0px));
    }

    .help-hero {
        min-height: 0;
    }

    .help-hero__copy {
        padding: clamp(24px, 4vw, 36px);
    }

    .help-hero h1 {
        font-size: clamp(1.75rem, 6vw, 2.8rem);
    }

    .help-search {
        flex-wrap: wrap;
        padding: 10px;
    }

    .help-search svg {
        margin-left: 8px;
    }

    .help-search input {
        flex: 1 1 calc(100% - 48px);
    }

    .help-search__button {
        width: 100%;
    }

    .help-section-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .help-guide-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 400px) {
    .help-center-page {
        padding: 14px 10px calc(80px + env(safe-area-inset-bottom, 0px));
    }

    .help-guide-card__body {
        padding: 14px;
    }
}
