:root{
  --accent:#4d7fc4;
  --dark:#0b0d10;
  --ink:#1a1a1a;
  --muted:#8a8a8f;
  --nav-h:78px;
  --ease:cubic-bezier(.22,.61,.36,1);
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

html.no-scroll{
  overflow:hidden;
}

html,
body{
  max-width:100%;
  overflow-x:hidden;
  overflow-x:clip;
}

body{
  font-family:'Helvetica Neue',Arial,sans-serif;
  background:#fff;
  color:var(--ink);
}

img{
  max-width:100%;
  display:block;
}

a{
  color:inherit;
}

.wrap{
  max-width:1280px;
  margin:0 auto;
  padding:0 5vw;
}

.nav{
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:1000;
  height:var(--nav-h);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 5vw;
  background:linear-gradient(to bottom,rgba(0,0,0,.55),rgba(0,0,0,0));
  transition:background .35s var(--ease),box-shadow .35s var(--ease),height .3s var(--ease);
}

.nav.scrolled{
  --nav-h:64px;
  background:rgba(9,10,13,.66);
  backdrop-filter:blur(14px) saturate(140%);
  -webkit-backdrop-filter:blur(14px) saturate(140%);
  box-shadow:0 1px 0 rgba(255,255,255,.06);
}

.nav.light{
  background:#fff;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
  box-shadow:0 2px 18px rgba(0,0,0,.14);
}

.nav.light .menu > li > a,
.nav.light .cn-badge{
  color:var(--dark);
}

.nav.light .icon-btn svg{
  stroke:var(--dark);
}

.nav.light .cn-badge{
  background:rgba(0,0,0,.08);
}

.nav.light .menu > li > a::after{
  background:var(--dark);
}

.nav.light .hamburger span{
  background:var(--dark);
}

.nav.light .menu > li.active > a{
  color:var(--accent);
}

.logo{
  position:relative;
  display:block;
  height:30px;
  text-decoration:none;
  flex:none;
}

.logo img{
  height:100%;
  width:auto;
  max-width:none;
  transition:opacity .3s ease;
}

.zxlogonormal{
  position:absolute;
  left:0;
  top:0;
  opacity:0;
}

.nav.light .zxlogo{
  opacity:0;
}

.nav.light .zxlogonormal{
  opacity:1;
}

.menu{
  list-style:none;
  display:flex;
  align-items:center;
  gap:38px;
  height:100%;
}

.menu > li{
  height:100%;
  display:flex;
  align-items:center;
  position:relative;
}

.menu > li.has-mega{
  position:static;
}

.menu > li > a{
  color:#fff;
  text-decoration:none;
  font-size:13.5px;
  font-weight:600;
  letter-spacing:.06em;
  text-transform:uppercase;
  padding:6px 0;
  position:relative;
  transition:color .3s ease;
  white-space:nowrap;
}

.menu > li > a::after{
  content:"";
  position:absolute;
  left:0;
  right:100%;
  bottom:-6px;
  height:2px;
  background:#fff;
  transition:right .3s var(--ease),background .3s ease;
}

.menu > li:hover > a::after,
.menu > li.has-mega.open > a::after,
.menu > li.active > a::after{
  right:0;
}

.menu > li.active > a{
  color:var(--accent);
}

.menu > li > a:focus-visible{
  outline:2px solid var(--accent);
  outline-offset:6px;
}

.right-cluster{
  display:flex;
  align-items:center;
  gap:20px;
}

.icon-btn{
  background:none;
  border:none;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:4px;
}

.icon-btn svg{
  width:19px;
  height:19px;
  stroke:#fff;
  transition:stroke .3s ease;
  fill:none;
  stroke-width:1.8;
}

.cn-badge{
  width:32px;
  height:32px;
  border-radius:50%;
  background:rgba(255,255,255,.16);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:11.5px;
  font-weight:700;
  letter-spacing:.03em;
  transition:background .3s ease,color .3s ease;
}

.mega{
  position:absolute;
  top:100%;
  left:0;
  right:0;
  background:#fff;
  color:var(--dark);
  padding:36px 5vw 44px;
  border-top:1px solid rgba(0,0,0,.06);
  box-shadow:0 24px 40px rgba(0,0,0,.18);
  max-height:calc(100vh - var(--nav-h));
  overflow-y:auto;
  opacity:0;
  visibility:hidden;
  transform:translateY(-10px);
  transition:opacity .25s var(--ease),transform .3s var(--ease),visibility 0s linear .3s;
  z-index:999;
}

.has-mega.open .mega{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
  transition:opacity .25s var(--ease),transform .3s var(--ease),visibility 0s;
}

.mega-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(170px,1fr));
  gap:22px;
  max-width:1200px;
  margin:0 auto;
}

