/* nav.promote (the owner's Website Changes doc, items 7 and 10, 12 Nov 2026; sitebuild/sitemap_menu.py,
   src/data/sitemap.json). Linked by the masthead and shipped only while site.config.json nav.promote is on, so a build
   with it off keeps site.css, hub-header.css and mega-menu.css (and every page's ?v= stamp) as they were.
   Adds: Pricing as a top-level bar item (.nav-top, one page, no dropdown); "Sign up free" (.mh-up) beside "Sign in";
   the GPS panel's longer Goods and Risks columns. W-115: the bar keeps its 60px (phone) and 72px (from 900px); no
   rule here sets a bar height. Site tokens only; no inline styles (CSP). */

/* ---------- Pricing: one page in the bar ----------
   The phone sheet: a row like the groups' own (600 weight, the same 12px padding). From 900px: the groups' 400 weight. */
.nav .nav-top > a{font-weight:600}
@media (min-width:900px){.nav .nav-top > a{font-weight:400}}

/* ---------- Sign up free beside Sign in ----------
   In the bar a knockout button (paper on navy) after Sign in, from 720px, where the row has room for it beside
   "Get in touch" and the mark keeps its size; under 720px it is the row after "Sign in" in the menu sheet (.nav-up).
   Once site.js finds the reader signed in (data-me on the Sign in links) it goes, in the bar and in the sheet.
   The sheet's row needs :has() to see that flag on the row before it; a browser without :has() (Firefox before 121)
   never shows the sheet's row, so a signed-in reader is never offered it (the bar's rule needs no :has()). From 720px
   the bar carries the button, so the sheet's row goes there too: it is never shown twice (review MINOR-3). */
.mh-up{display:none;align-items:center;justify-content:center;flex:0 0 auto;height:34px;padding:0 12px;white-space:nowrap;
  font:600 13px/1 var(--sans);color:var(--navy);background:var(--white);border:1px solid var(--white);text-decoration:none}
.mh-up:hover,.mh-up[aria-current="page"]{background:transparent;color:var(--white)}
@media (min-width:720px){.mh-up{display:inline-flex}}
@media (max-width:899px){.mh-up{height:44px}}
.mh-in[data-me] ~ .mh-up{display:none}
.nav .nav-up a{font-weight:600}
.nav .nav-in:has(a[data-me]) ~ .nav-up{display:none}
@supports not selector(:has(*)){.nav .nav-up{display:none}}
@media (min-width:720px){.nav .nav-up{display:none}}

/* ---------- the desktop bar with one item more ----------
   Seven items (six groups and Pricing) and the buttons, measured so the menu never runs into the search icon
   (geotech-menu.css sets the gap to 14px up to 1023px and 24px from 1200px; site.css 18px between). "Get in touch"
   gives way only to "Sign up free", never to nothing (review MAJOR-3): a signed-in reader, who is not offered the
   sign-up, keeps it at every width it had before.
   900 to 1023px   the gaps 6px, 13px type, the menu 4px after the mark, the two buttons 10px inside; Sign in 50px wide,
                   signed out or in (verify_extra/hdr_signin.py: no shift), and for a signed-in reader the person icon alone ("My Strature" stays for screen
                   readers, as on the phone, hub-header.css); then one button: Sign up free (signed out) or Get in
                   touch (signed in)
   1024 to 1199px  the gaps 14px; the same one button: Sign up free (signed out) or Get in touch (signed in)
   from 1200px     the gaps 14px and the buttons 8px apart: Sign in, Sign up free and Get in touch all fit */
@media (min-width:900px) and (max-width:1023px){
  .mh3 .nav > ul{gap:6px}
  .mh3 .nav{font-size:13px;margin-left:4px}
  .mh3 .mh-in{min-width:0;width:50px;padding:0}   /* one width signed out ("Sign in") and in (the icon): no shift */
  .mh3 .mh-in[data-me]{padding:0}
  .mh3 .mh-in[data-me] .mh-in-t{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .mh3 .mh-in[data-me] .mh-in-i{display:block}
  .mh-up,.mh-right .mh-cta{padding:0 10px}
}
@media (min-width:1024px) and (max-width:1199px){.mh3 .nav > ul{gap:14px}}
@media (min-width:900px) and (max-width:1199px){.mh-in:not([data-me]) ~ .mh-up ~ .mh-cta{display:none}}
@media (min-width:1200px){.mh3 .nav > ul{gap:14px}.mh3 .mh-right{gap:8px}}

/* ---------- the GPS panel: longer columns ----------
   The Goods column now lists every good and the Risks column every strait: on a short desktop screen the panel scrolls
   inside itself rather than running past the bottom of the screen (the phone sheet already scrolls, site.css). */
@media (min-width:900px){
  .mh3 .nav .sub.mega{max-height:calc(100vh - var(--mh));max-height:calc(100dvh - var(--mh));overflow:auto;
    overscroll-behavior:contain}
  .mh3 .nav .mega a{padding:4px 0}
}
