/* Site footer (parts.html footer(), T31): phone = brand then link columns two by two; desktop = four columns. */
.foot{margin-top:40px;padding:28px var(--gut) 20px;background:var(--soft);font-size:14px;color:var(--ink-2)}
.foot-in{max-width:1200px;margin:0 auto;display:grid;gap:20px}
.foot a{color:var(--ink);text-decoration:none}
.foot a:hover{text-decoration:underline}
.foot-cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 16px}
.foot-brand{grid-column:1/-1;display:grid;gap:10px;align-content:start}
.foot-brand img{height:30px;width:auto}
.foot-social{display:flex;gap:10px}
.foot-social a{width:44px;height:44px;display:grid;place-items:center;border-radius:50%;background:var(--surface);border:1px solid var(--rule)}
.foot h2{font-size:15px;color:var(--ink);margin-bottom:4px}
.foot ul{list-style:none;padding:0}
.foot li a{display:inline-flex;align-items:center;min-height:36px}
.foot-bar{display:flex;flex-wrap:wrap;gap:4px 16px;align-items:center;padding-top:14px;border-top:1px solid var(--rule)}
.foot-bar a{display:inline-flex;align-items:center;min-height:36px}
@media (min-width:900px){
  .foot-cols{grid-template-columns:minmax(0,2fr) repeat(3,minmax(0,1fr));gap:32px}
  .foot-brand{grid-column:auto;padding-right:24px}
}
/* the fixed phone tab bar must never cover the end of the footer */
@media (max-width:899px){body:has(>.tabbar){padding-bottom:calc(var(--tab-h) + env(safe-area-inset-bottom))}}
