/* Shared marketing masthead. Exact geometry of the homepage’s compact state. */
html{scroll-padding-top:var(--mast-anchor,84px)}
header.masthead[data-hags-masthead]{
 box-sizing:border-box;display:flex;position:sticky;inset-block-start:0;top:0;
 z-index:12;isolation:isolate;flex-wrap:nowrap;align-items:center;justify-content:space-between;
 gap:24px;margin:0;max-width:none;width:100%;padding:calc(25px + env(safe-area-inset-top,0px)) 6.4% 25px;
 min-height:0;background:var(--hags-paper);color:var(--hags-ink);border:0;box-shadow:none;
 font-family:ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}
header[data-hags-masthead]::after{content:none}
header.masthead[data-hags-masthead] > .wordmark{
 display:block;flex:0 0 auto;width:clamp(77.46px,7.746vw,104.02px);min-width:0;
 margin:0;padding:0;color:var(--hags-purple);line-height:0;
}
header.masthead[data-hags-masthead] > .wordmark svg{
 display:block;inline-size:100%;height:auto;max-height:none;fill:currentColor;
}
header.masthead[data-hags-masthead] > .mast-desktop-nav{
 display:flex;flex:0 1 auto;order:0;align-items:center;justify-content:center;
 gap:clamp(10px,1.55vw,26px);margin:0;
}
header[data-hags-masthead] .mast-actions{
 display:flex;align-items:center;gap:9px;flex:none;margin:0;
}
header.masthead[data-hags-masthead] :is(.mast-desktop-nav,.mast-menu-panel) a[href]{
 font-size:clamp(11px,1.15vw,13px);font-weight:500;color:var(--hags-ink);
 display:inline-flex;align-items:center;min-block-size:44px;white-space:nowrap;
 text-decoration:none!important;
}
header.masthead[data-hags-masthead] :is(.mast-desktop-nav,.mast-menu-panel) a[aria-current=page]{
 text-decoration:underline!important;text-decoration-color:var(--hags-gold)!important;
 text-underline-offset:5px!important;text-decoration-thickness:2px!important;
}
header.masthead[data-hags-masthead] .mast-actions .marketing-demo{
 display:inline-flex;align-items:center;justify-content:center;min-block-size:44px;
 color:var(--hags-ink);font-size:12px;font-weight:600;line-height:1.25;font-family:inherit;
 margin:0;padding:0 10px;white-space:nowrap;background:transparent;border:0;border-radius:0;
 text-decoration:underline;text-decoration-color:var(--hags-gold);
 text-decoration-thickness:2px;text-underline-offset:5px;
}
header[data-hags-masthead] .mast-menu{display:none}
header[data-hags-masthead] .mast-menu-panel[hidden]{display:none!important}
header[data-hags-masthead] .mast-menu-toggle:focus-visible,
header[data-hags-masthead] :is(.mast-desktop-nav,.mast-menu-panel,.mast-actions) a:focus-visible{
 outline:1px solid var(--hags-purple);outline-offset:2px;
}
@media(max-width:980px){
 header.masthead[data-hags-masthead]{
  min-height:76px;gap:10px;padding:calc(12px + env(safe-area-inset-top,0px)) clamp(16px,6vw,28px) 12px;
 }
 header.masthead[data-hags-masthead] > .wordmark{width:clamp(52px,15vw,65px)}
 header.masthead[data-hags-masthead] > .mast-desktop-nav{display:none!important}
 header[data-hags-masthead] .mast-menu{display:block}
 header[data-hags-masthead] .mast-menu-toggle{
  width:44px;height:44px;display:grid;place-items:center;padding:0;border:0;cursor:pointer;
  color:var(--hags-ink);background:transparent;touch-action:manipulation;
 }
 header[data-hags-masthead] .mast-menu-toggle svg{
  width:22px;height:22px;pointer-events:none;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;
 }
 header[data-hags-masthead] .mast-menu-toggle .menu-close,
 header[data-hags-masthead] .mast-menu.is-open .menu-lines{display:none}
 header[data-hags-masthead] .mast-menu.is-open .menu-close{display:block}
 header.masthead[data-hags-masthead] .mast-menu.is-open>.mast-menu-panel:not([hidden]){
  position:absolute;inset:100% 0 auto;display:flex;flex-direction:column;align-items:stretch;gap:0;
  padding:5px clamp(16px,6vw,28px) 12px;background:var(--hags-paper);border:0;
  box-shadow:0 12px 22px #2f274018;max-block-size:calc(100dvh - var(--mast-anchor,84px));overflow-y:auto;
 }
 header.masthead[data-hags-masthead] .mast-menu-panel a[href]{
  min-block-size:44px;align-items:center;padding:6px 2px;
  border-block-end:1px solid color-mix(in srgb,var(--hags-purple) 16%,transparent);
  font-size:13px;
 }
 header.masthead[data-hags-masthead] .mast-menu-panel a:last-child{border-block-end:0}
}
