/* navbar.css — shared dark menu bar (logo badge + wordmark + links + call button).
   Load after style.css / theme.css. Markup:
   <header class="navbar"><a class="px-brand">…</a><nav><button class="menu-toggle">…</button><ul id="site-menu">…</ul></nav></header> */
.navbar {
  min-height: 84px; padding: 0 28px; gap: 24px;
  background: linear-gradient(180deg, #13223a 0%, #0e1a2e 100%);
  border-bottom: 1px solid rgba(255,255,255,.06);
  box-shadow: 0 10px 30px -12px rgba(0,0,0,.55);
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.navbar::before { display: none; }
/* hazard stripe under the bar */
.navbar::after {
  content: ""; display: block; position: absolute; left: 0; right: 0; bottom: -8px; height: 8px; z-index: 1; pointer-events: none;
  background: repeating-linear-gradient(-45deg, #f26a1b 0 12px, #0e1726 12px 24px);
}

.px-brand { display: flex; align-items: center; gap: 14px; text-decoration: none; flex: none; }
.px-logo { width: 62px; height: 62px; border-radius: 50%; background: #fff; display: grid; place-items: center; overflow: hidden; flex: none; box-shadow: 0 0 0 3px rgba(255,255,255,.12), 0 8px 18px -6px rgba(0,0,0,.6); }
.px-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.px-word { display: flex; flex-direction: column; line-height: 1; padding-right: 22px; border-right: 1px solid rgba(255,255,255,.16); }
.px-word b { font-family: var(--f-display, 'Archivo', sans-serif); font-weight: 800; font-size: 1.55rem; letter-spacing: -0.03em; color: #fff; white-space: nowrap; }
.px-word b em { font-style: normal; color: #f26a1b; }
.px-word small { margin-top: 7px; font-family: var(--f-display, 'Archivo', sans-serif); font-weight: 700; font-size: .66rem; letter-spacing: .28em; text-transform: uppercase; color: rgba(255,255,255,.82); white-space: nowrap; }

.navbar nav { margin-left: auto; }
.navbar #site-menu { gap: 4px; padding-left: 0 !important; }
.navbar #site-menu > li > a {
  color: rgba(255,255,255,.88); font-family: var(--f-body, 'IBM Plex Sans', sans-serif); font-weight: 500; font-size: .95rem;
  height: 44px; padding: 0 13px; border-radius: 6px; background: transparent; box-shadow: none;
}
.navbar #site-menu > li > a:hover { color: #fff; background: rgba(255,255,255,.07); box-shadow: none; }
.navbar #site-menu > li > a.active { color: #fff; font-weight: 600; background: transparent; border-radius: 0; box-shadow: inset 0 -3px 0 #f26a1b; }
.navbar #site-menu > li > a.active::after { display: none; }
.navbar #site-menu a.nav-login {
  margin-left: 8px; height: 44px; padding: 0 18px 0 14px; gap: 9px; border-radius: 8px; font-weight: 600;
  border: 2px solid #f26a1b; color: #fff !important; background: transparent; box-shadow: none;
}
.navbar #site-menu a.nav-login::before {
  content: ""; width: 20px; height: 20px; flex: none; background: #f26a1b;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E") center / contain no-repeat;
}
.navbar #site-menu a.nav-login:hover,
.navbar #site-menu a.nav-login.nav-user-active { background: rgba(242,106,27,.14); border-color: #ff8a3d; }
.navbar #site-menu > li > a.px-cta {
  margin-left: 10px; gap: 9px; padding: 0 20px; height: 48px; border-radius: 8px; color: #fff; font-weight: 600;
  background: linear-gradient(180deg, #ff8a3d 0%, #f26a1b 60%, #db5a10 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 10px 22px -8px rgba(242,106,27,.75);
  transition: transform .2s ease, box-shadow .2s ease;
}
.navbar #site-menu > li > a.px-cta:hover { transform: translateY(-1px); background: linear-gradient(180deg, #ff8a3d 0%, #f26a1b 60%, #db5a10 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 14px 26px -8px rgba(242,106,27,.9); }
.navbar #site-menu > li > a.px-cta svg { width: 18px; height: 18px; }
.navbar .menu-toggle { border-color: rgba(255,255,255,.45); color: #fff; background: transparent; }

/* compact "Book a Demo" shown in the bar on tablets/phones (desktop uses the menu one) */
.px-cta-m { display: none; }

/* make room for the full menu + Book a Demo on laptop widths */
@media (max-width: 1440px) {
  .px-word b { font-size: 1.25rem; }
  .px-word small { font-size: .56rem; letter-spacing: .22em; }
  .px-word { padding-right: 16px; }
  .px-logo { width: 54px; height: 54px; }
  .navbar #site-menu > li > a { padding: 0 10px; font-size: .9rem; }
  .navbar #site-menu > li > a.px-cta { padding: 0 16px; margin-left: 6px; }
}
@media (max-width: 1366px) and (min-width: 1181px) {
  .px-word { display: none; }
  .navbar #site-menu > li > a { padding: 0 9px; font-size: .88rem; }
}

/* mobile menu */
@media (max-width: 1180px) {
  .navbar .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .navbar #site-menu {
    position: absolute; top: calc(100% + 10px); right: 0; width: min(290px, calc(100vw - 24px));
    display: none; margin: 0; padding: 10px; border-radius: 14px; border: 1px solid rgba(255,255,255,.1);
    background: #13223a; box-shadow: 0 20px 44px rgba(0,0,0,.45); z-index: 5;
  }
  .navbar #site-menu.menu-open { display: grid; gap: 4px; }
  .navbar #site-menu > li { width: 100%; }
  .navbar #site-menu > li > a, .navbar #site-menu a.nav-login { width: 100%; justify-content: flex-start; margin: 0; }
  .navbar #site-menu > li > a.active { box-shadow: inset 3px 0 0 #f26a1b; }
  .navbar .px-cta-li { display: none; }
  .navbar nav { margin-left: 10px; }
  .px-cta-m {
    display: inline-flex; align-items: center; margin-left: auto; height: 42px; padding: 0 16px; border-radius: 8px;
    color: #fff; font: 600 .9rem var(--f-body, 'IBM Plex Sans', sans-serif); text-decoration: none; white-space: nowrap;
    background: linear-gradient(180deg, #ff8a3d 0%, #f26a1b 60%, #db5a10 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 8px 18px -8px rgba(242,106,27,.75);
  }
}
@media (max-width: 560px) {
  .navbar { padding: 0 16px; min-height: 72px; }
  .px-logo { width: 48px; height: 48px; }
  .px-word { border-right: 0; padding-right: 0; }
  .px-word b { font-size: 1.15rem; }
  .px-word small { font-size: .52rem; letter-spacing: .18em; }
  .px-cta-m { height: 40px; padding: 0 12px; font-size: .82rem; }
}
@media (max-width: 440px) {
  .px-word { display: none; }
}
