/* ZeroWeb logo: sizes in each place, and the "sticker slaps on" entrance on the home page. */
.zw-logo{display:block;width:auto;overflow:visible}
.d-brand{display:inline-flex!important;align-items:center}
.d-brand .zw-logo{height:24px}
.sf-brand .zw-logo{height:32px}
.foot-logo .zw-logo{height:44px}
.hero-brand{display:flex!important;align-items:center;gap:14px;flex-wrap:wrap}
.hero-brand .zw-logo{height:clamp(30px,3.4vw,40px)}
[data-variant="g"] .hero-brand .chip{margin:0}
@media (max-width:520px){.hero-brand>span:last-child{display:none}}

/* entrance: the sticker settles on with a small spring. It is the page's one first-screen flourish:
   always fully opaque, no delay, done in under 400 ms. */
.zw-anim .zw-m{transform-box:fill-box;transform-origin:50% 55%;animation:zw-slap .36s cubic-bezier(.34,1.56,.64,1)}
@keyframes zw-slap{0%{transform:scale(1.22) rotate(-7deg)}100%{transform:none}}
/* a little wiggle when you hover the logo in the dock */
@media (hover:hover){.d-brand:hover .zw-m{transform-box:fill-box;transform-origin:50% 55%;animation:zw-wiggle .5s ease}}
@keyframes zw-wiggle{30%{transform:rotate(-8deg) scale(1.06)}65%{transform:rotate(5deg)}100%{transform:none}}
@media (prefers-reduced-motion:reduce){.zw-anim .zw-m,.d-brand:hover .zw-m{animation:none!important}}
