.site-logo {
  display: block;
  width: 340px;
  max-width: 36vw;
  height: auto;
}

.site-footer {
  background: var(--navy);
  color: #dbe8f3;
  min-height: 110px;
  padding: 24px max(32px, calc((100% - 1240px) / 2));
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  font-size: 12px;
}

.footer-brand {
  display: block;
  width: 292px;
  padding: 8px 12px;
  border-radius: 7px;
  background: #fff;
  line-height: 0;
}

.footer-logo {
  display: block;
  width: 100%;
  height: auto;
}

.footer-meta {
  display: grid;
  justify-items: end;
  gap: 5px;
  line-height: 1.7;
  text-align: right;
}

.footer-compliance {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 5px 14px;
}

.footer-icp,
.footer-public-security-record {
  color: #dbe8f3;
  text-decoration: none;
}

.footer-icp:hover,
.footer-icp:focus-visible,
.footer-public-security-record:hover,
.footer-public-security-record:focus-visible {
  color: #fff;
  text-decoration: underline;
}

.footer-public-security-record {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.footer-public-security-record__icon {
  display: block;
  width: auto;
  height: 20px;
  max-width: 18px;
  flex: none;
}

@media (max-width: 900px) {
  .site-logo {
    width: 255px;
    max-width: 32vw;
  }
}

@media (max-width: 640px) {
  .site-logo {
    width: 218px;
    max-width: calc(100vw - 92px);
  }

  .site-footer {
    min-height: 0;
    padding: 23px 18px;
    display: block;
  }

  .footer-brand {
    width: min(270px, 100%);
  }

  .footer-meta {
    margin-top: 16px;
    justify-items: start;
    text-align: left;
  }

  .footer-compliance {
    justify-content: flex-start;
  }
}
