html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
}

.section-fade {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-fade.is-visible {
    opacity: 1;
    transform: translateY(0);
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f8fafc;
}

::-webkit-scrollbar-thumb {
    background: #bfdbfe;
    border-radius: 9999px;
}

.prose-content p {
    margin-bottom: 1.1em;
}

.prose-content h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin: 1.75em 0 0.6em;
}

.prose-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #111827;
    margin: 1.5em 0 0.5em;
}

.prose-content ul,
.prose-content ol {
    margin: 0 0 1.1em 1.25em;
}

.prose-content ul {
    list-style: disc;
}

.prose-content ol {
    list-style: decimal;
}

.prose-content a {
    color: #2563eb;
    text-decoration: underline;
}

.prose-content img {
    border-radius: 0.5rem;
    margin: 1.25em 0;
}

.prose-content blockquote {
    border-left: 3px solid #e5e7eb;
    padding-left: 1em;
    color: #6b7280;
    margin: 1.25em 0;
}

.prose-content code {
    background: #f3f4f6;
    padding: 0.15em 0.4em;
    border-radius: 0.25rem;
    font-size: 0.9em;
}

@media print {
    .no-print {
        display: none !important;
    }

    body {
        color: #000;
    }

    main {
        max-width: 100% !important;
    }

    section {
        break-inside: avoid;
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }

    a {
        color: inherit !important;
        text-decoration: none !important;
    }
}
