.page-home {
  --home-gap: clamp(18px, 4vw, 34px);
  --home-radius: 18px;
  --home-soft-line: rgba(234, 244, 255, .09);
  display: block;
}

.page-home img {
  max-width: 100%;
}

/* ---------- 面包屑与上下文 ---------- */
.page-home .home-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-size: 13px;
  color: var(--muted);
}

.page-home .home-breadcrumb ol {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .home-context {
  padding: 3px 10px;
  border: 1px solid var(--line-cyan);
  border-radius: var(--radius-pill);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 5vw, 52px) 0 clamp(36px, 6vw, 68px);
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: -14% 18% auto -12%;
  height: 62%;
  background:
    radial-gradient(58% 60% at 30% 32%, rgba(25, 245, 197, .16), transparent 70%),
    radial-gradient(52% 56% at 82% 12%, rgba(168, 85, 247, .2), transparent 72%);
  filter: blur(8px);
  pointer-events: none;
}

.page-home .home-hero-inner {
  position: relative;
  display: grid;
  gap: clamp(24px, 5vw, 46px);
}

.page-home .home-hero h1 {
  margin: 10px 0 16px;
  font-size: clamp(32px, 6vw, 60px);
  line-height: 1.08;
  letter-spacing: -.02em;
}

.page-home .home-hero-lead {
  margin: 0 0 22px;
  max-width: 34em;
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.8;
  color: var(--text);
}

.page-home .home-hero-actions,
.page-home .home-trust-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-home .home-hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .home-hero-stats li {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-left: 2px solid var(--line-cyan);
  background: linear-gradient(90deg, rgba(25, 245, 197, .08), transparent 80%);
}

.page-home .stat-num {
  font-family: var(--font-mono);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: -.02em;
}

.page-home .stat-label {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .02em;
}

.page-home .home-hero-visual {
  position: relative;
  aspect-ratio: 16 / 11;
  border-radius: calc(var(--radius-lg));
  border: 1px solid var(--line-cyan);
  background: var(--panel-deep);
  box-shadow: var(--shadow-lg), 0 0 60px rgba(25, 245, 197, .12);
}

.page-home .home-hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.page-home .home-hero-scan {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: repeating-linear-gradient(to bottom, rgba(234, 244, 255, .06) 0 1px, transparent 1px 4px);
  mix-blend-mode: screen;
  pointer-events: none;
}

.page-home .home-auth {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  max-width: min(330px, calc(100% - 28px));
  font-size: 13px;
}

.page-home .home-auth summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  list-style: none;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(245, 199, 106, .58);
  background: rgba(7, 17, 31, .84);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  cursor: pointer;
}

.page-home .home-auth summary::-webkit-details-marker {
  display: none;
}

.page-home .home-auth summary::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
}

.page-home .home-auth[open] summary {
  border-color: var(--gold);
  background: rgba(245, 199, 106, .16);
}

.page-home .home-auth-body {
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(245, 199, 106, .32);
  background: rgba(7, 17, 31, .95);
  color: var(--text);
  line-height: 1.7;
}

.page-home .home-auth-body p {
  margin: 0;
}

/* ---------- 四步轨道与双卡 ---------- */
.page-home .home-flow-inner {
  display: grid;
  gap: var(--home-gap);
}

.page-home .home-flow-rail h2,
.page-home .home-archive-copy h2,
.page-home .home-trust-copy h2 {
  margin: 8px 0 14px;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.2;
}

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

.page-home .home-steps {
  margin: 22px 0 0;
  padding: 0 0 0 18px;
  list-style: none;
  display: grid;
  gap: 12px;
  border-left: 1px dashed rgba(168, 85, 247, .42);
}

.page-home .home-steps .step-node {
  position: relative;
}

.page-home .home-steps .step-node::before {
  content: "";
  position: absolute;
  left: -25px;
  top: 20px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--violet);
  box-shadow: 0 0 12px rgba(168, 85, 247, .55);
}

.page-home .home-steps .step-node[data-state="done"]::before {
  background: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 14px rgba(25, 245, 197, .7);
}

