*,
*::before,
*::after {
    box-sizing: border-box;
}

body.article-page {
    margin: 0;
}

.hidden {
    display: none !important;
}

.block {
    display: block;
}

.flex {
    display: flex;
}

.inline-flex {
    display: inline-flex;
}

.grid {
    display: grid;
}

.flex-col {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-end {
    justify-content: flex-end;
}

.gap-1 {
    gap: 0.25rem;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 0.75rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.sticky {
    position: sticky;
}

.top-0 {
    top: 0;
}

.z-50 {
    z-index: 50;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.mx-2 {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

.mt-12 {
    margin-top: 3rem;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.p-5 {
    padding: 1.25rem;
}

.p-6 {
    padding: 1.5rem;
}

.p-8 {
    padding: 2rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.py-16 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.pt-8 {
    padding-top: 2rem;
}

.h-4,
.w-4 {
    width: 1rem;
    height: 1rem;
}

.h-5,
.w-5 {
    width: 1.25rem;
    height: 1.25rem;
}

.h-16 {
    height: 4rem;
}

.w-16 {
    width: 4rem;
}

.max-w-4xl {
    max-width: 56rem;
}

.max-w-7xl {
    max-width: 80rem;
}

.rounded-xl {
    border-radius: 0.75rem;
}

.rounded-2xl {
    border-radius: 1rem;
}

.rounded-full {
    border-radius: 9999px;
}

.border {
    border: 1px solid #e5e7eb;
}

.border-b {
    border-bottom: 1px solid #e5e7eb;
}

.border-t-2 {
    border-top: 2px solid #e5e7eb;
}

.border-b-4 {
    border-bottom-width: 4px;
}

.border-gray-100 {
    border-color: #f3f4f6;
}

.border-gray-200 {
    border-color: #e5e7eb;
}

.border-slate-200 {
    border-color: #e2e8f0;
}

.border-blue-600 {
    border-color: #2563eb;
}

.bg-white {
    background-color: #fff;
}

.bg-gray-50 {
    background-color: #f9fafb;
}

.bg-slate-50 {
    background-color: #f8fafc;
}

.text-center {
    text-align: center;
}

.text-xs {
    font-size: 0.75rem;
    line-height: 1rem;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

.text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

.leading-tight {
    line-height: 1.25;
}

.text-gray-300 {
    color: #d1d5db;
}

.text-gray-500 {
    color: #6b7280;
}

.text-gray-600 {
    color: #4b5563;
}

.text-gray-700 {
    color: #374151;
}

.text-gray-900 {
    color: #111827;
}

.text-slate-600 {
    color: #475569;
}

.text-slate-900 {
    color: #0f172a;
}

.text-blue-600 {
    color: #2563eb;
}

.shadow-sm {
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.shadow-md {
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.1);
}

.shadow-lg {
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
}

.transition-colors {
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.transition-all {
    transition: all 0.2s ease;
}

.hover\:text-blue-600:hover {
    color: #2563eb;
}

.hover\:shadow-lg:hover {
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
}

.animate-spin {
    animation: fp-spin 1s linear infinite;
}

@keyframes fp-spin {
    to {
        transform: rotate(360deg);
    }
}

.markdown-content .article-cta-panel {
    text-align: center;
    padding: 1.75rem;
    background: linear-gradient(135deg, #38bdf8 0%, #6366f1 100%);
    border-radius: 12px;
    margin: 2rem 0;
    color: #fff;
}

.markdown-content .article-cta-kicker {
    margin: 0 0 0.35rem;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0;
    color: rgba(255, 255, 255, 0.82);
}

.markdown-content .article-cta-title {
    margin: 0 0 0.75rem;
    font-size: 1.35rem;
    line-height: 1.45;
    font-weight: 800;
    color: #fff;
}

.markdown-content .article-cta-copy {
    margin: 0 auto 1.15rem;
    max-width: 42rem;
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.92);
}

.markdown-content .article-cta-button {
    display: inline-block;
    padding: 0.85rem 1.35rem;
    background: #fff;
    color: #2563eb;
    border-radius: 8px;
    font-weight: 800;
    text-decoration: none;
}

.markdown-content .book-platform-links {
    margin: 1.5rem 0 2rem;
    padding: 1.2rem;
    border: 1px solid #dbeafe;
    border-radius: 10px;
    background: #f8fbff;
}

.markdown-content .book-platform-title {
    margin: 0 0 0.85rem;
    font-weight: 700;
    color: #1f2937;
}

.markdown-content .book-platform-links a {
    display: inline-block;
    margin: 0.25rem 0.5rem 0.25rem 0;
    padding: 0.65rem 0.9rem;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #bfdbfe;
    font-weight: 700;
    text-decoration: none;
}

.markdown-content details.faq-item {
    margin: 0.8rem 0;
    border: 1px solid #dbeafe;
    border-radius: 10px;
    background: #f8fbff;
    overflow: hidden;
}

.markdown-content details.faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 1rem 1.15rem;
    font-weight: 800;
    color: #1e3a8a;
}

.markdown-content details.faq-item summary::-webkit-details-marker {
    display: none;
}

.markdown-content details.faq-item summary::after {
    content: '+';
    float: right;
    font-weight: 800;
    color: #2563eb;
}

.markdown-content details.faq-item[open] summary::after {
    content: '-';
}

.markdown-content details.faq-item p {
    margin: 0;
    padding: 0 1.15rem 1rem;
    color: #374151;
}

@media (max-width: 640px) {
    .markdown-content .article-cta-panel {
        padding: 1.25rem;
        margin: 1.5rem 0;
    }

    .markdown-content .article-cta-title {
        font-size: 1.12rem;
    }

    .markdown-content .article-cta-button,
    .markdown-content .book-platform-links a {
        display: block;
        width: 100%;
        text-align: center;
    }
}

@media (min-width: 640px) {
    .sm\:flex-row {
        flex-direction: row;
    }

    .sm\:p-12 {
        padding: 3rem;
    }

    .sm\:px-6 {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .sm\:text-4xl {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }
}

@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .lg\:px-8 {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}
