/* Long-form content pages (/compare, /faq): one readable column on the
   site's dark ground. Tokens come from styles.css. */
.doc {
    max-width: 860px;
    margin: 0 auto;
    padding: calc(120px + var(--promo-h)) 24px 80px;
}
.doc h1 {
    font-size: clamp(1.9rem, 4.5vw, 2.6rem);
    line-height: 1.15;
    margin: 12px 0 16px;
    text-wrap: balance;
}
.doc .doc-lede {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 12px;
}
.doc .doc-date {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 8px;
}
.doc h2 {
    font-size: 1.45rem;
    margin: 48px 0 14px;
    text-wrap: balance;
}
.doc h3 {
    font-size: 1.0625rem;
    margin: 0 0 6px;
}
.doc p,
.doc li {
    color: var(--text-secondary);
    line-height: 1.7;
}
.doc p {
    margin-bottom: 14px;
}
.doc ul {
    padding-left: 22px;
    margin-bottom: 14px;
}
.doc li {
    margin-bottom: 6px;
}
.doc a {
    color: var(--magenta-light);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.doc a:hover {
    color: var(--text-primary);
}
.doc a:focus-visible {
    outline: 2px solid var(--magenta);
    outline-offset: 3px;
    border-radius: 2px;
}
.doc strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Comparison table: scrolls inside its own box on a phone. */
.doc-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin: 8px 0 12px;
}
.doc-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    font-size: 0.9375rem;
}
.doc-table th,
.doc-table td {
    text-align: left;
    vertical-align: top;
    padding: 12px 14px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    line-height: 1.5;
}
.doc-table thead th {
    color: var(--text-primary);
    background: var(--bg-card);
    font-weight: 600;
}
.doc-table tbody th {
    color: var(--text-primary);
    font-weight: 500;
    width: 22%;
}
.doc-table tbody tr:last-child th,
.doc-table tbody tr:last-child td {
    border-bottom: 0;
}
.doc-table .doc-ours {
    color: var(--text-primary);
}
.doc-note {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* FAQ: every answer is on the page, open, under its question. */
.qa {
    padding: 18px 0;
    border-bottom: 1px solid var(--border-color);
}
.qa p:last-child {
    margin-bottom: 0;
}

.doc-cta {
    margin-top: 48px;
    padding: 24px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-card);
}
.doc-cta h2 {
    margin-top: 0;
}
.doc-cta .btn {
    text-decoration: none;
    margin-top: 6px;
}
.doc-cta a.btn-primary,
.doc-cta a.btn-primary:hover {
    color: var(--bg-dark);
}
