/* =========================================================================
   Single FAQ - one question + answer (faq CPT)
   Ported from the Claude Design "FAQ - single" template. Chrome is global
   (style.css); everything else is scoped under the .at-faq-single body class.
   Auto-enqueued via the single-{cpt} router.
   ========================================================================= */

body.at-faq-single {
    background: var(--paper);
    color: var(--ink);
    font-family: 'IBM Plex Sans', system-ui, sans-serif;
}

/* -------------------------------------------------------------------------
   Typography
   ------------------------------------------------------------------------- */

.at-faq-single .h1 {
    font-family: 'Archivo', system-ui, sans-serif;
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.02;
    font-size: clamp(32px, 3.8vw, 46px);
    margin: 0;
}
.at-faq-single .h2 {
    font-family: 'Archivo', system-ui, sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.05;
    font-size: clamp(24px, 2.2vw, 30px);
    color: var(--ink);
    margin: 0;
}
.at-faq-single .lead   { font-size: 18px; line-height: 1.6; color: var(--ink-soft); }
.at-faq-single .mono   { font-family: 'IBM Plex Mono', monospace; }
.at-faq-single .accent { color: var(--accent); }
.at-faq-single .muted  { color: var(--ink-soft); }

.at-faq-single .eyebrow {
    display: inline-block;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 500;
}
.at-faq-single .eyebrow-light {
    display: inline-block;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 500;
}

/* -------------------------------------------------------------------------
   Sections + head band
   ------------------------------------------------------------------------- */

.at-faq-single .sec { padding: 88px 0; }
.at-faq-single .shell-narrow { max-width: 820px; margin: 0 auto; padding: 0 40px; }

.at-faq-single .head-band { background: var(--accent); color: #fff; }
.at-faq-single .head-band .h1 { color: #fff; }
.at-faq-single .crumbs {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}
.at-faq-single .crumbs a { text-decoration: none; color: rgba(255, 255, 255, 0.7); }
.at-faq-single .crumbs a:hover { color: #fff; }

.at-faq-single .backlink {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.at-faq-single .backlink:hover { gap: 13px; }

/* -------------------------------------------------------------------------
   Answer (the_content) - first paragraph reads as a lede
   ------------------------------------------------------------------------- */

.at-faq-single .answer p { font-size: 17.5px; line-height: 1.7; color: var(--ink-soft); }
.at-faq-single .answer p + p { margin-top: 22px; }
.at-faq-single .answer strong { color: var(--ink); font-weight: 600; }
.at-faq-single .answer > p:first-child,
.at-faq-single .answer .lede { font-size: 20px; line-height: 1.6; color: var(--ink); font-weight: 500; }
.at-faq-single .answer ul,
.at-faq-single .answer ol { margin: 22px 0; padding-left: 1.4rem; }
.at-faq-single .answer li { font-size: 17px; line-height: 1.65; color: var(--ink-soft); }
.at-faq-single .answer li + li { margin-top: 8px; }
.at-faq-single .answer a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.at-faq-single .callout {
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-left: 3px solid var(--accent);
    padding: 28px 30px;
    margin: 36px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.at-faq-single .callout-h { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.at-faq-single .callout-d { font-size: 16px; line-height: 1.6; color: var(--ink); }

.at-faq-single .divider { height: 1px; background: var(--line); margin: 44px 0; }

/* -------------------------------------------------------------------------
   Related questions
   ------------------------------------------------------------------------- */

.at-faq-single .related { border-top: 2px solid var(--ink); }
.at-faq-single .rrow {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 22px 2px;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
    color: var(--ink);
    transition: 0.15s;
}
.at-faq-single .rrow:hover { padding-left: 10px; }
.at-faq-single .rrow:hover .rarrow { background: var(--accent); color: #fff; border-color: var(--accent); }
.at-faq-single .rrow-q { font-family: 'Archivo', system-ui, sans-serif; font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }
.at-faq-single .rarrow {
    margin-left: auto;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border: 1.5px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: var(--accent);
    transition: 0.15s;
}

/* -------------------------------------------------------------------------
   Help box (dark CTA)
   ------------------------------------------------------------------------- */

.at-faq-single .helpbox {
    background: var(--ink);
    color: var(--paper);
    padding: 44px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 8px;
}
.at-faq-single .btn-outline { background: transparent; color: #fff !important; border-color: #fff; }
.at-faq-single .btn-outline:hover { background: rgba(255, 255, 255, 0.08); }

/* -------------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------------- */

@media (max-width: 900px) {
    .at-faq-single .sec { padding: 56px 0; }
    .at-faq-single .shell-narrow { padding: 0 24px; }
    .at-faq-single .helpbox { padding: 32px; }
}
