.page-home {
  --ph-wrap: 1180px;
  --ph-gap: 18px;
  background: var(--c-ink);
  color: var(--c-white);
  font-family: var(--font-sans);
  overflow-x: clip;
  padding-top: 56px;
}

.page-home *,
.page-home *::before,
.page-home *::after {
  box-sizing: border-box;
}

.page-home .mono,
.page-home .hero__stamp em,
.page-home .hero__path-step,
.page-home .ch__num,
.page-home .path-card__step,
.page-home .step__no,
.page-home .trust__num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-style: normal;
}

@media (min-width: 1024px) {
  .page-home {
    padding-top: 0;
  }
}

/* ---------- 首屏框景 ---------- */

.page-home .hero {
  position: relative;
  isolation: isolate;
  padding: 22px 16px 40px;
  overflow: hidden;
}

.page-home .hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

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

.page-home .hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 85% at 12% 0%, rgba(38, 240, 224, 0.20), transparent 62%),
    radial-gradient(95% 75% at 92% 100%, rgba(255, 91, 31, 0.18), transparent 62%),
    linear-gradient(180deg, rgba(7, 11, 16, 0.72) 0%, rgba(7, 11, 16, 0.94) 62%, var(--c-ink) 100%);
}

.page-home .hero__frame {
  position: relative;
  padding: 20px 16px 24px;
  border: 1px solid var(--c-line);
  background:
    linear-gradient(158deg, rgba(242, 247, 248, 0.06), rgba(242, 247, 248, 0) 58%),
    rgba(7, 11, 16, 0.58);
}

.page-home .hero__frame::before,
.page-home .hero__frame::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border: 1px solid var(--c-cyan);
  opacity: 0.85;
  pointer-events: none;
}

.page-home .hero__frame::before {
  top: -1px;
  left: -1px;
  border-right: 0;
  border-bottom: 0;
}

.page-home .hero__frame::after {
  right: -1px;
  bottom: -1px;
  border-top: 0;
  border-left: 0;
}

.page-home .hero__ticks {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 9px;
  background-image: repeating-linear-gradient(
    to right,
    rgba(38, 240, 224, 0.38) 0 1px,
    transparent 1px 22px
  );
  opacity: 0.7;
  pointer-events: none;
}

.page-home .hero__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: var(--fs-12);
  letter-spacing: 0.06em;
  color: var(--c-steel);
}

.page-home .crumbs {
  display: flex;
  align-items: center;
  gap: 6px;
}

.page-home .crumbs__sep {
  color: var(--c-line);
}

.page-home .crumbs__now {
  color: var(--c-cyan);
}

.page-home .hero__stamp {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border: 1px solid var(--c-line);
  color: var(--c-steel);
  white-space: nowrap;
}

.page-home .hero__stamp em {
  color: var(--c-cyan);
  font-size: var(--fs-12);
}

.page-home .hero__kicker {
  margin: 20px 0 0;
  font-size: var(--fs-12);
  letter-spacing: 0.14em;
  color: var(--c-orange-glow);
}

