/* Canonical Plan-E header shared by the homepage and all sub-pages. */
@font-face {
  font-family: CoomengBanner;
  src: url('assets/coomeng-noto-sans-sc.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: CoomengBanner;
  src: url('assets/banner-noto-coverage.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+00B7, U+2192, U+589E, U+7B80, U+FF01;
}

.site-header {
  height: 66px;
  background: rgba(248, 251, 255, .92);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid rgba(206, 226, 250, .86);
  transition: background .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .96);
  border-bottom-color: rgba(190, 217, 248, .92);
  box-shadow: 0 8px 28px rgba(8, 45, 108, .08);
}

.site-header .desktop-nav a {
  color: #16335e;
  font-weight: 700;
  transition: color .18s ease;
}
.site-header .desktop-nav a:hover {
  color: #087aff;
}
.site-header .desktop-nav a::after {
  bottom: 14px;
  height: 2.5px;
  border-radius: 999px;
  background: linear-gradient(90deg, #16c2f5, #087aff);
}

.site-header .mobile-nav-cta {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #d9e7f8;
}
.site-header .mobile-nav-cta .button {
  width: 100%;
  min-height: 44px;
  font-size: 14px;
}
.site-header .mobile-nav-phone {
  display: block;
  padding: 6px 0 2px;
  border: 0;
  color: #355a86;
  font-size: 12.5px;
  font-weight: 700;
  text-align: center;
}

@media (min-width: 1181px) {
  :root {
    --site-content-max: 1396px;
    --site-content-gutter: 64px;
    --site-content-width: min(var(--site-content-max), calc(100% - 2 * var(--site-content-gutter)));
    --page: var(--site-content-width);
  }

  .site-header .header-inner {
    width: var(--site-content-width);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    column-gap: 32px;
  }

  .site-header .brand {
    grid-column: 1;
    justify-self: start;
  }

  .site-header .desktop-nav,
  .site-header .header-message {
    font-family: CoomengBanner, "Microsoft YaHei", sans-serif;
    font-synthesis: none;
  }

  .site-header .desktop-nav {
    grid-column: 2;
    height: 100%;
    margin: 0;
    align-self: stretch;
    gap: clamp(30px, 2.291667vw, 44px);
  }

  .site-header .desktop-nav a {
    padding-bottom: 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
  }

  .site-header .header-message {
    grid-column: 3;
    justify-self: end;
    margin-left: 0;
    min-width: 0;
    max-width: 100%;
    text-align: right;
  }

  .site-header .header-message strong {
    font-size: clamp(16px, .95vw, 18px);
    font-weight: 700;
    line-height: 1.3;
    color: #0066cc;
    white-space: nowrap;
  }

  .site-header .header-message small {
    max-width: 100%;
    font: 600 8.5px/1.4 Arial, sans-serif;
    letter-spacing: .08em;
    color: #77849b;
  }
}

@media (min-width: 641px) and (max-width: 1180px) {
  .site-header .header-inner {
    width: var(--page);
    gap: 16px;
  }
  .site-header .desktop-nav {
    margin-left: auto;
    gap: clamp(16px, 2.2vw, 28px);
  }
  .site-header .desktop-nav a {
    font-size: 13.5px;
  }
}

@media (max-width: 640px) {
  .site-header {
    height: 64px;
    background: #ffffff;
  }
  .site-header .mobile-nav {
    top: 64px;
    z-index: 40;
    padding: 14px 20px 18px;
    gap: 0 12px;
    background: #ffffff;
    box-shadow: 0 18px 42px rgba(6, 36, 94, .18);
  }
  .site-header .mobile-nav a.is-active {
    color: #087aff;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header {
    transition: none;
  }
}
