/* One header and one footer for every page on cruxms.com.
   Self-contained on purpose: Board Hub pages load their own stylesheets, and this file must look the same there.
   The values below are the CruxMS brand tokens from /styles.css (Ink, Stone, Chalk, line). Light only. */
.sx-head,.sx-foot{
  --sx-ink:#0E1B26;--sx-orange:#DC4F26;--sx-stone:#64737F;--sx-white:#FFFFFF;--sx-chalk:#F4F6F7;--sx-line:#DDE3E6;
  --sx-display:'Archivo',system-ui,-apple-system,'Segoe UI',sans-serif;
  --sx-body:'IBM Plex Sans',system-ui,-apple-system,'Segoe UI',sans-serif;
  --sx-mono:'IBM Plex Mono',ui-monospace,'SFMono-Regular',Consolas,monospace;
  box-sizing:border-box;font-family:var(--sx-body);font-size:16px;line-height:1.5;color:var(--sx-ink);position:static;
}
.sx-head *,.sx-foot *{box-sizing:border-box}
.sx-head a,.sx-foot a{font-family:var(--sx-body)}

/* ---- header ---- */
header.sx-head{background:var(--sx-white);border-bottom:1px solid var(--sx-line);position:relative;z-index:20}
.sx-head .sx-in{max-width:var(--maxw,1080px);margin:0 auto;padding:14px var(--gutter,clamp(16px,5vw,64px));display:flex;align-items:center;justify-content:space-between;gap:20px}
.sx-head .sx-logo{display:block;flex:none;line-height:0}
.sx-head .sx-logo img{height:52px;width:auto;display:block}
.sx-head .sx-nav{display:flex;align-items:center;gap:26px}
.sx-head .sx-nav a{font-size:.9375rem;line-height:1.3;color:var(--sx-stone);text-decoration:none;white-space:nowrap}
.sx-head .sx-nav a:hover{color:var(--sx-ink)}
.sx-head .sx-nav a[aria-current="page"]{color:var(--sx-ink)}
.sx-head .sx-nav a.sx-btn{background:var(--sx-ink);color:var(--sx-chalk);font-weight:500;font-size:.875rem;padding:.6em 1.15em;border-radius:8px;border:1px solid var(--sx-ink);transition:transform .15s ease}
.sx-head .sx-nav a.sx-btn:hover{color:var(--sx-chalk);transform:translateY(-1px)}
.sx-head .sx-nav a.sx-local{display:none}
@media (min-width:1000px){.sx-head .sx-nav a.sx-local{display:inline}}
.sx-head a:focus-visible,.sx-foot a:focus-visible{outline:2px solid var(--sx-orange);outline-offset:2px}
@media (max-width:640px){
  .sx-head .sx-in{flex-wrap:wrap;padding-block:10px;row-gap:6px}
  .sx-head .sx-logo img{height:40px}
  .sx-head .sx-nav{width:100%;justify-content:space-between;gap:12px}
}

/* ---- footer ---- */
footer.sx-foot{background:var(--sx-white);border-top:1px solid var(--sx-line);color:var(--sx-stone)}
.sx-foot .sx-in{max-width:var(--maxw,1080px);margin:0 auto;padding:44px var(--gutter,clamp(16px,5vw,64px)) 28px;display:grid;grid-template-columns:1.3fr 1fr;gap:32px;align-items:start}
.sx-foot .sx-logo{display:block;line-height:0;margin-bottom:16px}
.sx-foot .sx-logo img{height:44px;width:auto;display:block}
.sx-foot p{margin:0;max-width:44ch;font-size:.9375rem;line-height:1.55;color:var(--sx-stone)}
.sx-foot .sx-about p+p{margin-top:10px}
.sx-foot .sx-about a{color:var(--sx-ink);text-decoration:none}
.sx-foot .sx-about a:hover{text-decoration:underline}
.sx-foot .sx-links{display:flex;flex-direction:column;gap:10px}
.sx-foot .sx-h{font-family:var(--sx-mono);font-weight:500;font-size:.6875rem;letter-spacing:.14em;text-transform:uppercase;line-height:1.4;color:var(--sx-stone);margin-bottom:4px}
.sx-foot .sx-links a{color:var(--sx-stone);text-decoration:none;font-size:.9375rem}
.sx-foot .sx-links a:hover{color:var(--sx-ink)}
.sx-foot .sx-base{grid-column:1/-1;border-top:1px solid var(--sx-line);padding-top:18px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px 24px;font-family:var(--sx-mono);font-size:.75rem;letter-spacing:.04em;color:var(--sx-stone)}
.sx-foot .sx-base a{color:var(--sx-stone);text-decoration:none}
.sx-foot .sx-base a:hover{color:var(--sx-ink)}
.sx-foot .sx-extra{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:6px 22px;font-size:.875rem;color:var(--sx-stone)}
.sx-foot .sx-extra a{color:var(--sx-stone);text-decoration:underline;text-underline-offset:3px}
.sx-foot .sx-extra a:hover{color:var(--sx-ink)}
@media (max-width:760px){.sx-foot .sx-in{grid-template-columns:1fr}}