.page-home .hero__title {
  margin: 12px 0 0;
  font-size: clamp(1.9rem, 8.6vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.page-home .hero__title-em {
  display: block;
  color: var(--c-cyan);
  text-shadow: 0 0 34px rgba(38, 240, 224, 0.28);
}

.page-home .hero__lede {
  margin: 16px 0 0;
  max-width: 46ch;
  font-size: var(--fs-16);
  line-height: 1.78;
  color: rgba(242, 247, 248, 0.82);
}

.page-home .capsule {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding: 10px 10px 10px 16px;
  border: 1px solid rgba(38, 240, 224, 0.42);
  border-radius: 999px;
  background: rgba(14, 22, 32, 0.82);
  animation: ph-pulse 3.8s var(--ease) infinite;
}

.page-home .capsule__icon {
  display: inline-flex;
  color: var(--c-cyan);
  flex: 0 0 auto;
}

.page-home .capsule__hint {
  flex: 1 1 150px;
  min-width: 0;
  font-size: var(--fs-14);
  color: var(--c-steel);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-home .capsule__go {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--c-orange);
  color: var(--c-ink);
  font-size: var(--fs-14);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.page-home .capsule__go:hover,
.page-home .capsule__go:focus-visible {
  background: var(--c-orange-glow);
  transform: translateY(-1px);
}

.page-home .hero__paths {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .hero__path a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: 1px solid var(--c-line);
  background: rgba(14, 22, 32, 0.66);
  color: var(--c-white);
  font-size: var(--fs-14);
  text-decoration: none;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.page-home .hero__path a:hover,
.page-home .hero__path a:focus-visible {
  border-color: rgba(38, 240, 224, 0.55);
  background: rgba(38, 240, 224, 0.08);
}

.page-home .hero__path-step {
  padding: 2px 7px;
  border: 1px solid rgba(255, 91, 31, 0.5);
  color: var(--c-orange-glow);
  font-size: var(--fs-12);
  white-space: nowrap;
}

.page-home .hero__path-name {
  color: rgba(242, 247, 248, 0.9);
}

@keyframes ph-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 1px rgba(38, 240, 224, 0.08), 0 18px 40px -26px rgba(38, 240, 224, 0.55);
  }
  50% {
    box-shadow: 0 0 0 1px rgba(38, 240, 224, 0.3), 0 18px 46px -18px rgba(38, 240, 224, 0.8);
  }
}

/* ---------- 章节骨架 ---------- */

.page-home .sec {
  position: relative;
  padding: 54px 16px;
}

.page-home .sec--band {
  background: var(--c-ink-2);
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}

.page-home .sec__wrap {
  max-width: var(--ph-wrap);
  margin-inline: auto;
}

.page-home .sec__head {
  margin-bottom: 26px;
}

.page-home .ch {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 10px;
}

.page-home .ch__num {
  font-size: clamp(2.2rem, 9vw, 3.4rem);
  line-height: 0.85;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: rgba(38, 240, 224, 0.16);
}

@supports (-webkit-text-stroke: 1px #000) {
  .page-home .ch__num {
    color: transparent;
    -webkit-text-stroke: 1px rgba(38, 240, 224, 0.6);
  }
}

.page-home .ch__label {
  font-size: var(--fs-12);
  letter-spacing: 0.22em;
  color: var(--c-steel);
}

.page-home .sec__title {
  margin: 0;
  font-size: clamp(1.5rem, 5.6vw, 2.35rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.page-home .sec__lede {
  margin: 12px 0 0;
  max-width: 62ch;
  font-size: var(--fs-16);
  line-height: 1.78;
  color: rgba(242, 247, 248, 0.74);
}

/* ---------- 01 检索 ---------- */

.page-home .split {
  display: grid;
  gap: 24px;
}

.page-home .hits {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .hit {
  display: flex;
  gap: 12px;
  padding: 14px 14px 14px 12px;
  border-left: 2px solid var(--c-line);
  background: rgba(14, 22, 32, 0.6);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.page-home .hit:hover {
  border-left-color: var(--c-cyan);
  background: rgba(38, 240, 224, 0.06);
}

.page-home .hit__dot {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--c-cyan);
  box-shadow: 0 0 12px rgba(38, 240, 224, 0.8);
}

.page-home .hit__key {
  margin: 0;
  font-size: var(--fs-16);
  font-weight: 700;
  color: var(--c-white);
}

.page-home .hit__val {
  margin: 6px 0 0;
  font-size: var(--fs-14);
  line-height: 1.72;
  color: rgba(242, 247, 248, 0.68);
}

.page-home .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 22px;
  padding: 0;
  list-style: none;
}

.page-home .chip {
  padding: 7px 12px;
  border: 1px dashed var(--c-line);
  font-size: var(--fs-12);
  color: var(--c-steel);
}

.page-home .chip strong {
  display: block;
  font-size: var(--fs-14);
  font-weight: 700;
  color: var(--c-cyan-mist);
}

.page-home .shot {
  position: relative;
  margin: 0;
  border: 1px solid var(--c-line);
  background: var(--c-ink-2);
  overflow: hidden;
}

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

.page-home .shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(38, 240, 224, 0.12), transparent 45%, rgba(255, 91, 31, 0.1));
  pointer-events: none;
}

.page-home .shot__label {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 6px 10px;
  background: rgba(7, 11, 16, 0.84);
  border-top: 1px solid var(--c-line);
  border-left: 1px solid var(--c-line);
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.04em;
  color: var(--c-steel);
}

/* ---------- 02 三条路径 ---------- */

.page-home .paths {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .path-card {
  position: relative;
  padding: 20px 18px 18px;
  border: 1px solid var(--c-line);
  background:
    linear-gradient(150deg, rgba(242, 247, 248, 0.06), rgba(242, 247, 248, 0) 62%),
    var(--c-ink);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.page-home .path-card::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 42px;
  height: 3px;
  background: var(--c-cyan);
  transform: skewX(-32deg);
  transform-origin: right bottom;
  opacity: 0.75;
}

.page-home .path-card:hover {
  transform: translateY(-3px);
  border-color: rgba(38, 240, 224, 0.45);
}

.page-home .path-card__step {
  display: inline-block;
  margin-bottom: 12px;
  padding: 3px 8px;
  border: 1px solid rgba(255, 91, 31, 0.55);
  color: var(--c-orange-glow);
  font-size: var(--fs-12);
}

.page-home .path-card__title {
  margin: 0;
  font-size: var(--fs-24);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.page-home .path-card__text {
  margin: 10px 0 16px;
  font-size: var(--fs-14);
  line-height: 1.78;
  color: rgba(242, 247, 248, 0.7);
}

.page-home .path-card__meta {
  display: grid;
  gap: 6px;
  margin: 0 0 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--c-line);
}

.page-home .path-card__meta div {
  display: flex;
  gap: 10px;
  font-size: var(--fs-12);
}

.page-home .path-card__meta dt {
  flex: 0 0 34px;
  color: var(--c-steel);
}

.page-home .path-card__meta dd {
  margin: 0;
  color: var(--c-cyan-mist);
}

.page-home .path-card__link {
  display: inline-block;
  font-size: var(--fs-14);
  font-weight: 700;
  color: var(--c-white);
  text-decoration: none;
  border-bottom: 1px solid var(--c-orange);
  padding-bottom: 2px;
}

.page-home .path-card__link:hover,
.page-home .path-card__link:focus-visible {
  color: var(--c-orange-glow);
}

/* ---------- 03 会员栏目 ---------- */

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

.page-home .cols {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .col {
  position: relative;
  padding: 16px 16px 14px;
  border: 1px solid var(--c-line);
  background: rgba(14, 22, 32, 0.72);
  transition: border-color 0.28s var(--ease), background 0.28s var(--ease);
}

.page-home .col:hover {
  border-color: rgba(38, 240, 224, 0.5);
  background: rgba(38, 240, 224, 0.07);
}

.page-home .col__name {
  margin: 0;
  font-size: var(--fs-18);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--c-cyan-mist);
}

.page-home .col__text {
  margin: 8px 0 12px;
  font-size: var(--fs-14);
  line-height: 1.7;
  color: rgba(242, 247, 248, 0.68);
}

.page-home .col__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .col__meta li {
  padding: 3px 8px;
  border: 1px solid var(--c-line);
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  color: var(--c-steel);
}

.page-home .col-note {
  margin: 18px 0 0;
  padding-left: 12px;
  border-left: 2px solid var(--c-orange);
  font-size: var(--fs-14);
  line-height: 1.72;
  color: rgba(242, 247, 248, 0.66);
}

/* ---------- 04 动态矩阵 ---------- */

.page-home .sec--feed {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--c-ink);
}

.page-home .feed__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

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

.page-home .feed__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(80% 70% at 80% 10%, rgba(255, 91, 31, 0.16), transparent 60%),
    linear-gradient(180deg, rgba(7, 11, 16, 0.9), rgba(7, 11, 16, 0.98));
}

.page-home .feed {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .feed__card {
  padding: 18px 16px;
  border: 1px solid var(--c-line);
  border-top: 2px solid rgba(38, 240, 224, 0.45);
  background: rgba(14, 22, 32, 0.78);
  backdrop-filter: blur(3px);
}

.page-home .feed__tag {
  margin: 0 0 8px;
  font-size: var(--fs-12);
  letter-spacing: 0.16em;
  color: var(--c-orange-glow);
}

.page-home .feed__title {
  margin: 0;
  font-size: var(--fs-18);
  line-height: 1.42;
  font-weight: 800;
}

.page-home .feed__text {
  margin: 10px 0 0;
  font-size: var(--fs-14);
  line-height: 1.76;
  color: rgba(242, 247, 248, 0.68);
}

.page-home .feed__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px dashed var(--c-line);
}

.page-home .feed__note {
  flex: 1 1 240px;
  margin: 0;
  font-size: var(--fs-14);
  line-height: 1.7;
  color: rgba(242, 247, 248, 0.6);
}

/* ---------- 05 路径与信任 ---------- */

.page-home .steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: ph-step;
}

