.page-home{
  --hm-cut:18px;
  --hm-panel:linear-gradient(158deg,rgba(12,44,69,.96),rgba(6,24,38,.98));
  display:block;
  font-family:var(--xh-font-body);
  color:var(--xh-cream-100);
  background-color:var(--xh-ink-900);
  background-image:
    radial-gradient(880px 520px at 92% -6%,rgba(51,230,242,.13),transparent 72%),
    radial-gradient(620px 420px at -6% 42%,rgba(242,184,75,.08),transparent 76%);
  background-repeat:no-repeat;
  padding-bottom:clamp(44px,7vw,88px);
  overflow-x:hidden;
}
.page-home a{ text-decoration:none; }
.page-home a:focus-visible{
  outline:2px solid var(--xh-cyan-300);
  outline-offset:3px;
}
.page-home .hm-shell{
  max-width:var(--xh-container);
  margin-inline:auto;
  padding:clamp(16px,3.5vw,30px) var(--xh-gutter) 0;
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:clamp(18px,3vw,32px);
}
.page-home .hm-flow{
  display:grid;
  gap:clamp(30px,5vw,58px);
  min-width:0;
}

/* ---- 楼层索引（左栏） ---- */
.page-home .hm-rail{ min-width:0; }
.page-home .hm-rail__head{
  margin:0 0 10px;
  font-family:var(--xh-font-mono);
  font-size:11px;
  letter-spacing:.22em;
  color:var(--xh-stone-500);
}
.page-home .xh-index{
  display:flex;
  gap:8px;
  overflow-x:auto;
  padding:2px 0 8px;
  scrollbar-width:thin;
}
.page-home .xh-index__item{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:9px 13px;
  border:1px solid var(--xh-line);
  background:rgba(12,44,69,.62);
  color:var(--xh-cream-100);
  font-size:13px;
  line-height:1.2;
  white-space:nowrap;
  clip-path:polygon(0 0,calc(100% - 10px) 0,100% 10px,100% 100%,0 100%);
  transition:border-color .24s ease,color .24s ease,background .24s ease;
}
.page-home .xh-index__num{
  font-family:var(--xh-font-mono);
  font-size:11px;
  color:var(--xh-cyan-500);
  letter-spacing:.06em;
}
.page-home .xh-index__item:hover{ border-color:var(--xh-cyan-300); color:var(--xh-cyan-300); }
.page-home .xh-index__item.is-active{
  border-color:var(--xh-cyan-500);
  color:var(--xh-cyan-300);
  background:rgba(51,230,242,.14);
}
.page-home .hm-rail__status{
  display:none;
  margin-top:18px;
  padding:15px;
  gap:10px;
  border:1px solid var(--xh-line);
  background:var(--hm-panel);
  clip-path:polygon(0 0,calc(100% - var(--hm-cut)) 0,100% var(--hm-cut),100% 100%,0 100%);
}
.page-home .hm-rail__status p{
  margin:0;
  font-size:12px;
  line-height:1.7;
  color:var(--xh-stone-500);
}
.page-home .hm-rail__cta{ width:100%; justify-content:center; }

@media (min-width:640px){
  .page-home .hm-rail__status{ display:grid; }
}
@media (min-width:960px){
  .page-home .hm-shell{ grid-template-columns:minmax(0,236px) minmax(0,1fr); gap:clamp(28px,3.4vw,48px); }
  .page-home .hm-rail__sticky{ position:sticky; top:104px; }
  .page-home .xh-index{
    flex-direction:column;
    overflow:visible;
    gap:0;
    padding:0;
  }
  .page-home .xh-index__item{
    width:100%;
    justify-content:flex-start;
    padding:11px 10px 11px 14px;
    border:0;
    border-left:2px solid var(--xh-line);
    background:transparent;
    clip-path:none;
    white-space:normal;
  }
  .page-home .xh-index__item:hover{ background:rgba(51,230,242,.06); }
  .page-home .xh-index__item.is-active{
    border-left-color:var(--xh-cyan-500);
    background:linear-gradient(90deg,rgba(51,230,242,.16),transparent 85%);
  }
}

