/* ===== 首页：入口与资料库索引 ===== */

.page-home {
  --home-rail-w: 208px;
  --home-block: clamp(38px, 5.5vw, 78px);
  position: relative;
  isolation: isolate;
  overflow-x: clip;
  background-color: var(--ink-900);
  color: var(--mist);
}

.page-home > * {
  position: relative;
  z-index: 1;
}

/* 微噪点网格与顶部光晕 */
.page-home::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(42, 52, 70, 0.30) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 52, 70, 0.30) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 92% 58% at 56% 0%, #000 0%, transparent 78%);
  mask-image: radial-gradient(ellipse 92% 58% at 56% 0%, #000 0%, transparent 78%);
}

.page-home::after {
  content: "";
  position: absolute;
  top: -180px;
  right: -140px;
  z-index: 0;
  width: min(760px, 74vw);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.16), transparent 62%);
  pointer-events: none;
}

/* ---------- 面包屑 ---------- */
.page-home .home-crumbs {
  padding-top: clamp(18px, 2.6vw, 34px);
  padding-bottom: 4px;
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  padding: clamp(24px, 3.5vw, 46px) 0 clamp(40px, 6vw, 84px);
}

.home-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(26px, 3.6vw, 46px);
  align-items: center;
}

@media (min-width: 980px) {
  .home-hero__grid {
    grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  }
}

/* 入口卡片 */
.entry-card {
  position: relative;
  padding: clamp(26px, 3.4vw, 46px);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
  background:
    radial-gradient(130% 105% at 0% 0%, rgba(34, 211, 238, 0.13), transparent 56%),
    linear-gradient(165deg, var(--ink-700), var(--ink-900) 80%);
  box-shadow: 0 34px 74px -46px rgba(34, 211, 238, 0.45);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.entry-card::before,
.entry-card::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  height: 8px;
  pointer-events: none;
  background-image: repeating-linear-gradient(90deg, var(--cyan) 0 1px, transparent 1px 11px);
  opacity: 0.4;
}

.entry-card::before { top: 12px; }
.entry-card::after { bottom: 12px; opacity: 0.24; }

.entry-card:hover,
.entry-card:focus-within {
  border-color: rgba(34, 211, 238, 0.48);
  box-shadow: 0 40px 80px -44px rgba(34, 211, 238, 0.6);
}

.entry-card__kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.entry-card__title {
  margin: 20px 0 0;
  max-width: 15ch;
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.022em;
  color: var(--mist);
}

.entry-card__lede {
  margin: 18px 0 0;
  max-width: 44ch;
  font-size: 16px;
  line-height: 1.78;
  color: var(--steel);
}

.entry-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.entry-card__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 0;
  padding: 20px 0 0;
  border-top: 1px dashed var(--line-soft);
  list-style: none;
  font-size: 13px;
  line-height: 1.5;
  color: var(--iron);
}

.entry-card__num {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-mono);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  color: var(--gold);
  transition: color 0.3s ease, transform 0.3s ease;
}

.entry-card:hover .entry-card__num,
.entry-card:focus-within .entry-card__num {
  color: var(--cyan);
  transform: translateX(2px);
}

/* 首屏目录切片 */
.hero-stage {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
  background: var(--ink-800);
}

.hero-stage__shot {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  opacity: 0.92;
  filter: saturate(0.92) contrast(1.06);
}

.hero-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(198deg, rgba(7, 11, 20, 0.1) 28%, rgba(7, 11, 20, 0.9) 100%);
}

.hero-slices {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0 16px 16px;
  list-style: none;
}

.hero-slices__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 15px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-m);
  background: rgba(13, 21, 36, 0.88);
  font-size: 14px;
  color: var(--steel);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.hero-slices__item:hover {
  border-color: rgba(140, 232, 245, 0.5);
  transform: translateX(-4px);
}

.hero-slices__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--cyan);
}

@media (min-width: 980px) {
  .hero-slices {
    position: absolute;
    right: 0;
    bottom: 0;
    width: min(330px, 64%);
    padding: 20px 20px 22px 0;
  }
  .hero-slices__item:nth-child(1) { transform: translateX(-6px); }
  .hero-slices__item:nth-child(2) { transform: translateX(-20px); }
  .hero-slices__item:nth-child(3) { transform: translateX(-34px); }
  .hero-slices__item:nth-child(1):hover { transform: translateX(-10px); }
  .hero-slices__item:nth-child(2):hover { transform: translateX(-24px); }
  .hero-slices__item:nth-child(3):hover { transform: translateX(-38px); }
}

