:root {
  --hsou-shell-blue: #075dcc;
  --hsou-shell-blue-dark: #03234a;
  --hsou-shell-ink: #071a36;
  --hsou-shell-muted: #60748f;
  --hsou-shell-line: #d9e7f7;
  --hsou-shell-yellow: #ffd719;
  --hsou-shell-surface: rgba(255, 255, 255, .96);
  --hsou-shell-radius: 22px;
  --hsou-shell-shadow: 0 18px 55px rgba(16, 58, 107, .12);
  --hsou-main-hero-height: 650px;
}

.legacy-site-header[hidden],
.legacy-site-footer[hidden] {
  display: none !important;
}

.hsou-global-header,
.hsou-global-footer,
.hsou-related-products {
  box-sizing: border-box;
  color: var(--hsou-shell-ink);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
}

.hsou-global-header *,
.hsou-global-footer *,
.hsou-related-products * {
  box-sizing: border-box;
}

.hsou-global-header {
  position: sticky;
  top: 0;
  z-index: 10000;
  width: 100%;
  border-top: 3px solid transparent;
  border-bottom: 1px solid rgba(173, 202, 235, .7);
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(90deg, #f25022 0 24%, #7fba00 24% 49%, #00a4ef 49% 74%, #ffb900 74%) border-box;
  box-shadow: 0 10px 30px rgba(18, 61, 112, .08);
  backdrop-filter: blur(18px);
}

.hsou-header-inner {
  width: min(1180px, calc(100% - 48px));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 34px;
}

.hsou-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.hsou-brand img {
  display: block;
  width: 184px;
  height: auto;
  max-height: 48px;
  object-fit: contain;
}

/* Keep the four primary Chinese entry pages aligned to the product-page hero scale. */
.hsou-main-hero {
  min-height: var(--hsou-main-hero-height) !important;
}

.hsou-main-hero > .container,
.hsou-main-hero > .hero-inner,
.hsou-main-hero .hero-grid {
  min-height: var(--hsou-main-hero-height) !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.hsou-main-hero h1 {
  font-size: clamp(42px, calc(4.4vw - 6px), 49px) !important;
  line-height: 1.13 !important;
  letter-spacing: -.045em !important;
}

.hsou-main-hero .lead,
.hsou-main-hero .hero-lead {
  font-size: 20px !important;
  line-height: 1.85 !important;
}

/* Align hero eyebrow, title rhythm, body width, buttons and column ratio
   to the Google Ads product page standard. */
.hsou-main-hero .eyebrow {
  margin: 0 0 14px !important;
  font-size: 14px !important;
  letter-spacing: .18em !important;
}

.hsou-main-hero h1 {
  margin: 0 0 20px !important;
}

.hsou-main-hero .lead,
.hsou-main-hero .hero-lead {
  max-width: 640px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.hsou-main-hero .hero-actions {
  gap: 17px !important;
  margin: 30px 0 0 !important;
}

.hsou-main-hero .btn {
  min-height: 50px !important;
  padding: 0 22px !important;
  font-size: 16px !important;
  gap: 16px !important;
}

@media (min-width: 1101px) {
  .hsou-main-hero .hero-grid {
    grid-template-columns: 1fr 1.18fr !important;
    gap: 42px !important;
  }
}

.hsou-main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.4vw, 40px);
  margin-left: auto;
}

.hsou-nav-link,
.hsou-products-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 0;
  border: 0;
  color: var(--hsou-shell-ink);
  background: transparent;
  font: inherit;
  font-size: 16px;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.hsou-nav-link::after,
.hsou-products-toggle::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--hsou-shell-blue);
  content: "";
  opacity: 0;
  transform: scaleX(.35);
  transition: .22s ease;
}

.hsou-nav-link:hover::after,
.hsou-products-toggle:hover::after,
.hsou-nav-link[aria-current="page"]::after,
.hsou-products-menu.is-active > .hsou-products-toggle::after {
  opacity: 1;
  transform: scaleX(1);
}

.hsou-products-toggle svg {
  width: 13px;
  height: 13px;
  transition: transform .22s ease;
}

