.footer {
  display: grid;
  gap: var(--space-xx-large);
  padding: var(--space-xx-large) var(--space-large);
  position: relative;
}

.footer__content {
  padding-inline: 0;
  margin-inline: initial;
  width: auto;
}

.footer__legal {
  display: grid;
  gap: var(--space-large);
}

.footer__legal p,
.footer__legal ul {
  margin-bottom: -0.3125em;
  margin-top: -0.55em;
}

.footer__legal p .icon {
  color: inherit;
  display: inline-block;
  font-weight: 500;
  text-decoration: none;
}

.footer__legal p .icon svg {
  display: inline-block;
  height: 1.15em;
  max-height: 100%;
  overflow: visible;
  pointer-events: none;
  vertical-align: -0.2em;
  width: auto;
}

.footer__legal p .icon strong {
  display: inline-block;
  font-weight: inherit;
}

.footer__legal p .icon.icon--37signals strong {
  margin-left: -0.125em;
}

.footer__legal p .icon.icon--basecamp strong {
  margin-left: -0.0875em;
}

.footer__legal p .icon.icon--fizzy strong {
  margin-left: -0.1em;
}

.footer__legal p .icon.icon--hey svg {
  height: 1.3em;
  vertical-align: -0.2375em;
}

.footer__legal p .icon.icon--hey strong {
  margin-left: -0.15em;
}

.footer__legal ul {
  display: grid;
  gap: var(--space-x-small);
}

.footer__legal ul li a {
  color: inherit;
  font-weight: 500;
  text-decoration: none;
}

.footer__legal ul li span {
  background: var(--color-green);
  border-radius: 100%;
  content: '';
  display: none;
  height: 0.5em;
  margin-right: 0.5em;
  position: relative;
  vertical-align: 0.1125em;
  width: 0.5em;
}

.footer__legal ul li span:before {
  animation: status 2s ease infinite;
  background: var(--color-green);
  border-radius: 100%;
  content: '';
  height: 0.5em;
  opacity: 0.4;
  position: absolute;
  width: 0.5em;
  will-change: transform;
}



@media(hover: hover) {

  .footer__legal p a strong,
  .footer__legal ul li a {
    text-decoration: underline;
    text-decoration-color: transparent;
    transition: text-decoration-color var(--transition);
  }

  .footer__legal p a:focus strong,
  .footer__legal p a:hover strong,
  .footer__legal ul li a:focus,
  .footer__legal ul li a:hover {
    text-decoration-color: var(--color-ink);
  }

}



@media(min-width: 48em) {

  .footer__legal ul {
    display: flex;
    gap: var(--space-neutral);
  }

  .footer__legal ul li span {
    display: inline-block;
  }

}



@media(min-width: 64em) {

  .footer {
    padding-inline: var(--space-xx-large);
  }

}



@keyframes status {

  75%, to {
    opacity: 0;
    transform: scale(3);
  }

}
