.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: normal;
  overflow-wrap: anywhere;
}

.site-footer--structured .footer-purchase {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 20px;
  padding: 9px 13px;
  border: 1px solid rgba(77, 157, 255, .42);
  border-radius: 999px;
  background: rgba(8, 124, 255, .13);
  color: var(--footer-foreground-strong);
  font-size: 13px;
  line-height: 1;
  font-weight: 600;
  transition: background .16s ease-out, border-color .16s ease-out, transform 100ms ease-out;
}

.site-footer--structured .footer-purchase:active {
  transform: scale(.97);
}

.site-footer--structured .footer-purchase:focus-visible {
  outline: 2px solid var(--footer-accent);
  outline-offset: 4px;
}

.site-footer--structured .footer-purchase-note {
  display: block;
  max-width: 210px;
  margin-top: 10px;
  color: rgba(235, 240, 249, .48);
  font-size: 11px;
  line-height: 1.45;
}

.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: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 18px;
  margin: 0 auto;
  padding: 27px 0 24px;
  border-top: 1px solid rgba(214, 226, 244, .12);
}

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

.footer-languages {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  display: grid;
  grid-template-columns: repeat(11, max-content);
  align-self: auto;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  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;
  min-height: 44px;
  align-self: auto;
  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: 2px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .22s cubic-bezier(.22, 1, .36, 1);
}

@media (max-width: 900px) and (min-width: 681px) {
  .footer-languages {
    grid-template-columns: repeat(6, max-content);
    justify-content: space-between;
    row-gap: 4px;
  }
}

.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;
  }

  .site-footer--structured .footer-purchase:hover {
    border-color: rgba(93, 170, 255, .72);
    background: rgba(8, 124, 255, .22);
  }

  .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;
    gap: 20px;
    padding: 28px 0 0;
  }

  .footer-languages {
    width: 100%;
    min-width: 0;
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-self: auto;
    align-items: center;
    justify-content: initial;
    gap: 0 12px;
    white-space: normal;
  }

  .footer-languages a {
    width: fit-content;
    min-height: 44px;
    align-self: auto;
    white-space: nowrap;
  }

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

  .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;
  }
}
