body { font-family: 'Inter', -apple-system, system-ui, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, sans-serif; }
.font-serif, .blog-content h2, .blog-content h3, .blog-content h4, .resources-content h2, .resources-content h3 { font-family: 'Crimson Pro', Georgia, serif; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 5rem; }

/* Index */
.post-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 1rem; overflow: hidden; transition: box-shadow .3s, border-color .3s; }
.post-card:hover { box-shadow: 0 10px 25px -10px rgba(0,0,0,.15); border-color: #d1d5db; }
.quick-tile { display: flex; flex-direction: column; gap: .25rem; background: #fff; border: 1px solid #e5e7eb; border-radius: .75rem; padding: 1.25rem; transition: border-color .2s, box-shadow .2s; }
.quick-tile:hover { border-color: #93c5fd; box-shadow: 0 4px 14px -6px rgba(37,99,235,.25); }
.quick-label { font-size: .7rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: #2563eb; }
.quick-title { font-family: 'Crimson Pro', Georgia, serif; font-size: 1.35rem; font-weight: 600; color: #111827; }
.quick-sub { font-size: .875rem; color: #4b5563; }

/* State picker */
.jump-picker { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; background: #eff6ff; border: 1px solid #bfdbfe; border-radius: .75rem; padding: 1rem 1.25rem; margin-bottom: 2.5rem; }
.jump-picker label { font-weight: 600; color: #1e3a8a; }
.jump-picker select { flex: 1; min-width: 200px; max-width: 100%; padding: .55rem .75rem; border: 1px solid #93c5fd; border-radius: .5rem; background: #fff; font-size: 1rem; }

/* Article body */
.blog-content { font-size: 1.0625rem; line-height: 1.8; color: #374151; overflow-wrap: anywhere; }
.blog-content h2 { font-size: 2rem; font-weight: 600; line-height: 1.2; color: #111827; margin: 3.5rem 0 1.25rem; }
.blog-content h3 { font-size: 1.5rem; font-weight: 600; color: #111827; margin: 2.5rem 0 1rem; }
.blog-content h4 { font-size: 1.25rem; font-weight: 600; color: #111827; margin: 2rem 0 .75rem; }
.blog-content p { margin: 1.25rem 0; }
.blog-content ul, .blog-content ol { margin: 1.25rem 0; padding-left: 1.5rem; }
.blog-content ul { list-style: disc; }
.blog-content ol { list-style: decimal; }
.blog-content li { margin: .4rem 0; }
.blog-content a, .resources-content a { color: #2563eb; text-decoration: underline; text-decoration-color: rgba(37,99,235,.3); text-underline-offset: 2px; }
.blog-content a:hover, .resources-content a:hover { text-decoration-color: #2563eb; }
.blog-content strong { color: #111827; font-weight: 600; }
.blog-content blockquote { border-left: 4px solid #c4b5fd; background: #faf5ff; padding: .75rem 1.25rem; margin: 2rem 0; border-radius: 0 .5rem .5rem 0; color: #4b5563; }
.blog-content blockquote p { margin: .5rem 0; }
.blog-content hr { border: 0; height: 1px; background: #e5e7eb; margin: 3rem 0; }
.blog-content code { background: #f3f4f6; padding: .1rem .35rem; border-radius: .25rem; font-size: .9em; }
.blog-content pre { background: #f9fafb; border: 1px solid #e5e7eb; border-radius: .5rem; padding: 1rem; overflow-x: auto; white-space: pre-wrap; font-size: .9rem; margin: 1.5rem 0; }
.blog-content pre code { background: none; padding: 0; }
.blog-content table { display: block; overflow-x: auto; border-collapse: collapse; margin: 1.5rem 0; font-size: .95rem; }
.blog-content th, .blog-content td { border: 1px solid #e5e7eb; padding: .5rem .75rem; text-align: left; vertical-align: top; }
.blog-content th { background: #f9fafb; color: #111827; }
.blog-content details { margin: .75rem 0; border: 1px solid #e5e7eb; border-radius: .6rem; background: #fff; }
.blog-content details[open] { box-shadow: 0 2px 8px -4px rgba(0,0,0,.12); }
.blog-content summary { cursor: pointer; padding: .8rem 1rem; list-style: none; color: #111827; border-radius: .6rem; }
.blog-content summary::-webkit-details-marker { display: none; }
.blog-content summary::before { content: '+'; display: inline-block; width: 1.25rem; color: #2563eb; font-weight: 700; }
.blog-content details[open] summary::before { content: '\2212'; }
.blog-content summary:hover { background: #f9fafb; }
.blog-content details[open] summary { border-bottom: 1px solid #e5e7eb; border-radius: .6rem .6rem 0 0; }
.blog-content details > *:not(summary) { padding-left: 1.25rem; padding-right: 1.25rem; }
.blog-content details > ul, .blog-content details > ol { padding-left: 2.5rem; }

/* Resources directory */
.resources-content { color: #4b5563; line-height: 1.7; }
.resources-content h2 { font-size: 1.75rem; font-weight: 600; color: #111827; padding: 1rem 0 .75rem; border-bottom: 1px solid #e5e7eb; margin: 1.5rem 0; }
.resources-content h3 { font-size: 1.2rem; font-weight: 600; color: #111827; background: #f9fafb; border-left: 4px solid #93c5fd; padding: .6rem 1rem; border-radius: .5rem; margin: 2rem 0 .75rem; }
.resources-content ul { margin: .75rem 0; display: grid; gap: .75rem; }
.resources-content li { list-style: none; background: #fff; border: 1px solid #e5e7eb; border-radius: .75rem; padding: 1rem; }
.resources-content li:hover { border-color: #bfdbfe; }
.resources-content li > strong:first-child, .resources-content li > a:first-child { display: block; color: #111827; margin-bottom: .25rem; }
.resources-content p { margin: .5rem 0; }
.resources-content hr { border: 0; height: 1px; background: #e5e7eb; margin: 2rem 0; }
.resources-content strong { color: #111827; }
.resources-content li > p > strong:first-child { font-size: 1.05rem; }
.resources-content li br { content: ""; display: block; margin-bottom: .35rem; }
