/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  padding: 64px var(--gutter);
  border-radius: var(--radius-section) var(--radius-section) 0 0;
  background: var(--c-dark);
  color: var(--c-white);
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.site-footer__logo img {
  width: 112px;
  height: 40px;
}

.site-footer__tagline {
  font-size: 31px;
  font-weight: 600;
  line-height: 36px;
  letter-spacing: -0.02em;
  text-align: center;
}

.site-footer__social {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.site-footer__social a {
  display: block;
  transition: opacity 0.2s var(--ease);
}

.site-footer__social a:hover {
  opacity: 0.7;
}

.site-footer__social img {
  width: 29px;
  height: 29px;
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  line-height: 1.2;
  color: #7c808a;
}

.site-footer__legal a {
  transition: color 0.2s var(--ease);
}

.site-footer__legal a:hover {
  color: var(--c-white);
}

/* Legal links separated by a middle dot */
.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
}

.site-footer__legal li+li::before {
  content: "\00a0·\00a0";
}

/* ==========================================================================
   Footer: tablet / mobile
   ========================================================================== */
@media (max-width: 1199px) {
  .site-footer {
    padding-top: 44px;
    padding-bottom: 48px;
  }

  .site-footer__inner {
    gap: 40px;
  }

  .site-footer__top {
    grid-template-columns: 1fr auto;
    row-gap: 24px;
  }

  .site-footer__tagline {
    grid-column: 1 / -1;
    grid-row: 2;
    font-size: 26px;
    line-height: 1.2;
    text-align: left;
  }

  .site-footer__tagline br {
    display: none;
  }
}

@media (max-width: 767px) {
  .site-footer {
    padding: 32px 20px;
  }

  .site-footer__inner {
    gap: 28px;
  }

  .site-footer__tagline br {
    display: inline;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .site-footer__legal {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, auto);
    grid-auto-flow: column;
    gap: 14px 8px;
  }

  .site-footer__legal li+li::before {
    content: none;
  }
}