.page-home {
  --home-gap: clamp(20px, 3vw, 40px);
  --home-edge: clamp(16px, 2vw, 28px);
  --home-band-h: 72px;
  overflow-x: clip;
  background: var(--ink-0);
  color: var(--white);
}

/* 面包屑 */
.page-home .home-crumbs {
  padding-block: 18px 4px;
}

/* ============ 首屏 ============ */
.page-home .home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink-0);
  padding-block: clamp(36px, 5vw, 72px) clamp(48px, 7vw, 96px);
}

.page-home .home-hero__bleed {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .16;
  -webkit-mask-image: linear-gradient(104deg, transparent 10%, #000 62%);
  mask-image: linear-gradient(104deg, transparent 10%, #000 62%);
  pointer-events: none;
}

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

.page-home .home-hero__wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 56px);
}

.page-home .home-hero__flag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  background: var(--lime);
  color: var(--ink-0);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.page-home .home-hero__display {
  margin: 24px 0 0;
  font-size: clamp(44px, 7vw, 104px);
  font-weight: 300;
  letter-spacing: -.02em;
  line-height: 1.02;
  color: var(--white);
}

.page-home .home-hero__lede {
  margin: 24px 0 0;
  max-width: 48ch;
  font-size: 16px;
  line-height: 1.75;
  color: var(--white);
  opacity: .76;
}

.page-home .home-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.page-home .home-hero__side {
  display: grid;
  gap: 16px;
  align-content: start;
}

.page-home .home-hero__mock {
  list-style: none;
  margin: 0;
  padding: 4px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--ink-1);
  overflow: hidden;
}

.page-home .home-hero__mock-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}

.page-home .home-hero__mock-line:last-child {
  border-bottom: 0;
}

.page-home .home-hero__mock-line b {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--cyan);
  white-space: nowrap;
}

.page-home .home-hero__side-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

/* ============ 三条入口卡 ============ */
.page-home .home-entries {
  background: var(--ink-0);
}

.page-home .home-entries__head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.page-home .home-entries__head-text .lede {
  margin-top: 12px;
  max-width: 46ch;
  color: var(--muted);
}

.page-home .home-entries__figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink-1);
}

.page-home .home-entries__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  opacity: .82;
}

.page-home .home-entries__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--home-gap);
}

.page-home .entry-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--ink-1);
  transition: border-color var(--dur) var(--ease);
}

.page-home .entry-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--lime);
  opacity: .85;
}

.page-home .entry-card--beta::before {
  background: var(--grad-magenta);
  opacity: 1;
}

.page-home .entry-card:hover {
  border-color: var(--line);
  border-color: rgba(201, 255, 61, .5);
}

.page-home .entry-card__num {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .16em;
  color: var(--lime);
}

.page-home .entry-card--beta .entry-card__num {
  color: #E0399B;
}

.page-home .entry-card__title {
  margin: 0;
  font-size: 19px;
  font-weight: 600;
  color: var(--white);
}

.page-home .entry-card__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}

.page-home .entry-card__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--lime);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}

.page-home .entry-card__link:hover {
  color: var(--white);
}

.page-home .entry-card__link:focus-visible,
.page-home .band-chip:focus-visible,
.page-home .home-band__track:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
}

/* ============ 集锦查询台 ============ */
.page-home .home-desk {
  background: var(--ink-1);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-home .home-desk__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 48px);
}

.page-home .home-desk__main .lede {
  margin-top: 12px;
  max-width: 52ch;
  color: var(--muted);
}

.page-home .home-desk__tabs {
  margin-top: 28px;
}

.page-home .home-desk .tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.page-home .home-desk .tabs__tab {
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--muted);
  font-family: var(--font-cn);
  font-size: 14px;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}

.page-home .home-desk .tabs__tab:hover {
  color: var(--white);
  border-color: rgba(201, 255, 61, .45);
}

.page-home .home-desk .tabs__tab[aria-selected="true"] {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink-0);
  font-weight: 600;
}

.page-home .home-desk .tabs__tab:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
}

.page-home .home-desk .tabs__panel[hidden] {
  display: none;
}

.page-home .home-desk .tabs__panel + .tabs__panel {
  margin-top: 20px;
}

.page-home .desk-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.page-home .desk-list__item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.page-home .desk-list__key {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cyan);
}

