/* Site header + footer for the practice-tool pages (tools/*.html).
   Everything is prefixed (.sitehead / .sitefoot / .sbrand / .stoggle) so it can't clash with a tool's own styles. */
.sitehead{position:sticky;top:0;z-index:60;backdrop-filter:blur(9px);background:rgba(255,244,224,.95);border-bottom:1px solid rgba(58,36,21,.12);
  font-family:"Inter",system-ui,-apple-system,"Segoe UI",sans-serif;font-size:16px;line-height:normal;color:#3a2415}
.sitehead .sw{max-width:1160px;margin:0 auto;padding:0 22px;display:flex;align-items:center;gap:1.1rem;height:70px}
.sbrand{display:flex;align-items:center;gap:.6rem;font-family:"Poppins","Trebuchet MS",system-ui,sans-serif;font-weight:800;font-size:1.35rem;text-decoration:none;color:#3a2415}
.sbrand img{height:44px;width:44px;object-fit:contain;filter:drop-shadow(0 4px 6px rgba(0,0,0,.2))}
.sbrand b{color:#e8952f}
.sitehead nav{margin-left:auto;display:flex;gap:1.05rem;align-items:center}
.sitehead nav a{font-weight:600;font-size:.92rem;text-decoration:none;opacity:.82;white-space:nowrap;color:#3a2415}
.sitehead nav a:hover{opacity:1;color:#e8952f}
.sitehead nav a.active{opacity:1;color:#e8952f;border-bottom:2px solid #e8952f;padding-bottom:2px}
.sitehead .stoggle{display:none;margin-left:auto;background:none;border:none;font-size:1.5rem;cursor:pointer;color:#3a2415;padding:0 .3rem}
@media(max-width:940px){
  .sitehead .stoggle{display:block}
  .sitehead nav{position:absolute;top:70px;left:0;right:0;flex-direction:column;gap:0;background:#fffdf7;border-bottom:1px solid rgba(58,36,21,.12);padding:.4rem 0;display:none}
  .sitehead nav.open{display:flex}
  .sitehead nav a{padding:.7rem 22px;width:100%;opacity:.9}
  .sitehead nav a.active{border:none}
}
.sitefoot{background:#4a2c1a;color:#f3e6d3;padding:2.2rem 0 2.4rem;font-family:"Inter",system-ui,-apple-system,"Segoe UI",sans-serif;font-size:16px;line-height:normal}
.sitefoot .sw{max-width:1160px;margin:0 auto;padding:0 22px;display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:1.5rem}
.sitefoot .sbrand{color:#fff;margin-bottom:.5rem}
.sitefoot h4{margin:0 0 .6rem;font-family:"Poppins","Trebuchet MS",system-ui,sans-serif;font-size:.9rem;letter-spacing:.08em;text-transform:uppercase;color:#e8952f}
.sitefoot a{color:#f3e6d3;text-decoration:none;opacity:.85;display:block;margin:.25rem 0}
.sitefoot a.sbrand{display:flex;margin:0 0 .5rem}
.sitefoot a:hover{opacity:1}
.sitefoot small{opacity:.6;display:block;margin-top:.8rem;line-height:1.5;font-size:.8rem}
@media(max-width:720px){.sitefoot .sw{grid-template-columns:1fr}}
