/* ================= 首页 page-home ================= */
.page-home {
  --home-gap: clamp(20px, 3vw, 44px);
  --home-radius: 18px;
}

/* ---------- 顶部更新记录横条 ---------- */
.page-home .ticker {
  background: var(--ink);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.page-home .ticker__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding-block: 11px;
}

.page-home .ticker__pulse {
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--mint);
  animation: homePulse 2.4s ease-out infinite;
}

@keyframes homePulse {
  0% { box-shadow: 0 0 0 0 rgba(46, 196, 182, .55); }
  70% { box-shadow: 0 0 0 12px rgba(46, 196, 182, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 196, 182, 0); }
}

.page-home .ticker__label {
  flex: none;
  font-family: var(--font-ui);
  font-size: var(--fs-12);
  letter-spacing: .16em;
  color: var(--mint);
}

.page-home .ticker__track {
  flex: 1 1 300px;
  min-width: 0;
}

.page-home .ticker__item {
  display: none;
  align-items: baseline;
  gap: 10px 14px;
  flex-wrap: wrap;
}

.page-home .ticker__item[data-active] {
  display: flex;
}

.page-home .ticker__date {
  flex: none;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  color: var(--mint);
  border: 1px solid rgba(46, 196, 182, .42);
  border-radius: var(--radius-pill);
  padding: 2px 10px;
  white-space: nowrap;
}

.page-home .ticker__scope {
  flex: none;
  font-family: var(--font-ui);
  font-size: var(--fs-14);
  font-weight: 600;
  color: var(--white);
}

.page-home .ticker__note {
  min-width: 0;
  font-family: var(--font-ui);
  font-size: var(--fs-14);
  color: rgba(255, 255, 255, .62);
}

.page-home .ticker__ctrl {
  flex: none;
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.page-home .ticker__btn {
  width: 11px;
  height: 11px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .38);
  background: transparent;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}

.page-home .ticker__btn:hover {
  border-color: var(--mint);
}

.page-home .ticker__btn[data-active],
.page-home .ticker__btn[aria-current="true"] {
  background: var(--mint);
  border-color: var(--mint);
}

/* ---------- 首屏分屏 ---------- */
.page-home .hero {
  position: relative;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}

.page-home .hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--orange) 0%, var(--mint) 48%, var(--electric) 100%);
}

.page-home .hero__grid {
  display: grid;
  gap: clamp(30px, 4vw, 56px);
  padding-block: clamp(38px, 5.5vw, 76px) clamp(50px, 7vw, 92px);
  align-items: start;
}

.page-home .hero .eyebrow {
  display: block;
  margin: 0 0 18px;
  color: var(--electric);
  letter-spacing: .18em;
}

.page-home .hero h1 {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(30px, 4.8vw, 54px);
  line-height: 1.16;
  letter-spacing: -.02em;
  color: var(--white);
  max-width: 16em;
}

.page-home .hero__lead {
  margin: 0 0 24px;
  max-width: 36em;
  font-family: var(--font-body);
  font-size: var(--fs-17);
  line-height: 1.95;
  color: rgba(255, 255, 255, .78);
}

.page-home .hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-bottom: 28px;
}

.page-home .hero .date-stamp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  background: rgba(46, 196, 182, .12);
  border: 1px solid rgba(46, 196, 182, .38);
  color: var(--mint);
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  white-space: nowrap;
}

.page-home .date-stamp__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  flex: none;
}

.page-home .hero__stat {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .58);
}

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

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

.page-home .rail-map {
  display: block;
  width: 100%;
  height: auto;
  padding: 10px 12px 4px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--home-radius);
}

.page-home .rail-map__line {
  stroke: rgba(255, 255, 255, .18);
  stroke-width: 2;
  stroke-linecap: round;
}

.page-home .rail-map__trail {
  stroke: var(--electric);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 5 10;
  animation: homeTrail 3.4s linear infinite;
}

@keyframes homeTrail {
  to { stroke-dashoffset: -60; }
}

.page-home .rail-map__dot {
  fill: var(--mint);
}

.page-home .rail-map__tag {
  fill: rgba(255, 255, 255, .74);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
}

.page-home .rail-map__axis {
  fill: rgba(255, 255, 255, .4);
  font-family: var(--font-ui);
  font-size: 11px;
}

.page-home .rail-map__axis--end {
  text-anchor: end;
}

.page-home .hero__shot {
  margin: 0;
  border-radius: var(--home-radius);
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, .1);
}

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

/* ---------- 通用小节标题组 ---------- */
.page-home .home-head {
  max-width: 64ch;
  margin-bottom: clamp(24px, 3.2vw, 42px);
}

