/* ── The securitai.io header, for the pages the site links out to ────────────
 *
 * signup.html and set-password.html are reached straight from the marketing
 * site and from our emails, and each had grown its own idea of a header:
 * signup put the logo on a dark navy band, set-password had no header at all
 * and a text wordmark inside the card. Neither looked like the site the visitor
 * had just left.
 *
 * One file rather than a copy per page, because "the same header" is only true
 * for as long as nobody edits one of them.
 *
 * Colours and sizes are literals, not var(--...). Each page carries its own
 * token block with its own values for the same names — signup's --border is
 * #E2E8F0, the portal's is #D8E0EC — so a shared component that read them would
 * render differently on each page, which is the thing it exists to prevent.
 * These are the site's own values:
 *   white bar, #E3E9F2 hairline, #1C3C6E link navy, 1140px content, 62px logo.
 */

.site-header {
  background: #FFFFFF;
  border-bottom: 1px solid #E3E9F2;
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header-wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 12px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-header-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

/* The logo is the tallest thing in the bar. Width and height are also set as
 * attributes on the element so the browser reserves the space before the image
 * arrives; without them the whole page jumps down when it loads. */
.site-header-logo img {
  display: block;
  height: 62px;
  width: auto;
}

.site-header-link {
  color: #1C3C6E;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.site-header-link:hover {
  color: #2EA84C;
}

@media (max-width: 560px) {
  .site-header-logo img { height: 44px; }
  .site-header-wrap { padding: 10px 16px; }
}