/* ---- 首屏 ---- */
.page-home .hm-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:clamp(20px,4vw,34px);
  padding-top:clamp(10px,2vw,18px);
  border-top:1px solid var(--xh-line-soft);
}
.page-home .hm-hero__title{
  margin:12px 0 0;
  font-family:var(--xh-font-display);
  font-weight:900;
  font-size:clamp(34px,7.4vw,64px);
  line-height:1.05;
  letter-spacing:-.02em;
  color:var(--xh-cream-100);
}
.page-home .hm-mark{
  color:var(--xh-cyan-500);
  text-shadow:0 0 26px rgba(51,230,242,.45);
}
.page-home .hm-hero__lead{
  margin:16px 0 0;
  max-width:33em;
  font-size:15px;
  line-height:1.9;
  color:rgba(245,241,232,.82);
}
.page-home .hm-hero__chips{
  margin-top:18px;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.page-home .hm-hero__actions{
  margin-top:22px;
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}
.page-home .hm-hero__media{
  position:relative;
  margin:0;
  border:1px solid var(--xh-line);
  background:var(--hm-panel);
  padding:6px;
  clip-path:polygon(0 0,calc(100% - 22px) 0,100% 22px,100% 100%,0 100%);
}
.page-home .hm-hero__media img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:16/10;
  object-fit:cover;
}
.page-home .hm-hero__overlay{
  position:absolute;
  left:14px;
  bottom:14px;
  display:flex;
  flex-wrap:wrap;
  gap:6px 14px;
  padding:9px 12px;
  border:1px solid var(--xh-line-strong);
  background:rgba(6,24,38,.84);
  font-family:var(--xh-font-mono);
  font-size:11px;
  letter-spacing:.06em;
  color:var(--xh-cream-100);
  clip-path:polygon(0 0,calc(100% - 12px) 0,100% 12px,100% 100%,0 100%);
}
@media (min-width:1000px){
  .page-home .hm-hero{ grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr); align-items:center; }
  .page-home .hm-hero__media img{ aspect-ratio:4/5; }
}

/* ---- 区块通用 ---- */
.page-home .hm-section{
  display:grid;
  gap:clamp(16px,3vw,26px);
  scroll-margin-top:96px;
}
.page-home .hm-head{
  display:grid;
  gap:10px;
  max-width:62ch;
}
.page-home .hm-num{
  font-family:var(--xh-font-mono);
  font-size:11px;
  letter-spacing:.24em;
  color:var(--xh-gold-500);
}
.page-home .hm-head h2{
  margin:0;
  font-family:var(--xh-font-display);
  font-weight:800;
  font-size:clamp(24px,4.2vw,36px);
  line-height:1.2;
  letter-spacing:-.01em;
}
.page-home .hm-head p{
  margin:0;
  font-size:15px;
  line-height:1.85;
  color:rgba(245,241,232,.76);
}

