/* v4.9 — header + footer of the work site and blog (prefix h-). Loaded on every page. */
:root{--x-header-h:68px;--x-tint:#E7EBFC;--x-bg:#F7F8FA}
.h-head :focus-visible,.h-foot :focus-visible,.h-sec :focus-visible,.h-hero :focus-visible,.h-contact :focus-visible,.h-learn :focus-visible{outline:3px solid var(--x-saffron);outline-offset:3px}
.h-head{position:sticky;top:0;z-index:30;background:rgba(247,248,250,.94);backdrop-filter:blur(10px);border-bottom:1px solid var(--x-line)}
body.admin-bar .h-head{top:32px}
@media(max-width:782px){body.admin-bar .h-head{top:46px}}
.h-head__row{display:flex;align-items:center;gap:32px;min-height:var(--x-header-h)}
.h-brand{display:flex;align-items:center;gap:12px;line-height:1.35}
.h-brand__logo{display:block;width:46px;height:46px;flex:none;border-radius:50%;object-fit:cover;background:#fbfaf6;border:1px solid var(--x-line)}
.h-brand__text{display:flex;flex-direction:column}
.h-brand__name{font-weight:800;font-size:18px}
.h-brand__role{font-size:12.5px;color:var(--x-muted)}
.h-nav{margin-inline-start:auto}
.h-nav ul{display:flex;gap:6px}
.h-nav a{display:block;padding:8px 14px;font-size:15px;font-weight:500;border-radius:6px;box-shadow:inset 0 -2px 0 transparent;transition:box-shadow .2s,color .2s}
.h-nav a:hover{box-shadow:inset 0 -2px 0 var(--x-cobalt);color:var(--x-cobalt)}
.h-toggle{display:none;width:44px;height:44px;border:1px solid var(--x-line);background:#fff;border-radius:6px;padding:0;cursor:pointer;flex-direction:column;align-items:center;justify-content:center;gap:5px}
.h-toggle i{width:20px;height:2px;background:var(--x-ink)}
.h-mobile{display:none;border-top:1px solid var(--x-line);background:var(--x-bg);padding:6px 20px 18px}
.h-mobile.is-open{display:block}
.h-mobile a{display:block;padding:14px 0;border-bottom:1px solid var(--x-line);font-weight:600}
@media(max-width:1000px){.h-nav{display:none}.h-toggle{display:flex}.h-cta{margin-inline-start:auto}.h-head__row{gap:14px}}
@media(max-width:420px){.h-brand{gap:9px}.h-brand__logo{width:38px;height:38px}.h-brand__role{display:none}.h-brand__name{font-size:14px;white-space:nowrap}.h-cta{padding:0 12px;font-size:12px;white-space:nowrap;flex:none}}

.h-foot{background:var(--x-ink);color:#C9CDE0;font-size:15px}
.h-foot__top{display:flex;justify-content:space-between;align-items:center;gap:32px;flex-wrap:wrap;padding:clamp(48px,7vw,84px) 0 clamp(40px,5vw,60px)}
.h-foot__top h2{margin:0;color:#fff;font-size:clamp(26px,3.6vw,42px);font-weight:800;line-height:1.4;max-width:20ch;text-wrap:balance}
.h-foot__top p{margin:12px 0 0;max-width:46ch}
.h-foot__cols{display:grid;grid-template-columns:repeat(5,1fr);gap:32px;padding:40px 0;border-top:1px solid rgba(255,255,255,.16)}
.h-foot h3{margin:0 0 14px;color:#fff;font-size:15px;font-weight:700}
.h-foot li{margin-bottom:9px}
.h-foot a:hover{color:#fff;text-decoration:underline;text-underline-offset:4px}
.h-foot__bottom{display:flex;align-items:center;gap:24px;flex-wrap:wrap;padding:22px 0 34px;border-top:1px solid rgba(255,255,255,.16)}
.h-foot__copy{margin:0;font-size:13px;margin-inline-end:auto}
@media(max-width:1000px){.h-foot__cols{grid-template-columns:repeat(3,1fr)}}
@media(max-width:640px){.h-foot__cols{grid-template-columns:1fr 1fr}.h-foot__copy{width:100%;order:3}}

@media(min-width:1001px) and (max-width:1180px){.h-head__row{gap:20px}.h-nav a{padding:8px 10px;font-size:14px}}