.hsou-products-menu.is-active .hsou-products-toggle svg {
  transform: rotate(180deg);
}

.hsou-products-menu {
  position: relative;
}

.hsou-products-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  width: min(720px, calc(100vw - 48px));
  padding: 16px;
  border: 1px solid var(--hsou-shell-line);
  border-radius: var(--hsou-shell-radius);
  background: rgba(255, 255, 255, .985);
  box-shadow: var(--hsou-shell-shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -10px);
  transition: opacity .2s ease, transform .2s ease;
}

.hsou-products-menu.is-active .hsou-products-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.hsou-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.hsou-product-link {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 64px;
  padding: 10px 12px;
  border-radius: 14px;
  color: var(--hsou-shell-ink);
  text-decoration: none;
  transition: .2s ease;
}

.hsou-product-link:hover,
.hsou-product-link[aria-current="page"] {
  background: #eef6ff;
  transform: translateY(-1px);
}

.hsou-product-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid #cfe2f8;
  border-radius: 11px;
  background: #fff;
  color: var(--hsou-shell-blue);
  font-size: 14px;
  font-weight: 850;
  box-shadow: 0 6px 15px rgba(24, 82, 144, .08);
}

.hsou-product-copy strong,
.hsou-product-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hsou-product-copy strong {
  font-size: 14px;
  line-height: 1.35;
}

.hsou-product-copy small {
  margin-top: 3px;
  color: var(--hsou-shell-muted);
  font-size: 11px;
  line-height: 1.25;
}

.hsou-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 13px;
  background: var(--hsou-shell-blue);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(7, 93, 204, .2);
  transition: .22s ease;
  white-space: nowrap;
}

.hsou-header-cta:hover {
  background: #044ea9;
  transform: translateY(-2px);
}

.hsou-header-cta span {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  background: var(--hsou-shell-yellow);
  color: var(--hsou-shell-ink);
}

.hsou-menu-button {
  display: none;
  width: 46px;
  height: 46px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--hsou-shell-line);
  border-radius: 13px;
  background: #fff;
  cursor: pointer;
}

.hsou-menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 2px;
  background: var(--hsou-shell-ink);
  transition: .2s ease;
}

.hsou-menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hsou-menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hsou-menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hsou-related-products {
  padding: clamp(74px, 7vw, 112px) 24px;
  background: #f4f8fd;
}

.hsou-related-inner {
  width: min(1240px, 100%);
  margin: 0 auto;
}

.hsou-related-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.hsou-related-head span {
  display: block;
  margin-bottom: 7px;
  color: var(--hsou-shell-blue);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .16em;
}

.hsou-related-head h2 {
  margin: 0;
  color: var(--hsou-shell-ink);
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.15;
}

.hsou-related-head > a {
  color: var(--hsou-shell-blue);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}

.hsou-related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.hsou-related-card {
  min-height: 180px;
  padding: 24px;
  border: 1px solid var(--hsou-shell-line);
  border-radius: 20px;
  background: #fff;
  color: var(--hsou-shell-ink);
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(20, 66, 117, .07);
  transition: .22s ease;
}

.hsou-related-card:hover {
  border-color: #9bc6f5;
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(20, 66, 117, .12);
}

.hsou-related-card b {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  place-items: center;
  border-radius: 13px;
  background: #eaf4ff;
  color: var(--hsou-shell-blue);
  font-size: 15px;
}

.hsou-related-card strong {
  display: block;
  font-size: 19px;
  line-height: 1.3;
}

.hsou-related-card small {
  display: block;
  margin-top: 8px;
  color: var(--hsou-shell-muted);
  font-size: 13px;
  line-height: 1.6;
}

.hsou-global-footer {
  padding: 64px 24px 24px;
  border-top: 4px solid var(--hsou-shell-yellow);
  background: #061f3a;
  color: #d8e8f8;
}