.page-home .home-steps details {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(14, 27, 46, .92), rgba(11, 23, 40, .74));
  padding: 0 14px;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.page-home .home-steps details[open],
.page-home .home-steps details:hover {
  border-color: var(--line-cyan);
}

.page-home .home-steps details[open] {
  box-shadow: 0 0 0 1px rgba(25, 245, 197, .12), 0 14px 30px rgba(2, 7, 15, .5);
}

.page-home .home-steps summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  list-style: none;
  cursor: pointer;
}

.page-home .home-steps summary::-webkit-details-marker {
  display: none;
}

.page-home .home-steps .step-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--cyan);
  letter-spacing: .06em;
}

.page-home .home-step-title {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
}

.page-home .home-steps summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 16px;
  line-height: 1;
  color: var(--muted);
  transition: transform .2s ease, color .2s ease;
}

.page-home .home-steps details[open] summary::after {
  transform: rotate(45deg);
  color: var(--cyan);
}

.page-home .home-steps details > p {
  margin: 0 0 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.page-home .home-rail-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.page-home .home-rail-link::after {
  content: "→";
  font-family: var(--font-mono);
}

.page-home .home-rail-link:hover {
  border-bottom-color: currentColor;
}

.page-home .home-flow-side {
  display: grid;
  gap: 18px;
}

.page-home .home-figure {
  position: relative;
  margin: 0;
  border-radius: calc(var(--radius-lg));
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--panel-deep);
}

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

.page-home .home-figure figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 34px 16px 12px;
  font-size: 13px;
  color: var(--text);
  background: linear-gradient(transparent, rgba(7, 17, 31, .92));
}

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

.page-home .home-card {
  display: flex;
  flex-direction: column;
  padding: clamp(18px, 2.4vw, 26px);
  border-radius: calc(var(--radius-lg));
  background: linear-gradient(180deg, rgba(14, 27, 46, .95), rgba(11, 23, 40, .84));
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.page-home .home-card-rule {
  border: 1px solid var(--line-cyan);
}

.page-home .home-card-export {
  border: 1px solid var(--line-violet);
}

.page-home .home-card:hover {
  transform: translateY(-3px);
}

.page-home .home-card-rule:hover {
  box-shadow: 0 18px 40px rgba(2, 7, 15, .55), 0 0 0 1px rgba(25, 245, 197, .34);
}

.page-home .home-card-export:hover {
  box-shadow: 0 18px 40px rgba(2, 7, 15, .55), 0 0 0 1px rgba(168, 85, 247, .4);
}

.page-home .home-card .panel-title {
  margin: 6px 0 12px;
  font-size: clamp(19px, 2.1vw, 23px);
  line-height: 1.3;
}

.page-home .home-card .panel-body p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.75;
}

.page-home .home-mini-list {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--muted);
}

.page-home .home-mini-list li {
  position: relative;
  padding-left: 16px;
}

.page-home .home-mini-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--cyan);
  opacity: .85;
}

.page-home .home-card-export .home-mini-list li::before {
  background: var(--violet);
}

.page-home .home-card-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  font-size: 14px;
  font-weight: 600;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.page-home .home-card-link::after {
  content: "→";
  font-family: var(--font-mono);
}

.page-home .home-card-export .home-card-link {
  color: var(--violet-text);
}

.page-home .home-card-link:hover {
  border-bottom-color: currentColor;
}

/* ---------- 专区导航关系图 ---------- */
.page-home .home-section-head {
  max-width: 700px;
  margin-bottom: clamp(24px, 4vw, 40px);
}

.page-home .home-section-head h2 {
  margin: 8px 0 12px;
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.18;
}

.page-home .home-section-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.78;
}

.page-home .home-map-diagram {
  position: relative;
  display: grid;
  gap: 12px;
}

.page-home .home-map-lines {
  display: none;
}

