.site-skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 2000;
  padding: 10px 14px;
  color: #fff;
  background: #111;
  border-radius: 8px;
  text-decoration: none;
  transform: translateY(-150%);
}

.site-skip-link:focus {
  transform: translateY(0);
}

.bn-header {
  --bn-paper: #fff;
  --bn-white: #fff;
  --bn-ink: #111;
  --bn-muted: #666;
  --bn-line: rgba(17, 17, 17, 0.14);
  --bn-shadow: 0 18px 45px rgba(28, 32, 29, 0.12);
  position: sticky;
  top: 0;
  left: auto;
  right: auto;
  z-index: 1200;
  width: 100%;
  min-height: 0;
  padding: 0;
  color: var(--bn-ink);
  background: rgba(255, 255, 255, 0.95);
  border: 0;
  border-bottom: 1px solid var(--bn-line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.bn-nav-shell {
  position: relative;
  width: min(calc(100% - 40px), 1160px);
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
  padding: 0;
}

.bn-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  color: var(--bn-ink);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1;
}

.bn-brand:hover { color: var(--bn-ink); }

.bn-brand img {
  width: 48px;
  height: 32px;
  display: block;
  object-fit: contain;
  border-radius: 999px;
}

.bn-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  margin-left: auto;
}

.bn-menu > a,
.bn-dropdown-toggle {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 0;
  padding: 0 10px;
  color: var(--bn-ink);
  background: transparent;
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}

.bn-menu > a:hover,
.bn-dropdown-toggle:hover,
.bn-dropdown-toggle[aria-expanded="true"],
.bn-dropdown.has-current > .bn-dropdown-toggle {
  color: #111;
  background: rgba(17, 17, 17, 0.055);
}

.bn-menu a[aria-current="page"] {
  color: #111;
  font-weight: 800;
  background: rgba(17, 17, 17, 0.06);
}

.bn-dropdown { position: relative; }

.bn-chevron {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 170ms ease;
}

.bn-dropdown-toggle[aria-expanded="true"] .bn-chevron {
  transform: translateY(2px) rotate(225deg);
}

.bn-dropdown-panel {
  position: absolute;
  top: calc(100% + 9px);
  left: 0;
  z-index: 10;
  width: 290px;
  display: none;
  overflow: hidden;
  padding: 8px;
  color: var(--bn-ink);
  background: var(--bn-white);
  border: 1px solid var(--bn-line);
  border-radius: 17px;
  box-shadow: var(--bn-shadow);
}

.bn-dropdown.is-open .bn-dropdown-panel { display: block; }

.bn-dropdown-panel a {
  display: block;
  padding: 12px 13px;
  color: var(--bn-ink);
  border-radius: 11px;
  text-decoration: none;
  line-height: 1.3;
}

.bn-dropdown-panel a:hover,
.bn-dropdown-panel a[aria-current="page"] {
  color: #111;
  background: rgba(17, 17, 17, 0.06);
}

.bn-link-title {
  display: block;
  font-size: 0.87rem;
  font-weight: 780;
}

.bn-link-note {
  display: block;
  margin-top: 3px;
  color: var(--bn-muted);
  font-size: 0.73rem;
  font-weight: 500;
}

.bn-cta {
  min-height: 44px !important;
  margin-left: 4px !important;
  padding: 0 17px !important;
  color: var(--bn-white) !important;
  background: var(--bn-ink) !important;
  border: 1px solid var(--bn-ink) !important;
  border-radius: 999px !important;
}

.bn-cta:hover {
  color: var(--bn-white) !important;
  background: #333 !important;
}

.bn-menu-toggle {
  width: 44px;
  height: 44px;
  display: none;
  flex: 0 0 auto;
  padding: 0;
  color: var(--bn-ink);
  background: transparent;
  border: 1px solid var(--bn-line);
  border-radius: 50%;
  cursor: pointer;
}

.bn-menu-toggle,
.bn-dropdown-toggle {
  text-transform: none;
  letter-spacing: normal;
  box-shadow: none;
  transform: none;
}

.bn-menu-toggle span,
.bn-menu-toggle::before,
.bn-menu-toggle::after {
  width: 18px;
  height: 1.5px;
  display: block;
  margin: 4px auto;
  content: "";
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.bn-menu-toggle[aria-expanded="true"] span { opacity: 0; }
.bn-menu-toggle[aria-expanded="true"]::before { transform: translateY(5.5px) rotate(45deg); }
.bn-menu-toggle[aria-expanded="true"]::after { transform: translateY(-5.5px) rotate(-45deg); }

@media (max-width: 1120px) {
  .bn-nav-shell { width: min(calc(100% - 28px), 1160px); }
  .bn-brand span { font-size: 0.93rem; }
  .bn-menu-toggle { display: block; }

  .bn-menu {
    position: absolute;
    top: 74px;
    left: -14px;
    right: -14px;
    z-index: 20;
    max-height: calc(100vh - 88px);
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 3px;
    overflow-y: auto;
    margin: 0;
    padding: 12px 14px 20px;
    background: var(--bn-paper);
    border-bottom: 1px solid var(--bn-line);
    box-shadow: 0 16px 30px rgba(28, 32, 29, 0.08);
  }

  .bn-menu.is-open { display: flex; }

  .bn-menu > a,
  .bn-dropdown-toggle {
    width: 100%;
    min-height: 48px;
    justify-content: space-between;
    padding: 0 13px;
    border-radius: 10px;
    text-align: left;
  }

  .bn-dropdown-panel {
    position: static;
    width: 100%;
    margin: 3px 0 8px;
    padding: 5px 5px 5px 14px;
    background: rgba(17, 17, 17, 0.035);
    border: 0;
    border-radius: 12px;
    box-shadow: none;
  }

  .bn-dropdown-panel a { padding: 11px 12px; }
  .bn-cta { justify-content: center !important; margin: 8px 0 0 !important; }
}

@media (max-width: 430px) {
  .bn-brand img { width: 42px; height: 29px; }
  .bn-brand span { font-size: 0.86rem; }
}

@media (prefers-reduced-motion: reduce) {
  .bn-header *,
  .bn-header *::before,
  .bn-header *::after { transition-duration: 0.01ms !important; }
}
