/* ============================================================
   FEATHERWORK INVOICING — FAQ PAGE
   Loaded alongside base.css + home.css: reuses the shared header,
   footer, .container, .btn, and design tokens from those two files
   and only adds the sections unique to this page.
   ============================================================ */

/* ----------------------------------------------------------
   HERO
   ---------------------------------------------------------- */
.faq-hero { padding-block: var(--space-16) var(--space-12); }
.faq-hero__inner {
    max-width: 640px;
    margin-inline: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}
.faq-hero__eyebrow {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: var(--text-xs);
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    color: var(--color-accent);
}
.faq-hero h1 { font-size: clamp(1.9rem, 4.6vw, 2.8rem); font-weight: 700; }
.faq-hero__sub { font-size: var(--text-lg); color: var(--color-text-secondary); }

/* ----------------------------------------------------------
   FAQ LIST
   ---------------------------------------------------------- */
.faq-list { padding-block: 0 var(--space-16); }
.faq-list .container { max-width: 760px; }

.faq-category { margin-bottom: var(--space-12); }
.faq-category:last-child { margin-bottom: 0; }
.faq-category__title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-4);
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
}
.faq-item:first-of-type { border-top: 1px solid var(--color-border); }

.faq-item__q {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    padding-block: var(--space-5);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: var(--text-base);
    color: var(--color-text-primary);
    cursor: pointer;
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q:hover { color: var(--color-accent); }

.faq-item__icon {
    flex: none;
    width: 20px;
    height: 20px;
    color: var(--color-text-tertiary);
    transition: transform .15s ease;
}
.faq-item[open] .faq-item__icon { transform: rotate(180deg); color: var(--color-accent); }

.faq-item__a { padding-bottom: var(--space-5); }
.faq-item__a p { font-size: var(--text-sm); color: var(--color-text-secondary); line-height: var(--leading-normal); max-width: 62ch; }
.faq-item__a a { color: var(--color-accent); font-weight: 600; border-bottom: 1px solid var(--color-accent); }
.faq-item__a a:hover { color: var(--color-accent-hover); border-color: var(--color-accent-hover); }

/* ----------------------------------------------------------
   CTA BAND
   ---------------------------------------------------------- */
.faq-cta { padding-block: var(--space-20); text-align: center; background: var(--color-surface-raised); border-top: 1px solid var(--color-border); }
.faq-cta__inner { max-width: 480px; margin-inline: auto; display: flex; flex-direction: column; align-items: center; gap: var(--space-4); }
.faq-cta h2 { font-size: var(--text-2xl); }
.faq-cta p { color: var(--color-text-secondary); }
.faq-cta p a { color: var(--color-accent); font-weight: 600; }
.faq-cta p a:hover { color: var(--color-accent-hover); }