/* ---------- 主体分栏 ---------- */
.home-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  padding-bottom: clamp(48px, 7vw, 90px);
}

@media (min-width: 1040px) {
  .home-body {
    grid-template-columns: var(--home-rail-w) minmax(0, 1fr);
    gap: clamp(24px, 3vw, 48px);
  }
}

.home-rail {
  display: none;
}

@media (min-width: 1040px) {
  .home-rail {
    display: block;
    position: sticky;
    top: calc(var(--header-h) + 28px);
    align-self: start;
    padding-top: var(--home-block);
  }

  .home-rail__label {
    margin: 0 0 16px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.24em;
    color: var(--iron);
  }

  .home-rail__list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .home-rail__link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px 10px 14px;
    border-left: 2px solid var(--line-soft);
    font-size: 14px;
    color: var(--iron);
    text-decoration: none;
    transition: color 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
  }

  .home-rail__num {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    color: inherit;
  }

  .home-rail__link:hover,
  .home-rail__link:focus-visible {
    color: var(--mist);
    border-left-color: var(--cyan);
    background: linear-gradient(90deg, rgba(34, 211, 238, 0.1), transparent);
  }
}

.home-stream {
  min-width: 0;
}

/* ---------- 编号章节 ---------- */
.page-home .home-sec {
  padding: var(--home-block) 0 0;
  border-top: 1px solid var(--line-soft);
}

.page-home .home-sec__head {
  display: grid;
  gap: 12px;
  max-width: 68ch;
}

.page-home .home-sec__index {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--cyan);
  transition: color 0.3s ease;
}

.page-home .home-sec__index::after {
  content: "";
  width: clamp(40px, 6vw, 70px);
  height: 1px;
  background: linear-gradient(90deg, currentColor, transparent);
}

.page-home .home-sec__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(25px, 3.4vw, 40px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--mist);
}

.page-home .home-sec__lede {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: var(--steel);
}

.page-home .home-sec.is-active .home-sec__index {
  color: var(--gold);
}

/* ---------- 资料库目录切片 ---------- */
.catalog-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin: clamp(28px, 4vw, 46px) 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 720px) {
  .catalog-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (min-width: 1000px) {
  .catalog-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
  .catalog-item:nth-child(2),
  .catalog-item:nth-child(5) {
    margin-top: 24px;
  }
}

.catalog-item {
  position: relative;
  overflow: hidden;
  padding: 22px 22px 24px 26px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-m);
  background: linear-gradient(170deg, var(--ink-700), rgba(13, 21, 36, 0.94));
  transition: border-color 0.28s ease, transform 0.28s ease;
}

.catalog-item::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: var(--cyan);
  opacity: 0.75;
}

.catalog-item:nth-child(2)::before { background: var(--gold); }
.catalog-item:nth-child(3)::before { background: var(--cyan-soft); }
.catalog-item:nth-child(4)::before { background: var(--steel); }
.catalog-item:nth-child(5)::before { background: var(--gold); }

.catalog-item:hover {
  border-color: rgba(34, 211, 238, 0.42);
  transform: translateY(-3px);
}

.catalog-item__num {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--iron);
}

.catalog-item__title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--mist);
}

.catalog-item__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.72;
  color: var(--steel);
}

.catalog-visual {
  margin-top: clamp(28px, 4vw, 46px);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
}

/* ---------- 跨设备衔接 ---------- */
.switch-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 3.4vw, 40px);
  margin-top: clamp(28px, 4vw, 46px);
}

@media (min-width: 900px) {
  .switch-panel {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    align-items: center;
  }
}

.switch-steps {
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 4px 0 0;
  list-style: none;
  counter-reset: home-step;
}

.switch-steps li {
  position: relative;
  padding-left: 48px;
  font-size: 15px;
  line-height: 1.72;
  color: var(--steel);
}

.switch-steps li::before {
  counter-increment: home-step;
  content: "0" counter(home-step);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(34, 211, 238, 0.42);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.08);
}

.switch-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 34px;
  bottom: -20px;
  left: 15px;
  width: 1px;
  background: linear-gradient(180deg, rgba(34, 211, 238, 0.35), rgba(34, 211, 238, 0.05));
}

