.page-home {
  --home-grid-line: rgba(7, 26, 51, 0.12);
  --home-dark-line: rgba(167, 183, 203, 0.24);
  --home-board-line: rgba(57, 245, 200, 0.10);
  background: var(--ice);
  color: var(--ink);
}

/* ---------- 分屏首屏 ---------- */
.page-home .hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  padding-block: clamp(24px, 5vw, 56px) 0;
  background-image:
    linear-gradient(to right, var(--home-grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--home-grid-line) 1px, transparent 1px);
  background-size: 68px 68px;
  overflow: hidden;
}

.page-home .hero__intro {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 var(--gutter) clamp(24px, 5vw, 44px);
}

.page-home .hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 6.4vw, 52px);
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 16ch;
}

.page-home .hero__intro .lede {
  max-width: 56ch;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.8;
}

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

.page-home .hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 8px 0 0;
  padding: 14px 0 0;
  list-style: none;
  border-top: 1px solid var(--hairline-light);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-faint);
}

.page-home .hero__fact-num {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: var(--orange-deep);
  letter-spacing: -0.01em;
}

/* 数据板 */
.page-home .board {
  position: relative;
  min-height: 360px;
  margin: 0 var(--gutter);
  background: var(--ink);
  border: 1px solid var(--hairline-dark);
  overflow: hidden;
  isolation: isolate;
}

.page-home .board__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  filter: saturate(0.85) contrast(1.05);
}

.page-home .board__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--home-board-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--home-board-line) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(circle at 68% 26%, #000 8%, transparent 82%);
  mask-image: radial-gradient(circle at 68% 26%, #000 8%, transparent 82%);
}

.page-home .board__line {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.page-home .board__nodes {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .node {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  background: rgba(3, 11, 24, 0.78);
  border: 1px solid var(--mint-line);
  color: var(--ice);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transform: translate(-50%, -50%);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.page-home .node__idx {
  color: var(--mint);
  font-weight: 700;
}

.page-home .node--active {
  border-color: var(--mint);
  box-shadow: 0 0 0 1px rgba(57, 245, 200, 0.4), 0 12px 26px -14px rgba(0, 0, 0, 0.9);
}

.page-home .node:nth-child(1) { left: 26%; top: 18%; }
.page-home .node:nth-child(2) { left: 62%; top: 38%; }
.page-home .node:nth-child(3) { left: 34%; top: 60%; }
.page-home .node:nth-child(4) { left: 66%; top: 82%; }

.page-home .board__caption {
  position: absolute;
  left: 14px;
  bottom: 12px;
  margin: 0;
  color: var(--mist);
  font-size: 11px;
  letter-spacing: 0.08em;
}

/* ---------- 斜向快捷浮层 ---------- */
.page-home .quick {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  margin: 0 var(--gutter);
}

.page-home .quick__card {
  padding: clamp(20px, 4vw, 36px);
  background: var(--ice);
  border: 1px solid var(--hairline-light);
  border-top: 4px solid var(--orange);
  box-shadow: -14px 16px 0 -8px rgba(7, 26, 51, 0.1);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}

.page-home .quick__card p {
  margin: 10px 0 18px;
  color: var(--ink-soft);
  line-height: 1.8;
  font-size: 15px;
}

.page-home .quick__title {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: clamp(21px, 3.4vw, 28px);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.page-home .quick__notes {
  margin: 0;
  padding: 20px clamp(20px, 4vw, 30px);
  list-style: none;
  display: grid;
  gap: 14px;
  background: var(--wine);
  color: var(--ice);
  font-size: 14px;
  line-height: 1.6;
  border-left: 1px solid var(--home-dark-line);
}

.page-home .quick__notes li {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(243, 247, 251, 0.16);
}

.page-home .quick__notes li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.page-home .quick__notes .mono-label {
  display: block;
  color: var(--mint);
  font-size: 11px;
  margin-bottom: 4px;
}

/* ---------- 四步目录 ---------- */
.page-home .steps {
  padding: clamp(40px, 7vw, 88px) var(--gutter);
}

.page-home .steps__head {
  margin-bottom: clamp(20px, 3vw, 32px);
}

.page-home .steps__head .display-title {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 4.4vw, 40px);
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.page-home .band {
  position: relative;
  margin: 0 0 clamp(20px, 3vw, 34px);
  background: var(--ink);
  overflow: hidden;
}

.page-home .band img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  opacity: 0.88;
}

.page-home .band__caption {
  position: absolute;
  left: 12px;
  bottom: 10px;
  margin: 0;
  padding: 4px 8px;
  background: rgba(3, 11, 24, 0.82);
  color: var(--ice);
  font-size: 11px;
}

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

.page-home .step {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 6px 14px;
  padding: 20px 0 20px 12px;
  border-bottom: 1px solid var(--hairline-light);
}

.page-home .step::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: var(--orange);
  transform: scaleY(0.24);
  transform-origin: top;
  transition: transform 0.45s var(--ease);
}

.page-home .step:hover::before,
.page-home .step:focus-within::before {
  transform: scaleY(1);
}

.page-home .step__idx {
  margin: 2px 0 0;
  color: var(--orange-deep);
  font-size: 13px;
  font-weight: 700;
}

.page-home .step__body {
  min-width: 0;
}

.page-home .step__title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.page-home .step__body p {
  margin: 0 0 8px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.75;
}

.page-home .step__meta {
  color: var(--ink-faint);
  font-size: 11px;
  letter-spacing: 0.04em;
  margin: 0;
}

.page-home .step__link {
  grid-column: 2;
  justify-self: start;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--orange-deep);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}

.page-home .step__link:hover {
  color: var(--ink);
}

/* ---------- 数据预览条带 ---------- */
.page-home .records {
  padding: clamp(40px, 7vw, 84px) 0 clamp(36px, 6vw, 72px) var(--gutter);
  background:
    linear-gradient(120deg, var(--ink-deep), var(--indigo) 55%, var(--ink) 100%);
  color: var(--ice);
  overflow: hidden;
}

.page-home .records__head {
  padding-right: var(--gutter);
  max-width: 66ch;
}

.page-home .records__head .display-title {
  margin: 10px 0 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 4.4vw, 40px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--ice);
}

.page-home .records__head .lede {
  margin: 0 0 20px;
  color: var(--mist);
  font-size: 15px;
  line-height: 1.8;
  max-width: 58ch;
}

.page-home .records .filter-bar {
  padding-right: var(--gutter);
  margin-bottom: 20px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}

.page-home .records .filter-bar::-webkit-scrollbar {
  display: none;
}

.page-home .records__track {
  display: flex;
  gap: 14px;
  margin: 0;
  padding: 4px var(--gutter) 10px 0;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.page-home .record-card {
  flex: 0 0 min(78vw, 300px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  background: rgba(3, 11, 24, 0.66);
  border: 1px solid var(--home-dark-line);
  border-top: 2px solid var(--mint);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
}

.page-home .record-card--feature {
  flex-basis: min(86vw, 360px);
  border-top-color: var(--orange);
}

.page-home .record-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin-bottom: 4px;
  filter: saturate(0.9);
}

.page-home .record-card__tag {
  margin: 0;
  color: var(--mint);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.page-home .record-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ice);
}

.page-home .record-card__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--mist);
}

