:root{--ink:#26221e;--paper:#fffdf9;--cream:#f5eee3;--accent:#b64327;--line:#dbcfc1}
*{box-sizing:border-box}
body{margin:0;background:var(--paper);color:var(--ink);font:18px/1.65 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.skip-link{position:absolute;left:-9999px}
.skip-link:focus{left:1rem;top:1rem;z-index:9;background:#fff;padding:.6rem}
.home-header,.site-footer{background:#29231f;color:#fff}
.home-shell,.footer-inner{max-width:1200px;margin:auto;padding:1rem 24px}
.home-header__inner{display:flex;gap:2rem;justify-content:space-between;align-items:center}
.home-logo,.home-header nav a,.site-footer a{color:#fff;text-decoration:none}
.home-header nav{display:flex;gap:1rem;flex-wrap:wrap;font-size:.9rem}
.home-logo__wordmark{font-size:1.2rem}
.home-logo__wordmark span{color:#f0b95b}
.article-text{max-width:960px;margin:auto;padding:34px 24px 64px}
.eyebrow{color:var(--accent);font-weight:700;text-transform:uppercase;letter-spacing:.08em;font-size:.78rem}
.article-text h1{font-size:clamp(2.2rem,6vw,4.5rem);line-height:1.03;margin:.2rem 0 1rem}
.article-text h2{line-height:1.16;margin:3rem 0 1rem;font-size:clamp(1.45rem,3vw,2.15rem)}
.article-text h3{line-height:1.25;margin:1.5rem 0 .4rem}
.lead{font-size:1.18rem;max-width:78ch}
.article-hero{margin:1.8rem 0 2rem}
.article-hero img{display:block;width:100%;height:auto;border-radius:18px}
.callout{border-left:5px solid var(--accent);background:var(--cream);padding:1rem 1.2rem;margin:1.4rem 0}
.diagnostic-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.diagnostic-grid section{background:#f8f4ed;padding:1rem;border-radius:12px}
.table-scroll{overflow-x:auto}
.styled-table{width:100%;border-collapse:collapse;margin:1rem 0}
.styled-table th,.styled-table td{border:1px solid var(--line);padding:.75rem;text-align:left;vertical-align:top}
.styled-table th{background:#f3eade}
.route-links{padding-left:1.2rem}
code{overflow-wrap:anywhere}
.site-footer{padding:2rem 0}
.site-footer__inner{max-width:1200px;margin:auto;padding:0 24px}
.site-footer__links{display:flex;flex-wrap:wrap;gap:2rem}
.site-footer__links section{min-width:170px}
.site-footer__links h2{font-size:1rem}
.site-footer__links ul{padding-left:1rem;margin:0}
.site-footer__copyright{text-align:center;margin:1.5rem 0 0;font-size:.85rem}
@media(max-width:650px){.home-header__inner{align-items:flex-start;flex-direction:column;gap:.5rem}
.home-header nav{gap:.5rem;font-size:.78rem}
.article-text{padding:24px 18px 48px}
.diagnostic-grid{grid-template-columns:1fr}
.styled-table{font-size:.9rem}
}