.switch-visual {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
}

/* ---------- 月度目录 ---------- */
.month-ruler {
  height: 40px;
  margin-top: clamp(26px, 3.4vw, 38px);
  border-radius: var(--radius-s);
  opacity: 0.85;
  background:
    repeating-linear-gradient(90deg, var(--iron) 0 1px, transparent 1px 44px) bottom left / 100% 14px no-repeat,
    repeating-linear-gradient(90deg, rgba(91, 102, 122, 0.5) 0 1px, transparent 1px 9px) bottom left / 100% 7px no-repeat;
}

.month-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin-top: clamp(24px, 3.4vw, 38px);
}

@media (min-width: 760px) {
  .month-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
}

.month-card {
  padding: 24px 22px 26px;
  border: 1px solid var(--line-soft);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius-m);
  background: linear-gradient(180deg, rgba(22, 34, 56, 0.9), rgba(13, 21, 36, 0.92));
  transition: transform 0.28s ease, border-color 0.28s ease;
}

.month-card:nth-child(2) { border-top-color: var(--cyan); }

.month-card:hover {
  transform: translateY(-3px);
  border-color: rgba(231, 184, 75, 0.38);
}

.month-card__code {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--iron);
}

.month-card__title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--mist);
}

.month-card__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.72;
  color: var(--steel);
}

.month-foot {
  margin: clamp(24px, 3vw, 34px) 0 0;
}

/* ---------- 服务支持 ---------- */
.support-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin-top: clamp(28px, 4vw, 46px);
}

@media (min-width: 780px) {
  .support-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

.support-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 26px 24px 28px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-m);
  background: linear-gradient(160deg, var(--ink-700), var(--ink-900));
}

.support-card--gold {
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(231, 184, 75, 0.14), transparent 58%),
    linear-gradient(160deg, var(--ink-700), var(--ink-900));
}

.support-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--mist);
}

.support-card__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.72;
  color: var(--steel);
}

.support-card .btn {
  margin-top: auto;
}

.support-channels {
  display: grid;
  gap: 0;
  margin: clamp(26px, 3.4vw, 38px) 0 0;
}

.support-channels__row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line-soft);
}

.support-channels__row:first-child {
  border-top: 1px dashed var(--line-soft);
}

.support-channels dt {
  min-width: 88px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--iron);
}

.support-channels dd {
  margin: 0;
  font-size: 15px;
  color: var(--mist);
}

/* ---------- 信任区 ---------- */
.home-trust {
  padding-top: var(--home-block);
}

.trust-stage {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
  background: var(--ink-800);
}

.trust-stage > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.85) brightness(0.85);
}

.trust-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 11, 20, 0.15) 30%, rgba(7, 11, 20, 0.86) 100%);
}

.trust-panel {
  position: relative;
  z-index: 2;
  margin: -64px 16px 16px;
  padding: 24px 22px 26px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-m);
  background: rgba(7, 11, 20, 0.92);
}

.trust-panel__label {
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--cyan);
}

.trust-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-stats li {
  font-size: 13px;
  line-height: 1.5;
  color: var(--steel);
}

.trust-stats__num {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-mono);
  font-size: clamp(21px, 2.6vw, 29px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--cyan);
}

.trust-stats li:nth-child(even) .trust-stats__num {
  color: var(--gold);
}

.trust-panel__note {
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px dashed var(--line-soft);
  font-size: 13px;
  line-height: 1.7;
  color: var(--iron);
}

@media (min-width: 880px) {
  .trust-stage > img {
    aspect-ratio: 21 / 9;
  }

  .trust-stage::after {
    background: linear-gradient(90deg, rgba(7, 11, 20, 0.94) 0%, rgba(7, 11, 20, 0.6) 52%, rgba(7, 11, 20, 0.18) 100%);
  }

  .trust-panel {
    position: absolute;
    left: clamp(22px, 3vw, 46px);
    bottom: clamp(22px, 3vw, 46px);
    width: min(600px, 64%);
    margin: 0;
    padding: 28px 30px 30px;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
  }
}

/* ---------- 窄屏兜底 ---------- */
@media (max-width: 400px) {
  .entry-card__facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-stats {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .catalog-item,
  .month-card,
  .hero-slices__item,
  .entry-card__num {
    transition: none;
  }
}
<<<END>>>