.page-home .record-card__link {
  margin-top: auto;
  padding-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--mint);
  text-decoration: none;
  border-top: 1px solid var(--home-dark-line);
}

.page-home .record-card__link:hover {
  color: var(--orange);
}

/* ---------- 信任条 ---------- */
.page-home .trust {
  position: relative;
  padding: clamp(40px, 7vw, 88px) var(--gutter);
  background: var(--jade);
  color: var(--ice);
  overflow: hidden;
}

.page-home .trust__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.24;
}

.page-home .trust__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vw, 44px);
}

.page-home .trust__lead .display-title {
  margin: 10px 0 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 4.2vw, 38px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--ice);
}

.page-home .trust__lead p {
  margin: 0 0 18px;
  color: rgba(243, 247, 251, 0.82);
  font-size: 15px;
  line-height: 1.82;
  max-width: 56ch;
}

.page-home .trust__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-home .trust__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  background: rgba(243, 247, 251, 0.18);
}

.page-home .trust__stats li {
  background: rgba(3, 11, 24, 0.55);
  padding: 14px 14px 16px;
}

.page-home .trust__num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(20px, 3.2vw, 26px);
  font-weight: 700;
  color: var(--orange);
  letter-spacing: -0.01em;
}

.page-home .trust__lab {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--mist);
}

.page-home .trust__contact {
  padding: 18px;
  background: rgba(3, 11, 24, 0.6);
  border: 1px solid var(--home-dark-line);
}

.page-home .trust__contact .contact-row {
  border-bottom: 1px solid rgba(243, 247, 251, 0.12);
}

.page-home .trust__contact .contact-row__key {
  color: var(--mint);
}

.page-home .trust__contact .contact-row__val {
  color: var(--ice);
}

.page-home .trust__note {
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 1.7;
  color: var(--mist);
}

/* ---------- 响应式 ---------- */
@media (min-width: 720px) {
  .page-home .step {
    grid-template-columns: 56px minmax(0, 1fr) 120px;
    align-items: start;
    padding: 22px 0 22px 16px;
  }

  .page-home .step__link {
    grid-column: 3;
    justify-self: end;
    margin-top: 4px;
  }

  .page-home .quick {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    align-items: stretch;
  }

  .page-home .trust__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: start;
  }
}

@media (min-width: 1024px) {
  .page-home .hero {
    grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
    align-items: stretch;
    padding-block: 40px 0;
  }

  .page-home .hero__intro {
    justify-content: center;
    padding: 0 clamp(24px, 3vw, 48px) clamp(40px, 5vw, 64px) var(--gutter);
  }

  .page-home .hero__title {
    max-width: 14ch;
  }

  .page-home .board {
    min-height: clamp(500px, 62vh, 640px);
    margin: 0;
    border-right: 0;
  }

  .page-home .quick {
    margin-top: -56px;
    margin-right: var(--gutter);
    margin-left: calc(var(--gutter) + 40px);
  }

  .page-home .quick__card {
    padding: 36px 40px 40px;
  }

  .page-home .records__track {
    padding-right: calc(var(--gutter) + 24px);
  }

  .page-home .record-card {
    flex-basis: 300px;
  }

  .page-home .record-card--feature {
    flex-basis: 400px;
  }

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

@media (min-width: 1280px) {
  .page-home .steps__list {
    border-top-color: var(--home-grid-line);
  }

  .page-home .step {
    grid-template-columns: 72px minmax(0, 1fr) 160px;
    padding-block: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .step::before {
    transition: none;
  }
}
