.np-site-header {
  background: var(--np-color-bg);
  border-bottom: 1px solid var(--np-color-border);
}
.np-site-header__inner {
  width: min(90rem, calc(100% - 4rem));
  min-height: 5.25rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.np-site-header__nav .np-menu {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.np-site-header__nav .np-menu__link {
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--np-color-ink-soft);
  transition: color 0.2s;
}
.np-site-header__nav .np-menu__link:hover,
.np-site-header__nav .np-menu__item.is-active .np-menu__link { color: var(--np-color-ink); }
/* Last item = pill CTA. */
.np-site-header__nav .np-menu__item:last-child .np-menu__link {
  display: inline-flex;
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  background: var(--np-color-ink);
  color: var(--np-color-bg);
  font-weight: 700;
}
.np-site-header__nav .np-menu__item:last-child .np-menu__link::after { content: '\2197'; margin-left: 0.6rem; }
.np-site-header__nav .np-menu__item:last-child .np-menu__link:hover { opacity: 0.88; color: var(--np-color-bg); }

.np-site-header__burger { display: none; }

/* On the home page the header floats over the hero. */
body:has(.np-hero-showcase) .np-site-header {
  position: absolute;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

/* Desktop (Figma): links centred in the header, CTA pill pinned to the right. */
@media (min-width: 56.26rem) {
  .np-site-header__inner { position: relative; }
  .np-site-header__nav { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
  .np-site-header__nav .np-menu { height: 100%; justify-content: center; }
  .np-site-header__nav .np-menu__link { pointer-events: auto; }
  .np-site-header__nav .np-menu__item:last-child {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }
}

@media (max-width: 56.25rem) {
  .np-site-header__inner { width: calc(100% - 2rem); min-height: 4.5rem; position: relative; }
  .np-site-header__burger {
    display: block;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0.75rem;
    border: 0;
    background: transparent;
    cursor: pointer;
  }
  .np-site-header__burger span { display: block; height: 1px; margin: 5px 0; background: var(--np-color-ink); }
  .np-site-header__nav {
    display: none;
    position: absolute;
    top: 100%;
    left: -1rem;
    right: -1rem;
    padding: 1.5rem;
    background: var(--np-color-bg);
    border-bottom: 1px solid var(--np-color-border);
  }
  .np-site-header__nav.is-open { display: block; }
  .np-site-header__nav .np-menu { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
}
.np-site-header__nav .np-menu__link,
.np-site-header__nav .np-menu__item.is-active .np-menu__link { text-decoration: none; }
