/* The footer every page carries, from `shell.FOOTER`. One file so the pages
   cannot drift apart again; each page's own colour tokens fill it in. */
/* On a page shorter than the window the footer sits at its bottom, rather
   than under the content and moving with it (the keyword gate grows and
   shrinks as its steps change). Sticky to 100vh inside a body at least that
   tall pushes it down only as far as the body's end, so no page's own layout
   has to change; on a long page there is no room below it and it stays put.
   flow-root keeps a first child's top margin (the gate's 5vh) from collapsing
   through the body and pushing the footer that far below the window. */
body{min-height:100vh; min-height:100dvh; display:flow-root}
.site-foot{position:sticky; top:100vh}
.site-foot{box-sizing:border-box; max-width:1180px; margin:0 auto; padding:22px 24px;
  border-top:1px solid var(--grid); display:flex; flex-wrap:wrap; align-items:center;
  gap:10px 20px; font-size:13px; line-height:1.4; color:var(--muted)}
.site-foot .home{display:flex; align-items:center; gap:10px; flex:1 1 16rem;
  color:inherit; text-decoration:none}
.site-foot .mark{width:22px; height:22px; flex:none; border-radius:6px;
  display:grid; place-items:center; font-size:13px; font-weight:700; color:#fff;
  background:linear-gradient(135deg,#2450c7,#15803d)}
.site-foot nav{display:flex; flex-wrap:wrap; gap:8px 20px}
.site-foot nav a{color:var(--link, var(--series-1))}
@media print{ .site-foot{display:none} }
