.page-home {
  --home-card-bg: rgba(11, 27, 46, 0.86);
  --home-card-bg-deep: rgba(7, 17, 31, 0.9);
  --home-pad: clamp(1.05rem, 2.8vw, 1.8rem);
  --home-glow: 0 22px 48px -30px rgba(79, 240, 208, 0.5);
  background: var(--ink-900);
  color: var(--body-text);
  overflow-x: hidden;
}

.page-home h1,
.page-home h2,
.page-home h3 {
  font-family: var(--font-display);
  color: var(--mist);
  margin: 0;
}

.page-home p,
.page-home ul,
.page-home ol,
.page-home figure {
  margin: 0;
}

.page-home .home-kicker {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 1rem;
}

.page-home .home-kicker__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  flex: 0 0 auto;
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(1.4rem, 3.2vw, 2.4rem) 0 clamp(2.4rem, 6vw, 4.6rem);
  border-bottom: 1px solid var(--line);
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 82% 14%, rgba(79, 240, 208, 0.16), transparent 56%),
    radial-gradient(circle at 8% 88%, rgba(242, 183, 91, 0.13), transparent 52%),
    linear-gradient(182deg, var(--ink-800) 0%, var(--ink-900) 74%);
  clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(90deg, rgba(143, 166, 178, 0.07) 0 1px, transparent 1px 88px),
    repeating-linear-gradient(0deg, rgba(143, 166, 178, 0.05) 0 1px, transparent 1px 88px);
  clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
}

.page-home .home-hero__bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 30%;
  z-index: 1;
  opacity: 0.34;
  pointer-events: none;
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
}

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

.page-home .home-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: start;
}

.page-home .home-hero__lead {
  order: 2;
  min-width: 0;
}

.page-home .home-hero h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

.page-home .home-hero__intro {
  font-size: clamp(0.96rem, 2.4vw, 1.06rem);
  line-height: 1.8;
  max-width: 34em;
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.6rem;
}

.page-home .home-hero__facts {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
  gap: 0.9rem;
  margin-top: 1.9rem;
  padding: 1.1rem 0 0;
  border-top: 1px solid var(--line);
}

.page-home .home-fact__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--gold);
  letter-spacing: 0.02em;
}

.page-home .home-fact__lab {
  display: block;
  font-size: 0.76rem;
  line-height: 1.5;
  color: var(--slate);
  margin-top: 0.2rem;
}

/* 设备确认卡 */
.page-home .confirm-card {
  order: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: linear-gradient(180deg, var(--home-card-bg), var(--home-card-bg-deep));
  border: 1px solid var(--line-cyan);
  box-shadow: var(--home-glow);
}

.page-home .confirm-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 5.4;
  border-bottom: 1px solid var(--line);
}

.page-home .confirm-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.82;
}

.page-home .confirm-card__body {
  padding: var(--home-pad);
}

.page-home .confirm-card__status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--cyan);
  margin-bottom: 0.75rem;
}

.page-home .confirm-card__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  flex: 0 0 auto;
}

.page-home .confirm-card__title {
  font-size: clamp(1.2rem, 3.4vw, 1.5rem);
  line-height: 1.4;
}

.page-home .confirm-steps {
  list-style: none;
  counter-reset: con;
  display: grid;
  gap: 0.6rem;
  margin: 1rem 0 1.3rem;
  padding: 0;
}

.page-home .confirm-steps li {
  counter-increment: con;
  display: grid;
  grid-template-columns: 1.7rem minmax(0, 1fr);
  gap: 0.55rem;
  align-items: baseline;
  font-size: 0.9rem;
  line-height: 1.6;
}

.page-home .confirm-steps li::before {
  content: "0" counter(con);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--gold);
  letter-spacing: 0.04em;
}

.page-home .confirm-card .btn {
  width: 100%;
  justify-content: center;
}

.page-home .confirm-card__foot {
  margin-top: 0.85rem;
  font-size: 0.76rem;
  line-height: 1.6;
  color: var(--slate);
}

/* ---------- 第二栏：索引 ---------- */
.page-home .home-index {
  position: relative;
  overflow: hidden;
  padding: clamp(2.2rem, 5vw, 3.6rem) 0 clamp(1.6rem, 4vw, 2.8rem);
  border-bottom: 1px solid var(--line);
  background: var(--ink-800);
}

