:root { color-scheme: light; }
* { box-sizing: border-box; }
html { background: #DCE7FA; scroll-behavior: smooth; }
body { margin: 0; background: #FAFAF8; font-family: 'Plus Jakarta Sans','Avenir Next','Segoe UI',Verdana,sans-serif; color: #1A1A1A; }
::selection { background: rgba(44,95,219,0.16); }
a { color: #2C5FDB; }
a:hover { color: #2450BC; }
img { max-width: 100%; }
.wrap { max-width: 1140px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.wrap.narrow { max-width: 760px; }
.eyebrow { margin: 0 0 14px; color: #6B7280; font-weight: 700; font-size: 12.5px; letter-spacing: 0.2em; text-transform: uppercase; }

.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; background: #2C5FDB; transform-origin: 0 50%; transform: scaleX(0); z-index: 60; pointer-events: none; }

.site-nav { position: sticky; top: 0; z-index: 50; background: rgba(250,250,248,0.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid #ECECE7; }
.site-nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; max-width: 1180px; }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #1A1A1A; }
.nav-logo svg { width: 26px; height: 26px; flex-shrink: 0; }
.nav-logo span { font-family: 'Poppins','Plus Jakarta Sans',sans-serif; font-weight: 800; letter-spacing: 0.1em; font-size: 14px; color: #1A1A1A; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { color: #4B5563; text-decoration: none; font-size: 14.5px; font-weight: 600; }
.nav-links a:hover { color: #1A1A1A; }
.nav-links .btn-cta { font-size: 14.5px; padding: 10px 20px; color: #FFFFFF; }
@media (max-width: 640px) { .nav-links a.nav-secondary { display: none; } }

.btn { display: inline-block; text-decoration: none; font-weight: 600; border-radius: 999px; transition: transform 0.2s ease, background 0.2s ease; }
.btn-primary { background: #2C5FDB; color: #FFFFFF; font-size: 16px; padding: 15px 30px; box-shadow: 0 4px 16px rgba(44,95,219,0.28); }
.btn-primary:hover { background: #2450BC; color: #FFFFFF; transform: translateY(-2px); }
.btn-cta { background: #2C5FDB; color: #FFFFFF; border-radius: 999px; }
.btn-cta:hover { background: #2450BC; color: #FFFFFF; }

.post-head { background-image: linear-gradient(180deg, #DCE7FA 0%, #EAF1FC 55%, #FAFAF8 100%); padding: 56px 0 40px; }
.post-head .back { font-size: 14px; font-weight: 600; text-decoration: none; color: #4B5563; }
.post-head h1 { font-family: 'Poppins','Plus Jakarta Sans',sans-serif; font-size: clamp(30px,4.4vw,44px); line-height: 1.15; letter-spacing: -0.01em; margin: 18px 0 14px; }
.post-head .meta { margin: 0; color: #6B7280; font-size: 14px; }

.prose { font-size: 17.5px; line-height: 1.75; color: #2A2F38; padding: 16px 0 8px; }
.prose h2 { font-family: 'Poppins','Plus Jakarta Sans',sans-serif; font-size: 26px; line-height: 1.25; margin: 44px 0 12px; color: #1A1A1A; }
.prose h3 { font-family: 'Poppins','Plus Jakarta Sans',sans-serif; font-size: 20px; margin: 32px 0 8px; color: #1A1A1A; }
.prose p { margin: 0 0 18px; }
.prose ul, .prose ol { margin: 0 0 20px; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose blockquote { margin: 24px 0; padding: 16px 20px; background: #F2F5FC; border-left: 4px solid #2C5FDB; border-radius: 6px; }
.prose code { background: #F2F3F6; padding: 2px 6px; border-radius: 4px; font-size: 0.92em; }
.prose pre { background: #12181F; color: #E8EEFB; padding: 18px 20px; border-radius: 10px; overflow-x: auto; font-size: 14.5px; line-height: 1.6; white-space: pre-wrap; }
.prose pre code { background: none; padding: 0; color: inherit; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 22px; font-size: 15.5px; }
.prose th, .prose td { border: 1px solid #E4E7ED; padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: #F2F5FC; }
.prose .sources { font-size: 14px; color: #6B7280; border-top: 1px solid #E4E7ED; padding-top: 18px; margin-top: 36px; }

.cta-box { margin: 40px 0 88px; background: #12181F; color: #E8EEFB; border-radius: 16px; padding: 36px 32px; }
.cta-box h2 { font-family: 'Poppins','Plus Jakarta Sans',sans-serif; color: #FFFFFF; margin: 0 0 10px; font-size: 24px; }
.cta-box p { margin: 0 0 22px; color: #C7D2E8; line-height: 1.6; }

.post-list { display: grid; gap: 18px; padding: 8px 0 96px; }
.post-card { display: block; text-decoration: none; color: inherit; background: #FFFFFF; border: 1px solid #E4E7ED; border-radius: 14px; padding: 26px 26px; transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; }
.post-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(44,95,219,0.12); border-color: #C9D9F4; color: inherit; }
.post-card h2 { font-family: 'Poppins','Plus Jakarta Sans',sans-serif; font-size: 21px; line-height: 1.3; margin: 0 0 8px; color: #1A1A1A; }
.post-card p { margin: 0 0 10px; color: #4B5563; line-height: 1.6; font-size: 15.5px; }
.post-card .meta { font-size: 13px; color: #9AA0AC; }

.site-footer { background: #DCE7FA; }
.site-footer .wrap { max-width: 1080px; padding: 40px 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 13px; color: #6B7280; }
.site-footer a { color: #4B5563; text-decoration: none; }
.site-footer a:hover { color: #2C5FDB; }
@media (prefers-reduced-motion: reduce) { .scroll-progress { display: none; } .post-card:hover { transform: none; } }
