.site-footer--structured,
.site-footer--structured * {
  box-sizing: border-box;
}

.site-footer--structured {
  --footer-accent: #087cff;
  --footer-foreground: rgba(235, 240, 249, .64);
  --footer-foreground-strong: #f7f8fb;
  width: 100%;
  min-height: 432px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  margin: 0;
  padding: 49px 22px 0;
  border: 0;
  background:
    radial-gradient(circle at 21% 28%, rgba(9, 65, 126, .09), transparent 29%),
    radial-gradient(circle at 83% 46%, rgba(8, 89, 174, .055), transparent 32%),
    #020914;
  color: var(--footer-foreground);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "PingFang SC", "PingFang TC", "Noto Sans SC Variable", sans-serif;
  font-optical-sizing: auto;
  font-synthesis: none;
  text-align: left;
}

.site-footer--structured a {
  color: inherit;
  text-decoration: none;
}

.footer-main {
  flex: 1;
  width: min(1120px, 100%);
  margin-right: auto;
  margin-left: auto;
  display: grid;
  grid-template-columns: 1.08fr repeat(3, 1fr);
  min-height: 277px;
}

.footer-identity {
  padding: 0 34px 28px 2px;
}

.site-footer--structured .footer-brand {
  display: flex;
  align-items: center;
  gap: 17px;
  width: max-content;
  margin: 0;
  padding: 0;
  color: var(--footer-foreground-strong);
  font-size: 29px;
  line-height: 1;
  font-weight: 760;
  letter-spacing: -.035em;
  transform-origin: left center;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: color .16s ease-out, opacity .16s ease-out, transform 100ms ease-out;
}

.site-footer--structured .footer-brand b {
  color: var(--footer-accent);
}

.site-footer--structured .footer-brand:active {
  opacity: .76;
  transform: scale(.975);
}

.site-footer--structured .footer-brand:focus-visible {
  outline: 2px solid var(--footer-accent);
  outline-offset: 7px;
  border-radius: 2px;
}

.site-footer--structured .footer-brand .brand-mark {
  display: block;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 11px;
  background: url("/assets/site-icon.png") center / contain no-repeat;
}

.site-footer--structured .footer-brand .brand-mark::before,
.site-footer--structured .footer-brand .brand-mark::after {
  content: none;
}

.site-footer--structured .footer-brand .brand-mark i {
  display: none;
}

.footer-identity > p {
  max-width: 175px;
  margin: 37px 0 0;
  padding: 0 0 24px;
  border-bottom: 1px solid rgba(214, 226, 244, .105);
  color: inherit;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 420;
  letter-spacing: .01em;
  white-space: nowrap;
}

.footer-column {
  align-self: start;
  height: 227px;
  margin: 0;
  padding: 3px 18px 28px clamp(34px, 3.6vw, 48px);
  border-left: 1px solid rgba(214, 226, 244, .105);
}

.footer-column h2 {
  margin: 0 0 31px;
  color: var(--footer-foreground-strong);
  font-size: 18px;
  line-height: 1.15;
  font-weight: 650;
  letter-spacing: -.015em;
}

.footer-column-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 27px;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 450;
  letter-spacing: 0;
}

.footer-column-links a {
  position: relative;
  transform-origin: left center;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: color .16s ease-out, opacity .16s ease-out, transform 100ms ease-out;
}

.footer-column-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 1px;
  background: currentColor;
  opacity: .55;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s cubic-bezier(.22, 1, .36, 1);
}

.footer-column-links a:active {
  color: var(--footer-foreground-strong);
  opacity: .72;
  transform: scale(.96);
}

.footer-column-links a:focus-visible {
  color: var(--footer-foreground-strong);
  outline: 2px solid var(--footer-accent);
  outline-offset: 6px;
  border-radius: 2px;
}

.footer-bottom {
  width: min(1120px, 100%);
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin: 0 auto;
  padding: 0;
  border-top: 1px solid rgba(214, 226, 244, .12);
}

.site-footer--structured .footer-bottom small {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  color: inherit;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: .01em;
}

.footer-languages {
  display: flex;
  align-self: stretch;
  align-items: center;
  gap: clamp(34px, 4.55vw, 56px);
  margin: 0;
  padding: 0;
  font-size: 13px;
  line-height: 1;
  font-weight: 480;
  letter-spacing: .005em;
  white-space: nowrap;
}

.footer-languages a {
  position: relative;
  display: flex;
  align-items: center;
  align-self: stretch;
  transform-origin: center;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: color .16s ease-out, opacity .16s ease-out, transform 100ms ease-out;
}

.footer-languages .is-current {
  color: var(--footer-accent);
}

.footer-languages a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .22s cubic-bezier(.22, 1, .36, 1);
}

.footer-languages .is-current::after {
  transform: scaleX(1);
}

.footer-languages a:active {
  opacity: .7;
  transform: scale(.96);
}

.footer-languages a:focus-visible {
  outline: 2px solid var(--footer-accent);
  outline-offset: -5px;
  border-radius: 2px;
}

html:lang(zh-CN) .footer-column h2,
html:lang(zh-Hant) .footer-column h2 {
  letter-spacing: .01em;
}

@media (hover: hover) and (pointer: fine) {
  .site-footer--structured .footer-brand:hover {
    color: white;
  }

  .footer-column-links a:hover {
    color: var(--footer-foreground-strong);
  }

  .footer-column-links a:hover::after,
  .footer-languages a:hover::after {
    transform: scaleX(1);
  }

  .footer-languages a:hover {
    color: var(--footer-foreground-strong);
  }
}

@media (max-width: 680px) {
  .site-footer--structured {
    min-height: 0;
    padding: 42px 20px 100px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .footer-identity {
    padding: 0 0 40px;
  }

  .footer-identity > p {
    margin-top: 28px;
  }

  .footer-column {
    align-self: stretch;
    height: auto;
    padding: 28px 0;
    border-top: 1px solid rgba(214, 226, 244, .105);
    border-left: 0;
  }

  .footer-column h2 {
    margin-bottom: 22px;
  }

  .footer-column-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 28px;
  }

  .footer-bottom {
    min-height: 0;
    flex-direction: column-reverse;
    align-items: flex-start;
    padding-top: 28px;
  }

  .footer-languages {
    width: 100%;
    min-height: 56px;
    justify-content: space-between;
    gap: 16px;
  }

  .footer-languages .is-current::after {
    bottom: 0;
  }

  .site-footer--structured .footer-bottom small {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer--structured *,
  .site-footer--structured *::before,
  .site-footer--structured *::after {
    transition-duration: .01ms !important;
  }
}

@media (prefers-contrast: more) {
  .site-footer--structured {
    --footer-foreground: rgba(255, 255, 255, .86);
    --footer-foreground-strong: #fff;
    background: #000812;
  }
}
