@font-face {
  font-family: "HarmonyOS Sans SC";
  src: url("../fonts/HarmonyOS_Sans_SC_Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "HarmonyOS Sans SC";
  src: url("../fonts/HarmonyOS_Sans_SC_Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-primary: #0158ff;
  --color-primary-hover: #0046d0;
  --color-text: #121212;
  --color-sub: #5a5a5a;
  --color-white: #ffffff;
  --color-module: #f8f9fb;
  --color-soft: #f3f8ff;
  --color-tag: #e6efff;
  --color-dark: #2a3242;
  --color-line: rgba(0, 0, 0, 0.09);
  --color-white-60: rgba(255, 255, 255, 0.6);
  --color-white-11: rgba(255, 255, 255, 0.11);
  --color-hot: #ff4411;
  --page-width: 1920px;
  --content-width: 1200px;
  --section-y: 80px;
  --section-y-sm: 60px;
  --block-gap: 60px;
  --card-gap: 40px;
  --title-size: 32px;
  --desc-size: 20px;
  --display-size: 48px;
  --font: "HarmonyOS Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--color-white);
  color: var(--color-text);
  font-family: var(--font);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

.page {
  width: 100%;
  max-width: 100%;
  min-width: 1280px;
  overflow-x: hidden;
}

.wrap {
  width: var(--content-width);
  margin: 0 auto;
}

.media {
  position: relative;
  overflow: hidden;
  background: #e8edf5;
}

.media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  color: transparent;
  font-size: 0;
}

.media img.is-missing {
  opacity: 0;
}

.media::after {
  content: none;
}

.media.has-image::after {
  display: none;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

.sec-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  color: var(--color-text);
}

.sec-label span {
  color: #121212;
  font-family: var(--font);
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  white-space: nowrap;
}

.sec-title {
  font-size: var(--title-size);
  font-weight: 700;
  line-height: 1;
  text-align: center;
  color: var(--color-text);
}

.sec-desc {
  font-size: var(--desc-size);
  font-weight: 400;
  line-height: 1.6;
  text-align: center;
  color: var(--color-sub);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 20px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn--primary:hover {
  background: var(--color-primary-hover);
}

.btn--ghost {
  border: 1px solid var(--color-white);
  color: var(--color-white);
  background: transparent;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.22);
}

.btn--sm {
  height: 32px;
  padding: 0 16px;
  font-size: 14px;
}

.pager-btn[disabled] {
  cursor: default;
  opacity: 0.4;
}

.pager-btn:not([disabled]) {
  opacity: 1;
}

.icon-arrow {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.icon-up {
  width: 16px;
  height: 11px;
  flex-shrink: 0;
}

.icon-down {
  width: 16px;
  height: 11px;
  flex-shrink: 0;
  transform: scaleY(-1);
}

.header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: height 0.28s ease, background-color 0.28s ease;
}

.header__inner {
  width: 1198px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__left {
  display: flex;
  align-items: center;
}

.logo {
  width: 102px;
  height: 26px;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}

.logo:hover {
  opacity: 0.7;
}

.logo img {
  width: 102px;
  height: 26px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-left: 35px;
  color: var(--color-white);
  font-size: 14px;
  line-height: 16px;
  white-space: nowrap;
}

.nav a {
  transition: opacity 0.2s ease;
}

.nav a:hover {
  opacity: 0.7;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.nav-item {
  position: relative;
}

.nav-drop {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 30;
  padding-top: 14px;
  transform: translateX(-50%);
}

.nav-item:hover .nav-drop,
.nav-item:focus-within .nav-drop {
  display: block;
}

.nav-drop a {
  display: block;
  min-width: 248px;
  padding: 12px 16px;
  background: var(--color-white);
  color: var(--color-text);
  font-size: 14px;
  line-height: 20px;
  text-decoration: none;
  opacity: 1;
}

.nav-drop a:first-child {
  border-radius: 12px 12px 0 0;
}

.nav-drop a:last-child {
  border-radius: 0 0 12px 12px;
}

.nav-drop a:hover,
.nav-drop a.is-current {
  background: var(--color-soft);
  color: var(--color-primary);
  text-decoration: none;
  opacity: 1;
}

.nav-drop a small {
  display: block;
  margin-top: 4px;
  color: rgba(18, 18, 18, 0.5);
  font-size: 12px;
  line-height: 18px;
}

.nav-drop a:hover small,
.nav-drop a.is-current small {
  color: var(--color-primary);
}

.nav-drop--resource {
  min-width: 288px;
}

.nav-drop--resource a {
  min-width: 288px;
}

.nav-drop--tech {
  min-width: 288px;
}

.nav-drop--tech a {
  min-width: 288px;
}

.nav-drop--about {
  min-width: 288px;
}

.nav-drop--about a {
  min-width: 288px;
}

.nav-drop__group {
  display: block;
  padding: 12px 16px 4px;
  background: var(--color-white);
  color: rgba(18, 18, 18, 0.45);
  font-size: 12px;
  line-height: 18px;
}

.nav-drop--tech > .nav-drop__group:first-child {
  border-radius: 12px 12px 0 0;
}

.nav-drop__name {
  display: block;
  color: var(--color-text);
  font-size: 14px;
  line-height: 20px;
}

.nav-drop a:hover .nav-drop__name,
.nav-drop a.is-current .nav-drop__name {
  color: var(--color-primary);
}

.nav-drop--product {
  left: 0;
  transform: none;
}

.nav-drop--product a,
.nav-drop--product a:first-child,
.nav-drop--product a:last-child {
  min-width: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.nav-mega {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 800px;
  overflow: hidden;
  border-radius: 16px;
  background: var(--color-white);
  box-shadow: 0 16px 48px rgba(18, 18, 18, 0.12);
}

.nav-mega__col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
  padding: 28px 32px 32px;
}

.nav-mega__col + .nav-mega__col {
  border-left: 1px solid #eef0f4;
}

.nav-mega__label {
  color: rgba(18, 18, 18, 0.4);
  font-size: 12px;
  line-height: 18px;
}

.nav-mega__block {
  display: flex;
  flex-direction: column;
  padding-bottom: 16px;
  border-bottom: 1px solid #eef0f4;
}

.nav-mega__block:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.nav-mega__series {
  padding: 8px 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  color: var(--color-text);
}

.nav-mega__block > a:not(.nav-mega__series) {
  display: flex;
  align-items: center;
  padding: 8px 0 8px 16px;
  color: var(--color-sub);
  font-size: 14px;
  line-height: 22px;
}

.nav-mega a:hover,
.nav-mega a.is-current {
  background: transparent;
  color: var(--color-primary);
  text-decoration: none;
  opacity: 1;
}

.nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 14px;
  margin-left: 4px;
  padding: 0 4px;
  border-radius: 20px;
  background: #ff4000;
  color: var(--color-white);
  font-size: 8px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.nav-mega__app {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
}

.nav-mega__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  background: #f4f6f9;
}

.nav-mega__icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.nav-mega__app strong {
  display: block;
  color: var(--color-text);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

.nav-mega__app:hover strong,
.nav-mega__app.is-current strong {
  color: var(--color-primary);
}

.nav-mega__app small {
  margin-top: 4px;
}

.header__right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.phone-pill {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 32px;
  padding: 0 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.19);
  color: var(--color-white);
  font-size: 14px;
  line-height: 16px;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}

.phone-pill:hover {
  background: rgba(255, 255, 255, 0.32);
}

.phone-pill__icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.footer {
  background: var(--color-dark);
  padding: 51px 0 26px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

.footer__slogan {
  font-size: 18px;
  font-weight: 500;
  line-height: 20px;
  color: var(--color-white);
  text-align: center;
  white-space: nowrap;
}

.footer__line {
  width: 100%;
  height: 0;
  margin: 40px auto 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer__nav {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 80px;
  width: 100%;
  margin-top: 45px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col--product,
.footer-col--narrow {
  width: auto;
  flex: 0 0 auto;
}

.footer-col--product a,
.footer-col--narrow a,
.footer-col--product .footer-col__title,
.footer-col--narrow .footer-col__title,
.footer-col--contact .footer-col__title {
  white-space: nowrap;
}

.footer-col--contact {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 526px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
}

.footer-contact__info {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
  width: 100%;
}

.footer-col__title {
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  color: var(--color-white);
}

.footer-col a,
.footer-col p,
.footer-col span {
  font-size: 12px;
  font-weight: 400;
  line-height: 36px;
  color: var(--color-white-60);
}

.footer-col a {
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--color-white);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-col--contact .footer-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col--contact .footer-block p {
  line-height: 14px;
}

.footer-qr {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.footer-qr .footer-col__title {
  white-space: nowrap;
}

.footer-qr__btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.footer-qr__btn > img {
  display: block;
  width: 20px;
  height: 20px;
  transition: opacity 0.2s ease;
}

.footer-qr__btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/icon-wechat-green.svg") center / 20px 20px no-repeat;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.footer-qr:hover .footer-qr__btn > img,
.footer-qr:focus-within .footer-qr__btn > img,
.footer-qr.is-open .footer-qr__btn > img {
  opacity: 0;
}

.footer-qr:hover .footer-qr__btn::before,
.footer-qr:focus-within .footer-qr__btn::before,
.footer-qr.is-open .footer-qr__btn::before {
  opacity: 1;
}

.footer-qr__pop {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 13px);
  z-index: 6;
  width: 100px;
  padding: 0;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 17px rgba(0, 0, 0, 0.44);
  line-height: 0;
  overflow: hidden;
  color: inherit;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(8px);
  transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;
}

.footer-qr:hover .footer-qr__pop,
.footer-qr:focus-within .footer-qr__pop,
.footer-qr.is-open .footer-qr__pop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.footer-qr__pop img {
  display: block;
  width: 100px;
  height: 100px;
  max-width: none;
  object-fit: cover;
}

.footer__copy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 25px;
  font-size: 12px;
  line-height: 14px;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}

.footer__copy a {
  color: inherit;
  text-decoration: none;
}

.footer__copy a:hover {
  color: #fff;
}

.footer__line--bottom {
  margin-top: 27px;
}

.logo__on-light {
  display: none;
}

/* 浅色首屏：只改顶栏，不碰页脚 Logo */
.header.header--on-light .logo__on-dark {
  display: none;
}

.header.header--on-light .logo__on-light {
  display: block;
}

.header.header--on-light .nav,
.header.header--on-light .nav > a,
.header.header--on-light .nav > .nav-item > a {
  color: var(--color-text);
}

.header.header--on-light .phone-pill {
  background: var(--color-line);
  color: var(--color-text);
}

.header.header--on-light .phone-pill:hover {
  background: rgba(18, 18, 18, 0.12);
}

.header.header--on-light .phone-pill__icon {
  filter: invert(1);
}

.header.header--on-light .nav-toggle {
  background: rgba(18, 18, 18, 0.06);
}

.header.header--on-light .nav-toggle span {
  background: #121212;
}

/* 滚动后吸顶：白底黑字，只改顶栏 */
.header.is-stuck {
  position: fixed;
  height: 56px;
  min-height: 56px;
  max-height: 56px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.header.is-stuck .logo__on-dark {
  display: none;
}

.header.is-stuck .logo__on-light {
  display: block;
}

.header.is-stuck .nav,
.header.is-stuck .nav > a,
.header.is-stuck .nav > .nav-item > a {
  color: var(--color-text);
}

.header.is-stuck .phone-pill {
  background: var(--color-line);
  color: var(--color-text);
}

.header.is-stuck .phone-pill:hover {
  background: rgba(18, 18, 18, 0.12);
}

.header.is-stuck .phone-pill__icon {
  filter: invert(1);
}

.header.is-stuck .nav-toggle {
  background: rgba(18, 18, 18, 0.06);
}

.header.is-stuck .nav-toggle span {
  background: #121212;
}

/* 全站桌面：整栏下滑展开 + 页面压暗 */
@media (min-width: 1024px) {
  .header-backdrop {
    position: fixed;
    inset: 0;
    z-index: 19;
    background: rgba(0, 0, 0, 0.84);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.32, 0.08, 0.24, 1);
  }

  .header-backdrop.is-on {
    opacity: 1;
    pointer-events: auto;
  }

  .header-backdrop.is-light {
    background: rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .header {
    overflow: hidden;
  }

  .header.is-flyout {
    overflow: visible;
    max-height: none;
    box-shadow: none;
    background: #141414;
  }

  .header.is-stuck.is-flyout,
  .header.header--on-light.is-flyout {
    background: #fff;
    box-shadow: none;
  }

  .nav > .nav-item > a:hover,
  .nav > a:hover {
    text-decoration: none;
  }

  .nav-item {
    position: static;
  }

  .nav-sheet {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 20;
    height: 0;
    background: #141414;
    pointer-events: none;
    transition: height 0.42s cubic-bezier(0.32, 0.08, 0.24, 1);
  }

  .header.is-stuck .nav-sheet,
  .header.header--on-light .nav-sheet {
    background: #fff;
  }

  .nav-drop {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 21;
    width: 100%;
    max-height: 0;
    padding: 0;
    transform: none;
    overflow: hidden;
    background: transparent;
    pointer-events: none;
    opacity: 0;
    transition: max-height 0.42s cubic-bezier(0.32, 0.08, 0.24, 1),
      opacity 0.22s ease;
  }

  .header.is-flyout .nav-drop {
    max-height: var(--flyout-h, 0px);
  }

  .nav-item.is-open .nav-drop {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-drop__inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow: hidden;
    min-height: 0;
    width: var(--content-width);
    max-width: calc(100% - 80px);
    margin: 0 auto;
    padding: 0 0 0 calc(102px + 35px);
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.32s ease 0.06s, transform 0.4s cubic-bezier(0.32, 0.08, 0.24, 1);
  }

  .nav-drop__inner::before {
    content: "";
    display: block;
    height: 24px;
  }

  .nav-drop__inner::after {
    content: "";
    display: block;
    height: 48px;
  }

  .nav-item.is-open .nav-drop__inner {
    opacity: 1;
    transform: none;
  }

  .nav-drop a,
  .nav-drop a:first-child,
  .nav-drop a:last-child {
    min-width: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: 0;
  }

  .nav-drop a:hover,
  .nav-drop a.is-current {
    background: transparent;
    color: #fff;
    text-decoration: none;
    opacity: 1;
  }

  .nav-drop a small,
  .nav-drop a:hover small,
  .nav-drop a.is-current small {
    color: rgba(255, 255, 255, 0.48);
    font-size: 12px;
    font-weight: 400;
    line-height: 14px;
    letter-spacing: 0;
  }

  .nav-drop__group {
    padding: 4px 0 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.48);
    font-size: 12px;
    font-weight: 400;
    line-height: 14px;
    letter-spacing: 0;
  }

  .nav-drop__name {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 16px;
    letter-spacing: 0;
  }

  .nav-drop a:hover .nav-drop__name,
  .nav-drop a.is-current .nav-drop__name {
    color: #fff;
  }

  .nav-mega {
    display: flex;
    align-items: flex-start;
    gap: 100px;
    letter-spacing: 0;
    width: auto;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .nav-mega__col {
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    padding: 0;
    gap: 20px;
  }

  .nav-mega__col + .nav-mega__col {
    border-left: 0;
    padding-left: 0;
  }

  .nav-mega__label {
    color: rgba(255, 255, 255, 0.48);
    font-size: 12px;
    line-height: 14px;
    letter-spacing: 0;
  }

  .nav-mega__block {
    gap: 26px;
    padding-bottom: 0;
    border-bottom: 0;
  }

  .nav-mega__block + .nav-mega__block {
    margin-top: 26px;
  }

  .nav-mega__series,
  .nav-mega__block > a:not(.nav-mega__series) {
    padding: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: 0;
  }

  .nav-drop a.nav-mega__series,
  .nav-mega__app strong,
  .nav-drop__name {
    font-weight: 700;
  }

  .nav-mega a:hover,
  .nav-mega a.is-current {
    color: #fff;
  }

  .nav-mega__icon {
    display: none;
  }

  .nav-mega__block > a.nav-mega__app {
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
    padding: 0;
  }

  .nav-mega__app > span:not(.nav-mega__icon) {
    display: contents;
  }

  .nav-mega__app strong {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 16px;
    white-space: nowrap;
  }

  .nav-mega__app:hover strong,
  .nav-mega__app.is-current strong {
    color: #fff;
  }

  .nav-mega__app small {
    color: rgba(255, 255, 255, 0.48);
    font-size: 12px;
    line-height: 16px;
  }

  .nav-drop a.nav-mega__app small {
    display: block;
    margin: 0;
    line-height: 16px;
  }

  .header.is-stuck .nav-drop,
  .header.header--on-light .nav-drop {
    background: #fff;
  }

  .header.is-stuck .nav-drop a,
  .header.is-stuck .nav-drop a:first-child,
  .header.is-stuck .nav-drop a:last-child,
  .header.header--on-light .nav-drop a,
  .header.header--on-light .nav-drop a:first-child,
  .header.header--on-light .nav-drop a:last-child {
    color: var(--color-text);
  }

  .header.is-stuck .nav-drop a:hover,
  .header.is-stuck .nav-drop a.is-current,
  .header.header--on-light .nav-drop a:hover,
  .header.header--on-light .nav-drop a.is-current {
    color: var(--color-primary);
  }

  .header.is-stuck .nav-drop a small,
  .header.is-stuck .nav-drop a:hover small,
  .header.is-stuck .nav-drop a.is-current small,
  .header.header--on-light .nav-drop a small,
  .header.header--on-light .nav-drop a:hover small,
  .header.header--on-light .nav-drop a.is-current small {
    color: var(--color-sub);
  }

  .header.is-stuck .nav-drop__group,
  .header.header--on-light .nav-drop__group {
    color: var(--color-sub);
  }

  .header.is-stuck .nav-drop__name,
  .header.header--on-light .nav-drop__name {
    color: var(--color-text);
  }

  .header.is-stuck .nav-drop a:hover .nav-drop__name,
  .header.is-stuck .nav-drop a.is-current .nav-drop__name,
  .header.header--on-light .nav-drop a:hover .nav-drop__name,
  .header.header--on-light .nav-drop a.is-current .nav-drop__name {
    color: var(--color-primary);
  }

  .header.is-stuck .nav-mega__label,
  .header.header--on-light .nav-mega__label {
    color: var(--color-sub);
  }

  .header.is-stuck .nav-mega__series,
  .header.is-stuck .nav-mega__block > a:not(.nav-mega__series),
  .header.header--on-light .nav-mega__series,
  .header.header--on-light .nav-mega__block > a:not(.nav-mega__series) {
    color: var(--color-text);
  }

  .header.is-stuck .nav-mega a:hover,
  .header.is-stuck .nav-mega a.is-current,
  .header.header--on-light .nav-mega a:hover,
  .header.header--on-light .nav-mega a.is-current {
    color: var(--color-primary);
  }

  .header.is-stuck .nav-mega__app strong,
  .header.header--on-light .nav-mega__app strong {
    color: var(--color-text);
  }

  .header.is-stuck .nav-mega__app:hover strong,
  .header.is-stuck .nav-mega__app.is-current strong,
  .header.header--on-light .nav-mega__app:hover strong,
  .header.header--on-light .nav-mega__app.is-current strong {
    color: var(--color-primary);
  }

  .header.is-stuck .nav-mega__app small,
  .header.header--on-light .nav-mega__app small {
    color: var(--color-sub);
  }

  .nav-sol,
  .nav-cols {
    display: grid;
    grid-template-columns: repeat(3, max-content);
    column-gap: 100px;
    row-gap: 26px;
    align-items: start;
  }

  .nav-cols {
    grid-template-columns: repeat(2, max-content);
  }

  .nav-cols__col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
  }

  .nav-sol a,
  .nav-cols__col a {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .nav-sol a small,
  .nav-cols__col a small {
    margin-top: 0;
  }

  .nav-drop--about .nav-sol,
  .nav-drop--resource .nav-sol {
    grid-template-columns: repeat(2, max-content);
  }

  .nav-cols__col .nav-drop__group {
    padding-top: 0;
  }
}

.contact-dock {
  position: fixed;
  right: 56px;
  bottom: 100px;
  z-index: 15;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  width: 64px;
  visibility: hidden;
  pointer-events: none;
}

.contact-dock.is-visible {
  visibility: visible;
  pointer-events: auto;
}

.contact-dock__trigger {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.contact-dock__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 0;
  color: var(--color-text);
}

.contact-dock__avatar {
  display: block;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  line-height: 0;
}

.contact-dock__avatar img {
  display: block;
  width: 60px;
  height: 60px;
  max-width: none;
  border-radius: 50%;
}

.contact-dock__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 28px;
  padding: 0;
  border-radius: 14px;
  background: #dfdfdf;
  color: #5a5a5a;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
  white-space: nowrap;
}

.contact-dock__panel {
  position: absolute;
  right: calc(100% + 24px);
  top: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: max-content;
  padding: 24px;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(6px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.contact-dock__trigger:hover .contact-dock__panel,
.contact-dock__trigger:focus-within .contact-dock__panel,
.contact-dock__trigger.is-open .contact-dock__panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
}

.contact-dock__row {
  display: block;
  color: #121212;
  font-size: 16px;
  line-height: 24px;
  white-space: nowrap;
}

.contact-dock__row:hover {
  color: var(--color-primary);
}

.contact-dock__line {
  display: block;
  width: 100%;
  height: 0;
  border-top: 1px solid var(--color-line);
}

.contact-dock__qr-row {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #121212;
  font-size: 16px;
  line-height: 24px;
  white-space: nowrap;
}

.contact-dock__qr {
  display: block;
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  max-width: none;
}

.contact-dock__top {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 60px;
  background: #dfdfdf;
}
