/* ===== 首页 page-home ===== */
.page-home {
  --home-line: rgba(11, 31, 58, .12);
  --home-gap: clamp(1.5rem, 4vw, 3.25rem);
  background: var(--cloud);
  color: var(--body);
  overflow-x: hidden;
}

/* ---------- 首屏 ---------- */
.page-home .hero {
  position: relative;
  padding: clamp(1.75rem, 4vw, 3rem) 0 clamp(2.5rem, 6vw, 4.75rem);
  background:
    radial-gradient(110% 70% at 88% 4%, rgba(47, 111, 237, .20), transparent 62%),
    radial-gradient(80% 60% at 6% 32%, rgba(14, 159, 138, .14), transparent 66%),
    linear-gradient(180deg, #ffffff 0%, var(--cloud) 48%, var(--mist) 100%);
  overflow: hidden;
}

.page-home .hero::before {
  content: "";
  position: absolute;
  inset: 22% -12% -38% -12%;
  background: repeating-radial-gradient(ellipse at 50% 110%, rgba(47, 111, 237, .10) 0 1px, transparent 1px 30px);
  opacity: .8;
  pointer-events: none;
}

.page-home .hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--home-gap);
}

.page-home .hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 1rem;
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--flag);
}

.page-home .hero__kicker::before {
  content: "";
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: var(--flag);
  box-shadow: 0 0 0 4px rgba(234, 88, 12, .16);
}

.page-home .hero h1 {
  margin: 0 0 1.15rem;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.15rem, 6.2vw, 4.15rem);
  line-height: 1.06;
  letter-spacing: -.02em;
  color: var(--deep);
}

.page-home .hero h1 span {
  display: block;
  color: var(--sky);
}

.page-home .hero__lede {
  margin: 0;
  max-width: 34em;
  font-size: clamp(1rem, 1.6vw, 1.0625rem);
  line-height: 1.78;
  color: var(--body);
}

/* 路标式文字入口 */
.page-home .signs {
  list-style: none;
  margin: clamp(1.5rem, 3vw, 2.25rem) 0 0;
  padding: 0;
  display: grid;
  gap: .5rem;
}

.page-home .sign {
  display: grid;
  grid-template-columns: 2.2rem minmax(0, 1fr) auto;
  align-items: center;
  gap: .75rem;
  padding: .7rem .9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--home-line);
  background: rgba(255, 255, 255, .72);
  color: var(--deep);
  text-decoration: none;
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}

.page-home .sign:hover,
.page-home .sign:focus-visible {
  transform: translateX(4px);
  background: #fff;
  border-color: rgba(47, 111, 237, .45);
  box-shadow: var(--shadow);
  outline: none;
}

.page-home .sign__num {
  font-family: var(--font-mono);
  font-size: .9375rem;
  font-weight: 700;
  color: var(--sky);
  letter-spacing: .02em;
}

.page-home .sign__body {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  min-width: 0;
}

.page-home .sign__label {
  font-family: var(--font-head);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--deep);
}

.page-home .sign__desc {
  font-size: .8125rem;
  line-height: 1.5;
  color: var(--grey);
}

.page-home .sign__arrow {
  font-size: 1.05rem;
  color: var(--flag);
  transition: transform .25s var(--ease);
}

.page-home .sign:hover .sign__arrow {
  transform: translateX(4px);
}

/* 右侧悬浮卡片组 */
.page-home .hero__panel {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--deep);
  box-shadow: var(--shadow-lift);
  aspect-ratio: 4 / 5;
  min-height: 300px;
}

.page-home .hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-home .hero__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 31, 58, 0) 32%, rgba(11, 31, 58, .70) 100%);
  pointer-events: none;
}

.page-home .hero__cards {
  position: absolute;
  z-index: 2;
  inset: auto clamp(.7rem, 2vw, 1.1rem) clamp(.7rem, 2vw, 1.1rem);
  display: grid;
  gap: .5rem;
}

.page-home .hero-card {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  padding: .65rem .85rem;
  border-radius: 12px;
  border-left: 3px solid var(--sky);
  background: rgba(247, 250, 255, .95);
  color: var(--deep);
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(11, 31, 58, .18);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

.page-home .hero-card:nth-child(2) {
  border-left-color: var(--lake);
}

.page-home .hero-card:nth-child(3) {
  border-left-color: var(--flag);
}

.page-home .hero-card:hover,
.page-home .hero-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(11, 31, 58, .26);
  outline: none;
}