.page-home .step {
  position: relative;
  padding: 16px 16px 16px 58px;
  border: 1px solid var(--c-line);
  background: rgba(14, 22, 32, 0.6);
}

.page-home .step__no {
  position: absolute;
  top: 14px;
  left: 16px;
  font-size: var(--fs-24);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: rgba(38, 240, 224, 0.55);
}

.page-home .step__title {
  margin: 0;
  font-size: var(--fs-18);
  font-weight: 800;
}

.page-home .step__text {
  margin: 6px 0 0;
  font-size: var(--fs-14);
  line-height: 1.72;
  color: rgba(242, 247, 248, 0.68);
}

.page-home .trust {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .trust__item {
  padding: 14px 12px;
  border: 1px solid var(--c-line);
  background:
    linear-gradient(180deg, rgba(38, 240, 224, 0.08), rgba(38, 240, 224, 0) 70%),
    var(--c-ink-2);
}

.page-home .trust__num {
  display: block;
  font-size: var(--fs-24);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--c-cyan);
}

.page-home .trust__key {
  display: block;
  margin-top: 4px;
  font-size: var(--fs-12);
  letter-spacing: 0.08em;
  color: var(--c-steel);
}

.page-home .trust__note {
  margin: 16px 0 0;
  font-size: var(--fs-14);
  line-height: 1.8;
  color: rgba(242, 247, 248, 0.64);
}

