.marketplace-footer {
  color: #fff;
  background: #102b20;
  border-top: 4px solid #c5d69b;
}

.marketplace-footer .footer-inner {
  max-width: 1240px;
  min-height: 0;
  margin: 0 auto;
  padding: 42px clamp(20px, 4vw, 48px) 24px;
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(410px, 2.5fr) minmax(160px, .88fr);
  align-items: start;
  gap: 28px clamp(24px, 3.5vw, 52px);
}

.marketplace-footer .footer-brand {
  width: fit-content;
  max-width: 100%;
  padding: 7px 10px;
  background: #fffdf7;
}

.marketplace-footer .footer-brand .brand-logo {
  width: 158px;
  max-width: 100%;
}

.marketplace-footer .footer-identity p {
  margin: 12px 0 0;
  color: #c1d1c7;
  font-size: 13px;
  line-height: 1.55;
  max-width: 23ch;
}

.marketplace-footer .footer-link-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 36px);
}

.marketplace-footer .footer-link-group {
  min-width: 0;
  align-content: start;
  justify-items: start;
  gap: 2px;
}

.marketplace-footer .footer-link-group h2 {
  margin: 2px 0 9px;
  color: #fffdf7;
  font-size: 14px;
  line-height: 1.3;
}

.marketplace-footer .footer-link-group :is(a, button) {
  max-width: 100%;
  display: inline-block;
  padding: 4px 0;
  color: #c8d7ce;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
}

.marketplace-footer .footer-link-group :is(a, button):hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.marketplace-footer .footer-actions {
  width: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.marketplace-footer .hawker-signup-link {
  justify-content: space-between;
  background: #f58b5b;
  box-shadow: none;
}

.marketplace-footer .hawker-signup-copy small,
.marketplace-footer .hawker-signup-copy strong,
.marketplace-footer .hawker-signup-arrow {
  color: #272016;
}

.marketplace-footer .hawker-signup-copy small {
  font-size: 11px;
  line-height: 1.2;
}

.marketplace-footer .hawker-signup-copy strong,
.marketplace-footer .footer-actions > button {
  font-size: 13px;
}

.marketplace-footer .hawker-signup-arrow {
  background: #ffc19e;
}

.marketplace-footer .hawker-signup-link:hover {
  background: #ffa271;
}

.marketplace-footer .footer-source {
  grid-column: 1 / -1;
  padding-top: 16px;
  border-top: 1px solid #385344;
  color: #b0c4b8;
  font-size: 11px;
  line-height: 1.5;
}

.marketplace-footer :is(a, button):focus-visible {
  outline: 2px solid #dbe86f;
  outline-offset: 3px;
}

@media (max-width: 940px) {
  .marketplace-footer .footer-inner {
    grid-template-columns: minmax(166px, .78fr) minmax(0, 2.2fr);
  }

  .marketplace-footer .footer-actions {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 190px));
    justify-content: start;
  }
}

@media (max-width: 640px) {
  .marketplace-footer .footer-inner {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 30px 20px 24px;
  }

  .marketplace-footer .footer-identity p {
    max-width: none;
  }

  .marketplace-footer .footer-link-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 20px;
  }

  .marketplace-footer .footer-link-group:last-child {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px;
  }

  .marketplace-footer .footer-link-group:last-child h2 {
    grid-column: 1 / -1;
  }

  .marketplace-footer .footer-link-group :is(a, button) {
    padding-block: 7px;
  }

  .marketplace-footer .footer-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
