
.hd-bar, .hd-bar * { box-sizing: border-box; }
.hd-bar {
  position: fixed;
  top: 28px;
  left: 0;
  right: 0;
  margin: 0;
  padding: 0 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  z-index: 2500;
  pointer-events: none;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  text-transform: none;
}
.hd-bar .hd-nav,
.hd-bar .hd-announce,
.hd-bar .hd-announce-close {
  pointer-events: auto;
  display: flex;
  align-items: stretch;
  height: 50px;
  margin: 0;
  background: rgba(28, 26, 24, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.38), inset 0 1px 0 rgba(255,255,255,0.04);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  overflow: hidden;
}
.hd-bar .hd-nav { position: static; flex: 0 1 auto; justify-content: normal; padding: 3px; gap: 0; width: auto; }
.hd-bar .hd-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 0 20px 0 16px;
  background: rgba(0, 0, 0, 0.32);
  border: none;
  border-radius: 5px;
  text-decoration: none;
  color: #f3f1ee;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.6;
  transition: background 0.15s;
}
.hd-bar .hd-brand:hover { background: rgba(0, 0, 0, 0.42); color: #f3f1ee; }
.hd-bar .hd-brand > span:last-child { display: inline; color: inherit; font: inherit; letter-spacing: inherit; }
.hd-bar .hd-brand-mark {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hd-bar .hd-brand-mark img {
  display: block;
  width: 22px;
  height: 22px;
  max-width: none;
  margin: 0;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.hd-bar .hd-nav-links {
  display: flex;
  flex: 0 1 auto;
  justify-content: normal;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0 16px 0 12px;
  list-style: none;
}
.hd-bar .hd-nav-link {
  display: inline-flex;
  align-items: center;
  height: 100%;
  margin: 0;
  padding: 0 14px;
  background: none;
  border: none;
  border-radius: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.005em;
  line-height: 1.6;
  text-transform: none;
  color: #b4b1ac;
  text-decoration: none;
  transition: color 0.15s;
  white-space: nowrap;
}
.hd-bar .hd-nav-link:hover { color: #f3f1ee; }
.hd-bar .hd-nav-apply {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.hd-bar .hd-right { display: flex; align-items: stretch; gap: 10px; min-width: 0; flex-shrink: 1; }
.hd-bar .hd-announce { max-width: min(960px, 68vw); position: relative; }
.hd-bar .hd-announce-close {
  width: 50px;
  align-items: center;
  justify-content: center;
  border: none;
  color: #b4b1ac;
  cursor: pointer;
  flex-shrink: 0;
  transition: color 0.15s, background 0.15s;
  padding: 0;
}

.hd-bar .pn-nav-cta,
.hd-bar .hd-cta {
  pointer-events: auto;
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  margin: 0;
  padding: 0 18px;
  border: none;
  border-radius: 8px;
  background: #4dff91;
  color: #050505;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: normal;
  line-height: normal;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(0,0,0,0.38);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.hd-bar .pn-nav-cta:hover,
.hd-bar .hd-cta:hover { background: #6dffaa; color: #050505; }
.hd-bar .pn-nav-cta:focus-visible,
.hd-bar .hd-cta:focus-visible { outline: 2px solid #6dffaa; outline-offset: 3px; }

.hd-bar.hd-flow { position: sticky; top: 0; padding-top: 28px; }
.hd-bar.hd-solid .hd-nav { background: rgba(18, 16, 14, 0.94); border-color: rgba(255, 255, 255, 0.05); box-shadow: 0 8px 28px rgba(20, 18, 15, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.05); }
.hd-bar.hd-solid .pn-nav-cta, .hd-bar.hd-solid .hd-cta { box-shadow: 0 8px 28px rgba(20, 18, 15, 0.16); }

@media (max-width: 900px) {
  .hd-bar .hd-announce, .hd-bar .hd-announce-close { display: none; }
}
@media (max-width: 640px) {
  .hd-bar { padding: 0 14px; gap: 0; top: 14px; }
  .hd-bar.hd-flow { top: 0; padding-top: 14px; }
  .hd-bar .hd-nav { height: 56px; flex: 1; justify-content: space-between; }
  .hd-bar .hd-brand { padding: 0 12px 0 10px; font-size: 16px; gap: 8px; }
  .hd-bar .hd-brand-mark, .hd-bar .hd-brand-mark img { width: 19px; height: 19px; }
  .hd-bar .hd-nav-links { flex: 1; justify-content: space-evenly; gap: 0; padding: 0 4px; }
  .hd-bar .hd-nav-link { padding: 0 5px; font-size: 16px; }
  .hd-bar .hd-nav-link.hd-desk, .hd-bar .hd-cta-desk { display: none; }
  .hd-bar .pn-nav-cta,
  .hd-bar .hd-cta {
    position: fixed;
    left: 14px; right: 14px; width: auto;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    height: 50px; font-size: 15px;
    box-shadow: 0 0 0 16px var(--bg, #0d0b08), 0 -34px 30px 10px var(--bg, #0d0b08);
  }
  .hd-bar .pn-nav-cta, .hd-bar .hd-cta { transform: translateY(12px); }
  .hd-bar .pn-nav-cta.is-visible, .hd-bar .hd-cta.is-visible { transform: none; }
}
@media (max-width: 460px) {
  .hd-bar { padding: 0 10px; }
  .hd-bar.hd-flow { padding: 14px 10px 0; }
  .hd-bar .hd-brand { padding: 0 8px 0 8px; font-size: 15px; gap: 6px; }
  .hd-bar .hd-nav-links { padding: 0 2px; }
  .hd-bar .hd-nav-link { padding: 0 3px; font-size: 15px; letter-spacing: 0; }
  .hd-bar .pn-nav-cta, .hd-bar .hd-cta { left: 10px; right: 10px; }
}
@media (max-width: 340px) {
  .hd-bar .hd-nav-link { font-size: 13px; padding: 0 2px; }
}