.mega-item{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-decoration:none;
  color:var(--dark);
  padding:14px 12px 18px;
  border-radius:6px;
  background:#f7f7f8;
  opacity:0;
  transform:translateY(14px);
  transition:opacity .4s var(--ease),transform .4s var(--ease),background .2s ease,box-shadow .2s ease;
  transition-delay:calc(var(--i,0) * 35ms);
}

.has-mega.open .mega-item{
  opacity:1;
  transform:translateY(0);
}

.has-mega.open .mega-item:hover,
.has-mega.open .mega-item:focus-visible{
  background:#eef1f6;
  transform:translateY(-4px);
  box-shadow:0 10px 22px rgba(0,0,0,.08);
  transition-delay:0s;
}

.mega-item-thumb{
  width:100%;
  aspect-ratio:4/3;
  background-size:cover;
  background-position:center;
  background-color:#e4e6ea;
  border-radius:4px;
  margin-bottom:14px;
}

.mega-item span{
  font-size:13px;
  letter-spacing:.05em;
  font-weight:600;
  text-transform:uppercase;
  text-align:center;
}

.mega-error{
  grid-column:1 / -1;
  text-align:center;
  color:#9a9aa0;
  font-size:13px;
  padding:20px 0;
}

.hamburger{
  display:none;
  width:26px;
  height:20px;
  position:relative;
  background:none;
  border:none;
  cursor:pointer;
}

.hamburger span{
  position:absolute;
  left:0;
  width:100%;
  height:2px;
  background:#fff;
  border-radius:2px;
  transition:background .3s ease;
}

.hamburger span:nth-child(1){
  top:0;
}

.hamburger span:nth-child(2){
  top:9px;
  width:70%;
  left:30%;
}

.hamburger span:nth-child(3){
  top:18px;
}

.drawer-overlay{
  position:fixed;
  inset:0;
  background:rgba(5,6,8,.55);
  opacity:0;
  visibility:hidden;
  transition:opacity .35s ease,visibility 0s linear .35s;
  z-index:1150;
}

.drawer-overlay.open{
  opacity:1;
  visibility:visible;
  transition:opacity .35s ease,visibility 0s;
}

.mobile-panel{
  position:fixed;
  top:0;
  right:0;
  bottom:0;
  width:min(88vw,400px);
  background:#f5f5f7;
  z-index:1200;
  display:flex;
  flex-direction:column;
  overflow-x:hidden;
  overflow-y:auto;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
  box-shadow:-20px 0 50px rgba(0,0,0,.25);
  transform:translateX(100%);
  visibility:hidden;
  transition:transform .42s var(--ease),visibility 0s linear .42s;
}

.mobile-panel.open{
  transform:translateX(0);
  visibility:visible;
  transition:transform .42s var(--ease),visibility 0s;
}

.mobile-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex:none;
  padding:16px 22px;
  border-bottom:1px solid rgba(0,0,0,.06);
}

.mobile-logo{
  display:block;
  height:28px;
}

.mobile-logo img{
  height:100%;
  width:auto;
}

.drawer-close{
  width:38px;
  height:38px;
  border-radius:50%;
  background:rgba(0,0,0,.06);
  border:none;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  flex:none;
  transition:background .2s ease,transform .3s var(--ease);
}

