.page-home {
  --home-rail-w: 64px;
  --home-gap: 40px;
  --home-shift: 48px;
  --home-edge: 1px solid var(--line-700);
  display: block;
  background: var(--ink-950);
  color: var(--body-text);
  padding-bottom: clamp(48px, 7vw, 88px);
}

.page-home .breadcrumb {
  padding-top: 18px;
}

.page-home .home-frame {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

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

.page-home .home-flow > section + section {
  margin-top: clamp(52px, 7vw, 92px);
}

/* ---------- 左侧刻度尺 ---------- */
.page-home .home-rail {
  display: none;
}

.page-home .home-rail__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .home-rail__link {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 0;
  color: var(--mute-400);
  text-decoration: none;
}

.page-home .home-rail__tick {
  display: block;
  width: 16px;
  height: 1px;
  background: var(--line-700);
  transition: width 220ms var(--ease), background-color 220ms var(--ease);
}

.page-home .home-rail__idx {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: inherit;
}

.page-home .home-rail__name {
  position: absolute;
  top: 50%;
  left: calc(100% + 10px);
  transform: translateY(-50%);
  padding: 3px 8px;
  font-size: 11px;
  white-space: nowrap;
  color: var(--ink-950);
  background: var(--cyan-400);
  border-radius: var(--radius);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms var(--ease);
}

.page-home .home-rail__link:hover .home-rail__name,
.page-home .home-rail__link:focus-visible .home-rail__name,
.page-home .home-rail__link[aria-current="true"] .home-rail__name {
  opacity: 1;
}

.page-home .home-rail__link[aria-current="true"] {
  color: var(--cyan-400);
}

.page-home .home-rail__link[aria-current="true"] .home-rail__tick {
  width: 34px;
  background: var(--cyan-400);
}

.page-home .home-rail__link:hover .home-rail__tick {
  background: var(--cyan-650);
}

/* ---------- 首屏封面 ---------- */
.page-home .home-hero {
  position: relative;
  padding: clamp(26px, 5vw, 46px) 0 clamp(34px, 5vw, 54px);
  overflow: hidden;
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -12%;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(59, 227, 220, 0.16), transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(39, 64, 92, 0.34) 1px, transparent 1px),
    linear-gradient(90deg, rgba(39, 64, 92, 0.34) 1px, transparent 1px);
  background-size: 96px 96px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 72%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 72%);
  pointer-events: none;
  z-index: 0;
}

.page-home .home-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 30px;
}

.page-home .home-hero__kicker {
  margin: 0 0 16px;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--cyan-400);
}

.page-home .home-hero__title {
  margin: 0 0 20px;
  font-family: var(--sans);
  font-size: clamp(34px, 8.4vw, 64px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--paper-050);
}

.page-home .home-hero__lede {
  max-width: 34em;
  margin: 0 0 26px;
  font-size: 16px;
  line-height: 1.78;
  color: var(--body-text);
}

.page-home .home-hero__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-home .home-hero__figure {
  margin: 0;
}

.page-home .home-hero__frame {
  position: relative;
  overflow: hidden;
  border: var(--home-edge);
  border-radius: var(--radius);
  background: var(--ink-900);
  aspect-ratio: 16 / 9;
}

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

.page-home .media__caption {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--mute-400);
}

/* ---------- 首屏场景切换 ---------- */
.page-home .home-scene {
  position: relative;
  z-index: 1;
  margin-top: clamp(32px, 5vw, 52px);
  background: var(--ink-900);
  border: var(--home-edge);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-home .home-scene::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--cyan-400), rgba(59, 227, 220, 0));
}

.page-home .home-scene .tabs__list {
  display: flex;
  flex-wrap: wrap;
  border-bottom: var(--home-edge);
}

.page-home .home-scene .tab {
  flex: 1 1 132px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--mute-400);
  background: transparent;
  border: 0;
  border-right: var(--home-edge);
  cursor: pointer;
  transition: color 180ms var(--ease), background-color 180ms var(--ease), box-shadow 180ms var(--ease);
}

.page-home .home-scene .tab:last-child {
  border-right: 0;
}

.page-home .home-scene .tab:hover {
  color: var(--paper-050);
  background: rgba(18, 142, 140, 0.12);
}

.page-home .home-scene .tab[aria-selected="true"] {
  color: var(--paper-050);
  background: rgba(59, 227, 220, 0.08);
  box-shadow: inset 0 -2px 0 var(--cyan-400);
}

.page-home .home-scene .tab__idx {
  font-size: 11px;
  color: var(--cyan-650);
}

.page-home .home-scene .tab[aria-selected="true"] .tab__idx {
  color: var(--cyan-400);
}

.page-home .home-scene .tab-panel {
  padding: 22px clamp(18px, 3vw, 26px) 24px;
}

.page-home .home-scene .tab-panel + .tab-panel {
  border-top: var(--home-edge);
}

.page-home .home-scene .tab-panel[hidden] {
  display: none;
}

.page-home .home-scene__panel-title {
  margin: 0 0 10px;
  color: var(--paper-050);
}

.page-home .home-scene .tab-panel p {
  max-width: 46em;
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.78;
}