.page-home .hero-card__title {
  font-family: var(--font-head);
  font-size: .9375rem;
  font-weight: 700;
}

.page-home .hero-card__meta {
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .02em;
  color: var(--grey);
}

/* ---------- 章节通用 ---------- */
.page-home .section {
  padding: clamp(2.5rem, 6vw, 5rem) 0;
}

.page-home .section--mist {
  background: var(--mist);
}

.page-home .section--lake {
  background: var(--lake-soft);
}

.page-home .section--deep {
  position: relative;
  color: #e6eefb;
  background:
    radial-gradient(85% 70% at 12% 0%, rgba(14, 159, 138, .30), transparent 60%),
    radial-gradient(70% 80% at 100% 100%, rgba(47, 111, 237, .38), transparent 62%),
    var(--deep);
}

.page-home .section-head {
  display: grid;
  gap: .75rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.page-home .section-num {
  margin: 0;
  font-family: var(--font-mono);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: .95;
  letter-spacing: -.03em;
  color: var(--sky);
}

.page-home .section-title {
  margin: 0 0 .6rem;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1.16;
  letter-spacing: -.015em;
  color: var(--deep);
}

.page-home .section-desc {
  margin: 0;
  max-width: 46em;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--body);
}

.page-home .section--deep .section-num {
  color: var(--lake);
}

.page-home .section--deep .section-title {
  color: #ffffff;
}

.page-home .section--deep .section-desc {
  color: rgba(230, 238, 251, .82);
}

/* ---------- 01 两步导出订阅 ---------- */
.page-home .flow {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.page-home .flow__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.page-home .flow__step {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--home-line);
  box-shadow: 0 6px 18px rgba(11, 31, 58, .07);
}

.page-home .flow__step + .flow__step::before {
  content: "";
  position: absolute;
  left: 2.35rem;
  top: -1rem;
  width: 2px;
  height: 1rem;
  background: linear-gradient(180deg, rgba(47, 111, 237, .15), var(--sky));
}

.page-home .flow__num {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: var(--flag);
  background: var(--orange-soft);
}

.page-home .flow__title {
  margin: 0 0 .35rem;
  font-family: var(--font-head);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--deep);
}

.page-home .flow__text {
  margin: 0;
  font-size: .9375rem;
  line-height: 1.7;
  color: var(--grey);
}

.page-home .flow__media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--home-line);
  box-shadow: var(--shadow);
}

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

.page-home .flow__media figcaption {
  padding: .7rem 1rem;
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .02em;
  color: var(--grey);
  border-top: 1px solid var(--home-line);
}

/* ---------- 02 按目标选人群 ---------- */
.page-home .targets-section {
  background: var(--cloud);
}

.page-home .targets {
  display: grid;
  gap: .85rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
}

.page-home .target {
  position: relative;
  padding: 1.2rem 1.1rem 1.35rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--home-line);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}

.page-home .target::after {
  content: "";
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(90deg, var(--sky), var(--lake));
  opacity: 0;
  transition: opacity .25s var(--ease);
}

.page-home .target:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(47, 111, 237, .35);
}

.page-home .target:hover::after {
  opacity: 1;
}

.page-home .target__num {
  font-family: var(--font-mono);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--sky);
}

.page-home .target__title {
  margin: .5rem 0 .4rem;
  font-family: var(--font-head);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--deep);
}

.page-home .target__text {
  margin: 0;
  font-size: .875rem;
  line-height: 1.65;
  color: var(--grey);
}

/* ---------- 03 旧版本时间轴 ---------- */
.page-home .timeline {
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  padding-bottom: .9rem;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
}

.page-home .timeline__track {
  list-style: none;
  margin: 0;
  padding: .25rem 0;
  display: flex;
  gap: .85rem;
  min-width: min-content;
}

