/* One geometry for the public site. Page-specific navigation stays contextual. */
:root{--public-header-pad:calc(clamp(14px,2.4vw,64px) + clamp(8px,2.2vw,44px));--public-header-height:64px}
:is(body[data-zena-surface=landing],body[data-zena-surface=demo],body[data-zena-surface=nyc])>.top,body>.page-top,body>.zg-page-header{height:var(--public-header-height);min-height:var(--public-header-height);box-sizing:border-box}
:is(body[data-zena-surface=landing],body[data-zena-surface=demo],body[data-zena-surface=nyc])>.top>.topIn,body>.page-top>.page-top-inner{width:100%;max-width:none;height:100%;padding:0 var(--public-header-pad);box-sizing:border-box;display:flex;align-items:center;gap:24px}
body>.zg-page-header{width:100%;max-width:none;padding:0 var(--public-header-pad);gap:24px}
:is(.top .brand,.page-top .brand,.zg-page-header .zg-brand){display:flex;align-items:center;min-height:40px;flex-shrink:0}
:is(.top .brand .zlogo,.page-top .brand img,.zg-page-header .zg-brand img){height:28px;width:auto;display:block}
:is(.topActs,.pageNav,.zg-page-header nav){display:flex;align-items:center;gap:24px;margin-left:auto;font-size:16px}
:is(.topActs .ghost,.topActs .header-home,.pageNav>a:not(.open-terminal),.zg-page-header nav>a:not(.zg-open)){display:inline-flex;align-items:center;gap:14px;min-height:36px;padding:0;border:0;font-size:16px;line-height:1.4;background:none}
:is(.topActs .go,.pageNav .open-terminal,.zg-page-header .zg-open){box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-height:36px;gap:14px;padding:0 14px;border:1px solid var(--text,#fff);border-radius:3px;background:var(--text,#fff);color:var(--bg,var(--panel,#080808));font-size:16px;line-height:1.4;white-space:nowrap;text-shadow:none}
.zg-page-header .zg-open span{margin-left:0}
@media(max-width:980px){:root{--public-header-height:60px}:is(.top .brand .zlogo,.page-top .brand img,.zg-page-header .zg-brand img){height:24px}:is(.topActs,.pageNav,.zg-page-header nav){gap:12px}:is(body[data-zena-surface=landing],body[data-zena-surface=demo],body[data-zena-surface=nyc])>.top>.topIn,body>.page-top>.page-top-inner,body>.zg-page-header{gap:12px}.top .topActs .ghost{display:none}.topActs{margin-left:auto}}
@media(max-width:560px){:is(.topActs .go,.pageNav .open-terminal,.zg-page-header .zg-open){min-height:44px;font-size:15px;padding-inline:12px;gap:12px}.top .topActs .header-home,.page-top .pageNav>a:not(.open-terminal),.zg-page-header nav>a:not(.zg-open),.zg-page-header .zg-page-label{display:none}.top .mbtn{min-height:44px;width:44px;flex-shrink:0}}
