/* statix-top.css - ONE top bar for every STATIX page (owner 25 Oct 2026: "Why dont all the pages look similar?").
   The look of the home page's light bar. Written into each page by tools/site-top.py; change the bar there and here,
   then re-run the tool. Every rule is scoped to header.stx-top so a page's own CSS cannot change it. */
header.stx-top{position:sticky;top:0;z-index:50;background:rgba(245,250,248,.94);-webkit-backdrop-filter:saturate(1.4) blur(10px);backdrop-filter:saturate(1.4) blur(10px);border-bottom:1px solid #DDEBE6;color:#123A38;font-family:'Archivo',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif}
header.stx-top > .wrap{box-sizing:border-box;max-width:1200px;margin:0 auto;padding:0 24px;display:flex;align-items:center;gap:24px;height:64px;position:relative}
header.stx-top .stx-brand{display:flex;align-items:center;flex:none;text-decoration:none}
header.stx-top .stx-brand img{height:26px;width:auto;display:block}
header.stx-top .stx-links{display:flex;gap:20px;flex:1;min-width:0}
header.stx-top .stx-links a{color:#4E6B67;text-decoration:none;font-size:15px;font-weight:500;white-space:nowrap;padding:0;border:0;background:none}
header.stx-top .stx-links a:hover,header.stx-top .stx-links a[aria-current="page"]{color:#123A38}
header.stx-top .stx-links a[aria-current="page"]{font-weight:600}
header.stx-top .stx-cta{display:inline-flex;align-items:center;padding:10px 18px;border-radius:999px;background:#0F3D31;color:#fff;font-weight:600;font-size:15px;text-decoration:none;white-space:nowrap;flex:none}
header.stx-top .stx-cta:hover{background:#15403D}
header.stx-top.stx-has-acct .stx-cta{display:none}   /* the sign-in buttons take its place */
header.stx-top .stx-menu{display:none;align-items:center;justify-content:center;width:44px;height:44px;border-radius:12px;border:1px solid #C3DAD3;background:#fff;cursor:pointer;margin-left:auto;padding:0;flex:none}
header.stx-top .stx-menu span,header.stx-top .stx-menu span::before,header.stx-top .stx-menu span::after{display:block;width:18px;height:2px;background:#123A38;border-radius:2px;position:relative;content:""}
header.stx-top .stx-menu span::before{position:absolute;top:-6px}
header.stx-top .stx-menu span::after{position:absolute;top:6px}
/* the calculators' wide work layout (statix-sheetlayout.css body.stx-boardlook): the bar is 52 px high (--bl-hh), full width,
   so the result strip and the side panels that stick under it stay in place */
body.stx-boardlook header.stx-top{z-index:80}
body.stx-boardlook header.stx-top > .wrap{height:var(--bl-hh,52px);max-width:none;padding:0 16px}
@media (max-width:1100px){header.stx-top .stx-links{gap:14px}header.stx-top .stx-links a{font-size:14px}header.stx-top > .wrap{gap:14px}}
@media (max-width:980px){
  header.stx-top .stx-links{display:none}
  header.stx-top .stx-menu{display:inline-flex}
  header.stx-top > .wrap{gap:10px}
  header.stx-top .stx-links.open{display:flex;flex-direction:column;gap:0;position:absolute;top:100%;left:0;right:0;background:#F5FAF8;border-bottom:1px solid #C3DAD3;box-shadow:0 12px 24px rgba(15,61,49,.08);padding:6px 16px 12px}
  header.stx-top .stx-links.open a{padding:13px 8px;font-size:17px;border-bottom:1px solid #DDEBE6}
  header.stx-top .stx-links.open a:last-child{border-bottom:0}
}
@media (max-width:560px){
  header.stx-top > .wrap{padding:0 16px}
  header.stx-top .stx-brand img{height:22px}
  header.stx-top .stx-cta{padding:9px 12px;font-size:14px}
}
@media print{header.stx-top{display:none}}
/* the shared footer (footer.stx-foot, same tool) */
footer.stx-foot{background:#F5FAF8;border-top:1px solid #DDEBE6;color:#4E6B67;font-family:'Archivo',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;font-size:14px;line-height:1.55;padding:40px 0 28px;margin-top:40px}
footer.stx-foot > .wrap{box-sizing:border-box;max-width:1200px;margin:0 auto;padding:0 24px}
footer.stx-foot .stx-fcols{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;gap:24px}
footer.stx-foot .stx-fcols > div{display:flex;flex-direction:column;gap:6px;min-width:0}
footer.stx-foot .stx-fcols b{color:#123A38;font-size:14px;font-weight:700;margin-bottom:2px}
footer.stx-foot a{color:#4E6B67;text-decoration:none}
footer.stx-foot a:hover{color:#123A38;text-decoration:underline}
footer.stx-foot .stx-fend{margin:28px 0 6px;color:#123A38}
footer.stx-foot .stx-fsmall{margin:0;font-size:12px;color:#7A9591;max-width:900px}
@media (max-width:760px){footer.stx-foot .stx-fcols{grid-template-columns:1fr 1fr}}
@media (max-width:420px){footer.stx-foot .stx-fcols{grid-template-columns:1fr}footer.stx-foot > .wrap{padding:0 16px}}
@media print{footer.stx-foot{display:none}}
.stx-foot .stx-social{display:flex;gap:14px;margin-top:10px;flex-wrap:wrap}
.stx-foot .stx-social a{display:inline-flex;align-items:center;gap:6px;color:#123A38}
.stx-foot .stx-social a:hover{color:#127264;text-decoration:none}