.page-home .timeline__node {
  flex: 0 0 auto;
  width: 212px;
  padding: 1rem;
  border-radius: var(--radius);
  background: rgba(247, 250, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  scroll-snap-align: start;
  transition: background .25s var(--ease), border-color .25s var(--ease);
}

.page-home .timeline__node:hover {
  background: rgba(247, 250, 255, .14);
  border-color: rgba(14, 159, 138, .55);
}

.page-home .timeline__node::before {
  content: "";
  display: block;
  width: 9px;
  height: 9px;
  margin-bottom: .8rem;
  border-radius: 50%;
  background: var(--lake);
  box-shadow: 0 0 0 4px rgba(14, 159, 138, .20);
}

.page-home .timeline__node:last-child::before {
  background: var(--flag);
  box-shadow: 0 0 0 4px rgba(234, 88, 12, .22);
}

.page-home .timeline__year {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  color: #ffffff;
}

.page-home .timeline__ver {
  display: block;
  margin-top: .45rem;
  font-family: var(--font-mono);
  font-size: .8125rem;
  letter-spacing: .06em;
  color: var(--lake);
}

.page-home .timeline__note {
  margin: .55rem 0 0;
  font-size: .8125rem;
  line-height: 1.62;
  color: rgba(230, 238, 251, .74);
}

.page-home .timeline__hint {
  margin: .35rem 0 0;
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .06em;
  color: rgba(230, 238, 251, .58);
}

.page-home .archive__media {
  margin: clamp(1.75rem, 4vw, 2.75rem) 0 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .28);
}

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

.page-home .archive__media figcaption {
  padding: .7rem 1rem;
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .02em;
  color: rgba(230, 238, 251, .70);
  background: rgba(255, 255, 255, .05);
  border-top: 1px solid rgba(255, 255, 255, .12);
}

/* ---------- 04 服务概览 ---------- */
.page-home .stats {
  display: grid;
  gap: .9rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
}

.page-home .stat {
  padding: 1.15rem 1.1rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid rgba(11, 31, 58, .08);
  box-shadow: 0 6px 18px rgba(11, 31, 58, .06);
}

.page-home .stat__num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(1.7rem, 3.2vw, 2.25rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--sky);
}

.page-home .stat__label {
  display: block;
  margin-top: .55rem;
  font-size: .875rem;
  line-height: 1.6;
  color: var(--grey);
}

.page-home .cadence {
  list-style: none;
  margin: clamp(1.5rem, 3vw, 2rem) 0 0;
  padding: 0;
  display: grid;
  gap: .6rem;
}

.page-home .cadence__item {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  padding: .9rem 1rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--lake);
  background: rgba(255, 255, 255, .70);
}

.page-home .cadence__k {
  font-family: var(--font-mono);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--deep);
}

.page-home .cadence__v {
  font-size: .875rem;
  color: var(--grey);
}

.page-home .overview__more {
  margin: clamp(1.5rem, 3vw, 2rem) 0 0;
  font-size: .9375rem;
  line-height: 1.8;
  color: var(--body);
}

.page-home .overview__more a {
  color: var(--sky);
  text-decoration: none;
  border-bottom: 1px solid rgba(47, 111, 237, .35);
  padding-bottom: 1px;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}

.page-home .overview__more a:hover,
.page-home .overview__more a:focus-visible {
  color: var(--flag);
  border-bottom-color: var(--flag);
  outline: none;
}

/* ---------- 断点 ---------- */
@media (min-width: 720px) {
  .page-home .cadence {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .page-home .section-head {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1.25rem 1.75rem;
    align-items: start;
  }
}

@media (min-width: 960px) {
  .page-home .hero__grid {
    grid-template-columns: 7fr 5fr;
    align-items: center;
  }

  .page-home .hero__panel {
    aspect-ratio: 4 / 3.4;
  }

  .page-home .flow {
    grid-template-columns: 6fr 6fr;
    align-items: start;
  }
}

@media (min-width: 1080px) {
  .page-home .cadence {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .page-home .sign {
    grid-template-columns: 1.9rem minmax(0, 1fr) auto;
    gap: .55rem;
    padding: .6rem .7rem;
  }

  .page-home .sign__desc {
    font-size: .75rem;
  }

  .page-home .flow__step {
    padding: 1rem;
    gap: .8rem;
  }

  .page-home .timeline__node {
    width: 190px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home *,
  .page-home *::before,
  .page-home *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}
