/* Shared Figma footer for the public website. */
.foot {
  display: grid;
  min-height: 301px;
  padding: 44px clamp(24px, 4.375vw, 80px) 95px;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 24px;
  background: #ffb2ed;
  color: #061027;
  font-size: 18px;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.foot__info {
  display: contents;
}

.foot__icon {
  grid-column: 2;
  grid-row: 1;
  width: 110px;
  height: 110px;
}

.foot__info > div {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
}

.foot__links a {
  font-weight: normal;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}

.foot__social {
  margin-top: 44px;
  gap: 17px;
}

.foot__social img {
  display: block;
}

.foot__address {
  grid-column: 3;
  grid-row: 1;
  align-self: start;
  font-size: inherit;
}

@media (max-width: 700px) {
  /* Match the footer when mobile browsers expose the page canvas on overscroll. */
  html { background: #ffb2ed; }

  .foot {
    display: flex;
    min-height: 0;
    padding: 56px 24px;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 40px;
    font-size: 18px;
    text-align: center;
  }

  .foot__info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .foot__icon {
    width: 110px;
    height: 110px;
  }

  .foot__social {
    justify-content: center;
    margin-top: 44px;
  }

  .foot__address {
    align-self: auto;
    margin: 0;
    text-align: center;
  }

  /* Keep addresses plain when mobile browsers insert detected-location links. */
  .foot__address a {
    color: inherit !important;
    text-decoration: none !important;
    border-bottom: 0 !important;
  }
}