.page-home .home-index__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.2;
  pointer-events: none;
}

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

.page-home .home-index > .wrap {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.page-home .home-filters {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  margin: 1.3rem 0 0.9rem;
  padding-bottom: 0.2rem;
  scrollbar-width: none;
}

.page-home .home-filters::-webkit-scrollbar {
  display: none;
}

.page-home .filter-btn {
  flex: 0 0 auto;
  display: inline-block;
  padding: 0.42rem 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--mist);
  border: 1px solid var(--line-strong);
  background: transparent;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.page-home .filter-btn:hover,
.page-home .filter-btn:focus-visible {
  color: var(--cyan);
  border-color: var(--line-cyan);
}

.page-home .filter-btn.is-active {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--ink-900);
}

.page-home .home-rail {
  display: flex;
  gap: 0.9rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0.3rem 0.1rem 1.2rem;
}

.page-home .home-rail:focus-visible {
  outline: 1px solid var(--line-cyan);
  outline-offset: 3px;
}

.page-home .index-card {
  flex: 0 0 clamp(228px, 72vw, 286px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.05rem 1.05rem 1.15rem;
  text-decoration: none;
  color: inherit;
  background: rgba(7, 17, 31, 0.86);
  border: 1px solid var(--line);
  border-top: 2px solid var(--line-cyan);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.page-home .index-card:nth-child(even) {
  border-top-color: var(--line-gold);
}

.page-home .index-card:hover,
.page-home .index-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--line-cyan);
  box-shadow: 0 20px 40px -30px rgba(79, 240, 208, 0.7);
}

.page-home .index-card__tag {
  align-self: flex-start;
  font-size: 0.68rem;
}

.page-home .index-card__title {
  font-size: 1rem;
  line-height: 1.45;
}

.page-home .index-card__desc {
  font-size: 0.84rem;
  line-height: 1.65;
  color: var(--body-text);
}

.page-home .index-card__go {
  margin-top: auto;
  padding-top: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--gold);
}

/* ---------- 三步流程 ---------- */
.page-home .home-flow {
  padding: clamp(2.4rem, 5.4vw, 4rem) 0;
  border-bottom: 1px solid var(--line);
}

.page-home .flow-list {
  list-style: none;
  display: grid;
  gap: 0.9rem;
  margin-top: 1.7rem;
  padding: 0;
}

.page-home .flow-item {
  position: relative;
  padding: 1.35rem 1.15rem 1.4rem;
  background: var(--ink-800);
  border: 1px solid var(--line);
  border-left: 2px solid var(--line-gold);
}

.page-home .flow-item__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 2.3rem;
  line-height: 1;
  margin-bottom: 0.9rem;
  color: transparent;
  -webkit-text-stroke: 1px rgba(242, 183, 91, 0.75);
}

.page-home .flow-item__title {
  font-size: 1.08rem;
  margin-bottom: 0.5rem;
}

.page-home .flow-item__text {
  font-size: 0.9rem;
  line-height: 1.75;
}

.page-home .flow-note {
  margin-top: 1.5rem;
  padding-left: 0.95rem;
  border-left: 2px solid var(--line-cyan);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.8;
  color: var(--slate);
  max-width: 48em;
}

/* ---------- 速览 ---------- */
.page-home .home-glance {
  padding: clamp(2.4rem, 5.4vw, 4rem) 0;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 92% 8%, rgba(232, 90, 154, 0.1), transparent 45%),
    var(--ink-900);
}

.page-home .home-glance__grid {
  display: grid;
  gap: clamp(1.4rem, 3.6vw, 2.6rem);
  align-items: start;
}

.page-home .home-glance__lede {
  margin-top: 1.2rem;
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--slate);
}

.page-home .glance-list {
  list-style: none;
  padding: 0;
  display: grid;
}

.page-home .glance-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.3rem 0.7rem;
  align-items: center;
  padding: 0.95rem 0;
  border-bottom: 1px dashed var(--line-strong);
}

.page-home .glance-list li .tag {
  justify-self: start;
  font-size: 0.66rem;
}

.page-home .glance-key {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--cyan);
}

