.nav nav a {
  position: relative;
  padding: 8px 2px;
  color: inherit;
  text-decoration: none;
  transition: color 180ms ease;
}

.nav nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  content: "";
  background: #147d92;
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.nav nav a:hover,
.nav nav a:focus-visible {
  color: #147d92;
}

.nav nav a:hover::after,
.nav nav a:focus-visible::after,
.nav nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav nav a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.home .site-head {
  position: absolute;
  z-index: 10;
  width: 100%;
  color: #fff;
  background: linear-gradient(to bottom, rgb(0 0 0 / 58%), transparent);
  border-bottom: 0;
}

.home .nav nav a::after {
  background: #7ddff2;
}

.home .nav nav a:hover,
.home .nav nav a:focus-visible {
  color: #7ddff2;
}

@media (max-width: 700px) {
  .home .hero {
    min-height: 390px;
    padding-top: 110px;
  }
}
