:root { color-scheme: light; --brand: #0d0040; --muted: #4d4d4d; --line: #e7e7e7; }
* { box-sizing: border-box; }
/* Navigation and footer reuse the homepage's Tailwind markup and typography.
   Keep editorial styles scoped so they cannot change that shared appearance. */
a:focus-visible, button:focus-visible { outline: 3px solid var(--brand); outline-offset: 5px; }
.skip-link { position: absolute; left: 1rem; top: -6rem; background: white; padding: 1rem; z-index: 60; }
.skip-link:focus { top: 1rem; }
header a[aria-current] { text-decoration: underline; text-underline-offset: .25em; }
.main-content { max-width: 1060px; min-height: 50vh; margin: auto; padding: 9.25rem 1.5rem 5rem; }
.main-content h1, .main-content h2, .main-content h3 { line-height: 1.22; letter-spacing: -.025em; overflow-wrap: anywhere; }
.main-content h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; }
.main-content h2 { font-size: 1.5rem; font-weight: 600; }
.main-content h3 { font-size: 1.25rem; font-weight: 600; }
.main-content a { text-decoration: underline; text-underline-offset: .2em; }
.main-content a:hover { text-decoration-thickness: 2px; }
.resources-intro { max-width: 780px; margin-bottom: 3rem; }
.main-content .resources-intro h1 { font-size: 1.625rem; }
.resources-intro p { margin-top: 1.5rem; font-size: 1.125rem; line-height: 1.75; color: var(--muted); }
.tool-card { border: 1px solid var(--line); border-radius: 1rem; padding: 1.5rem 2rem; background: #f6f6f6; }
.tool-card h2 { margin-top: .25rem; }
.tool-card p:last-child { margin-bottom: 0; color: var(--muted); }
.eyebrow { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin: 0; }
.articles-list { margin-top: 3rem; }
.article-card { padding: 1.5rem 0; border-bottom: 1px solid var(--line); max-width: 780px; }
.article-card h3 { margin: .5rem 0; }
.article-card p { color: var(--muted); margin: .75rem 0 0; }
time, .article-date { color: var(--muted); font-size: .9rem; }
.preview-label, .draft-label { background: #fff4d8; color: #624400; border-radius: .3rem; padding: .5rem .8rem; font-size: .875rem; }
.preview-label { margin: 0 0 2rem; }
.article-body { max-width: 780px; margin: auto; }
.back-link { font-size: .9rem; }
.article-header { margin: 2rem 0 3rem; }
.article-header h1 { margin-bottom: 1rem; }
.prose { font-size: 1.0625rem; line-height: 1.75; color: #374151; overflow-wrap: anywhere; }
.prose h2 { margin: 2.5rem 0 1rem; color: var(--brand); }
.prose h3 { margin: 2rem 0 1rem; color: var(--brand); }
.prose p, .prose ul, .prose ol { margin: 1.25rem 0; }
.prose ul { list-style: disc; padding-left: 1.5rem; }
.prose ol { list-style: decimal; padding-left: 1.5rem; }
.prose li + li { margin-top: .5rem; }
.prose img { margin: 2rem auto .75rem; border: 1px solid var(--line); border-radius: .5rem; }
.prose p:has(> img) + p:has(> em:only-child) { font-size: .9rem; color: var(--muted); text-align: center; margin-top: .5rem; }
.prose blockquote { border-left: 3px solid var(--brand); margin: 2rem 0; padding: .1rem 1.25rem; background: #f6f6f6; }
.prose table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin: 2rem 0; }
.prose th, .prose td { border: 1px solid var(--line); text-align: left; padding: .65rem 1rem; }
.prose th { background: #f6f6f6; }
.prose pre { max-width: 100%; overflow-x: auto; background: #f6f6f6; padding: 1rem; border-radius: .5rem; }
.prose code { font-size: .9em; }
.article-related { border-top: 1px solid var(--line); margin-top: 3rem; padding-top: 1rem; font-size: .95rem; color: var(--muted); }
@media (max-width: 1023px) {
  .main-content { padding-top: 7.25rem; }
}
@media (min-width: 640px) {
  .main-content .resources-intro h1 { font-size: 2rem; }
  .resources-intro p { font-size: 1.25rem; }
}
@media (min-width: 1024px) {
  .resources-intro p { width: max-content; max-width: min(1012px, calc(100vw - 3rem)); }
}