.page-home .desk-list__val {
  font-size: 15px;
  line-height: 1.7;
  color: var(--white);
  opacity: .88;
}

.page-home .home-desk__side {
  display: grid;
  gap: 18px;
  align-content: start;
}

.page-home .home-desk__figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink-2);
}

.page-home .home-desk__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  opacity: .8;
}

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

/* ============ 内页索引带 ============ */
.page-home .home-band {
  background: var(--ink-0);
  padding-block: clamp(44px, 6vw, 76px);
}

.page-home .home-band__head {
  margin-bottom: 22px;
}

.page-home .home-band__head .h-sub {
  margin-top: 10px;
  max-width: 40ch;
  color: var(--white);
}

.page-home .home-band__rail {
  position: relative;
  min-height: var(--home-band-h);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--ink-1);
  overflow: hidden;
}

.page-home .home-band__texture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .15;
  pointer-events: none;
}

.page-home .home-band__track {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: var(--home-band-h);
  padding: 14px 16px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

.page-home .home-band__track .band-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--ink-0);
  color: var(--white);
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  scroll-snap-align: start;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}

.page-home .home-band__track .band-chip:hover {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink-0);
}

.page-home .home-band__track .band-chip__num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--cyan);
}

.page-home .home-band__track .band-chip:hover .band-chip__num {
  color: var(--ink-0);
}

/* ============ 数据速览 ============ */
.page-home .home-stats {
  background: var(--ink-0);
  border-top: 1px solid var(--line);
}

.page-home .home-stats__head .lede {
  margin-top: 12px;
  max-width: 62ch;
  color: var(--muted);
}

.page-home .home-stats__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--home-gap);
  margin-top: clamp(26px, 3.5vw, 44px);
}

.page-home .home-stats .stat {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.page-home .home-stats .stat__value {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.1;
  color: var(--cyan);
}

.page-home .home-stats .stat__label {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

/* ============ 收藏与回访 ============ */
.page-home .home-keep {
  background: var(--ink-1);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-home .home-keep__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 4vw, 48px);
}

.page-home .home-keep__text .lede {
  margin-top: 12px;
  max-width: 42ch;
  color: var(--muted);
}

.page-home .home-keep__steps {
  list-style: none;
  counter-reset: keep;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-home .home-keep__step {
  counter-increment: keep;
  position: relative;
  padding: 18px 20px 18px 62px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--ink-0);
  font-size: 15px;
  line-height: 1.7;
  color: var(--white);
  opacity: .88;
}

.page-home .home-keep__step::before {
  content: counter(keep, decimal-leading-zero);
  position: absolute;
  left: 20px;
  top: 19px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--orange);
}

/* ============ 收尾行动带 ============ */
.page-home .home-close {
  background: var(--ink-0);
}

.page-home .home-close__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--ink-2) 0%, var(--ink-0) 78%);
}

.page-home .home-close__text .lede {
  margin-top: 12px;
  max-width: 56ch;
  color: var(--muted);
}

.page-home .home-close__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-content: center;
}

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

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

  .page-home .desk-list__item {
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 20px;
    align-items: baseline;
  }
}

@media (min-width: 900px) {
  .page-home .home-hero__wrap {
    grid-template-columns: 5fr 7fr;
    align-items: end;
    gap: clamp(36px, 5vw, 72px);
  }

  .page-home .home-hero__bleed {
    opacity: .26;
  }

  .page-home .home-entries__head {
    grid-template-columns: 6fr 5fr;
    align-items: end;
    gap: clamp(28px, 4vw, 56px);
  }

  .page-home .home-keep__inner {
    grid-template-columns: 5fr 7fr;
    align-items: start;
  }

  .page-home .home-stats__row {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .page-home .home-stats__row > .home-stats__item:nth-child(4),
  .page-home .home-stats__row > .home-stats__item:nth-child(5) {
    grid-column: span 1;
  }
}

@media (min-width: 980px) {
  .page-home .home-desk__grid {
    grid-template-columns: 7fr 5fr;
    align-items: start;
    gap: clamp(32px, 5vw, 64px);
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .page-home .entry-card,
  .page-home .entry-card__link,
  .page-home .band-chip,
  .page-home .tabs__tab {
    transition: none;
  }
}
</main>
