:root {
  --peers-ink: #151724;
  --peers-muted: #666d80;
  --peers-blue: #5b72de;
  --peers-blue-dark: #3f54b8;
  --peers-mint: #48cdb0;
  --peers-coral: #ef806c;
  --peers-paper: #fbfaf7;
  --peers-line: rgba(21, 23, 36, 0.11);
  --peers-shell: 1180px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 9px;
  background: var(--peers-ink);
  color: #fff;
  font: 700 14px/1 system-ui, sans-serif;
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform 0.16s ease;
}

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

.peers-site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  width: 100%;
  border-bottom: 1px solid rgba(21, 23, 36, 0.08);
  background: rgba(251, 250, 247, 0.88);
  box-shadow: 0 8px 30px rgba(23, 31, 56, 0.035);
  backdrop-filter: blur(18px) saturate(150%);
}

.peers-header-inner {
  display: flex;
  width: min(var(--peers-shell), calc(100% - 48px));
  min-height: 74px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.peers-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--peers-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  text-decoration: none;
}

.peers-brand-mark {
  display: block;
  width: 29px;
  height: 29px;
  flex: 0 0 auto;
}

.peers-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 26px;
}

.peers-nav-link {
  position: relative;
  color: #575e70;
  font: 650 14px/1.2 "Instrument Sans", Inter, system-ui, sans-serif;
  text-decoration: none;
  transition: color 0.16s ease;
}

.peers-nav-link:hover,
.peers-nav-link[aria-current="page"] {
  color: var(--peers-ink);
}

.peers-nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--peers-blue);
}

.peers-header-cta {
  display: inline-flex;
  min-height: 42px;
  padding: 0 17px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 11px;
  background: linear-gradient(145deg, #282d40 0%, #151825 52%, #0b0d14 100%);
  box-shadow:
    0 12px 28px rgba(21, 23, 36, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.13),
    inset 0 -1px 0 rgba(0, 0, 0, 0.32);
  color: #fff;
  font: 750 14px/1 "Instrument Sans", Inter, system-ui, sans-serif;
  text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.peers-header-cta::before {
  content: "";
  width: 16px;
  height: 16px;
  flex: none;
  background: url("/brand/favicon.svg") center / contain no-repeat;
  filter: drop-shadow(0 2px 5px rgba(72, 205, 176, 0.2));
}

.peers-header-cta:hover {
  transform: translateY(-1px);
  border-color: rgba(110, 139, 255, 0.38);
  background: linear-gradient(145deg, #303650 0%, #191d2c 52%, #0d1019 100%);
  box-shadow:
    0 16px 36px rgba(21, 23, 36, 0.24),
    0 0 0 1px rgba(91, 114, 222, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.peers-brand:focus-visible,
.peers-nav-link:focus-visible,
.peers-header-cta:focus-visible {
  outline: 3px solid rgba(91, 114, 222, 0.35);
  outline-offset: 4px;
  border-radius: 8px;
}

@media (max-width: 760px) {
  .peers-header-inner {
    width: min(100% - 28px, var(--peers-shell));
    min-height: 66px;
    gap: 16px;
  }

  .peers-nav {
    gap: 14px;
  }

  .peers-nav-secondary {
    display: none;
  }

  .peers-brand {
    font-size: 21px;
  }

  .peers-brand-mark {
    width: 27px;
    height: 27px;
  }

  .peers-header-cta {
    min-height: 38px;
    padding-inline: 14px;
  }
}

@media (max-width: 430px) {
  .peers-nav-link {
    display: none;
  }
}