.drawer-close:hover{
  background:rgba(0,0,0,.12);
  transform:rotate(90deg);
}

.drawer-close svg{
  width:18px;
  height:18px;
  stroke:var(--dark);
  fill:none;
  stroke-width:1.8;
  stroke-linecap:round;
}

.mobile-list{
  list-style:none;
  padding:8px 22px 40px;
  margin:0;
}

.mobile-list > li{
  border-bottom:1px solid rgba(0,0,0,.08);
  opacity:0;
  transform:translateX(18px);
  transition:opacity .35s ease,transform .4s var(--ease);
}

.mobile-panel.open .mobile-list > li{
  opacity:1;
  transform:none;
  transition-delay:calc(.08s + var(--d,1) * .06s);
}

.mobile-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%;
  min-height:58px;
  padding:19px 2px;
  margin:0;
  color:#111 !important;
  text-decoration:none;
  font-family:'Helvetica Neue',Arial,sans-serif;
  font-size:15.5px;
  font-weight:500;
  letter-spacing:.02em;
  line-height:1.3;
  background:transparent;
  border:0;
  outline:0;
  cursor:pointer;
  text-align:left;
  position:relative;
  z-index:20;
  pointer-events:auto;
  touch-action:manipulation;
  -webkit-tap-highlight-color:transparent;
  -webkit-appearance:none;
  appearance:none;
}

.mobile-row.active,
.mobile-expandable.active > .mobile-row{
  color:var(--accent) !important;
}

.mobile-row svg{
  width:16px;
  height:16px;
  flex:none;
  stroke:#8a8a8f;
  fill:none;
  stroke-width:1.6;
  transition:transform .3s ease;
  pointer-events:none;
}

.mobile-expandable{
  display:block;
  position:relative;
  width:100%;
}

.mobile-expandable > .mobile-row{
  position:relative;
  z-index:30;
}

.mobile-sub-wrap{
  display:block;
  width:100%;
  height:auto;
  max-height:0;
  overflow:hidden;
  margin:0;
  padding:0;
  opacity:0;
  visibility:hidden;
  transition:max-height .35s ease,opacity .2s ease,visibility 0s linear .35s,margin-bottom .25s ease;
}

.mobile-expandable.open .mobile-sub-wrap{
  max-height:5000px;
  opacity:1;
  visibility:visible;
  margin-bottom:12px;
  transition:max-height .4s ease,opacity .2s ease,visibility 0s,margin-bottom .25s ease;
}

.mobile-sub{
  display:block;
  width:100%;
  height:auto;
  margin:0;
  padding:0;
  list-style:none;
  background:#eceef1;
  border-radius:6px;
  overflow:hidden;
}

.mobile-sub li{
  display:block;
  width:100%;
  height:auto;
  margin:0;
  padding:0;
  border-bottom:1px solid rgba(0,0,0,.07);
}

.mobile-sub li:last-child{
  border-bottom:none;
}

.mobile-sub li a{
  display:flex;
  align-items:center;
  width:100%;
  min-height:66px;
  height:auto;
  margin:0;
  padding:9px 14px;
  gap:12px;
  color:#333 !important;
  background:#eceef1;
  text-decoration:none;
  font-family:'Helvetica Neue',Arial,sans-serif;
  font-size:14px;
  font-weight:400;
  line-height:1.3;
  cursor:pointer;
  pointer-events:auto;
  touch-action:manipulation;
  -webkit-tap-highlight-color:transparent;
}

.mobile-sub li a:hover,
.mobile-sub li a:active{
  background:#e1e4e8;
}

.mobile-model-thumb{
  display:block;
  flex:0 0 48px;
  width:48px;
  height:48px;
  min-width:48px;
  min-height:48px;
  border-radius:5px;
  background-color:#dcdfe3;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
}

.mobile-expandable > .mobile-row svg{
  transform:rotate(0deg);
}

