.page-home{
  --home-cut:22px;
  --home-cutpath:polygon(0 0,calc(100% - var(--home-cut)) 0,100% var(--home-cut),100% 100%,var(--home-cut) 100%,0 calc(100% - var(--home-cut)));
  --home-cut-br:polygon(0 0,100% 0,100% calc(100% - 20px),calc(100% - 20px) 100%,0 100%);
  --home-pad:clamp(18px,2.6vw,30px);
  --home-field:rgba(236,235,250,.9);

  position:relative;
  overflow-x:clip;
  padding-bottom:clamp(56px,9vw,110px);
  background-image:
    linear-gradient(rgba(139,92,246,.055) 1px,transparent 1px),
    linear-gradient(90deg,rgba(139,92,246,.055) 1px,transparent 1px);
  background-size:64px 64px;
}

.page-home > .rail{
  position:relative;
  z-index:1;
}

.page-home::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:0;
  height:34vh;
  background:linear-gradient(180deg,rgba(34,211,238,0) 0%,rgba(34,211,238,.055) 48%,rgba(34,211,238,0) 100%);
  animation:home-scan 26s linear infinite;
  pointer-events:none;
  z-index:0;
}

@keyframes home-scan{
  from{transform:translateY(-36vh);}
  to{transform:translateY(190vh);}
}

.page-home .crumb{
  position:relative;
  z-index:2;
  margin-bottom:clamp(14px,2.4vw,24px);
}

/* ---------- 首屏 ---------- */
.home-hero{
  position:relative;
  display:grid;
  gap:clamp(26px,4vw,44px);
  align-items:center;
  padding-bottom:clamp(10px,2vw,22px);
}

.home-hero__lead{
  display:flex;
  flex-direction:column;
  gap:clamp(14px,2vw,20px);
  min-width:0;
}

.home-hero__title{
  margin:0;
  font-weight:900;
  font-size:clamp(2.15rem,7.4vw,4rem);
  line-height:1.05;
  letter-spacing:-.02em;
  color:var(--text);
}

.home-hero__lede{
  margin:0;
  max-width:46ch;
  color:var(--muted);
  font-size:clamp(.95rem,2.6vw,1.05rem);
  line-height:1.78;
}

.home-hero__actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:4px;
}

.home-hero__panel{
  position:relative;
  overflow:hidden;
  clip-path:var(--home-cutpath);
  min-height:clamp(340px,86vw,540px);
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  gap:12px;
  padding:var(--home-pad);
  background:var(--panel);
  box-shadow:var(--glow);
}

.home-hero__img{
  position:absolute;
  inset:0;
  z-index:0;
  display:block;
  width:100%;
  height:100%;
  max-width:100%;
  object-fit:cover;
  opacity:.6;
}

.home-hero__veil{
  position:absolute;
  inset:0;
  z-index:1;
  background:linear-gradient(158deg,rgba(139,92,246,.62) 0%,rgba(11,10,20,.3) 40%,rgba(11,10,20,.95) 100%);
}

.home-hero__panelLabel{
  position:relative;
  z-index:2;
  margin:0;
  font-family:var(--font-mono);
  font-size:12px;
  letter-spacing:.22em;
  color:var(--cyan);
}

.home-hero__index{
  position:relative;
  z-index:2;
  margin:0;
  padding:0;
  list-style:none;
  border-top:1px solid rgba(236,235,250,.2);
}

.home-hero__item{
  border-bottom:1px solid rgba(236,235,250,.13);
}

.home-hero__link{
  display:grid;
  grid-template-columns:40px minmax(0,1fr);
  align-items:center;
  gap:2px 10px;
  padding:clamp(11px,1.8vw,15px) 2px;
  text-decoration:none;
  color:var(--text);
  transition:transform .25s ease,color .25s ease;
}

.home-hero__link .index-no{
  grid-row:1 / span 2;
  align-self:center;
}

.home-hero__label{
  font-weight:700;
  font-size:clamp(1rem,2.8vw,1.18rem);
  letter-spacing:.01em;
}

.home-hero__desc{
  color:var(--muted);
  font-size:12.5px;
  line-height:1.5;
}

.home-hero__link:hover,
.home-hero__link:focus-visible{
  transform:translateX(5px);
  color:#fff;
}