.page-home .home-scene__link {
  display: inline-block;
  font-size: 13px;
  color: var(--cyan-400);
  text-decoration: none;
  border-bottom: 1px solid var(--cyan-650);
  padding-bottom: 2px;
}

.page-home .home-scene__link:hover {
  color: var(--paper-050);
  border-bottom-color: var(--cyan-400);
}

/* ---------- 章节标题 ---------- */
.page-home .section-head {
  position: relative;
  padding-top: 22px;
  margin-bottom: 8px;
}

.page-home .section-head::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 56px;
  height: 2px;
  background: var(--cyan-400);
}

.page-home .section-head__num {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--cyan-650);
}

.page-home .section-head__title {
  margin: 0 0 12px;
  color: var(--paper-050);
}

.page-home .section-head__note {
  max-width: 52em;
  margin: 0;
  font-size: 15px;
  line-height: 1.78;
  color: var(--mute-400);
}

/* ---------- 三条路径 ---------- */
.page-home .home-paths__body {
  display: grid;
  gap: 28px;
  margin-top: 30px;
}

.page-home .home-paths__figure {
  margin: 0;
}

.page-home .home-paths__frame {
  position: relative;
  overflow: hidden;
  border: var(--home-edge);
  border-radius: var(--radius);
  background: var(--ink-800);
  aspect-ratio: 4 / 5;
}

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

.page-home .home-paths__list {
  display: grid;
  gap: 16px;
}

.page-home .home-step {
  display: flex;
  gap: 18px;
  padding: 22px 20px;
  background: var(--ink-800);
  border: var(--home-edge);
  border-radius: var(--radius);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
}

.page-home .home-step .step__num {
  flex: none;
  font-size: 22px;
  line-height: 1.2;
  color: var(--cyan-400);
}

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

.page-home .home-step .step__title {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--paper-050);
}

.page-home .home-step__body p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.78;
}

.page-home .home-step__meta {
  font-size: 12px;
  color: var(--amber-300);
  letter-spacing: 0.04em;
}

.page-home .home-step .btn {
  margin-top: 2px;
}

/* ---------- 三层栏目 ---------- */
.page-home .home-index__body {
  display: grid;
  gap: 30px;
  margin-top: 30px;
}

.page-home .home-index__figure {
  margin: 0 0 18px;
}

.page-home .home-index__frame {
  position: relative;
  overflow: hidden;
  border: var(--home-edge);
  border-radius: var(--radius);
  background: var(--ink-900);
  aspect-ratio: 2 / 1;
}

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

.page-home .home-index__note {
  margin: 0;
  padding: 16px 18px;
  font-size: 14px;
  line-height: 1.78;
  color: var(--body-text);
  background: var(--ink-900);
  border: var(--home-edge);
  border-left: 3px solid var(--amber-500);
  border-radius: var(--radius);
}

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

.page-home .home-index .fold {
  background: var(--ink-900);
  border: var(--home-edge);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
}

.page-home .home-index .fold:last-child {
  margin-bottom: 0;
}

.page-home .home-index .fold__summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 600;
  color: var(--paper-050);
  cursor: pointer;
  list-style: none;
  transition: background-color 180ms var(--ease);
}

.page-home .home-index .fold__summary::-webkit-details-marker {
  display: none;
}

.page-home .home-index .fold__summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--mono);
  font-size: 15px;
  color: var(--cyan-400);
}

.page-home .home-index .fold[open] .fold__summary::after {
  content: "–";
}

.page-home .home-index .fold__summary:hover {
  background: rgba(18, 142, 140, 0.14);
}

.page-home .home-index .fold__idx {
  font-size: 12px;
  color: var(--cyan-650);
}

.page-home .home-index .fold[open] .fold__idx {
  color: var(--cyan-400);
}

.page-home .home-index .fold__body {
  padding: 0 18px 16px;
  border-top: 1px solid rgba(39, 64, 92, 0.7);
}

.page-home .fold-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

.page-home .fold-list__item {
  position: relative;
  padding: 9px 0 9px 16px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--body-text);
  border-left: 1px solid var(--line-700);
}

.page-home .fold-list__item--third {
  color: var(--mute-400);
}

.page-home .fold-list__item--third::before {
  content: "";
  position: absolute;
  top: 20px;
  left: -3px;
  width: 5px;
  height: 5px;
  background: var(--amber-500);
}

.page-home .fold-list__label {
  display: inline-block;
  margin-right: 8px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--cyan-400);
}

/* ---------- 近期条目变更 ---------- */
.page-home .home-log__tabs {
  margin-top: 26px;
}

.page-home .home-log .tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.page-home .home-log .tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--mute-400);
  background: transparent;
  border: 1px solid var(--line-700);
  border-radius: var(--radius);
  cursor: pointer;
  transition: color 180ms var(--ease), border-color 180ms var(--ease), background-color 180ms var(--ease);
}

.page-home .home-log .tab:hover {
  color: var(--paper-050);
  border-color: var(--cyan-650);
}

.page-home .home-log .tab[aria-selected="true"] {
  color: var(--ink-950);
  background: var(--cyan-400);
  border-color: var(--cyan-400);
}

