/* ═══════════════════════════════════
   ABOUT PAGE
   Follows enscribe.dev/about structure:
   - Breadcrumbs
   - Prose article (typography)
   - Q&A cards with border
   ═══════════════════════════════════ */

/* ── Main container ── */
.about-main {
    max-width: 48rem;
    margin: 0 auto;
    padding: 0 1rem 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex-grow: 1;
}

/* ── Breadcrumbs ── */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0;
    /* override nav styles from index.css */
    justify-content: flex-start;
    background: none;
    border: none;
}

.breadcrumb-icon {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1;
}

.breadcrumb-label {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--foreground);
    font-weight: 500;
}

/* ═══════════════════════════════════
   PROSE TYPOGRAPHY
   Mirrors enscribe.dev typography.css
   ═══════════════════════════════════ */
.prose {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--foreground);
}

/* ── Headings ── */
.prose h1 {
    font-size: 1.875rem;
    font-weight: 500;
    color: var(--foreground);
    margin: 0 0 1.5rem;
    line-height: 1.2;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.prose h1 .last-updated {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--muted-foreground);
}

.prose h2 {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--foreground);
    margin: 2rem 0 1rem;
    line-height: 1.3;
}

.prose h3 {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--foreground);
    margin: 2rem 0 1rem;
    line-height: 1.3;
}

/* ── Paragraphs ── */
.prose p {
    color: rgba(242, 233, 219, 0.8);
    /* foreground/80 */
    margin: 1.25rem 0;
    text-wrap: pretty;
    word-break: break-word;
}

/* ── Links ── */
.prose a {
    color: var(--foreground);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: var(--muted-foreground);
    transition: text-decoration-color 0.2s ease;
    word-break: break-all;
}

.prose a:hover {
    text-decoration-color: var(--foreground);
}

/* ── Strong / Bold ── */
.prose strong {
    color: var(--foreground);
    font-weight: 500;
}

/* ── Emphasis ── */
.prose em {
    color: rgba(242, 233, 219, 0.8);
    font-style: italic;
}

/* ── Inline code ── */
.prose code {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    background-color: var(--muted);
    color: var(--foreground);
    border: 1px solid var(--border);
    padding: 0.15rem 0.3rem;
    word-break: break-word;
}

/* ── Lists ── */
.prose ul {
    margin: 1.25rem 0 1.25rem 1.5rem;
    list-style-type: disc;
}

.prose ol {
    margin: 1.25rem 0 1.25rem 1.5rem;
    list-style-type: decimal;
}

.prose li {
    color: rgba(242, 233, 219, 0.8);
    padding-left: 0.5rem;
    margin-top: 0.5rem;
}

.prose li::marker {
    color: rgba(242, 233, 219, 0.3);
}

/* ── Blockquote ── */
.prose blockquote {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
    border-left: 2px solid var(--border);
    color: var(--muted-foreground);
    font-size: 0.75rem;
    line-height: 1.5;
}

/* ── Horizontal rule ── */
.prose hr {
    margin: 2rem 0;
    border: none;
    border-top: 1px solid var(--border);
}

/* ═══════════════════════════════════
   Q&A SECTION
   Matches enscribe.dev's Q&A cards
   ═══════════════════════════════════ */
.qa-section {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.qa-card {
    border: 1px solid var(--border);
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* stack cards seamlessly — shared borders */
.qa-card+.qa-card {
    border-top: none;
}

.qa-card h3 {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
    margin: 0;
    line-height: 1.4;
}

.qa-card p {
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--muted-foreground);
    margin: 0;
}

.qa-marker {
    color: #c4a97d;
    /* warm primary accent — matches enscribe's --primary */
    font-weight: 500;
}

.qa-card:hover {
    border-color: var(--muted-foreground);
    transition: border-color 0.2s ease;
}

.qa-card+.qa-card:hover {
    /* re-draw top border on hover so it highlights fully */
    border-top: 1px solid var(--muted-foreground);
    margin-top: -1px;
}