/* /answers: question-shaped answer pages. Loaded after ai-director.css and reuses its
   tokens (dark dot-grid page, .dir-btn, .dir-faq, .dir-brief, .dir-final). Only what a
   text-led answer page needs is added here. */

.ans-hero {
    width: 100%;
    padding: 132px 24px 40px;
}

.ans-wrap {
    width: min(820px, 100%);
    margin: 0 auto;
    text-align: left;
}

.ans-hero,
.ans-section {
    text-align: left;
}

.ans-crumbs {
    margin: 0 0 22px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
}

.ans-crumbs a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.ans-crumbs a:hover {
    color: #fff;
    text-decoration: underline;
}

.ans-crumbs span[aria-hidden] {
    margin: 0 6px;
}

.ans-page h1 {
    color: #fff;
    font-size: clamp(1.9rem, 4.6vw, 3rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.025em;
    text-wrap: balance;
    margin: 0 0 18px;
}

.ans-meta {
    margin: 0 0 26px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.92rem;
}

.ans-answer {
    margin: 0 0 28px;
    padding: 22px 24px;
    border-left: 3px solid rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.04);
    border-radius: 0 14px 14px 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.13rem;
    line-height: 1.7;
}

.ans-answer strong {
    color: #fff;
}

.ans-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.ans-note {
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.ans-section {
    width: 100%;
    padding: 56px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.ans-page .ans-section h2 {
    color: #fff;
    font-size: clamp(1.45rem, 3vw, 2rem);
    font-weight: 650;
    line-height: 1.2;
    letter-spacing: -0.015em;
    margin: 0 0 16px;
    text-align: left;
}

.ans-page .ans-section h3 {
    color: #fff;
    font-size: 1.08rem;
    font-weight: 600;
    margin: 26px 0 8px;
}

.ans-prose p,
.ans-prose li {
    color: rgba(255, 255, 255, 0.74);
    font-size: 1.02rem;
    line-height: 1.75;
}

.ans-prose p {
    margin: 0 0 16px;
}

.ans-prose ul,
.ans-prose ol {
    margin: 0 0 18px;
    padding-left: 22px;
}

.ans-prose li {
    margin-bottom: 8px;
}

.ans-prose a,
.ans-links a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ans-prose strong {
    color: #fff;
    font-weight: 600;
}

.ans-table-wrap {
    margin: 18px 0 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.ans-table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.ans-table caption {
    caption-side: top;
    text-align: left;
    padding: 14px 16px 6px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.88rem;
}

.ans-table th,
.ans-table td {
    padding: 11px 16px;
    text-align: left;
    vertical-align: top;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

.ans-table thead th {
    border-top: 0;
    color: #fff;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.05);
    line-height: 1.35;
}

.ans-table td:last-child:not(.num) {
    min-width: 230px;
}

.ans-table th[scope="row"] {
    position: sticky;
    left: 0;
    background: #0b0b0b;
    min-width: 150px;
    color: #fff;
    font-weight: 500;
}

.ans-table td.num,
.ans-table th.num {
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.ans-table tr.is-default th {
    background: #171717;
}

.ans-table tr.is-default td {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.ans-source {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.86rem;
    line-height: 1.6;
}

.ans-source a {
    color: rgba(255, 255, 255, 0.75);
}

.ans-checked {
    display: inline-block;
    margin: 0 0 14px;
    padding: 4px 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.ans-alt {
    list-style: none;
    padding: 0 !important;
}

.ans-alt li {
    padding: 16px 18px;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
}

.ans-alt b {
    color: #fff;
}

.ans-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ans-links li {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.7);
}

.ans-page .dir-faq {
    max-width: none;
}

.ans-page .dir-faq-item.open .dir-faq-answer {
    max-height: 900px;
}

/* Hub */
.ans-hub-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 14px;
}

.ans-hub-list a {
    display: block;
    padding: 20px 22px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.ans-hub-list a:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.06);
}

.ans-hub-list b {
    display: block;
    color: #fff;
    font-size: 1.12rem;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 6px;
}

.ans-hub-list span {
    display: block;
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.97rem;
    line-height: 1.6;
}

.ans-hub-group {
    margin: 34px 0 12px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* "Questions people ask" list added to the use-case pages, just above their FAQ. */
.ans-related {
    width: 100%;
    padding: 40px 24px 8px;
}

.ans-related h2 {
    font-size: 1.3rem !important;
    text-align: left !important;
    margin-bottom: 14px !important;
}

@media (max-width: 640px) {
    .ans-hero {
        padding: 104px 16px 28px;
    }

    .ans-section {
        padding: 44px 16px;
    }

    .ans-answer {
        padding: 18px 18px;
        font-size: 1.04rem;
    }

    .ans-cta .dir-btn {
        width: 100%;
        justify-content: center;
    }
}
