.page-home {
  --home-hair: rgba(47, 216, 206, 0.26);
  --home-edge: rgba(29, 59, 87, 0.9);
  --home-card: linear-gradient(160deg, rgba(16, 36, 57, 0.95), rgba(12, 38, 48, 0.82));
  --home-gap-x: clamp(1.5rem, 3.4vw, 3rem);
}

/* ---------- 首屏 ---------- */
.page-home .hero-home {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: clamp(6.5rem, 12vh, 9.5rem);
  padding-bottom: clamp(3rem, 6.5vw, 5.5rem);
}

.page-home .hero-home__mesh {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0.6;
  -webkit-mask-image: radial-gradient(120% 82% at 72% 8%, #000 0%, rgba(0, 0, 0, 0.35) 55%, transparent 78%);
  mask-image: radial-gradient(120% 82% at 72% 8%, #000 0%, rgba(0, 0, 0, 0.35) 55%, transparent 78%);
}

.page-home .hero-home__crumbs {
  margin-bottom: clamp(1.25rem, 3vw, 2.25rem);
}

.page-home .hero-home__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 3rem);
}

@media (min-width: 960px) {
  .page-home .hero-home__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: clamp(1rem, 2.4vw, 2.25rem);
    align-items: start;
    min-height: clamp(420px, 62vh, 700px);
  }
  .page-home .hero-home__lead {
    grid-column: 1 / span 7;
    padding-top: clamp(0.5rem, 2vw, 1.5rem);
  }
  .page-home .hero-home__rail {
    grid-column: 9 / span 4;
  }
}

.page-home .hero-home__title {
  margin: 0 0 clamp(1.1rem, 2.4vw, 1.75rem);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.4rem, 7.2vw, 5.4rem);
  line-height: 1.03;
  letter-spacing: -0.02em;
  color: var(--white);
  text-wrap: balance;
}

.page-home .hero-home__title em {
  font-style: normal;
  color: var(--cyan);
  text-shadow: 0 0 26px rgba(47, 216, 206, 0.35);
}

.page-home .hero-home__lede {
  max-width: 32em;
  margin: 0 0 1rem;
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.1vw, 1.0625rem);
  line-height: 1.85;
  color: var(--mist);
}

.page-home .hero-home__lede.lead {
  color: var(--white);
}

.page-home .hero-home__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: clamp(1.25rem, 2.6vw, 1.9rem) 0 0;
}

.page-home .hero-home__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: clamp(1.35rem, 2.8vw, 2rem);
}

.page-home .hero-home__rail {
  display: grid;
  gap: clamp(0.9rem, 2vw, 1.25rem);
  align-content: start;
}

.page-home .hero-home__figure {
  margin: 0;
}

.page-home .hero-home__figcaption {
  margin-top: 0.7rem;
  color: var(--mist);
  font-size: 0.8125rem;
  line-height: 1.65;
}

.page-home .hero-home__index {
  padding: 0.9rem 1rem 1.05rem;
  border: 1px solid var(--home-hair);
  border-radius: var(--radius-lg);
  background: rgba(16, 36, 57, 0.74);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px -28px rgba(0, 0, 0, 0.9);
}

.page-home .hero-home__index-label {
  margin: 0 0 0.5rem;
  color: var(--gold);
}

