body { font-family: 'Inter', system-ui, sans-serif; }
code, .font-mono { font-family: 'JetBrains Mono', monospace; }

/* prose styles */
.prose { color: inherit; }
.prose pre {
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem;
    overflow-x: auto;
    font-size: 13px;
    line-height: 1.6;
    margin: 1.5rem 0;
}
.dark .prose pre {
    background: #111318;
    border-color: rgba(31, 41, 55, 0.5);
}
.prose pre code,
.prose code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
}
.prose p code {
    border-bottom: 1px solid #e5e7eb;
    padding: 0.1em 0.3em;
}
.dark .prose p code {
    border-color: rgba(31, 41, 55, 0.5);
}
.prose a {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}
.prose h2, .prose h3, .prose h4 {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}
.prose h2 { font-size: 1.25rem; }
.prose h3 { font-size: 1.1rem; }
.prose p { margin-bottom: 1rem; line-height: 1.7; }
.prose ul, .prose ol { margin-bottom: 1rem; padding-left: 1.5rem; }
.prose li { margin-bottom: 0.25rem; line-height: 1.7; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose blockquote {
    border-left: 2px solid #d1d5db;
    padding-left: 1rem;
    color: #6b7280;
    margin: 1.5rem 0;
}
.dark .prose blockquote {
    border-color: rgba(55, 65, 81, 0.5);
    color: #9ca3af;
}
.prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 14px;
}
.prose th, .prose td {
    border-bottom: 1px solid #e5e7eb;
    padding: 0.5rem 0.75rem;
    text-align: left;
}
.dark .prose th, .dark .prose td {
    border-color: rgba(31, 41, 55, 0.5);
}
.prose th {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #9ca3af;
}
.prose img {
    max-width: 100%;
    margin: 1.5rem 0;
    border-bottom: 1px solid #e5e7eb;
}
.dark .prose img {
    border-color: rgba(31, 41, 55, 0.5);
}
.prose hr {
    border: none;
    border-bottom: 1px solid #e5e7eb;
    margin: 2rem 0;
}
.dark .prose hr {
    border-color: rgba(31, 41, 55, 0.5);
}

/* animations */
@keyframes fadein {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}
.fadein { animation: fadein 0.3s ease-out forwards; }

/* pagination */
.pagination {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: center;
    gap: 1rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
}
.dark .pagination {
    border-color: rgba(31, 41, 55, 0.5);
}
.pagination a {
    color: #6b7280;
    text-decoration: none;
}
.pagination a:hover {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}