.page-home .home-head .eyebrow {
  display: block;
  margin: 0 0 10px;
  color: var(--mint-ink);
  letter-spacing: .18em;
}

.page-home .home-head h2 {
  margin: 0 0 12px;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(24px, 2.9vw, 34px);
  line-height: 1.32;
  letter-spacing: -.01em;
  color: var(--ink);
}

.page-home .home-head p {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-17);
  line-height: 1.95;
  color: var(--graphite);
}

/* ---------- 四件事 ---------- */
.page-home .flow-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(14px, 2vw, 22px);
}

.page-home .flow-item {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--home-radius);
  padding: clamp(20px, 2.4vw, 30px);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.page-home .flow-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(255, 107, 53, .42);
}

.page-home .flow-item__num {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: .12em;
  color: var(--orange);
}

.page-home .flow-item__title {
  margin: 0 0 8px;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: var(--fs-21);
  line-height: 1.4;
  color: var(--ink);
}

.page-home .flow-item p {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-17);
  line-height: 1.9;
  color: var(--graphite);
}

/* ---------- 斜线分隔 ---------- */
.page-home .home-slant {
  height: 12px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background-image: repeating-linear-gradient(135deg, rgba(11, 42, 74, .12) 0 2px, transparent 2px 9px);
}

/* ---------- 网点分级 ---------- */
.page-home .network-section {
  background: var(--mist);
}

.page-home .network-grid {
  display: grid;
  gap: clamp(26px, 4vw, 48px);
  align-items: start;
}

.page-home .network-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--home-radius);
  border: 1px solid var(--line);
}

.page-home .network-figure__caption {
  margin: 12px 0 0;
  font-family: var(--font-ui);
  font-size: var(--fs-12);
  line-height: 1.8;
  color: var(--grey);
}

.page-home .net-legend {
  list-style: none;
  margin: 18px 0 0;
  padding: 16px 0 0;
  border-top: 1px dashed var(--line-strong);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.page-home .net-legend li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: var(--fs-12);
  color: var(--grey);
}

.page-home .net-dot {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  flex: none;
}

.page-home .net-dot--orange { background: var(--orange); }
.page-home .net-dot--mint { background: var(--mint); }
.page-home .net-dot--electric { background: var(--electric); }

.page-home .filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}

.page-home .filter-chip {
  font-family: var(--font-ui);
  font-size: var(--fs-14);
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.page-home .filter-chip:hover {
  border-color: var(--orange);
}

.page-home .filter-chip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

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

.page-home .net-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px 14px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--mint);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.page-home .net-item__code {
  flex: none;
  font-family: var(--font-mono);
  font-size: var(--fs-14);
  letter-spacing: .04em;
  color: var(--ink);
  background: var(--mist);
  border-radius: 6px;
  padding: 4px 8px;
  margin-top: 2px;
}

.page-home .net-item__name {
  margin: 0 0 4px;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: var(--fs-17);
  line-height: 1.5;
  color: var(--ink);
}

.page-home .net-item__body p {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-14);
  line-height: 1.8;
  color: var(--graphite);
}

.page-home .network-body__more {
  margin: 20px 0 0;
  font-family: var(--font-ui);
  font-size: var(--fs-14);
  line-height: 1.85;
  color: var(--grey);
}

.page-home .network-body__more a {
  color: var(--mint-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 材料用量 ---------- */
.page-home .material-grid {
  display: grid;
  gap: clamp(22px, 3vw, 42px);
  align-items: center;
}

.page-home .material-figure {
  margin: 0;
  border-radius: var(--home-radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

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

.page-home .material-copy h2 {
  margin: 0 0 12px;
}

.page-home .material-copy p {
  margin: 0 0 20px;
  font-family: var(--font-body);
  font-size: var(--fs-17);
  line-height: 1.95;
  color: var(--graphite);
}

/* ---------- 两个数字 ---------- */
.page-home .compare-section {
  background: var(--mist);
}

.page-home .compare-grid {
  display: grid;
  gap: clamp(26px, 3.4vw, 46px);
  align-items: center;
}

.page-home .compare-copy .eyebrow {
  display: block;
  margin: 0 0 10px;
  color: var(--orange);
  letter-spacing: .18em;
}

.page-home .compare-copy h2 {
  margin: 0 0 14px;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(24px, 2.9vw, 34px);
  line-height: 1.32;
  color: var(--ink);
}

.page-home .compare-copy p {
  margin: 0 0 16px;
  font-family: var(--font-body);
  font-size: var(--fs-17);
  line-height: 1.95;
  color: var(--graphite);
}

.page-home .compare-copy .btn {
  margin-top: 6px;
}

.page-home .duo-card {
  position: relative;
  min-height: 232px;
  border-radius: var(--home-radius);
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow-float);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%);
}

.page-home .duo-card__face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: clamp(22px, 3vw, 36px);
  transition: opacity .3s ease, transform .3s ease;
}

.page-home .duo-card__face--payout {
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%);
  opacity: 1;
}

