/* Manual prose styling (Tailwind v4 Play CDN doesn't bundle the typography
   plugin — we replicate the bits we use). All overrides are scoped to
   .prose so they don't leak into the marketing pages. */

.prose {
    color: rgb(63 63 70); /* zinc-700 */
    line-height: 1.7;
    font-size: 0.95rem;
}
:where(.dark) .prose,
.prose.dark\:prose-invert:where(.dark *) {
    color: rgb(212 212 216); /* zinc-300 */
}

.prose .lead {
    font-size: 1.125rem;
    color: rgb(82 82 91); /* zinc-600 */
    margin-bottom: 2rem;
}
:where(.dark) .prose .lead {
    color: rgb(161 161 170); /* zinc-400 */
}

.prose h1 {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: rgb(24 24 27);
    margin-top: 0;
    margin-bottom: 1rem;
}
.prose h2 {
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: rgb(24 24 27);
    margin-top: 3rem;
    margin-bottom: 1rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgb(228 228 231); /* zinc-200 */
}
.prose h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: rgb(24 24 27);
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}
:where(.dark) .prose :is(h1, h2, h3) { color: rgb(255 255 255); }
:where(.dark) .prose h2 { border-color: rgb(39 39 42); /* zinc-800 */ }

.prose p { margin: 0 0 1rem; }

.prose ul {
    list-style: disc;
    padding-left: 1.25rem;
    margin: 0 0 1.25rem;
}
.prose li { margin: 0.35rem 0; }
.prose li::marker { color: rgb(161 161 170); }

.prose a {
    color: rgb(79 70 229); /* indigo-600 */
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}
.prose a:hover { color: rgb(67 56 202); /* indigo-700 */ }
:where(.dark) .prose a       { color: rgb(165 180 252); /* indigo-300 */ }
:where(.dark) .prose a:hover { color: rgb(199 210 254); /* indigo-200 */ }

.prose code {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.85em;
    background: rgb(244 244 245); /* zinc-100 */
    color: rgb(190 24 93); /* pink-700 — code-token accent */
    padding: 0.1rem 0.35rem;
    border-radius: 0.3rem;
    border: 1px solid rgb(228 228 231);
}
:where(.dark) .prose code {
    background: rgb(39 39 42);
    color: rgb(244 114 182); /* pink-400 */
    border-color: rgb(63 63 70);
}

.prose pre {
    background: rgb(9 9 11); /* zinc-950 */
    color: rgb(228 228 231);
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    overflow-x: auto;
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 1.25rem 0;
    border: 1px solid rgb(39 39 42);
}
.prose pre code {
    background: transparent;
    color: inherit;
    border: 0;
    padding: 0;
    font-size: inherit;
}

.prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.25rem 0;
    font-size: 0.9rem;
}
.prose thead th {
    text-align: left;
    font-weight: 600;
    color: rgb(82 82 91);
    border-bottom: 1px solid rgb(228 228 231);
    padding: 0.5rem 0.75rem;
}
.prose tbody td {
    border-bottom: 1px solid rgb(244 244 245);
    padding: 0.5rem 0.75rem;
    vertical-align: top;
}
:where(.dark) .prose thead th { color: rgb(161 161 170); border-color: rgb(63 63 70); }
:where(.dark) .prose tbody td { border-color: rgb(39 39 42); }

.prose strong { color: rgb(24 24 27); font-weight: 600; }
:where(.dark) .prose strong { color: rgb(255 255 255); }

/* Smooth theme transitions on common surfaces. */
html.dark, html.light, body, header, footer, main, .prose, .prose * {
    transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

/* Scalar styles itself — no overrides needed. */
