footer.site-footer {
  padding: 46px 0 92px;
  background: #08243a;
  color: #fff;
}

.footer-container,
footer.site-footer > .container {
  width: min(100%, 1240px);
  margin: 0 auto;
  padding: 0 40px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.1fr .65fr 1.1fr;
  gap: 32px;
  align-items: start;
}

.footer-brand-logo {
  width: min(100%, 260px);
  height: auto;
  margin-bottom: 22px;
}

.footer-store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 22px;
}

.footer-store-row img {
  height: 38px;
  width: auto;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.footer-socials a {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #00243a;
}

.footer-socials svg {
  width: 14px;
  height: 14px;
}

.footer-links {
  display: grid;
  gap: 10px;
  padding-top: 4px;
}
.footer-link-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(110px, 1fr));
  gap: 28px;
}
.footer-entity-description {
  max-width: 440px;
  margin: 18px 0 20px;
  color: rgba(255,255,255,.78);
  line-height: 1.6;
  font-size: 14px;
}

.footer-links a {
  color: rgba(255,255,255,.76);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
}

.footer-links a:hover {
  color: #0075d5;
}

.footer-members-title {
  margin: 0 0 14px;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
}

.footer-member-grid {
  display: grid;
  gap: 14px;
}

.member-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

.member-logo {
  max-width: 160px;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.member-logo.wide {
  max-width: 220px;
}

.member-logo.card-logo {
  max-height: 64px;
  border-radius: 8px;
  background: #fff;
}

.footer-divider {
  height: 1px;
  margin-top: 32px;
  background: rgba(159,207,255,.28);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  padding: 24px 0 0;
  color: rgba(255,255,255,.58);
  font-size: 13px;
  font-weight: 600;
}

.footer-bottom p {
  color: inherit;
  margin: 0;
}

.cloudflare-lockup {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #fff;
  white-space: nowrap;
}

.cloudflare-lockup img {
  width: 160px;
  height: auto;
}

@media (max-width: 980px) {
  .footer-main {
    grid-template-columns: 1fr;
  }
  .footer-link-columns { gap: 18px; }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .footer-container,
  footer.site-footer > .container {
    padding: 0 24px;
  }

  .footer-store-row img {
    height: 44px;
  }

  .member-row {
    gap: 22px;
  }

  .member-logo,
  .member-logo.wide {
    max-width: 100%;
  }

  .cloudflare-lockup {
    flex-direction: column;
    align-items: flex-start;
  }
}