.page-home .hero-home__index-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .hero-home__index-link {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  padding: 0.5rem 0.55rem;
  border-radius: var(--radius-sm);
  color: var(--mist);
  font-family: var(--font-display);
  font-size: 0.9375rem;
  line-height: 1.5;
  text-decoration: none;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.page-home .hero-home__index-link .mono {
  flex: none;
  min-width: 3.4rem;
  color: var(--cyan);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
}

.page-home .hero-home__index-link:hover,
.page-home .hero-home__index-link:focus-visible {
  color: var(--white);
  background: rgba(47, 216, 206, 0.12);
}

/* ---------- 编号索引带 ---------- */
.page-home .home-band {
  border-top: 1px solid var(--home-hair);
  border-bottom: 1px solid var(--home-hair);
  background: linear-gradient(180deg, rgba(12, 38, 48, 0.9), rgba(10, 23, 40, 0.55));
  padding-block: clamp(1.4rem, 3vw, 2.1rem);
  overflow: hidden;
}

.page-home .home-band__note {
  margin: 0;
  color: var(--mist);
}

.page-home .home-band__track {
  display: flex;
  gap: 0.45rem;
  margin: 0.85rem 0 0;
  padding: 0 0 0.4rem;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(47, 216, 206, 0.4) transparent;
  -webkit-overflow-scrolling: touch;
}

.page-home .home-band__track::-webkit-scrollbar {
  height: 4px;
}

.page-home .home-band__track::-webkit-scrollbar-thumb {
  background: rgba(47, 216, 206, 0.4);
  border-radius: 999px;
}

.page-home .home-band__item {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  padding: 0.42rem 0.5rem;
  border: 1px solid var(--ink-700);
  border-radius: var(--radius-sm);
  background: rgba(16, 36, 57, 0.68);
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.page-home .home-band__item:hover {
  border-color: rgba(47, 216, 206, 0.65);
  color: var(--white);
}

/* ---------- 六个展区 ---------- */
.page-home .home-zones .section-head {
  max-width: 46rem;
}

.page-home .home-zones__figure {
  margin: clamp(1.75rem, 3.5vw, 2.75rem) 0 0;
}

.page-home .home-zones__figcaption {
  margin-top: 0.75rem;
  color: var(--mist);
  font-size: 0.8125rem;
  line-height: 1.65;
}

.page-home .home-zones__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(0.85rem, 1.6vw, 1.15rem);
  list-style: none;
  margin: clamp(1.5rem, 3vw, 2.25rem) 0 0;
  padding: 0;
}

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

@media (min-width: 1024px) {
  .page-home .home-zones__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .page-home .home-zones__card:nth-child(2) {
    margin-top: 1.4rem;
  }
  .page-home .home-zones__card:nth-child(4) {
    margin-top: 0.8rem;
  }
  .page-home .home-zones__card:nth-child(5) {
    margin-top: 1.9rem;
  }
}

.page-home .home-zones__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: clamp(1.15rem, 2.2vw, 1.65rem);
  border: 1px solid var(--ink-700);
  border-radius: var(--radius-md);
  background: var(--home-card);
  overflow: hidden;
  transition: transform 0.24s var(--ease), border-color 0.24s var(--ease), box-shadow 0.24s var(--ease);
}

.page-home .home-zones__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), rgba(47, 216, 206, 0));
  transition: width 0.22s var(--ease);
}

.page-home .home-zones__card:hover::before,
.page-home .home-zones__card:focus-within::before {
  width: 100%;
}

.page-home .home-zones__card:hover {
  transform: translateY(-4px);
  border-color: rgba(47, 216, 206, 0.5);
  box-shadow: 0 22px 44px -32px rgba(47, 216, 206, 0.7);
}

.page-home .home-zones__code {
  margin: 0;
  color: var(--gold);
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.page-home .home-zones__name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.1rem, 1.9vw, 1.35rem);
  letter-spacing: -0.01em;
  color: var(--white);
}

.page-home .home-zones__desc {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--mist);
}

.page-home .home-zones__status {
  margin: auto 0 0;
  padding-top: 0.6rem;
}

/* ---------- 固定分类 ---------- */
.page-home .home-cats__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
}

@media (min-width: 900px) {
  .page-home .home-cats__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
}

.page-home .home-cats__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--white);
}

.page-home .home-cats__lede {
  margin: 0 0 1.25rem;
  max-width: 34em;
  font-family: var(--font-body);
  line-height: 1.85;
  color: var(--mist);
}

.page-home .home-cats__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(6.5rem, 1fr));
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .home-cats__list li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--ink-700);
  border-radius: var(--radius-sm);
  background: rgba(16, 36, 57, 0.6);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.875rem;
}

.page-home .home-cats__list .mono {
  color: var(--cyan);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}

.page-home .home-cats__foot {
  margin: 1.25rem 0 0;
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--mist);
}

.page-home .home-cats__figure {
  margin: 0;
}

.page-home .home-cats__figcaption {
  margin-top: 0.75rem;
  color: var(--mist);
  font-size: 0.8125rem;
  line-height: 1.65;
}

/* ---------- 版本对照 ---------- */
.page-home .home-vers__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.5rem, 3.5vw, 2.75rem);
  align-items: start;
}

@media (min-width: 900px) {
  .page-home .home-vers__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }
}

.page-home .home-vers__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--white);
}

.page-home .home-vers__lede {
  margin: 0 0 1.35rem;
  font-family: var(--font-body);
  line-height: 1.85;
  color: var(--mist);
}

.page-home .home-vers__marks {
  list-style: none;
  margin: 0 0 1.35rem;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.page-home .home-vers__mark {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--cyan);
  background: rgba(16, 36, 57, 0.68);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.6;
}

