* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #1e293b;
    background-color: #f8fafc;
}

/* Layout */
.mx-auto { margin-left: auto; margin-right: auto; }
.p-2 { padding: 0.5rem; }
.my-2 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }

/* Flex */
.flex { display: flex; }
.justify-center { justify-content: center; }
.gap-2 { gap: 0.5rem; }

/* Typography */
.text-center { text-align: center; }
.text-justify { text-align: justify; }
.text-sm { font-size: 0.875rem; }
.text-gray-500 { color: #64748b; }

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

/* Shadows */
.shadow { box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1); }

/* Links */
a { color: #4f46e5; text-decoration: none; }
a:hover { text-decoration: underline; }

/* Max width */
.sm\:max-w-4xl { max-width: 56rem; }

/* Prose - typography for blog content */
.prose {
    font-size: 1.125rem;
    line-height: 1.75;
    color: #334155;
}

.prose h1 { font-size: 2.25rem; font-weight: 800; margin-top: 2rem; margin-bottom: 1rem; color: #0f172a; }
.prose h2 { font-size: 1.875rem; font-weight: 700; margin-top: 2rem; margin-bottom: 1rem; color: #0f172a; }
.prose h3 { font-size: 1.5rem; font-weight: 600; margin-top: 1.5rem; margin-bottom: 0.75rem; color: #0f172a; }
.prose h4 { font-size: 1.25rem; font-weight: 600; margin-top: 1.5rem; margin-bottom: 0.75rem; color: #0f172a; }

.prose p { margin-top: 1.25em; margin-bottom: 1.25em; }

.prose a { color: #4f46e5; text-decoration: underline; }
.prose a:hover { color: #3730a3; }

.prose strong { font-weight: 700; color: #0f172a; }
.prose em { font-style: italic; }

.prose ul, .prose ol { margin-top: 1.25em; margin-bottom: 1.25em; padding-left: 1.625em; }
.prose li { margin-top: 0.5em; margin-bottom: 0.5em; }
.prose ul { list-style-type: disc; }
.prose ol { list-style-type: decimal; }

.prose blockquote {
    margin-top: 1.6em;
    margin-bottom: 1.6em;
    padding-left: 1em;
    border-left: 0.25em solid #cbd5e1;
    font-style: italic;
    color: #475569;
}

.prose img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin-top: 2em;
    margin-bottom: 2em;
}

.prose table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5em;
    margin-bottom: 1.5em;
}
.prose th, .prose td {
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    text-align: left;
}
.prose th {
    background-color: #f1f5f9;
    font-weight: 600;
}

.prose code {
    background-color: #f1f5f9;
    padding: 0.2em 0.4em;
    border-radius: 0.25rem;
    font-size: 0.875em;
}

.prose pre {
    background-color: #1e293b;
    color: #e2e8f0;
    padding: 1rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin-top: 1.5em;
    margin-bottom: 1.5em;
}
.prose pre code {
    background-color: transparent;
    padding: 0;
    color: inherit;
}

.prose hr {
    border: 0;
    border-top: 1px solid #e2e8f0;
    margin: 2em 0;
}

.markdown {
    padding: 0.5rem;
}

/* Responsive */
@media (min-width: 640px) {
    .p-2 { padding: 0.5rem; }
    .sm\:p-10 { padding: 2.5rem; }
    .sm\:max-w-4xl { max-width: 56rem; }
}
