.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
}
.header-inner {
  align-items: center;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}
.header-brand-wrapper {
  display: flex;
  align-items: center;
}
.header-brand {
  text-decoration: none;
}
.header-brand-text-group {
  display: flex;
  flex-direction: column;
}
.header-nav {
  margin-left: auto;
  margin-right: 1.25rem;
}
.header-nav-list {
  display: none;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.9rem;
}
.header-nav-link {
  color: var(--color-text-soft);
  position: relative;
  padding-bottom: 0.15rem;
}
.header-nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-focus));
  transition: width var(--transition-base);
}
.header-nav-link:hover::after,
.header-nav-link:focus-visible::after {
  width: 100%;
}
.header-nav-link:hover {
  color: var(--color-primary-strong);
}
.header-cta-wrapper {
  display: none;
}
.header-cta {
  font-size: 0.78rem;
}
.header-toggle {
  margin-left: auto;
}
.header-mobile-panel {
  border-top: 1px solid var(--color-border-subtle);
  background: rgba(249, 250, 251, 0.98);
  backdrop-filter: blur(18px);
}
.header-mobile-nav {
  padding: 0.75rem 1.25rem 1.1rem;
}
.header-mobile-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}
.header-mobile-link {
  display: block;
  padding: 0.5rem 0.35rem;
  border-radius: 0.55rem;
  color: var(--color-text-soft);
}
.header-mobile-link:focus-visible,
.header-mobile-link:hover {
  background: rgba(15, 23, 42, 0.04);
  color: var(--color-primary-strong);
}
.header-mobile-cta-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.header-mobile-cta,
.header-mobile-secondary-cta {
  width: 100%;
}
.header-mobile-secondary-cta {
  font-size: 0.8rem;
}
.header-mobile-panel.is-open {
  animation: headerMobileSlideDown 0.2s ease-out forwards;
}
@keyframes headerMobileSlideDown {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 768px) {
  .header-cta-wrapper {
    display: block;
  }
}
@media (min-width: 960px) {
  .header-nav-list {
    display: flex;
  }
  .header-toggle {
    display: none;
  }
  .header-mobile-panel {
    display: none;
  }
}
@media (max-width: 959.98px) {
  .header-inner {
    gap: 0.75rem;
  }
}
.header-toggle.is-active .nav-toggle-line {
  box-shadow: none;
  position: relative;
}
.header-toggle.is-active .nav-toggle-line::before,
.header-toggle.is-active .nav-toggle-line::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 0.09rem;
  border-radius: 999px;
  background: #111827;
}
.header-toggle.is-active .nav-toggle-line::before {
  transform: rotate(45deg);
}
.header-toggle.is-active .nav-toggle-line::after {
  transform: rotate(-45deg);
}
.header-toggle.is-active .nav-toggle-line {
  background: transparent;
  box-shadow: none;
}
.header-nav-link[aria-current="page"],
.header-mobile-link[aria-current="page"] {
  color: var(--color-primary-strong);
  font-weight: 600;
}
.header-nav-link[aria-current="page"]::after {
  width: 100%;
}