/* Unified visual style for Back/Connect navigation pills across XEID pages. */
.home-link,
.back-link,
.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.72rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(245, 251, 255, 0.97);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: rgba(10, 12, 18, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.home-link:hover,
.back-link:hover,
.contact-link:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 18px rgba(63, 119, 231, 0.22);
}

.home-link:focus-visible,
.back-link:focus-visible,
.contact-link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(63, 119, 231, 0.22);
}

@media (prefers-reduced-motion: reduce) {
  .home-link,
  .back-link,
  .contact-link {
    transition: none;
  }
}