.page-home .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.page-home .cta-row .btn {
  font-family: inherit;
}

/* ---------- 进场 ---------- */

.js .page-home [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.js .page-home [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* ---------- 平板 ---------- */

@media (min-width: 720px) {
  .page-home {
    padding-top: 64px;
  }

  .page-home .hero {
    padding: 30px 26px 52px;
  }

  .page-home .hero__frame {
    padding: 26px 26px 30px;
  }

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

  .page-home .hero__path a {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 14px;
  }

  .page-home .sec {
    padding: 68px 26px;
  }

  .page-home .split {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: start;
    gap: 28px;
  }

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

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

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

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

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

/* ---------- 桌面 ---------- */

@media (min-width: 1024px) {
  .page-home .hero {
    padding: 44px 44px 72px;
  }

  .page-home .hero__frame {
    padding: 32px 34px 38px;
  }

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

  .page-home .capsule {
    max-width: 620px;
    margin-top: 30px;
    padding: 12px 12px 12px 20px;
  }

  .page-home .capsule__hint {
    font-size: var(--fs-16);
  }

  .page-home .capsule__go {
    padding: 11px 24px;
  }

  .page-home .hero__paths {
    max-width: 760px;
  }

  .page-home .sec {
    padding: 88px 44px;
  }

  .page-home .sec__head {
    margin-bottom: 34px;
  }

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

  .page-home .split {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
  }

  .page-home .shot--wide {
    margin-bottom: 28px;
  }

  .page-home .path-card {
    padding: 24px 22px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .capsule {
    animation: none;
  }

  .page-home .path-card,
  .page-home .hit,
  .page-home .col,
  .page-home .capsule__go {
    transition: none;
  }

  .js .page-home [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