.page-home .glance-val {
  grid-column: 1 / -1;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--mist);
}

/* ---------- 帮助入口 ---------- */
.page-home .home-help {
  padding: clamp(2.4rem, 5.4vw, 4rem) 0;
  border-bottom: 1px solid var(--line);
  background: var(--ink-800);
}

.page-home .home-help__grid {
  display: grid;
  gap: clamp(1.4rem, 3.6vw, 2.6rem);
  align-items: center;
}

.page-home .home-help__media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-cyan);
}

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

.page-home .home-help__media .media-frame__caption {
  display: block;
  padding: 0.6rem 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--slate);
  border-top: 1px solid var(--line);
  background: rgba(7, 17, 31, 0.7);
}

.page-home .help-q {
  list-style: none;
  padding: 0;
  margin: 1.3rem 0;
  display: grid;
  gap: 0.5rem;
}

.page-home .help-q li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--mist);
}

.page-home .help-q li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  background: var(--magenta);
}

.page-home .home-help__text {
  font-size: 0.9rem;
  line-height: 1.75;
  margin-bottom: 1.4rem;
}

/* ---------- 更新摘要 ---------- */
.page-home .home-updates {
  padding: clamp(2.4rem, 5.4vw, 4rem) 0;
  border-bottom: 1px solid var(--line);
}

.page-home .update-list {
  margin: 1.6rem 0 1.8rem;
  border-top: 1px solid var(--line);
}

.page-home .update-item {
  border-bottom: 1px solid var(--line);
}

.page-home .update-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 1rem;
  padding: 1.05rem 1.8rem 1.05rem 0;
  position: relative;
}

.page-home .update-item summary::-webkit-details-marker {
  display: none;
}

.page-home .update-item summary::after {
  content: "+";
  position: absolute;
  right: 0.15rem;
  top: 0.95rem;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--gold);
}

.page-home .update-item[open] summary::after {
  content: "–";
  color: var(--cyan);
}

.page-home .update-item summary:focus-visible {
  outline: 1px solid var(--line-cyan);
  outline-offset: 2px;
}

.page-home .update-item__label {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--mist);
  flex: 1 1 15em;
}

.page-home .update-item__meta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--slate);
}

.page-home .update-item__body {
  padding: 0 0 1.15rem;
  max-width: 46em;
}

.page-home .update-item__body p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--body-text);
}

/* ---------- 联系 ---------- */
.page-home .home-contact {
  padding: clamp(2.4rem, 5.4vw, 4rem) 0 clamp(2.6rem, 6vw, 4.4rem);
  background:
    radial-gradient(circle at 10% 100%, rgba(79, 240, 208, 0.12), transparent 50%),
    var(--ink-900);
}

.page-home .contact-grid {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.6rem;
}

.page-home .contact-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: var(--home-pad);
  background: var(--home-card-bg);
  border: 1px solid var(--line);
  border-left: 2px solid var(--line-cyan);
  min-width: 0;
}

.page-home .contact-card__key {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--slate);
}

.page-home .contact-card__val {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--mist);
  word-break: break-word;
}

.page-home .contact-card .copy-btn {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.page-home .contact-card__link {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid var(--line-gold);
  padding-bottom: 0.1rem;
}

.page-home .contact-card__link:hover,
.page-home .contact-card__link:focus-visible {
  color: var(--cyan);
  border-bottom-color: var(--line-cyan);
}

.page-home .home-contact__note {
  margin-top: 1.3rem;
  font-size: 0.8rem;
  line-height: 1.8;
  color: var(--slate);
  max-width: 52em;
}

/* ---------- 响应式 ---------- */
@media (min-width: 720px) {
  .page-home .contact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-home .confirm-card__media {
    aspect-ratio: 9 / 4.6;
  }
}

@media (min-width: 900px) {
  .page-home .home-hero__grid {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
    align-items: start;
  }

  .page-home .home-hero__lead {
    order: 1;
    padding-top: 0.6rem;
  }

  .page-home .confirm-card {
    order: 2;
    margin-top: 0.4rem;
  }

  .page-home .confirm-card__media {
    aspect-ratio: 9 / 5.6;
  }

  .page-home .flow-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
  }

  .page-home .home-glance__grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .page-home .home-help__grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }
}
