/* ==========================================================================
   /help-center — Help Center page
   Matches license page style: black/lime, compact, contained
   ========================================================================== */

/* ---------------------------------------------------------------------------
   Topic Cards — black rounded cards with expandable FAQ items
   --------------------------------------------------------------------------- */
.hc-topics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
@media (max-width: 768px) {
    .hc-topics { grid-template-columns: 1fr; }
}

/* Base topic card (all-black variant — not used when --split is applied) */
.hc-topic-card {
    background: #000;
    border-radius: 16px;
    padding: 28px 28px 20px;
    color: #fff;
}

/* Split variant: black header + white body + thin border (like faq-block) */
.hc-topic-card.hc-topic-card--split {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    padding: 0;
    color: #000;
}
.hc-topic-card--split .hc-topic-card__header {
    background: #000;
    padding: 18px 24px;
    margin-bottom: 0;
    border-bottom: none;
}
.hc-topic-card--split .hc-topic-card__title { color: #fff; }
.hc-topic-card--split .hc-topic-card__desc { color: #9ca3af; }

.hc-topic-card--split .hc-split-body {
    padding: 4px 24px;
    background: #fff;
}

/* Q&A items on white background */
.hc-split-body .hc-faq-item {
    border-bottom: 1px solid #f3f4f6;
}
.hc-split-body .hc-faq-item:last-child { border-bottom: none; }

.hc-split-body .hc-faq-q {
    color: #000;
    font-weight: 600;
}
.hc-split-body .hc-faq-q:hover { color: #000; }

.hc-split-body .hc-faq-icon {
    color: #9ca3af;
}
.hc-split-body .hc-faq-item.open .hc-faq-icon { color: #000; }

.hc-split-body .hc-faq-a__inner {
    color: #4b5563;
}
.hc-split-body .hc-faq-a__inner a { color: #000; text-decoration: underline; }

.hc-topic-card__header {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.hc-topic-card__title {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}
.hc-topic-card__desc {
    font-size: 0.8125rem;
    color: #9ca3af;
    line-height: 1.4;
}

/* FAQ items inside topic cards */
.hc-faq-item {
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.hc-faq-item:last-child { border-bottom: none; }

.hc-faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 12px 0;
    cursor: pointer;
    background: none;
    border: none;
    text-align: left;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
    line-height: 1.4;
}
.hc-faq-q:hover { color: var(--brand-lime, #ccea4a); }

.hc-faq-icon {
    flex-shrink: 0;
    margin-left: 10px;
    color: var(--brand-lime, #ccea4a);
    transition: transform 0.2s;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1;
}

.hc-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
}
.hc-faq-a__inner {
    padding-bottom: 12px;
    font-size: 0.8125rem;
    line-height: 1.6;
    color: #9ca3af;
}
.hc-faq-a__inner a { color: var(--brand-lime, #ccea4a); text-decoration: underline; }

.hc-faq-item.open .hc-faq-icon { transform: rotate(45deg); }
.hc-faq-item.open .hc-faq-a { max-height: 300px; }

/* ---------------------------------------------------------------------------
   Quick Links — lime card grid
   --------------------------------------------------------------------------- */
.hc-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 100%;
}
@media (max-width: 768px) {
    .hc-links { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .hc-links { grid-template-columns: 1fr; }
}

.hc-link-card {
    background: #f9fafb;
    border-radius: 12px;
    padding: 20px;
    text-decoration: none;
    text-align: center;
    transition: transform 0.15s, box-shadow 0.15s;
}
.hc-link-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    text-decoration: none;
}
.hc-link-card__title {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 2px;
}
.hc-link-card__desc {
    font-size: 0.75rem;
    color: #6b7280;
}

/* ---------------------------------------------------------------------------
   Browse All FAQs — lime banner card
   --------------------------------------------------------------------------- */
.hc-faq-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--brand-lime, #ccea4a);
    border-radius: 16px;
    padding: 24px 28px;
    text-decoration: none;
    max-width: 100%;
    transition: opacity 0.15s;
}
.hc-faq-banner:hover { opacity: 0.92; text-decoration: none; }
.hc-faq-banner__text h2 {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 2px;
}
.hc-faq-banner__text p {
    font-size: 0.875rem;
    color: #000;
    margin: 0;
}
.hc-faq-banner__arrow {
    font-size: 1.25rem;
    color: #000;
    flex-shrink: 0;
    margin-left: 16px;
}

/* ---------------------------------------------------------------------------
   Section titles — centered
   --------------------------------------------------------------------------- */
.hc-section {
    max-width: 100%;
    padding: 2.5rem 0 0;
}
.hc-section h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #000;
    text-align: left;
    margin-bottom: 0.5rem;
}
.hc-section > p {
    text-align: left;
    color: #6b7280;
    font-size: 0.9375rem;
    margin-bottom: 2rem;
}

/* ---------------------------------------------------------------------------
   Still Need Help — black card (matches license FAQ card)
   --------------------------------------------------------------------------- */
.hc-contact-card {
    background: #000;
    border-radius: 16px;
    padding: 48px 32px;
    text-align: center;
    max-width: 100%;
    margin: 2.5rem 0 0;
}
.hc-contact-card h2 {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}
.hc-contact-card p {
    color: #9ca3af;
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
}
.hc-contact-card .btn-lime {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    height: 42px;
    border-radius: 21px;
    background: var(--brand-lime, #ccea4a);
    color: #000;
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none;
    transition: opacity 0.15s;
}
.hc-contact-card .btn-lime:hover { opacity: 0.9; text-decoration: none; }

/* ---------------------------------------------------------------------------
   FAQ Page — standalone sections (single column, header + white body)
   --------------------------------------------------------------------------- */
.faq-page-sections {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Each standalone FAQ section */
.faq-block {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

/* Black header variant */
.faq-block--dark .faq-block__header {
    background: #000;
    padding: 20px 28px;
}
.faq-block--dark .faq-block__title { color: #fff; }
.faq-block--dark .faq-block__desc { color: #9ca3af; }

/* Lime header variant */
.faq-block--lime .faq-block__header {
    background: var(--brand-lime, #ccea4a);
    padding: 20px 28px;
}
.faq-block--lime .faq-block__title { color: #000; }
.faq-block--lime .faq-block__desc { color: #000; }
.faq-block--lime { border-color: var(--brand-lime, #ccea4a); }

/* Outline header variant */
.faq-block--outline .faq-block__header {
    background: #fff;
    padding: 20px 28px;
    border-bottom: 1px solid #e5e7eb;
}
.faq-block--outline .faq-block__title { color: #000; }
.faq-block--outline .faq-block__desc { color: #6b7280; }

/* Header text */
.faq-block__title {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 2px;
}
.faq-block__desc {
    font-size: 0.8125rem;
    line-height: 1.4;
    margin: 0;
}

/* White body with Q&A items */
.faq-block__body {
    background: #fff;
    padding: 4px 28px;
}

/* Q&A items on white background */
.faq-block__body .faq-q-item {
    border-bottom: 1px solid #f3f4f6;
}
.faq-block__body .faq-q-item:last-child { border-bottom: none; }

.faq-block__body .faq-q-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 14px 0;
    cursor: pointer;
    background: none;
    border: none;
    text-align: left;
    font-size: 0.875rem;
    font-weight: 600;
    color: #000;
    line-height: 1.45;
}
.faq-block__body .faq-q-btn:hover { color: #000; }

.faq-block__body .faq-q-icon {
    flex-shrink: 0;
    margin-left: 12px;
    color: #9ca3af;
    transition: transform 0.2s;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1;
}

.faq-block__body .faq-q-ans {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
}
.faq-block__body .faq-q-ans__inner {
    padding-bottom: 14px;
    font-size: 0.875rem;
    line-height: 1.7;
    color: #4b5563;
}
.faq-block__body .faq-q-ans__inner a { color: #000; text-decoration: underline; }
.faq-block__body .faq-q-ans__inner a:hover { color: var(--brand-lime-dark, #558b2f); }

.faq-q-item.open .faq-q-icon { transform: rotate(45deg); color: #000; }
.faq-q-item.open .faq-q-ans { max-height: 500px; }

/* ---------------------------------------------------------------------------
   Jump navigation pills
   --------------------------------------------------------------------------- */
.hc-jump-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px;
    max-width: 100%;
    margin: 0 0 2rem;
    padding: 0;
}
.hc-jump-nav a {
    display: inline-block;
    padding: 6px 14px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #000;
    background: #f3f4f6;
    border-radius: 20px;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}
.hc-jump-nav a:hover {
    background: var(--brand-lime, #ccea4a);
    color: #000;
    text-decoration: none;
}
.hc-jump-nav .soon-pill {
    font-size: 0.5625rem;
    background: #e5e7eb;
    color: #6b7280;
    padding: 1px 6px;
    border-radius: 9999px;
    vertical-align: middle;
    font-weight: 600;
    margin-left: 2px;
}

/* ---------------------------------------------------------------------------
   Reduced motion
   --------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .hc-faq-icon, .hc-faq-a { transition: none !important; }
}

/* ===========================================================================
   FAQ v2 — Sidebar + Content layout (Adobe HelpX style)
   All classes prefixed faq2- to avoid conflicts
   =========================================================================== */

/* Main two-column layout */
.faq2-layout {
    display: flex;
    gap: 48px;
    align-items: flex-start;
}

/* ---------------------------------------------------------------------------
   Sidebar
   --------------------------------------------------------------------------- */
.faq2-sidebar {
    position: sticky;
    top: 100px;
    flex: 0 0 240px;
    max-width: 240px;
    padding-right: 24px;
    border-right: 1px solid #e5e7eb;
}
.faq2-sidebar__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.faq2-sidebar__link {
    display: block;
    padding: 8px 12px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #6b7280;
    text-decoration: none;
    border-radius: 6px;
    line-height: 1.4;
    transition: background 0.15s, color 0.15s;
}
.faq2-sidebar__link:hover {
    color: #111;
    background: #f9fafb;
    text-decoration: none;
}
.faq2-sidebar__link--active {
    color: #111;
    background: #ebf7b7;
    font-weight: 600;
}
.faq2-sidebar__link--active:hover {
    background: #e2f2a0;
}

/* "Soon" badge inside sidebar */
.faq2-badge {
    display: inline-block;
    font-size: 0.5625rem;
    font-weight: 600;
    background: #e5e7eb;
    color: #6b7280;
    padding: 1px 6px;
    border-radius: 9999px;
    vertical-align: middle;
    margin-left: 4px;
    letter-spacing: 0.02em;
}

/* ---------------------------------------------------------------------------
   Content area
   --------------------------------------------------------------------------- */
.faq2-content {
    flex: 1;
    min-width: 0;
}

/* Section headers */
.faq2-section {
    scroll-margin-top: 100px;
}
.faq2-section__header {
    margin-bottom: 8px;
}
.faq2-eyebrow {
    display: inline-block;
    background: #ebf7b7;
    color: #000;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 9999px;
    letter-spacing: 0.02em;
    margin-bottom: 8px;
}
.faq2-section__desc {
    font-size: 0.8125rem;
    color: #9ca3af;
    margin: 0 0 4px;
    line-height: 1.4;
}

/* FAQ items inside faq2-items — override to clean white style */
.faq2-items {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    padding: 0 24px;
}
.faq2-items .faq-q-item {
    border-bottom: 1px solid #f3f4f6;
}
.faq2-items .faq-q-item:last-child {
    border-bottom: none;
}
.faq2-items .faq-q-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 16px 0;
    cursor: pointer;
    background: none;
    border: none;
    text-align: left;
    font-size: 0.875rem;
    font-weight: 600;
    color: #111;
    line-height: 1.45;
}
.faq2-items .faq-q-btn:hover {
    color: #000;
}
.faq2-items .faq-q-icon {
    flex-shrink: 0;
    margin-left: 12px;
    color: #9ca3af;
    transition: transform 0.2s;
    font-size: 1.125rem;
    font-weight: 300;
    line-height: 1;
}
.faq2-items .faq-q-item.open .faq-q-icon {
    transform: rotate(45deg);
    color: #111;
}
.faq2-items .faq-q-ans {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
}
.faq2-items .faq-q-item.open .faq-q-ans {
    max-height: 500px;
}
.faq2-items .faq-q-ans__inner {
    padding-bottom: 16px;
    font-size: 0.875rem;
    line-height: 1.7;
    color: #4b5563;
}
.faq2-items .faq-q-ans__inner a {
    color: #111;
    text-decoration: underline;
}
.faq2-items .faq-q-ans__inner a:hover {
    color: var(--brand-lime-dark, #558b2f);
}

/* Dotted section dividers */
.faq2-divider {
    border: none;
    border-top: 2px dotted #e5e7eb;
    margin: 32px 0;
}

/* ---------------------------------------------------------------------------
   Responsive: collapse sidebar on small screens
   --------------------------------------------------------------------------- */
@media (max-width: 900px) {
    .faq2-layout {
        flex-direction: column;
        gap: 0;
    }
    .faq2-sidebar {
        position: static;
        flex: none;
        max-width: 100%;
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
        padding-right: 0;
        padding-bottom: 16px;
        margin-bottom: 24px;
    }
    .faq2-sidebar__list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 6px;
    }
    .faq2-sidebar__link {
        padding: 6px 12px;
        font-size: 0.75rem;
        border-radius: 9999px;
        background: #f3f4f6;
    }
    .faq2-sidebar__link--active {
        background: #ebf7b7;
    }
}

@media (prefers-reduced-motion: reduce) {
    .faq2-items .faq-q-icon,
    .faq2-items .faq-q-ans { transition: none !important; }
}
