/* Shared site chrome — the ONE source of truth for the marketing-site header,
 * wordmark (Logo), and elevated-surface (card) treatment. Linked by every
 * marketing page (index.html landing + security.html Trust Center) so the
 * header never diverges between routes. Values are literal (not page tokens)
 * so the header renders pixel-identical regardless of a page's own palette. */

/* ── Header container ─────────────────────────────────────────────────────
 * Scoped to the top-level page nav so nested <nav> (e.g. footer) don't inherit
 * fixed positioning. One set of horizontal padding + height for every route. */
body > nav.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 48px;
  height: 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(24px) saturate(120%);
  background: rgba(250, 250, 250, 0.88);
  border-bottom: 1px solid #e8e8ec;
  box-sizing: border-box;
}

/* ── Logo (wordmark) — the ONLY place the wordmark is styled. Fixed height so
 * it never reflows between routes; the blue accent bar + letter-spacing are a
 * single definition. */
.site-logo {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  line-height: 1;
  height: 24px;
}
.site-logo__name {
  font-family: "Outfit", sans-serif;
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 3.5px;
  color: #1a1e2e;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 24px;
}
.site-logo__bar {
  width: 4px;
  height: 18px;
  background: #2f6bff;
  border-radius: 2px;
  flex: 0 0 auto;
}
/* The only variation the wordmark allows: inverted for placement on a dark
 * surface (e.g. the landing's dark footer). Same dimensions; white text. */
.site-logo--on-dark .site-logo__name {
  color: #ffffff;
}

/* ── Nav action cluster: Login dropdown + Trust Center + Contact ──────────── */
.site-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Shared pill treatment for every non-filled nav item (Login + Trust Center):
 * same height, padding, radius, font, border, hover. */
.site-nav-btn {
  padding: 12px 20px;
  color: #1a1a1f;
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.5px;
  text-decoration: none;
  background: transparent;
  border: 1px solid #e8e8ec;
  border-radius: 7px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
  transition:
    border-color 0.2s ease,
    color 0.2s ease;
}
.site-nav-btn:hover {
  border-color: #2f6bff;
  color: #2f6bff;
}

/* Contact — the sole solid-blue CTA. */
.site-nav-contact {
  padding: 12px 26px;
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.5px;
  color: #ffffff;
  background: #2f6bff;
  border: 1px solid #2f6bff;
  border-radius: 7px;
  cursor: pointer;
  line-height: 1;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.15s;
}
.site-nav-contact:hover {
  background: #2557d8;
  border-color: #2557d8;
  transform: translateY(-1px);
}

/* Login dropdown — Team / Customer / Carrier portal access. */
.site-login-wrap {
  position: relative;
}
.site-login-arrow {
  font-size: 10px;
  transition: transform 0.2s ease;
}
.site-login[aria-expanded="true"] .site-login-arrow,
.site-login-wrap:hover .site-login-arrow {
  transform: rotate(180deg);
}
.site-login-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  padding-top: 8px;
  z-index: 200;
}
.site-login-dropdown-inner {
  background: #fff;
  border: 1px solid #e8e8ec;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
  min-width: 220px;
  overflow: hidden;
}
.site-login-wrap.open .site-login-dropdown,
.site-login-wrap:hover .site-login-dropdown {
  display: block;
}
.site-login-dropdown-inner a {
  display: block;
  padding: 12px 16px;
  text-decoration: none;
  color: #1a1a1f;
  font-family: "Outfit", sans-serif;
  font-size: 13px;
  font-weight: 500;
  transition: background 0.15s ease;
  border-bottom: 1px solid #e8e8ec;
}
.site-login-dropdown-inner a:last-child {
  border-bottom: none;
}
.site-login-dropdown-inner a:hover {
  background: rgba(47, 107, 255, 0.06);
  color: #2f6bff;
}
.site-login-dropdown .login-label {
  display: block;
  font-weight: 600;
  margin-bottom: 2px;
}
.site-login-dropdown .login-desc {
  display: block;
  font-size: 11px;
  color: #a0a0ab;
  font-weight: 400;
}

/* ── Elevated surface (card) treatment — the landing's card tokens, so the
 * Trust Center's white cards read as the same elevated surface once its
 * background is the same flat light as the landing. */
.site-card {
  background: #ffffff;
  border: 1px solid #e8e8ec;
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

/* ── Responsive: one shared shrink for phones (mirrors the landing). ──────── */
@media (max-width: 560px) {
  body > nav.site-header {
    padding: 0 14px;
    height: 64px;
  }
  .site-logo__name {
    font-size: 16px;
    letter-spacing: 3px;
    gap: 7px;
  }
  .site-logo__bar {
    width: 3px;
    height: 16px;
  }
  .site-nav-actions {
    gap: 8px;
  }
  .site-nav-contact,
  .site-nav-btn {
    padding: 9px 11px;
    font-size: 13px;
    letter-spacing: 0.2px;
    white-space: nowrap;
  }
  /* Left-anchor the dropdown on phones so it doesn't spill off-screen. */
  .site-login-dropdown {
    right: auto;
    left: 0;
  }
}