.page-home .home-map-node {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 15px 17px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(14, 27, 46, .88);
  color: var(--text);
  text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.page-home .home-map-node strong {
  font-size: 16px;
}

.page-home .home-map-node > span:last-child {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.page-home .home-map-node:hover {
  border-color: var(--line-cyan);
  box-shadow: 0 0 0 1px rgba(25, 245, 197, .18), 0 14px 30px rgba(2, 7, 15, .5);
}

.page-home .home-map-node.is-center {
  padding: 20px;
  border-color: rgba(25, 245, 197, .5);
  background:
    linear-gradient(158deg, rgba(25, 245, 197, .16), rgba(168, 85, 247, .18)),
    var(--panel-deep);
  box-shadow: 0 0 0 1px rgba(25, 245, 197, .14), 0 20px 44px rgba(2, 7, 15, .5);
}

.page-home .home-map-node.is-center strong {
  font-size: 20px;
}

.page-home .home-map-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--gold);
}

.page-home .home-map-node.is-auth {
  border-color: rgba(245, 199, 106, .34);
}

/* ---------- 月度时间轴 ---------- */
.page-home .home-archive-inner {
  display: grid;
  gap: clamp(26px, 4vw, 48px);
}

.page-home .home-archive-copy p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.page-home .home-archive-figure {
  margin: 22px 0 0;
  border-radius: calc(var(--radius-lg));
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--panel-deep);
}

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

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

.page-home .home-tl-item {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  padding: 0 0 22px;
}

.page-home .home-tl-item:last-child {
  padding-bottom: 0;
}

.page-home .home-tl-item::before {
  content: "";
  position: absolute;
  left: -23px;
  top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--panel);
  border: 2px solid var(--violet);
}

.page-home .home-tl-item.is-current::before {
  background: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 12px rgba(25, 245, 197, .8);
}

.page-home .home-tl-month {
  padding-top: 2px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .04em;
}

.page-home .home-tl-item.is-current .home-tl-month {
  color: var(--cyan);
}

.page-home .home-tl-body strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
}

.page-home .home-tl-body p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

/* ---------- 认证与客服 ---------- */
.page-home .home-trust-inner {
  display: grid;
  gap: clamp(24px, 4vw, 44px);
  align-items: center;
}

.page-home .home-trust-copy > p:first-of-type {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.page-home .home-contact-list {
  display: grid;
  gap: 10px;
  margin: 20px 0 24px;
  padding: 0;
  list-style: none;
}

.page-home .home-contact-list li {
  display: grid;
  gap: 3px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(14, 27, 46, .72);
}

.page-home .home-contact-key {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--muted);
}

.page-home .home-contact-val {
  font-size: 15px;
  color: var(--text);
  word-break: break-word;
}

.page-home .home-trust-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-lg));
  border: 1px solid rgba(245, 199, 106, .34);
  box-shadow: 0 20px 44px rgba(2, 7, 15, .5);
}

/* ---------- 桌面栅格 ---------- */
@media (min-width: 760px) {
  .page-home .home-duo {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

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

@media (min-width: 900px) {
  .page-home .home-hero-inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: center;
  }

  .page-home .home-map-diagram {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr);
    grid-template-rows: repeat(3, auto);
    gap: 18px;
    padding: 8px 0;
    align-items: center;
  }

  .page-home .home-map-lines {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
  }

  .page-home .home-map-node.is-center {
    grid-column: 2;
    grid-row: 2;
  }

  .page-home .home-map-node.is-download {
    grid-column: 1;
    grid-row: 1;
  }

  .page-home .home-map-node.is-help {
    grid-column: 3;
    grid-row: 1;
  }

  .page-home .home-map-node.is-news {
    grid-column: 1;
    grid-row: 3;
  }

  .page-home .home-map-node.is-auth {
    grid-column: 3;
    grid-row: 3;
  }
}

@media (min-width: 1000px) {
  .page-home .home-flow-inner {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    align-items: start;
    gap: clamp(28px, 4vw, 56px);
  }

  .page-home .home-flow-rail {
    position: sticky;
    top: 104px;
    align-self: start;
  }

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

  .page-home .home-tl-item {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 16px;
  }

  .page-home .home-trust-inner {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-card,
  .page-home .home-map-node,
  .page-home .home-steps details,
  .page-home .home-steps summary::after {
    transition: none;
  }

  .page-home .home-card:hover {
    transform: none;
  }
}