.page-home .home-vers__mark .mono {
  flex: none;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--cyan);
}

.page-home .home-vers__mark--adj {
  border-left-color: var(--gold);
}

.page-home .home-vers__mark--adj .mono {
  color: var(--gold);
}

.page-home .home-vers__mark--mrg {
  border-left-color: var(--violet);
}

.page-home .home-vers__mark--mrg .mono {
  color: var(--violet);
}

.page-home .home-vers__note {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--mist);
}

.page-home .home-vers__figure {
  margin: 0;
}

.page-home .home-vers__figcaption {
  margin-top: 0.75rem;
  color: var(--mist);
  font-size: 0.8125rem;
  line-height: 1.65;
}

/* ---------- 服务覆盖与更新节奏 ---------- */
.page-home .home-cov .section-head {
  max-width: 46rem;
}

.page-home .home-cov__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--home-hair);
  border-radius: var(--radius-md);
  background: var(--home-hair);
  overflow: hidden;
}

@media (min-width: 820px) {
  .page-home .home-cov__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.page-home .home-cov__cell {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: clamp(1.1rem, 2.4vw, 1.7rem);
  background: rgba(16, 36, 57, 0.82);
}

.page-home .home-cov__value {
  margin: 0;
  color: var(--cyan);
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.page-home .home-cov__value span {
  margin-left: 0.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--mist);
}

.page-home .home-cov__label {
  margin: 0;
  color: var(--mist);
  font-family: var(--font-display);
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
}

.page-home .home-cov__notes {
  display: grid;
  gap: clamp(1rem, 2vw, 1.4rem);
  margin-top: clamp(1.35rem, 2.8vw, 2rem);
}

@media (min-width: 820px) {
  .page-home .home-cov__notes {
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
    align-items: center;
  }
}

.page-home .home-cov__note {
  margin: 0;
  font-family: var(--font-body);
  line-height: 1.85;
  color: var(--mist);
}

.page-home .home-cov__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0;
}

/* ---------- 客服收束 ---------- */
.page-home .home-ask__card {
  position: relative;
  padding: clamp(1.6rem, 4vw, 3rem);
  border: 1px solid rgba(201, 162, 74, 0.4);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(47, 216, 206, 0.16), transparent 58%),
    linear-gradient(150deg, rgba(16, 36, 57, 0.96), rgba(12, 38, 48, 0.92));
  overflow: hidden;
}

.page-home .home-ask__card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: clamp(70px, 12vw, 130px);
  height: clamp(70px, 12vw, 130px);
  background: linear-gradient(225deg, rgba(201, 162, 74, 0.22), transparent 70%);
  border-bottom-left-radius: var(--radius-lg);
  pointer-events: none;
}

.page-home .home-ask__label {
  margin: 0 0 0.7rem;
  color: var(--gold);
}

.page-home .home-ask__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--white);
}

.page-home .home-ask__text {
  margin: 0 0 0.85rem;
  max-width: 40em;
  font-family: var(--font-body);
  line-height: 1.85;
  color: var(--mist);
}

.page-home .home-ask__text--sub {
  font-size: 0.9rem;
}

.page-home .home-ask__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  margin-top: clamp(1.25rem, 2.6vw, 1.85rem);
}

.page-home .home-ask__copy {
  cursor: pointer;
  border: 1px solid rgba(201, 162, 74, 0.45);
  background: rgba(201, 162, 74, 0.1);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.page-home .home-ask__copy:hover,
.page-home .home-ask__copy:focus-visible {
  background: rgba(201, 162, 74, 0.2);
  border-color: rgba(201, 162, 74, 0.75);
}

/* ---------- 图片容器兜底 ---------- */
.page-home .figure__frame {
  overflow: hidden;
  border-radius: var(--radius-md);
}

.page-home .figure img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
}

/* ---------- 窄屏收敛 ---------- */
@media (max-width: 639px) {
  .page-home .hero-home__title {
    letter-spacing: -0.015em;
  }
  .page-home .hero-home__actions .btn {
    flex: 1 1 auto;
    justify-content: center;
  }
  .page-home .home-zones__card:hover {
    transform: none;
  }
  .page-home .home-cov__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-zones__card,
  .page-home .home-zones__card::before,
  .page-home .hero-home__index-link,
  .page-home .home-band__item {
    transition: none;
  }
  .page-home .home-zones__card:hover {
    transform: none;
  }
}
