/* Prose (trusted article/description HTML: guides, static pages, app
   descriptions). Generic on purpose — everything is scoped to the .prose
   wrapper so any page type can opt in. */

.prose {
    font-size: 15px;
    line-height: 1.7;
    max-width: 760px;
}

.prose h2 {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.015em;
    margin: 28px 0 10px;
}

.prose h3 {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 22px 0 8px;
}

.prose h4 {
    font-size: 14.5px;
    font-weight: 700;
    margin: 18px 0 6px;
}

.prose h2:first-child,
.prose h3:first-child,
.prose h4:first-child {
    margin-top: 0;
}

.prose p {
    margin: 0 0 12px;
}

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

.prose li {
    margin-bottom: 4px;
}

.prose a {
    color: var(--accent);
    transition: color 120ms ease;
}

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

.prose strong {
    font-weight: 650;
}

.prose blockquote {
    margin: 0 0 12px;
    padding: 2px 0 2px 16px;
    border-left: 3px solid var(--accent-soft-border);
    color: var(--text-muted);
}

.prose blockquote > :last-child {
    margin-bottom: 0;
}

.prose code {
    padding: 2px 7px;
    font-size: 13px;
    background: var(--surface-2);
    border-radius: var(--radius-sm);
}

.prose pre {
    margin: 0 0 14px;
    padding: 14px 16px;
    font-size: 13px;
    line-height: 1.6;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow-x: auto;
}

.prose pre code {
    padding: 0;
    background: none;
    border-radius: 0;
    font-size: inherit;
}

.prose img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
}

.prose hr {
    border: 0;
    border-top: 1px solid var(--border);
    margin: 24px 0;
}

/* Tables: no cell borders, hairline row separators, micro-label header. */
.prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 14px;
    font-size: 13.5px;
}

.prose th {
    text-align: left;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 8px 14px 8px 0;
    border-bottom: 1px solid var(--border);
}

.prose td {
    padding: 8px 14px 8px 0;
    border-bottom: 1px solid var(--border);
}

/* Static page wrapper (pages/show view). */
.page-static {
    max-width: 760px;
}

.page-static h1 {
    font-size: 24px;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}
