.home-site-footer {
  width: min(100% - 48px, 900px);
  margin-inline: auto;
  padding-block: clamp(24px, 4vw, 48px) 24px;
  border-block-start: 1px solid var(--rv-color-border);
  color: var(--rv-color-ink);
  font-family: var(--rv-font-display);
}

.home-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(28px, 7vw, 82px);
}

.home-footer-brand .home-footer-name {
  margin-block-end: 12px;
  font-size: clamp(24px, 3.7vw, 37px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: .04em;
}

.home-footer-brand .home-footer-line {
  color: var(--rv-color-muted);
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.55;
}

.home-footer-links {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: clamp(24px, 4.5vw, 52px);
}

.home-footer-column h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
}

.home-site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-site-footer li a {
  display: inline-block;
  padding-block: 3px;
  color: var(--rv-color-text);
  font-size: 16px;
  line-height: 1.42;
}

.home-site-footer li a.home-footer-goldpaper { color: #795c2a; }
.home-footer-doc-status { font-size: .8em; white-space: nowrap; }

.home-site-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.home-footer-bottom {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-block-start: clamp(20px, 4vw, 38px);
  padding-block-start: 15px;
  border-block-start: 1px solid var(--rv-color-border);
  color: var(--rv-color-muted);
  font-size: 13px;
  line-height: 1.5;
}

.home-footer-legal { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.home-footer-legal li a { font-size: inherit; }

.home-footer-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

html:not(:lang(zh)) .home-site-footer .home-footer-zh,
html:lang(zh) .home-site-footer .home-footer-en { display: none; }

@media (max-width: 620px) {
  .home-site-footer { width: calc(100% - 40px); }
  .home-footer-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .home-footer-links {
    grid-auto-flow: row;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 130px), 1fr));
    gap: 18px 22px;
  }
  .home-site-footer li a { padding-block: 6px; }
}
