.global-footer {
  align-items: center;
  background: #fbf7ef;
  box-sizing: border-box;
  color: #05261c;
  display: grid;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  gap: 24px;
  grid-template-columns: auto minmax(0, 1fr);
  padding: 42px max(24px, calc((100vw - 1240px) / 2));
  width: 100%;
}

.global-footer-brand {
  align-items: center;
  color: #05261c;
  display: inline-flex;
  font-size: 21px;
  font-weight: 900;
  gap: 11px;
  letter-spacing: -0.03em;
  min-height: 44px;
  text-decoration: none;
  width: fit-content;
}

.global-footer-brand img {
  border-radius: 2px;
  display: block;
  height: 40px;
  width: 40px;
}

.global-footer-tagline {
  color: #2f6253;
  font-size: 14px;
  font-weight: 680;
  justify-self: end;
  line-height: 1.5;
  margin: 0;
  text-wrap: pretty;
}

.global-footer-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
}

.global-footer-links a {
  align-items: center;
  color: #2f6253;
  display: inline-flex;
  font-size: 13px;
  font-weight: 750;
  min-height: 44px;
  text-decoration: none;
}

.global-footer-links a:hover {
  color: #009879;
}

.global-footer-brand:focus-visible,
.global-footer-links a:focus-visible {
  border-radius: 4px;
  outline: 3px solid #08bd9b;
  outline-offset: 3px;
}

.global-footer-copyright {
  color: #527468;
  font-size: 12px;
  justify-self: end;
  line-height: 1.5;
}

@media (max-width: 700px) {
  .global-footer {
    align-items: start;
    gap: 16px;
    grid-template-columns: 1fr;
    padding: 38px 22px;
  }

  .global-footer-tagline,
  .global-footer-copyright {
    justify-self: start;
  }

  .global-footer-links {
    gap: 0 20px;
  }
}
