@import url("./visual-refresh.css?v=20261130");
@import url("./trial.css?v=20261130");

/* HS99 site header — shared by the English About and Solutions pages.
   Extracted from the homepage header-hero.css (header rules only). The hero rules are NOT
   included on purpose: their .hero-stage / .hero-copy selectors collide with subpage hero markup. */
:root {
  --blue: #3157ff;
  --ink: #10245c;
  --muted: #566484;
  --font-ui: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: 68px;
  --shell: 1680px;
  --edge: max(0px, calc((100% - var(--shell)) / 2));
}

.hs99-page {
  font-family: var(--font-ui, 'HS99 Sora', Sora, system-ui, sans-serif);
  color: var(--ink, var(--ink));
  -webkit-font-smoothing: antialiased;
  position: relative;
  box-sizing: border-box;
}
.hs99-page *,
.hs99-page *::before,
.hs99-page *::after {
  box-sizing: border-box;
}
.site-header {
  position: relative;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 80px;
  padding: 0 calc(var(--gutter, 68px) + var(--edge, 0px));
  background: transparent;
}
.site-header [hidden] {
  display: none !important;
}
.site-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 0 0 auto;
}
.site-brand .brand-link {
  display: inline-flex;
  border-radius: 6px;
}
.site-header .brand-logo {
  display: block;
  height: 44px;
  width: auto;
  max-width: none;
}
.site-header .brand-tag {
  font-size: 17px;
  color: var(--muted, #566484);
  white-space: nowrap;
}
.site-header .brand-sep {
  display: block;
  width: 1px;
  height: 24px;
  margin-left: 4px;
  background: #c8d1e4;
}
.site-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  min-width: 0;
}
.site-header .nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-header .nav-item {
  position: relative;
}
.site-header .mobile-cta {
  display: none;
}
.site-header .nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 8px 2px;
  border: 0;
  border-radius: 6px;
  background: none;
  color: var(--ink, var(--ink));
  font: inherit;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
}
.site-header .nav-link:hover {
  color: var(--blue, var(--blue));
}
.site-header .nav-link::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 3px;
  height: 5px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='5' viewBox='0 0 12 5'%3E%3Cpath d='M0 3.6Q3 1 6 3.6T12 3.6' fill='none' stroke='%233157ff' stroke-width='1.15' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 12px 5px;
  clip-path: inset(0 100% 0 0);
  opacity: 0;
  pointer-events: none;
  transition: clip-path 0s linear 0.2s, opacity 0.18s ease;
}
.site-header .nav-item:hover > .nav-link::after,
.site-header .nav-link:focus-visible::after {
  clip-path: inset(0 0 0 0);
  opacity: 1;
  transition: clip-path 0.45s cubic-bezier(0.33, 0, 0.15, 1), opacity 0.1s ease;
}
.site-header .nav-link.is-current::after {
  clip-path: inset(0 0 0 0);
  opacity: 1;
}
.site-header .caret {
  display: block;
  width: 14px;
  height: 14px;
  transition: transform 0.15s ease;
}
.site-header .lang-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: -12px;
  z-index: 60;
  min-width: 240px;
  padding: 8px;
  background: #fff;
  border: 1px solid #e3e9f6;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(9, 15, 45, 0.12);
}
.site-header .lang-menu[hidden] {
  display: none !important;
}
.site-header .lang-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.header-tools {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 0 0 auto;
}
.site-header .icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: none;
  cursor: pointer;
}
.site-header .icon-btn img {
  display: block;
  width: 22px;
  height: 22px;
}
.site-header .lang-wrap {
  position: relative;
}
.site-header .lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 4px;
  border: 0;
  border-radius: 6px;
  background: none;
  color: var(--ink, var(--ink));
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
}
.site-header .lang-trigger .globe {
  display: block;
  width: 20px;
  height: 20px;
}
.site-header .lang-trigger .caret {
  width: 14px;
  height: 14px;
}
.site-header .lang-trigger[aria-expanded="true"] .caret {
  transform: rotate(180deg);
}
.site-header .lang-menu {
  left: auto;
  right: 0;
  min-width: 220px;
}
.site-header .lang-current {
  display: block;
  padding: 10px 12px;
  color: var(--ink, var(--ink));
  font-size: 15px;
  font-weight: 600;
}
.site-header .lang-link {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--ink, var(--ink));
  font-size: 15px;
  text-decoration: none;
}
.site-header .lang-link:hover {
  background: #f1f5ff;
  color: var(--blue, var(--blue));
}
.site-header .header-demo {
  width: 200px;
  height: 48px;
  padding: 0 18px;
  border-radius: 10px;
}
.site-header .menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 1px solid #d6dfef;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}
.site-header .menu-toggle img {
  display: block;
  width: 22px;
  height: 22px;
}
.site-header .menu-toggle .icon-close {
  display: none;
}
.site-header.is-nav-open .menu-toggle .icon-open {
  display: none;
}
.site-header.is-nav-open .menu-toggle .icon-close {
  display: block;
}
.site-header .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
  border: 1.5px solid transparent;
  border-radius: 12px;
  font: inherit;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.site-header .btn-arrow {
  display: block;
  width: 20px;
  height: 20px;
}
.site-header .btn {
  background: var(--blue, var(--blue));
  color: #fff;
}
.site-header .btn:hover {
  background: var(--blue-hover, #2447d8);
}
.site-header .header-demo .btn-arrow {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}
.site-header :focus-visible {
  outline: 2px solid var(--blue, var(--blue));
  outline-offset: 3px;
}
/* 2026-11-16：断点从 1639 下调到 1279（与 header-hero.css 同步）。
   原因同该文件：1440 上空间够放副标，不该整段砍掉。 */
@media (max-width: 1279px) {
  .site-header .brand-tag,
  .site-header .brand-sep {
    display: none;
  }
}
@media (max-width: 1439px) {
  .site-header {
    gap: 16px;
  }
  .site-header .nav-list {
    gap: 24px;
  }
  .site-header .nav-link {
    font-size: 16px;
  }
  .site-header .header-demo {
    width: 190px;
  }
  .header-tools {
    gap: 14px;
  }
}
@media (min-width: 1080px) and (max-width: 1199px) {
  .site-header {
    gap: 12px;
  }
  .site-header .nav-list {
    gap: 16px;
  }
  .site-header .nav-link {
    font-size: 15px;
  }
  .site-header .header-demo {
    width: 168px;
    height: 44px;
    font-size: 16px;
  }
  .site-header .brand-logo {
    height: 38px;
  }
  .header-tools {
    gap: 10px;
  }
}
@media (max-width: 1079px) {
  .site-header .menu-toggle {
    display: inline-flex;
  }
  .site-nav {
    display: none;
  }
  .site-header.is-nav-open .site-nav {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    padding: 12px 48px 24px;
    background: #fff;
    border-top: 1px solid #e3e9f6;
    box-shadow: 0 20px 40px rgba(9, 15, 45, 0.12);
  }
  .site-header.is-nav-open .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .site-header.is-nav-open .nav-item {
    border-bottom: 1px solid #eef2fa;
  }
  .site-header.is-nav-open .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 14px 4px;
    font-size: 17px;
  }
  .site-header.is-nav-open .mobile-cta {
    display: block;
  }
  .site-header.is-nav-open .mobile-cta .nav-link {
    color: var(--blue, var(--blue));
    font-weight: 600;
  }
}
@media (max-width: 767px) {
  .site-header {
    height: 64px;
    gap: 12px;
  }
  .site-header .brand-logo {
    height: 36px;
  }
  .site-header .header-demo {
    display: none;
  }
  .site-header .lang-trigger,
  .site-header .lang-link {
    min-height: 40px;
  }
  .site-header.is-nav-open .site-nav {
    padding: 8px 20px 24px;
  }
  .header-tools {
    gap: 8px;
  }
  .site-header .icon-btn {
    width: 36px;
    height: 36px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .site-header .caret,
.site-header .btn {
    transition: none;
  }
}

/* Homepage parity: the header sits on the same white ground as the homepage body,
   and nav text uses the homepage ink (#10245C). */
.site-header{background:#ffffff;}
.site-header .nav-link{color:#10245C;}

/* Anchor-based nav links (Solutions, About) must not inherit the browser underline. */
.site-header a.nav-link, .site-header a.nav-link:hover, .site-header a.nav-link:focus { text-decoration: none; }