.hsou-footer-grid {
  width: min(1280px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.45fr .9fr .9fr 1.15fr;
  gap: clamp(34px, 5vw, 76px);
}

.hsou-footer-brand img {
  display: block;
  width: 185px;
  height: auto;
  max-height: 48px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.hsou-footer-intro {
  max-width: 360px;
  margin: 20px 0 0;
  color: #a9c0d8;
  font-size: 14px;
  line-height: 1.9;
}

.hsou-footer-column h3 {
  margin: 5px 0 20px;
  color: #fff;
  font-size: 16px;
  line-height: 1.2;
}

.hsou-footer-column a,
.hsou-footer-column span {
  display: block;
  margin: 0 0 12px;
  color: #b9cde1;
  font-size: 14px;
  line-height: 1.55;
  text-decoration: none;
}

.hsou-footer-column a:hover {
  color: #fff;
}

.hsou-footer-bottom {
  width: min(1280px, 100%);
  margin: 46px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(194, 218, 242, .25);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #819ab4;
  font-size: 12px;
  line-height: 1.7;
}

.hsou-footer-bottom a {
  color: inherit;
  text-decoration: none;
}

@media (max-width: 1100px) {
  .hsou-header-inner { width: min(100% - 32px, 1180px); min-height: 74px; }
  .hsou-main-nav { gap: 18px; }
  .hsou-nav-link, .hsou-products-toggle { font-size: 14px; }
  .hsou-header-cta { display: none; }
  .hsou-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .hsou-global-header { position: sticky; }
  .hsou-header-inner { width: calc(100% - 28px); min-height: 68px; gap: 14px; }
  .hsou-brand img { width: 150px; max-height: 42px; }
  .hsou-menu-button { display: block; }
  .hsou-main-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 14px;
    right: 14px;
    display: none;
    max-height: calc(100vh - 88px);
    padding: 14px;
    overflow-y: auto;
    border: 1px solid var(--hsou-shell-line);
    border-radius: 0 0 20px 20px;
    background: #fff;
    box-shadow: var(--hsou-shell-shadow);
  }
  .hsou-main-nav.is-open { display: block; }
  .hsou-nav-link, .hsou-products-toggle {
    width: 100%;
    min-height: 48px;
    justify-content: space-between;
    padding: 0 8px;
    font-size: 16px;
  }
  .hsou-nav-link::after, .hsou-products-toggle::after { display: none; }
  .hsou-products-panel {
    position: static;
    width: 100%;
    max-height: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    transition: max-height .28s ease, padding .28s ease;
  }
  .hsou-products-menu.is-active .hsou-products-panel { max-height: 920px; padding: 8px 0 12px; transform: none; }
  .hsou-product-grid { grid-template-columns: 1fr 1fr; gap: 6px; }
  .hsou-product-link { min-height: 58px; padding: 8px; }
  .hsou-footer-grid { grid-template-columns: 1fr 1fr; }
  .hsou-main-hero,
  .hsou-main-hero > .container,
  .hsou-main-hero > .hero-inner,
  .hsou-main-hero .hero-grid { min-height: auto !important; }
  .hsou-main-hero { padding-top: 54px !important; padding-bottom: 58px !important; }
  .hsou-main-hero h1 { font-size: clamp(27px, 8.6vw, 44px) !important; }
  .hsou-main-hero .lead,
  .hsou-main-hero .hero-lead { font-size: 17px !important; line-height: 1.75 !important; }
}

@media (max-width: 560px) {
  .hsou-header-inner { width: calc(100% - 22px); }
  .hsou-brand img { width: 132px; }
  .hsou-main-nav { left: 11px; right: 11px; }
  .hsou-product-grid { grid-template-columns: 1fr; }
  .hsou-related-products { padding: 64px 16px; }
  .hsou-related-head { display: block; }
  .hsou-related-head > a { display: inline-block; margin-top: 16px; }
  .hsou-related-grid { grid-template-columns: 1fr; }
  .hsou-related-card { min-height: 150px; }
  .hsou-footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .hsou-footer-bottom { display: block; }
  .hsou-footer-bottom span { display: block; margin-top: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .hsou-global-header *, .hsou-related-products * { scroll-behavior: auto !important; transition: none !important; }
}