.page-home .duo-card__face--reviews {
  background: linear-gradient(135deg, var(--ink-2) 0%, var(--ink) 100%);
  opacity: 0;
  transform: translateY(10px);
}

.page-home .duo-card:hover .duo-card__face--payout,
.page-home .duo-card:focus-visible .duo-card__face--payout {
  opacity: 0;
  transform: translateY(-10px);
}

.page-home .duo-card:hover .duo-card__face--reviews,
.page-home .duo-card:focus-visible .duo-card__face--reviews {
  opacity: 1;
  transform: translateY(0);
}

.page-home .duo-card__label {
  font-family: var(--font-ui);
  font-size: var(--fs-12);
  letter-spacing: .16em;
  color: rgba(255, 255, 255, .6);
}

.page-home .duo-card__num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.1;
  letter-spacing: -.02em;
}

.page-home .duo-card__face--payout .duo-card__num { color: var(--orange); }
.page-home .duo-card__face--reviews .duo-card__num { color: var(--mint); }

.page-home .duo-card__hint {
  font-family: var(--font-ui);
  font-size: var(--fs-14);
  color: rgba(255, 255, 255, .66);
}

/* ---------- 条款迭代时间线 ---------- */
.page-home .timeline-hero {
  margin: 0 0 clamp(26px, 3.6vw, 46px);
  border-radius: var(--home-radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.page-home .timeline-hero img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 5;
  object-fit: cover;
}

.page-home .timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 28px;
  position: relative;
  display: grid;
  gap: clamp(16px, 2.2vw, 26px);
}

.page-home .timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(180deg, var(--mint) 0%, rgba(46, 196, 182, .1) 100%);
}

.page-home .timeline__row {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--home-radius);
  padding: clamp(18px, 2.2vw, 26px);
}

.page-home .timeline__node {
  position: absolute;
  left: -28px;
  top: 26px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(46, 196, 182, .18);
}

.page-home .timeline__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 0 0 8px;
}

.page-home .timeline__ver {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: .06em;
  color: var(--mint-ink);
  background: rgba(46, 196, 182, .12);
  border-radius: var(--radius-pill);
  padding: 2px 10px;
}

.page-home .timeline__scope {
  font-family: var(--font-ui);
  font-size: var(--fs-12);
  letter-spacing: .14em;
  color: var(--grey);
}

.page-home .timeline__title {
  margin: 0 0 6px;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: var(--fs-21);
  line-height: 1.45;
  color: var(--ink);
}

.page-home .timeline__text {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-17);
  line-height: 1.9;
  color: var(--graphite);
}

.page-home .timeline__more {
  margin: 24px 0 0;
  font-family: var(--font-ui);
  font-size: var(--fs-14);
  line-height: 1.85;
  color: var(--grey);
}

.page-home .timeline__more a {
  color: var(--mint-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 收尾 ---------- */
.page-home .home-closing {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.page-home .home-closing::before {
  content: "";
  position: absolute;
  right: -90px;
  top: -90px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, .22), transparent 68%);
  pointer-events: none;
}

.page-home .home-closing__inner {
  position: relative;
  max-width: 66ch;
}

.page-home .home-closing h2 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(26px, 3.6vw, 44px);
  line-height: 1.22;
  letter-spacing: -.02em;
  color: var(--white);
}

.page-home .home-closing p {
  margin: 0 0 28px;
  font-family: var(--font-body);
  font-size: var(--fs-17);
  line-height: 1.95;
  color: rgba(255, 255, 255, .76);
}

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

/* ---------- 响应式 ---------- */
@media (min-width: 700px) {
  .page-home .flow-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 880px) {
  .page-home .material-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  .page-home .compare-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  }
}

@media (min-width: 940px) {
  .page-home .hero__grid {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr);
    gap: clamp(36px, 5vw, 72px);
  }

  .page-home .hero__shot img {
    aspect-ratio: 16 / 9;
  }

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

@media (max-width: 560px) {
  .page-home .ticker__ctrl {
    margin-left: 0;
  }

  .page-home .hero__stat {
    font-size: 11px;
  }

  .page-home .net-item {
    flex-direction: column;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .ticker__pulse,
  .page-home .rail-map__trail {
    animation: none;
  }

  .page-home .flow-item,
  .page-home .duo-card__face {
    transition: none;
  }
}
