.language-switch {
  position: relative;
  display: inline-flex;
  flex: none;
  align-items: center;
  color: #315d49;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
}
.language-switch .language-trigger {
  display: inline-flex;
  position: relative;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  margin: 0;
  padding: 0 13px;
  border: 1px solid #dce7de;
  border-radius: 999px;
  background: #edf3e9;
  color: inherit;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  box-shadow: 0 1px 2px #102f2710;
  transition:
    background 0.18s,
    border-color 0.18s,
    box-shadow 0.18s;
  cursor: pointer;
}
.language-switch .language-trigger:hover,
.language-switch .language-trigger[aria-expanded="true"] {
  background: #e1edda;
  border-color: #afc5a4;
  box-shadow: 0 2px 8px #102f2714;
}
.language-switch .language-trigger:focus-visible {
  outline: 2px solid #79a385;
  outline-offset: 3px;
}
.language-switch .language-chevron {
  width: 14px;
  height: 14px;
  margin-left: 3px;
  transition: transform 0.2s;
}
.language-switch .language-trigger[aria-expanded="true"] .language-chevron {
  transform: rotate(180deg);
}
.language-switch .language-globe {
  width: 16px;
  height: 16px;
  flex: none;
  pointer-events: none;
}
.language-switch .language-panel {
  position: fixed;
  inset: auto;
  z-index: 1000;
  box-sizing: border-box;
  width: 248px;
  margin: 0;
  padding: 8px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid #dce5d7;
  border-radius: 16px;
  background: #fbfcf8;
  color: #234b3b;
  box-shadow:
    0 16px 48px #08251d26,
    0 3px 10px #08251d0d;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.4;
  text-align: left;
  white-space: normal;
  animation: language-enter 0.16s ease-out;
}
.language-switch .language-panel[hidden] {
  display: none;
}
.language-panel::backdrop {
  background: transparent;
}
.language-switch .language-heading {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px 12px;
  color: #5f7565;
  font-size: 11px;
  font-weight: 500;
}
.language-switch .language-heading > span {
  color: #879783;
  font-size: 9px;
  letter-spacing: 1.2px;
}
.language-switch .language-option {
  display: flex;
  align-items: center;
  gap: 11px;
  box-sizing: border-box;
  width: 100%;
  min-height: 58px;
  margin: 2px 0;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: #234b3b;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
  transition:
    background 0.16s,
    border-color 0.16s;
}
.language-switch .language-option:hover {
  background: #f0f4e9;
}
.language-switch .language-option[aria-selected="true"] {
  background: #e9f1de;
  border-color: #dbe8cd;
}
.language-switch .language-option:focus-visible {
  outline: 2px solid #6e9776;
  outline-offset: -2px;
}
.language-switch .language-option[data-language="auto"] {
  margin-bottom: 9px;
}
.language-switch .language-option[data-language="zh-CN"] {
  position: relative;
}
.language-switch .language-option[data-language="zh-CN"]::before {
  position: absolute;
  content: "";
  height: 1px;
  top: -6px;
  left: 10px;
  right: 10px;
  background: #e4eadd;
}
.language-switch .language-symbol {
  display: grid;
  place-items: center;
  flex: none;
  width: 31px;
  height: 31px;
  border: 1px solid #dfe7d8;
  border-radius: 9px;
  background: #f5f7ef;
  color: #50724f;
  font-size: 12px;
  font-weight: 600;
}
.language-switch .language-copy {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}
.language-switch .language-name {
  font-size: 13px;
  font-weight: 600;
}
.language-switch .language-description {
  color: #7b8c76;
  font-size: 10px;
  font-weight: 400;
}
.language-switch .language-check {
  flex: none;
  width: 18px;
  height: 18px;
  color: #487746;
  visibility: hidden;
}
.language-switch .language-option[aria-selected="true"] .language-check {
  visibility: visible;
}
@keyframes language-enter {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
html[lang="en"] {
  overflow-wrap: break-word;
}
html[lang="en"] .hero h1 {
  font-size: clamp(40px, 5vw, 69px);
  letter-spacing: -0.045em;
}
html[lang="en"] .hero-description {
  max-width: 40em;
}
html[lang="en"] .header-inner {
  gap: 16px;
}
html[lang="en"] .metric small {
  line-height: 1.5;
}
/* Keep the same top-right entry point on every website, including mobile. */
.site-header .header-inner {
  gap: 18px;
}
.site-header .header-inner > .brand {
  margin-right: auto;
  min-width: 0;
}
.site-header .header-inner > nav {
  order: 1;
}
.site-header .header-inner > .menu-toggle {
  order: 2;
}
.site-header .header-inner > .language-switch {
  order: 3;
}
@media (max-width: 1100px) and (min-width: 761px) {
  .site-header .header-inner nav {
    gap: 16px;
  }
  .site-header .header-inner {
    gap: 14px;
  }
}
@media (max-width: 760px) {
  html[lang="en"] .hero h1 {
    font-size: 42px;
  }
  .site-header .header-inner {
    position: relative;
  }
  .site-header .header-inner nav {
    top: 100%;
  }
}
@media (max-width: 480px) {
  .site-header .header-inner {
    gap: 8px;
  }
  .site-header .brand {
    gap: 7px;
    font-size: 17px;
  }
  .site-header .brand b {
    font-size: 18px;
  }
  .site-header .brand-mark {
    width: 32px;
    height: 32px;
    font-size: 23px;
  }
  .site-header .brand small {
    display: none;
  }
  .site-header .menu-toggle {
    width: 32px;
    padding: 6px;
  }
  .site-header .language-switch .language-trigger {
    gap: 5px;
    padding-inline: 10px;
    font-size: 12px;
  }
  .strip-inner {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
  .strip-inner > i {
    display: none;
  }
  .strip-inner > span {
    min-width: 0;
    white-space: normal;
    text-align: center;
    line-height: 1.5;
  }
}
@media (prefers-reduced-motion: reduce) {
  .language-switch .language-panel {
    animation: none;
  }
  .language-switch .language-trigger,
  .language-switch .language-chevron,
  .language-switch .language-option {
    transition: none;
  }
}

@media (max-width: 360px) {
  .site-header .brand {
    gap: 6px;
  }
  .site-header .brand-mark {
    width: 26px;
    height: 30px;
    flex: none;
    font-size: 21px;
  }
  .site-header .brand > span:last-child {
    display: flex;
    flex-direction: column;
    font-size: 14px;
    line-height: 1.2;
  }
  .site-header .brand b {
    display: block;
    font-size: 14px;
  }
}
