/* THE SITE HEADER, AS ON THE HOMEPAGE (Silas, 2026-10-11: "make sure that this header on the
   home page is consistent on all the other public web pages"). A graphite bar: Judges, How it
   works, Security on the left; MOOTLY centred; Sign in and the Request a demo pill on the right.
   On the homepage it sits over the dark hero (index.html's own styles); on every other public
   page it is this bar. The element keeps the old "site-header" class so site-header.css's
   page-level rules (the page background, no blue stripe) still apply; every rule here is
   ".site-header.ch-hdr", which outranks site-header.css's bar styles. site-account.js turns
   "Sign in" into the account's name and hides the pill (.nav-cta) when signed in.
   Sizes are the homepage's rendered ones (its page is zoomed to 90%). */
.site-header.ch-hdr {
  position: relative; top: auto; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 22px;
  padding: 20px clamp(16px, 3.6vw, 43px);
  background: #1B1D20; color: #F3F6F9;
  border: 0; -webkit-backdrop-filter: none; backdrop-filter: none;
  font-family: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.5; letter-spacing: 0;
}
.site-header.ch-hdr a { color: inherit; }
.site-header.ch-hdr nav { display: flex; gap: 25px; font-size: 13.5px; }
.site-header.ch-hdr nav a { text-decoration: none; opacity: .86; white-space: nowrap; }
.site-header.ch-hdr nav a:hover { opacity: 1; }
.site-header.ch-hdr nav a[aria-current="page"] { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.site-header.ch-hdr .ch-mark {
  position: absolute; left: 50%; transform: translateX(-50%);
  font-size: 18px; font-weight: 500; letter-spacing: .42em; padding-left: .42em; text-decoration: none;
}
.site-header.ch-hdr .ch-act { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.site-header.ch-hdr .nav-signin {
  display: inline; min-height: 0; padding: 0; border: 0; border-radius: 0; background: none;
  color: inherit; font-size: 13.5px; font-weight: 400; text-decoration: none; opacity: .86;
}
.site-header.ch-hdr .nav-signin:hover { opacity: 1; border: 0; }
.site-header.ch-hdr .nav-cta {
  display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 20px;
  border-radius: 999px; border: 0; background: #BFDDF6; color: #15181B; filter: none;
  font-size: 13.5px; font-weight: 400; text-decoration: none; white-space: nowrap;
}
.site-header.ch-hdr .nav-cta:hover { filter: brightness(1.04); }
.site-header.ch-hdr .ch-mark:focus-visible, .site-header.ch-hdr a:focus-visible {
  outline: 2px solid #BFDDF6; outline-offset: 3px;
}
@media (max-width: 760px) {
  .site-header.ch-hdr nav { display: none; }
  .site-header.ch-hdr .ch-mark { position: static; transform: none; }
}
@media (max-width: 720px) {   /* site-header.css hides .nav-cta here for the old bar; this bar keeps it */
  .site-header.ch-hdr .nav-cta { display: inline-flex; }
}
@media (max-width: 560px) {
  .site-header.ch-hdr { gap: 11px; }
  .site-header.ch-hdr .ch-mark { font-size: 15.5px; letter-spacing: .24em; padding-left: .24em; }
  .site-header.ch-hdr .ch-act { gap: 13px; }
  .site-header.ch-hdr .nav-signin { font-size: 12.6px; }
  .site-header.ch-hdr .nav-cta { padding: 0 14px; font-size: 12.6px; }
}
