/* The site's top bar — views/partials/site-nav.php, on the home page and every
   public page (the user, 2026-10-28). Moved here from home.css so there is one
   copy. Self-contained: every rule is under header.site, and it sets its own
   fonts and sizes, so it looks the same beside app.css or home.css. */
header.site { position: sticky; top: 0; z-index: 30; background: rgba(6, 19, 48, .94); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255, 255, 255, .08); font-family: 'Inter', 'Helvetica Neue', system-ui, sans-serif; }
header.site .site-in { width: min(1240px, 100% - 48px); margin: 0 auto; }
header.site .nav { display: flex; align-items: center; gap: 28px; height: 78px; position: relative; }
header.site .logo img { display: block; height: 50px; width: auto; }
header.site nav { margin-left: auto; }
header.site ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
header.site ul a { color: #c9d6f2; text-decoration: none; font-weight: 600; font-size: 15px; position: relative; padding: 6px 0; }
header.site ul a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 3px; background: #f2b632; border-radius: 3px; transition: right .2s; }
header.site ul a:hover, header.site ul a.on { color: #fff; }
header.site ul a:hover::after, header.site ul a.on::after { right: 0; }
header.site .m-only { display: none; }
header.site .signin { color: #fff; font-weight: 600; font-size: 15px; text-decoration: none; }
header.site .head-cta { display: inline-flex; align-items: center; padding: 11px 18px; border-radius: 999px; background: #f2b632; color: #061330; font: 800 14px 'Montserrat', 'Avenir Next', system-ui, sans-serif; text-decoration: none; white-space: nowrap; transition: background .15s; }
header.site .head-cta:hover { background: #ffc94a; }
header.site .burger { display: none; margin-left: auto; background: none; border: 1px solid rgba(255, 255, 255, .3); color: #fff; border-radius: 10px; width: 44px; height: 44px; cursor: pointer; }
header.site .burger svg { width: 22px; height: 22px; }
/* a jump to an anchor lands below the bar, not under it */
html:has(header.site) { scroll-padding-top: 96px; }
/* on navy the focus ring is gold */
header.site :focus-visible { outline: 3px solid #f2b632; outline-offset: 3px; border-radius: 6px; }

@media (max-width: 1020px) {
  header.site nav, header.site .signin, header.site .head-cta { display: none; }
  header.site .burger { display: grid; place-items: center; }
  header.site .nav.open nav { display: block; position: absolute; top: 78px; left: -24px; right: -24px; background: #061330; padding: 12px 24px 24px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  header.site .nav.open ul { display: grid; gap: 4px; }
  header.site .nav.open ul a { display: block; padding: 12px 0; font-size: 17px; }
  header.site .nav.open ul a::after { display: none; }
  header.site .nav.open ul a.on { color: #f2b632; }
  header.site .m-only { display: list-item; }
}
@media (max-width: 640px) {
  header.site .site-in { width: calc(100% - 32px); }
  header.site .nav.open nav { left: -16px; right: -16px; padding: 12px 16px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  header.site ul a::after, header.site .head-cta { transition: none; }
}
@media print {
  header.site { display: none; }
}
