.footer {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-self: stretch;
  align-items: center;
  padding: 48px 0;
  box-sizing: border-box;
  max-width: 100%;
  z-index: 1;
  text-align: right;
  font-size: var(--text-md-regular-size);
  color: var(--gray-700);
}

.footer-content {
  align-self: stretch;
  max-width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--gap-13xl);
}

/* Apple's and Google's trademark credit lines, required where the site uses their badges.
   Fine print: small and muted, so it doesn't compete with the footer. #6e6e73 still meets
   4.5:1 contrast on the page background. */
.footer-legal {
  align-self: stretch;
  margin: 16px 0 0;
  font-size: 11px;
  line-height: 16px;
  color: #6e6e73;
  text-align: center;
}

@media screen and (max-width: 950px) {
  .footer {
    gap: var(--gap-13xl);
  }

  .footer-content {
    gap: var(--gap-base);
  }
}

@media screen and (max-width: 650px) {
  .footer-content {
    display: flex;
    flex-direction: column;
  }
}

@media screen and (max-width: 450px) {
  .footer {
    gap: var(--gap-base);
  }
}