/*
 * Site Footer — plain scoped CSS (shadow DOM), mobile-first; tablet 768px, desktop 1280px.
 * Figma spacing: the logo starts 126 / 156 / 165px below the closing banner (phone / tablet / desktop) and the
 * copy ends 50 / 99 / 76px above the page bottom. From tablet up the footer sits in the page column (32px gutters
 * on tablet, the 1673px column on desktop) with 20px / 35px inside it.
 */

.site-footer,
.site-footer *,
.site-footer *::before,
.site-footer *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--font-family, 'IBM Plex Sans'), sans-serif;
}

.site-footer {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  padding: 126px 16px 50px;
  background: #000;
  color: #fff;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-bottom: 14px;
}

.site-footer__logo {
  display: inline-flex;
  width: fit-content;
  color: inherit;
  text-decoration: none;
}

.site-footer__logo-mark {
  display: block;
  width: 185px;
  height: auto;
}

/* Capped so the tagline breaks like Figma: "The Global Gayborhood / in Your Pocket™" on mobile, "… in / Your Pocket™" on desktop. */
.site-footer__tagline {
  max-width: 210px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  letter-spacing: 1.02px;
  text-transform: uppercase;
}

.site-footer__stores {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.site-footer__store {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(240, 218, 177, 0.22);
  color: #e0b25c;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.site-footer__store:hover {
  background: rgba(255, 255, 255, 0.08);
}

.site-footer__store:focus-visible {
  outline: 2px solid #e0b25c;
  outline-offset: 3px;
}

.site-footer__store-icon {
  display: block;
}

.site-footer__store-icon--apple {
  width: 17px;
  height: 21px;
  translate: -0.5px -1px;
}

.site-footer__store-icon--play {
  width: 15px;
  height: 17px;
  translate: 1.5px 0;
}

@media (min-width: 768px) {
  .site-footer__stores {
    display: none;
  }
}

.site-footer__meta {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.site-footer__row {
  display: flex;
  flex-direction: column;
  gap: 27px;
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.site-footer__link {
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
  font-weight: 400;
  line-height: 23px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__link:hover,
.site-footer__link:focus-visible {
  color: #f0dab1;
  outline: none;
}

.site-footer__copyright {
  color: rgba(255, 255, 255, 0.35);
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 1.44px;
  text-transform: uppercase;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.site-footer__legal-link {
  padding: 0;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.5);
  font: inherit;
  font-size: 14px;
  line-height: 20px;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.site-footer__legal-link:hover,
.site-footer__legal-link:focus-visible {
  color: #f0dab1;
  outline: none;
}

@media (min-width: 768px) {
  .site-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 16px 40px;
    padding: 156px 52px 99px;
  }

  .site-footer__brand {
    gap: 13px;
    padding-bottom: 0;
  }

  .site-footer__tagline {
    max-width: none;
    font-size: 17px;
  }

  .site-footer__meta {
    display: contents;
  }

  .site-footer__row {
    align-items: flex-end;
    gap: 8px;
    margin-bottom: 5px;
  }

  .site-footer__legal {
    grid-column: 1 / -1;
  }

  .site-footer__links {
    flex-direction: row;
    justify-content: flex-start;
    gap: 19px;
  }

  .site-footer__link {
    font-size: 18px;
  }

  .site-footer__copyright {
    font-size: 13px;
  }

  .site-footer__legal {
    justify-content: flex-end;
  }
}

@media (min-width: 1280px) {
  .site-footer {
    padding: 165px calc(max(79px, (100% - 1673px) / 2) + 35px) 76px;
  }

  .site-footer__brand {
    gap: 11px;
  }

  .site-footer__tagline {
    max-width: 290px;
  }

  .site-footer__logo-mark {
    width: 189px;
  }

  .site-footer__row {
    flex-direction: row;
    align-items: baseline;
    gap: 30px;
    margin-bottom: 10px;
  }

  .site-footer__links {
    gap: 33px;
  }

  .site-footer__copyright {
    font-size: 16px;
  }
}