.page-home .home-log .tab__idx {
  font-size: 11px;
  opacity: 0.75;
}

.page-home .home-log .tab-panel[hidden] {
  display: none;
}

.page-home .home-log .tab-panel + .tab-panel {
  margin-top: 28px;
}

.page-home .home-log__group {
  margin: 0 0 12px;
  font-size: 13px;
  font-family: var(--mono);
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--cyan-650);
}

.page-home .entry-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: var(--home-edge);
}

.page-home .entry {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 6px 14px;
  padding: 15px 0;
  border-bottom: var(--home-edge);
  transition: background-color 180ms var(--ease);
}

.page-home .entry:hover {
  background: rgba(22, 40, 63, 0.6);
}

.page-home .entry__idx {
  font-size: 12px;
  color: var(--mute-400);
  padding-top: 2px;
}

.page-home .entry__title {
  font-size: 15px;
  line-height: 1.6;
  color: var(--paper-050);
  text-decoration: none;
}

.page-home .entry__title:hover {
  color: var(--cyan-400);
}

.page-home .entry .tag {
  grid-column: 2;
  justify-self: start;
}

.page-home .entry__meta {
  grid-column: 2;
  font-size: 12px;
  color: var(--mute-400);
}

.page-home .tag {
  display: inline-block;
  padding: 2px 8px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--cyan-400);
  border: 1px solid var(--cyan-650);
  border-radius: var(--radius);
}

.page-home .tag--amber {
  color: var(--amber-300);
  border-color: var(--amber-500);
}

.page-home .tag--fill {
  color: var(--ink-950);
  background: var(--amber-500);
  border-color: var(--amber-500);
}

.page-home .tag--mute {
  color: var(--mute-400);
  border-color: var(--line-700);
}

.page-home .home-log__more {
  margin: 22px 0 0;
}

/* ---------- 客服受理 ---------- */
.page-home .home-help__body {
  display: grid;
  gap: 28px;
  margin-top: 30px;
}

.page-home .home-help__info {
  display: grid;
  gap: 22px;
  align-content: start;
}

.page-home .home-help__block {
  padding: 20px;
  background: var(--ink-900);
  border: var(--home-edge);
  border-radius: var(--radius);
}

.page-home .home-help__block h3 {
  margin: 0 0 14px;
  font-size: 16px;
  color: var(--paper-050);
}

.page-home .home-help__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .home-help__list li {
  padding: 8px 0;
  font-size: 14px;
  line-height: 1.72;
  border-bottom: 1px solid rgba(39, 64, 92, 0.6);
}

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

.page-home .home-help__list .mono {
  display: inline-block;
  margin-right: 10px;
  font-size: 12px;
  color: var(--cyan-400);
}

.page-home .home-help__copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.page-home .home-help__email {
  font-size: 14px;
  color: var(--amber-300);
  word-break: break-all;
}

.page-home .copy-state {
  font-size: 12px;
  color: var(--amber-500);
  min-height: 1em;
}

.page-home .home-help__phone {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.72;
}

.page-home .home-help__phone strong {
  color: var(--paper-050);
  font-weight: 500;
}

.page-home .home-help__pace {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.78;
  color: var(--mute-400);
}

.page-home .home-help__figure {
  margin: 0;
}

.page-home .home-help__frame {
  position: relative;
  overflow: hidden;
  border: var(--home-edge);
  border-radius: var(--radius);
  background: var(--ink-800);
  aspect-ratio: 10 / 7;
}

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

/* ---------- 响应式 ---------- */
@media (min-width: 680px) {
  .page-home .entry {
    grid-template-columns: 40px minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 10px 16px;
  }

  .page-home .entry .tag,
  .page-home .entry__meta {
    grid-column: auto;
    justify-self: end;
    padding-top: 0;
  }
}

@media (min-width: 900px) {
  .page-home .home-hero__inner {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(32px, 4vw, 60px);
    align-items: end;
  }

  .page-home .home-paths__body {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: clamp(28px, 4vw, 48px);
    align-items: start;
  }

  .page-home .home-index__body {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(30px, 4vw, 48px);
    align-items: start;
  }

  .page-home .home-help__body {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(28px, 4vw, 46px);
    align-items: start;
  }
}

@media (min-width: 1000px) {
  .page-home .home-frame {
    display: grid;
    grid-template-columns: var(--home-rail-w) minmax(0, 1fr);
    column-gap: var(--home-gap);
    padding-left: calc(var(--gutter) + var(--home-shift));
  }

  .page-home .home-rail {
    display: block;
    position: sticky;
    top: calc(var(--header-h) + 36px);
    align-self: start;
    padding-top: 26px;
  }
}

@media (min-width: 1200px) {
  .page-home .home-step {
    padding: 26px 26px;
  }

  .page-home .home-help__block {
    padding: 24px 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-rail__tick,
  .page-home .home-rail__name,
  .page-home .home-scene .tab,
  .page-home .home-log .tab,
  .page-home .entry,
  .page-home .home-index .fold__summary {
    transition: none;
  }
}