/* ---- 三层索引 ---- */
.page-home .hm-layers-wrap{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:16px;
}
.page-home .hm-index-figure{
  margin:0;
  padding:6px;
  border:1px solid var(--xh-line);
  background:var(--hm-panel);
  clip-path:polygon(0 0,calc(100% - var(--hm-cut)) 0,100% var(--hm-cut),100% 100%,0 100%);
}
.page-home .hm-index-figure img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:16/10;
  object-fit:cover;
}
.page-home .hm-layers{
  display:grid;
  gap:12px;
  grid-template-columns:minmax(0,1fr);
  align-content:start;
}
.page-home .hm-layer{
  padding:16px;
  border:1px solid var(--xh-line);
  background:rgba(12,44,69,.5);
  clip-path:polygon(0 0,calc(100% - 14px) 0,100% 14px,100% 100%,0 100%);
  transition:border-color .24s ease,background .24s ease;
}
.page-home .hm-layer:hover{
  border-color:var(--xh-line-strong);
  background:rgba(12,44,69,.72);
}
.page-home .hm-layer__title{
  margin:0 0 10px;
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  justify-content:space-between;
  gap:6px 12px;
  font-size:15px;
  font-weight:800;
  color:var(--xh-cyan-300);
}
.page-home .hm-layer__title span{
  font-family:var(--xh-font-mono);
  font-size:11px;
  font-weight:500;
  letter-spacing:.06em;
  color:var(--xh-stone-500);
}
.page-home .hm-layer__list{
  margin:0;
  padding:0;
  list-style:none;
  display:grid;
  gap:2px 18px;
  grid-template-columns:minmax(0,1fr);
}
.page-home .hm-layer__list li{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:10px;
  padding:7px 0;
  border-bottom:1px dashed var(--xh-line-soft);
}
.page-home .hm-layer__list li:last-child{ border-bottom:0; }
.page-home .hm-layer__list a{
  font-size:14px;
  color:var(--xh-cream-100);
  transition:color .2s ease;
}
.page-home .hm-layer__list a:hover{ color:var(--xh-cyan-500); }
.page-home .hm-layer__count{
  font-family:var(--xh-font-mono);
  font-size:11px;
  color:var(--xh-stone-500);
}
@media (min-width:560px){
  .page-home .hm-layer__list{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (min-width:900px){
  .page-home .hm-layers-wrap{ grid-template-columns:minmax(0,.66fr) minmax(0,1.34fr); align-items:start; }
  .page-home .hm-index-figure img{ aspect-ratio:2/3; }
}

/* ---- 入口卡片矩阵 ---- */
.page-home .hm-cards{
  display:grid;
  gap:14px;
  grid-template-columns:minmax(0,1fr);
}
.page-home .hm-card{
  position:relative;
  display:grid;
  align-content:start;
  gap:8px;
  padding:20px;
  border:1px solid var(--xh-line);
  background:linear-gradient(162deg,rgba(12,44,69,.92),rgba(6,24,38,.96));
  clip-path:polygon(0 0,calc(100% - 18px) 0,100% 18px,100% 100%,18px 100%,0 calc(100% - 18px));
  transition:transform .26s ease,border-color .26s ease,box-shadow .26s ease;
}
.page-home .hm-card::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:38%;
  height:2px;
  background:linear-gradient(90deg,var(--xh-cyan-500),var(--xh-gold-500));
  transition:width .32s ease;
}
.page-home .hm-card:hover{
  transform:translateY(-3px);
  border-color:var(--xh-line-strong);
  box-shadow:0 18px 34px -24px rgba(51,230,242,.7);
}
.page-home .hm-card:hover::before{ width:100%; }
.page-home .hm-card--alert::before{
  background:linear-gradient(90deg,var(--xh-coral-500),var(--xh-gold-500));
}
.page-home .hm-card__idx{
  font-family:var(--xh-font-mono);
  font-size:11px;
  letter-spacing:.16em;
  color:var(--xh-cyan-500);
}
.page-home .hm-card--alert .hm-card__idx{ color:var(--xh-coral-500); }
.page-home .hm-card__title{
  margin:0;
  font-family:var(--xh-font-display);
  font-size:19px;
  font-weight:800;
  line-height:1.3;
}
.page-home .hm-card__scene{
  margin:0;
  font-size:14px;
  line-height:1.8;
  color:rgba(245,241,232,.8);
}
.page-home .hm-card__meta{
  margin:0;
  font-family:var(--xh-font-mono);
  font-size:11px;
  line-height:1.7;
  color:var(--xh-stone-500);
}
.page-home .hm-card__go{
  margin-top:6px;
  justify-self:start;
  font-size:13px;
  font-weight:700;
  color:var(--xh-cyan-300);
  border-bottom:1px solid rgba(140,248,255,.4);
  padding-bottom:2px;
}
.page-home .hm-card__go:hover{ color:var(--xh-gold-500); border-bottom-color:var(--xh-gold-500); }
@media (min-width:640px){
  .page-home .hm-cards{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}

/* ---- 两步路径 ---- */
.page-home .hm-steps{
  margin:0;
  padding:0;
  list-style:none;
  display:grid;
  gap:14px;
  grid-template-columns:minmax(0,1fr);
}
.page-home .hm-step{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:14px;
  padding:18px;
  border:1px solid var(--xh-line);
  background:var(--hm-panel);
  clip-path:polygon(0 0,calc(100% - var(--hm-cut)) 0,100% var(--hm-cut),100% 100%,var(--hm-cut) 100%,0 calc(100% - var(--hm-cut)));
}
.page-home .hm-step__num{
  font-family:var(--xh-font-mono);
  font-size:clamp(22px,4vw,30px);
  font-weight:600;
  line-height:1;
  color:var(--xh-coral-500);
}
.page-home .hm-step__body h3{
  margin:0 0 6px;
  font-size:17px;
  font-weight:800;
  line-height:1.4;
}
.page-home .hm-step__body p{
  margin:0 0 10px;
  font-size:14px;
  line-height:1.85;
  color:rgba(245,241,232,.78);
}
.page-home .hm-step details{
  border-top:1px solid var(--xh-line-soft);
  padding-top:10px;
}
.page-home .hm-step summary{
  cursor:pointer;
  font-family:var(--xh-font-mono);
  font-size:12px;
  letter-spacing:.06em;
  color:var(--xh-cyan-500);
}
.page-home .hm-step summary:hover{ color:var(--xh-cyan-300); }
.page-home .hm-step details p{
  margin:8px 0 0;
  font-size:13px;
  color:rgba(245,241,232,.7);
}
@media (min-width:820px){
  .page-home .hm-steps{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}

/* ---- 通用图注 ---- */
.page-home .hm-figure{
  margin:0;
  padding:6px;
  border:1px solid var(--xh-line);
  background:var(--hm-panel);
  clip-path:polygon(0 0,calc(100% - var(--hm-cut)) 0,100% var(--hm-cut),100% 100%,0 100%);
}
.page-home .hm-figure img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:16/10;
  object-fit:cover;
}
.page-home .hm-figure figcaption{
  padding:9px 4px 3px;
  font-family:var(--xh-font-mono);
  font-size:11px;
  letter-spacing:.06em;
  color:var(--xh-stone-500);
}

/* ---- 归档摘要 ---- */
.page-home .hm-week{
  display:grid;
  gap:16px;
  grid-template-columns:minmax(0,1fr);
}
.page-home .hm-week__grid{
  border:1px solid var(--xh-line);
  background:rgba(12,44,69,.42);
  clip-path:polygon(0 0,calc(100% - 16px) 0,100% 16px,100% 100%,0 100%);
}
.page-home .hm-week__row{
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(0,1.25fr) auto;
  gap:10px;
  align-items:center;
  padding:12px 14px;
  border-bottom:1px solid var(--xh-line-soft);
  font-size:14px;
}
.page-home .hm-week__row:last-child{ border-bottom:0; }
.page-home .hm-week__row--head{
  background:rgba(51,230,242,.08);
  font-family:var(--xh-font-mono);
  font-size:11px;
  letter-spacing:.14em;
  color:var(--xh-cyan-300);
}
.page-home .hm-week__name{ font-weight:700; }
.page-home .hm-week__type{ font-size:13px; color:rgba(245,241,232,.66); }
.page-home .hm-week__count{
  font-family:var(--xh-font-mono);
  font-size:12px;
  color:var(--xh-gold-500);
  white-space:nowrap;
}
.page-home .hm-week__more{ margin:0; }
@media (min-width:900px){
  .page-home .hm-week{ grid-template-columns:minmax(0,1.16fr) minmax(0,.84fr); align-items:start; }
  .page-home .hm-week .hm-figure img{ aspect-ratio:4/3; }
}

/* ---- 运营与信任 ---- */
.page-home .hm-stats{
  display:grid;
  gap:12px;
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.page-home .hm-stat{
  padding:16px;
  border:1px solid var(--xh-line);
  background:linear-gradient(158deg,rgba(12,44,69,.88),rgba(6,24,38,.94));
  clip-path:polygon(0 0,calc(100% - 12px) 0,100% 12px,100% 100%,0 100%);
  transition:border-color .24s ease,transform .24s ease;
}
.page-home .hm-stat:hover{
  border-color:var(--xh-line-strong);
  transform:translateY(-2px);
}
.page-home .hm-stat__num{
  display:block;
  font-family:var(--xh-font-mono);
  font-size:clamp(22px,4.2vw,30px);
  font-weight:600;
  line-height:1.15;
  color:var(--xh-cyan-300);
}
.page-home .hm-stat__label{
  display:block;
  margin-top:8px;
  font-size:13px;
  line-height:1.7;
  color:rgba(245,241,232,.72);
}
.page-home .hm-trust__note{
  margin:0;
  max-width:44em;
  font-size:14px;
  line-height:1.9;
  color:rgba(245,241,232,.74);
}
.page-home .hm-trust__actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}
@media (min-width:760px){
  .page-home .hm-stats{ grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (prefers-reduced-motion:reduce){
  .page-home .hm-card,
  .page-home .hm-stat,
  .page-home .hm-card::before,
  .page-home .xh-index__item{ transition:none; }
  .page-home .hm-card:hover,
  .page-home .hm-stat:hover{ transform:none; }
}
