/* Help Center - Page Styles (matches the policy pages) */

.help-hero {
    text-align: center;
    padding: 4rem 1rem 2rem;
}

.help-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
}

.help-hero .hero-subtitle {
    color: #666;
    font-size: 1rem;
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.6;
}

.help-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 3rem;
    max-width: 1060px;
    margin: 0 auto;
    padding: 1rem 1rem 4rem;
}

.help-toc {
    position: sticky;
    top: 6rem;
    align-self: start;
}

.help-toc h2 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #888;
    margin: 0 0 0.75rem;
}

.help-toc ol {
    list-style: none;
    margin: 0;
    padding: 0;
    border-left: 2px solid var(--bg-light, #eee);
}

.help-toc a {
    display: block;
    padding: 0.35rem 0 0.35rem 1rem;
    color: #555;
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.4;
}

.help-toc a:hover {
    color: var(--secondary-blue);
}

.help-article {
    margin-bottom: 3rem;
    scroll-margin-top: 6rem;
}

.help-article h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-text);
    margin: 0 0 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-orange);
    display: inline-block;
}

.help-article h3 {
    font-size: 1.05rem;
    color: var(--dark-text);
    margin: 1.5rem 0 0.5rem;
}

.help-article p,
.help-article li {
    color: #444;
    line-height: 1.75;
}

.help-article p {
    margin: 0 0 0.85rem;
}

.help-article ul,
.help-article ol {
    margin: 0.5rem 0 1rem 1.5rem;
    padding: 0;
}

.help-article li {
    margin-bottom: 0.5rem;
}

.help-steps li::marker {
    font-weight: 700;
    color: var(--primary-orange);
}

.help-addon {
    display: inline-block;
    font-size: 0.75rem !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary-orange) !important;
    margin-bottom: 0.5rem !important;
}

.help-tip {
    background: #fff8e6;
    border-left: 4px solid var(--primary-orange);
    padding: 0.85rem 1.1rem;
    border-radius: 0 8px 8px 0;
}

.help-table {
    width: 100%;
    max-width: 480px;
    border-collapse: collapse;
    margin: 0.5rem 0 1rem;
    font-size: 0.95rem;
}

.help-table th,
.help-table td {
    text-align: left;
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid #e5e5e5;
    color: #444;
}

.help-table th {
    font-weight: 600;
    color: var(--dark-text);
}

.help-article a,
.help-hero a,
.help-contact-box a {
    color: var(--secondary-blue);
    font-weight: 500;
    text-decoration: none;
}

.help-article a:hover,
.help-hero a:hover,
.help-contact-box a:hover {
    text-decoration: underline;
}

.help-contact-box {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.help-contact-box h3 {
    font-size: 1.1rem;
    margin: 0 0 0.5rem;
    color: var(--dark-text);
}

@media (max-width: 860px) {
    .help-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.5rem;
    }

    .help-toc {
        position: static;
        background: var(--bg-light);
        border-radius: 12px;
        padding: 1rem 1.25rem;
    }

    .help-toc ol {
        border-left: none;
    }

    .help-toc a {
        padding-left: 0;
    }

    .help-hero {
        padding-top: 2.5rem;
    }

    .help-hero h1 {
        font-size: 2rem;
    }
}

[data-theme="dark"] .help-hero .hero-subtitle,
[data-theme="dark"] .help-toc a {
    color: #aaa;
}

[data-theme="dark"] .help-article p,
[data-theme="dark"] .help-article li,
[data-theme="dark"] .help-table td {
    color: #ccc;
}

[data-theme="dark"] .help-table th,
[data-theme="dark"] .help-table td {
    border-bottom-color: #333;
}

[data-theme="dark"] .help-tip {
    background: rgba(255, 171, 2, 0.08);
}