.mobile-expandable.open > .mobile-row svg{
  transform:rotate(90deg);
}

.mobile-sub-error{
  display:block;
  width:100%;
  padding:18px 14px;
  color:#888;
  font-size:14px;
  text-align:center;
}

@media (max-width:920px){

  .nav{
    background:rgba(9,10,13,.78);
    backdrop-filter:blur(12px) saturate(140%);
    -webkit-backdrop-filter:blur(12px) saturate(140%);
  }

  .nav.scrolled{
    background:rgba(9,10,13,.88);
  }

  .nav.light,
  .nav.light.scrolled{
    background:#fff;
    backdrop-filter:none;
    -webkit-backdrop-filter:none;
  }

  .menu,
  .right-cluster > .icon-btn:first-child{
    display:none;
  }

  .hamburger{
    display:block;
    z-index:1100;
  }

  .nav{
    --nav-h:68px;
  }

  .nav.scrolled{
    --nav-h:60px;
  }

  .logo{
    height:26px;
  }
}

@media (min-width:921px){

  .mobile-panel,
  .drawer-overlay{
    display:none;
  }
}

@media (prefers-reduced-motion:reduce){

  .nav,
  .mega,
  .mega-item,
  .mobile-panel,
  .mobile-list > li,
  .mobile-sub-wrap{
    transition-duration:.01s !important;
    transition-delay:0s !important;
  }
}

.site-footer{
  position:relative;
  background:#0e0f11;
  padding:44px 5vw 30px;
  text-align:center;
}

.footer-nav{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:34px;
  margin-bottom:28px;
}

.footer-nav a{
  color:rgba(255,255,255,.65);
  text-decoration:none;
  font-size:13px;
  letter-spacing:.05em;
  text-transform:uppercase;
  transition:color .25s ease;
}

.footer-nav a:hover{
  color:#fff;
}

.footer-social{
  display:flex;
  justify-content:center;
  gap:16px;
  margin-bottom:34px;
}

.footer-social a{
  width:34px;
  height:34px;
  border-radius:50%;
  background:rgba(255,255,255,.07);
  display:flex;
  align-items:center;
  justify-content:center;
  transition:background .25s ease;
}

.footer-social a:hover{
  background:rgba(255,255,255,.16);
}

.footer-social svg{
  width:15px;
  height:15px;
  fill:rgba(255,255,255,.7);
}

.footer-legal{
  border-top:1px solid rgba(255,255,255,.08);
  padding-top:22px;
}

.footer-legal p{
  margin:0;
  color:rgba(255,255,255,.4);
  font-size:12px;
  line-height:1.7;
}

.back-to-top{
  margin:22px auto 0;
  display:flex;
  width:40px;
  height:22px;
  border:1px solid rgba(255,255,255,.25);
  border-radius:30px;
  background:transparent;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition:border-color .25s ease,transform .25s ease;
}

.back-to-top:hover{
  border-color:rgba(255,255,255,.6);
  transform:translateY(-2px);
}

.back-to-top svg{
  width:13px;
  height:13px;
  stroke:rgba(255,255,255,.75);
  fill:none;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}

@media (max-width:760px){

  .footer-nav{
    gap:18px 26px;
  }
}

.social-rail{
  position:fixed;
  right:22px;
  bottom:40px;
  z-index:900;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.social-rail a{
  width:38px;
  height:38px;
  border-radius:50%;
  background:rgba(255,255,255,.12);
  backdrop-filter:blur(6px);
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  text-decoration:none;
  transition:background .2s ease;
}

.social-rail a:hover{
  background:rgba(255,255,255,.26);
}

.social-rail svg{
  width:16px;
  height:16px;
  fill:#fff;
}

@media (max-width:760px){

  .social-rail{
    right:14px;
    bottom:28px;
    gap:8px;
  }

  .social-rail a{
    width:32px;
    height:32px;
  }

  .social-rail svg{
    width:14px;
    height:14px;
  }
}