.home-hero__link:hover .index-no,
.home-hero__link:focus-visible .index-no{
  color:var(--gold);
}

/* ---------- 主体骨架 ---------- */
.home-body{
  display:grid;
  gap:clamp(28px,5vw,52px);
  padding-top:clamp(34px,6vw,70px);
}

.home-flow{
  min-width:0;
}

.home-toc{
  position:relative;
  z-index:2;
  min-width:0;
}

.home-toc__list{
  display:flex;
  gap:8px;
  margin:0;
  padding:2px 0 8px;
  list-style:none;
  overflow-x:auto;
  scrollbar-width:none;
}

.home-toc__list::-webkit-scrollbar{
  display:none;
}

.home-toc__list li{
  flex:0 0 auto;
}

.home-toc .anchor-link{
  display:inline-block;
  padding:7px 12px;
  font-size:12.5px;
  white-space:nowrap;
  color:var(--muted);
  text-decoration:none;
  border:1px solid var(--line);
  background:rgba(23,18,58,.6);
  clip-path:polygon(0 0,calc(100% - 8px) 0,100% 8px,100% 100%,8px 100%,0 calc(100% - 8px));
  transition:color .25s ease,border-color .25s ease;
}

.home-toc .anchor-link:hover,
.home-toc .anchor-link[aria-current]{
  color:var(--text);
  border-color:var(--neon);
}

/* ---------- 段落 ---------- */
.home-section{
  scroll-margin-top:calc(var(--header-h) + 20px);
}

.home-section + .home-section{
  margin-top:clamp(46px,8vw,88px);
}

.home-h2{
  margin:6px 0 0;
  font-size:clamp(1.45rem,4.6vw,2.15rem);
  font-weight:800;
  line-height:1.22;
  letter-spacing:-.01em;
  color:var(--text);
}

.home-sub{
  margin:12px 0 0;
  max-width:62ch;
  color:var(--muted);
  font-size:15px;
  line-height:1.76;
}

/* ---------- 栏目卡片 ---------- */
.home-filter{
  margin-top:clamp(20px,3vw,28px);
}

.home-cards{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:clamp(14px,2.2vw,20px);
  margin-top:clamp(18px,3vw,26px);
}

.home-card{
  position:relative;
  display:flex;
  flex-direction:column;
  gap:10px;
  padding:var(--home-pad);
  background:linear-gradient(158deg,rgba(139,92,246,.16),rgba(14,31,42,.92));
  clip-path:var(--home-cutpath);
  box-shadow:inset 0 0 0 1px var(--line),0 20px 44px -30px rgba(139,92,246,.9);
  transition:box-shadow .3s ease,transform .3s ease;
}

.home-card:hover{
  transform:translateY(-3px);
  box-shadow:inset 0 0 0 1px var(--neon),0 26px 56px -30px rgba(139,92,246,1);
}

.home-card .index-no{
  color:var(--cyan);
  font-size:13px;
  transition:color .3s ease;
}

.home-card:hover .index-no{
  color:var(--gold);
}

.home-card__title{
  margin:0;
  font-size:1.18rem;
  font-weight:800;
  letter-spacing:.01em;
  color:var(--text);
}

.home-card__text{
  flex:1 1 auto;
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:1.76;
}

.home-card__link{
  align-self:flex-start;
  margin-top:4px;
  padding-bottom:2px;
  font-size:13.5px;
  color:var(--gold);
  text-decoration:none;
  border-bottom:1px solid rgba(242,179,61,.45);
  transition:color .25s ease,border-color .25s ease;
}

.home-card__link:hover{
  color:var(--cyan);
  border-color:var(--cyan);
}

/* ---------- 跨设备 ---------- */
.home-device__grid{
  display:grid;
  gap:clamp(20px,3.4vw,40px);
  margin-top:clamp(22px,3.4vw,32px);
}

.home-figure{
  position:relative;
  margin:0;
}

.home-figure__img{
  display:block;
  width:100%;
  max-width:100%;
  height:auto;
  object-fit:cover;
  clip-path:var(--home-cutpath);
  box-shadow:0 24px 54px -34px rgba(34,211,238,.9);
}

.home-figure__cap{
  display:block;
  margin-top:10px;
  font-size:12px;
  letter-spacing:.06em;
  color:var(--dim);
}

.home-device__text{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.home-device__list{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin:0;
  padding:0;
  list-style:none;
}

.home-device__list li{
  position:relative;
  padding-left:20px;
  color:var(--muted);
  font-size:14.5px;
  line-height:1.72;
}

.home-device__list li::before{
  content:"";
  position:absolute;
  left:0;
  top:.66em;
  width:9px;
  height:2px;
  background:var(--cyan);
}

/* ---------- 花费区间 ---------- */
.home-band{
  position:relative;
  overflow:hidden;
  height:clamp(96px,16vw,168px);
  margin:clamp(22px,3.4vw,34px) 0 0;
  clip-path:var(--home-cutpath);
  box-shadow:inset 0 0 0 1px var(--line);
}

.home-band__img{
  display:block;
  width:100%;
  height:100%;
  max-width:100%;
  object-fit:cover;
  opacity:.5;
}

.home-cost{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:clamp(12px,2vw,18px);
  margin-top:clamp(18px,3vw,26px);
}

.home-cost__card{
  display:flex;
  flex-direction:column;
  gap:9px;
  padding:clamp(18px,2.4vw,24px);
  background:var(--panel-2);
  clip-path:var(--home-cut-br);
  box-shadow:inset 0 0 0 1px var(--line);
  transition:box-shadow .3s ease;
}

.home-cost__card:hover{
  box-shadow:inset 0 0 0 1px var(--neon);
}

.home-cost__no{
  font-family:var(--font-mono);
  font-size:clamp(1.6rem,4vw,2.2rem);
  font-weight:800;
  line-height:1;
  letter-spacing:.02em;
  color:var(--gold);
  font-variant-numeric:tabular-nums;
}

.home-cost__title{
  margin:0;
  font-size:1.02rem;
  font-weight:700;
  color:var(--text);
}

.home-cost__text{
  margin:0;
  color:var(--muted);
  font-size:13.5px;
  line-height:1.74;
}

.home-cost__note{
  margin:clamp(18px,3vw,24px) 0 0;
  font-size:13.5px;
  color:var(--dim);
}

.home-cost__cta{
  margin-top:14px;
}

/* ---------- 更新列表 ---------- */
.home-news{
  margin:clamp(20px,3vw,28px) 0 0;
  padding:0;
  list-style:none;
  border-top:1px solid var(--line);
}

.home-news__item{
  display:grid;
  grid-template-columns:44px minmax(0,1fr);
  gap:6px 12px;
  align-items:baseline;
  padding:clamp(16px,2.4vw,20px) 0;
  border-bottom:1px solid var(--line);
}

.home-news__item .index-no{
  color:var(--cyan);
}

.home-news__body{
  display:flex;
  flex-direction:column;
  gap:5px;
  min-width:0;
}

.home-news__title{
  margin:0;
  font-size:1rem;
  font-weight:700;
  line-height:1.45;
}

.home-news__title a{
  color:var(--text);
  text-decoration:none;
  transition:color .25s ease;
}

.home-news__title a:hover{
  color:var(--gold);
}

.home-news__text{
  margin:0;
  color:var(--muted);
  font-size:13.5px;
  line-height:1.7;
}

.home-news__body .chip{
  align-self:flex-start;
  margin-top:4px;
}

.home-news__more{
  margin-top:clamp(20px,3vw,26px);
}

/* ---------- 贵州团队 ---------- */
.home-local__grid{
  display:grid;
  gap:clamp(22px,3.4vw,42px);
  margin-top:clamp(22px,3.4vw,32px);
}

.home-local__text{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  min-width:0;
}

.home-local__link{
  margin-top:20px;
}

.home-local__figure{
  margin-top:clamp(26px,4vw,40px);
}

.home-stats{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:clamp(12px,2vw,18px);
  margin:0;
  padding:0;
  list-style:none;
}

.home-stats__item{
  padding:14px 12px;
  background:rgba(23,18,58,.72);
  clip-path:var(--home-cut-br);
  box-shadow:inset 0 0 0 1px var(--line);
}

.home-stats__num{
  display:block;
  font-family:var(--font-mono);
  font-size:clamp(1.35rem,3.4vw,1.8rem);
  font-weight:800;
  letter-spacing:-.01em;
  color:var(--gold);
  font-variant-numeric:tabular-nums;
}

.home-stats__label{
  display:block;
  margin-top:6px;
  font-size:12px;
  letter-spacing:.05em;
  color:var(--muted);
}

/* ---------- 答疑 ---------- */
.home-ask{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:clamp(14px,2.4vw,20px);
  margin-top:clamp(20px,3vw,28px);
}

.home-ask__card{
  display:flex;
  flex-direction:column;
  gap:12px;
  padding:var(--home-pad);
  background:linear-gradient(160deg,rgba(34,211,238,.12),rgba(23,18,58,.92));
  clip-path:var(--home-cutpath);
  box-shadow:inset 0 0 0 1px var(--line);
}

.home-ask__card--alt{
  background:linear-gradient(160deg,rgba(240,64,122,.14),rgba(23,18,58,.92));
}

.home-ask__card .index-no{
  color:var(--cyan);
  font-size:13px;
}

.home-ask__title{
  margin:0;
  font-size:1.08rem;
  font-weight:800;
  color:var(--text);
}

.home-ask__text{
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:1.76;
}

.home-ask__card .btn{
  align-self:flex-start;
  margin-top:auto;
}

.home-contact{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin:0;
  padding:0;
  list-style:none;
}

.home-contact li{
  display:flex;
  flex-direction:column;
  gap:2px;
}

.home-contact .contact-label{
  font-size:11.5px;
  letter-spacing:.14em;
  color:var(--dim);
}

.home-contact .contact-value{
  color:var(--text);
  font-family:var(--font-mono);
  font-size:14.5px;
  text-decoration:none;
  word-break:break-all;
  transition:color .25s ease;
}

.home-contact .contact-value:hover{
  color:var(--gold);
}

/* ---------- 回到顶部 ---------- */
.home-toTop{
  position:fixed;
  right:clamp(14px,3vw,26px);
  bottom:clamp(14px,3vw,26px);
  z-index:20;
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  font-size:16px;
  color:var(--text);
  text-decoration:none;
  background:rgba(23,18,58,.88);
  clip-path:var(--home-cutpath);
  box-shadow:inset 0 0 0 1px var(--line),0 14px 30px -18px rgba(139,92,246,.9);
  transition:box-shadow .3s ease,color .3s ease;
}

.home-toTop:hover{
  color:var(--gold);
  box-shadow:inset 0 0 0 1px var(--neon),0 18px 34px -18px rgba(139,92,246,1);
}

/* ---------- 断点 ---------- */
@media (min-width:560px){
  .home-stats{
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
}

@media (min-width:620px){
  .home-cards{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .home-cost{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (min-width:760px){
  .home-news__item{
    grid-template-columns:52px minmax(0,1fr) auto;
    align-items:center;
    gap:8px 16px;
  }
  .home-news__body{
    gap:6px;
  }
  .home-ask{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (min-width:860px){
  .home-device__grid{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    align-items:center;
  }
}

@media (min-width:900px){
  .home-local__grid{
    grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);
    align-items:center;
  }
  .home-local__figure{
    margin-top:0;
  }
}

@media (min-width:960px){
  .home-hero{
    grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);
  }
  .home-hero__title{
    font-size:clamp(2.6rem,4.6vw,4.2rem);
  }
}

@media (min-width:1020px){
  .home-body{
    grid-template-columns:190px minmax(0,1fr);
    align-items:start;
  }
  .home-toc{
    position:sticky;
    top:calc(var(--header-h) + 24px);
  }
  .home-toc__list{
    flex-direction:column;
    gap:0;
    padding:0;
    overflow:visible;
  }
  .home-toc__list li{
    flex:none;
  }
  .home-toc .anchor-link{
    display:block;
    padding:9px 10px;
    white-space:normal;
    border:0;
    border-left:2px solid var(--line);
    background:transparent;
    clip-path:none;
    transition:color .25s ease,border-color .25s ease;
  }
  .home-toc .anchor-link:hover,
  .home-toc .anchor-link[aria-current]{
    color:var(--text);
    border-left-color:var(--neon);
  }
}

@media (min-width:1120px){
  .home-cards{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

@media (prefers-reduced-motion:reduce){
  .page-home::after{
    animation:none;
  }
  .home-card,
  .home-hero__link,
  .home-toTop{
    transition:none;
  }
  .home-card:hover{
    transform:none;
  }
  .home-hero__link:hover{
    transform:none;
  }
}
