.page-home {
  display: block;
}

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

.page-home .btn-arrow {
  display: inline-block;
  transition: transform 0.18s ease;
}

/* ---------- 首屏 ---------- */
.page-home .hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(70px, 12vw, 148px) 0 clamp(52px, 8vw, 96px);
  color: var(--paper);
  background:
    radial-gradient(115% 85% at 82% 6%, rgba(70, 201, 188, 0.28), transparent 58%),
    radial-gradient(90% 80% at 8% 96%, rgba(31, 90, 120, 0.62), transparent 62%),
    linear-gradient(158deg, var(--ink) 0%, var(--ink-3) 52%, var(--ink) 100%);
}

.page-home .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(227, 237, 242, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(227, 237, 242, 0.07) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 88%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 88%);
}

.page-home .hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.page-home .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.page-home .hero-inner {
  position: relative;
  z-index: 1;
}

.page-home .hero-context {
  position: relative;
  margin: 0 0 20px;
  padding-left: 28px;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--aurora-bright);
}

.page-home .hero-context::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 18px;
  height: 1px;
  background: var(--aurora-bright);
}

.page-home .hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 8.4vw, 5.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  max-width: 14em;
}

.page-home .hero-lede {
  margin: 0 0 40px;
  max-width: 36em;
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  line-height: 1.9;
  color: rgba(244, 241, 234, 0.82);
}

.page-home .hero-meta {
  display: grid;
  gap: 24px;
  padding-top: 30px;
  border-top: 1px solid rgba(227, 237, 242, 0.16);
}

.page-home .hero-version {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px 14px;
}

.page-home .hero-version-num {
  font-family: var(--font-num);
  font-weight: 800;
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.page-home .hero-version-note {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: rgba(244, 241, 234, 0.62);
}

.page-home .hero-facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}

.page-home .hero-facts li {
  padding: 7px 15px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(70, 201, 188, 0.3);
  background: rgba(70, 201, 188, 0.09);
  font-size: 13px;
  line-height: 1.6;
  color: rgba(244, 241, 234, 0.88);
}

@media (min-width: 800px) {
  .page-home .hero-meta {
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 48px;
  }
}

/* ---------- 双入口 ---------- */
.page-home .entry-section {
  background: var(--paper);
}

.page-home .entry-split {
  display: grid;
  gap: var(--gap);
  margin-top: clamp(28px, 4vw, 46px);
}

@media (min-width: 880px) {
  .page-home .entry-split {
    grid-template-columns: 1.15fr 1fr;
    align-items: stretch;
  }
}

.page-home .entry-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: clamp(22px, 3vw, 34px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--fog);
  transition: border-color 0.24s ease, box-shadow 0.24s ease;
}

.page-home .entry-card:hover,
.page-home .entry-card:focus-within {
  border-color: var(--aurora);
  box-shadow: 0 16px 40px rgba(14, 27, 36, 0.1);
}

.page-home .entry-card--alt {
  background: var(--paper);
}

.page-home .entry-figure {
  flex: none;
  width: 96px;
  height: 96px;
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(150deg, var(--ink-3), var(--glacier));
}

.page-home .entry-figure--alt {
  background: linear-gradient(150deg, var(--glacier), var(--aurora-deep));
}

.page-home .entry-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .entry-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  line-height: 1.4;
  margin: 0;
  color: var(--ink);
}

.page-home .entry-text {
  margin: 0;
  max-width: 34em;
  font-size: 15.5px;
  line-height: 1.85;
  color: #3c4b52;
}

.page-home .entry-card .btn {
  margin-top: auto;
}

/* ---------- 导航梳理时间线 ---------- */
.page-home .trail-section {
  background: var(--fog);
}

.page-home .trail {
  list-style: none;
  margin: clamp(30px, 4vw, 48px) 0 0;
  padding: 0;
  display: grid;
  gap: 30px;
}

.page-home .trail-item {
  position: relative;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.page-home .trail-item::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--aurora);
}

.page-home .trail-num {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-num);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--stone);
  font-variant-numeric: tabular-nums;
}

.page-home .trail-title-sm {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.14rem;
  line-height: 1.45;
  margin: 0 0 10px;
  color: var(--ink);
}

.page-home .trail-text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: #47565d;
}

@media (min-width: 780px) {
  .page-home .trail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px;
  }
}

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

.page-home .trail-media {
  margin: clamp(34px, 5vw, 56px) 0 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(120deg, var(--ink), var(--glacier));
}

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

/* ---------- 服务清单与指南 ---------- */
.page-home .duo-section {
  background: var(--paper);
}

.page-home .duo-grid {
  display: grid;
  gap: var(--gap);
  margin-top: clamp(26px, 3.5vw, 42px);
}

@media (min-width: 820px) {
  .page-home .duo-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.page-home .duo-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--paper);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.22s ease, transform 0.22s ease;
}

.page-home .duo-card:hover,
.page-home .duo-card:focus-visible {
  border-color: var(--aurora);
  transform: translateY(-3px);
}

.page-home .duo-card--accent {
  background: linear-gradient(152deg, var(--ink-2), var(--glacier));
  border-color: transparent;
  color: var(--paper);
}

.page-home .duo-index {
  margin: 0;
  font-family: var(--font-num);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--gold-ink);
}

.page-home .duo-card--accent .duo-index {
  color: var(--gold);
}

.page-home .duo-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.28rem, 2.3vw, 1.6rem);
  line-height: 1.38;
  margin: 0;
}

.page-home .duo-text {
  margin: 0;
  max-width: 34em;
  font-size: 15px;
  line-height: 1.85;
  color: #3c4b52;
}

.page-home .duo-card--accent .duo-text {
  color: rgba(244, 241, 234, 0.82);
}

.page-home .duo-more {
  margin-top: auto;
  padding-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  color: var(--aurora-deep);
}

.page-home .duo-card--accent .duo-more {
  color: var(--aurora-bright);
}

.page-home .duo-card:hover .btn-arrow {
  transform: translateX(4px);
}

/* ---------- 修订记录 ---------- */
.page-home .rev-section {
  background: var(--fog);
}

.page-home .rev-list {
  margin-top: clamp(26px, 4vw, 42px);
  border-top: 1px solid var(--line);
}

.page-home .rev-row {
  border-bottom: 1px solid var(--line);
}

.page-home .rev-sum {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding: 17px 2px;
  list-style: none;
  cursor: pointer;
}

.page-home .rev-sum::-webkit-details-marker {
  display: none;
}

.page-home .rev-sum::after {
  content: "+";
  margin-left: 2px;
  font-family: var(--font-num);
  font-size: 18px;
  line-height: 1;
  color: var(--aurora-deep);
}

.page-home .rev-row[open] .rev-sum::after {
  content: "−";
}

.page-home .rev-title {
  flex: 1 1 200px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  transition: color 0.18s ease;
}

.page-home .rev-row:hover .rev-title {
  color: var(--glacier);
}

.page-home .rev-time {
  margin-left: auto;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--stone);
  white-space: nowrap;
}

.page-home .rev-body {
  padding: 0 2px 22px;
  max-width: 46em;
  font-size: 14.5px;
  line-height: 1.85;
  color: #47565d;
}

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

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

.page-home .link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--glacier);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.page-home .link-more:hover,
.page-home .link-more:focus-visible {
  color: var(--aurora-deep);
  border-bottom-color: var(--aurora);
}

.page-home .link-more:hover .btn-arrow {
  transform: translateX(4px);
}

/* ---------- 分类速览 ---------- */
.page-home .cat-section {
  background: var(--paper);
}

.page-home .cat-grid {
  list-style: none;
  margin: clamp(26px, 4vw, 42px) 0 clamp(30px, 4vw, 44px);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

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

.page-home .cat-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 18px 22px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--paper);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.page-home .cat-item:hover {
  border-color: var(--aurora);
  background: var(--fog);
}

.page-home .cat-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.page-home .cat-count {
  font-family: var(--font-num);
  font-weight: 800;
  font-size: clamp(28px, 6vw, 34px);
  line-height: 1;
  color: var(--glacier);
  font-variant-numeric: tabular-nums;
}

.page-home .cat-note {
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--stone);
}

/* ---------- 收束区 ---------- */
.page-home .cta-section {
  background:
    radial-gradient(120% 100% at 86% 4%, rgba(47, 167, 155, 0.26), transparent 62%),
    linear-gradient(150deg, var(--ink) 0%, var(--ink-2) 100%);
  color: var(--paper);
}

.page-home .cta-split {
  display: grid;
  gap: clamp(34px, 5vw, 58px);
}

@media (min-width: 900px) {
  .page-home .cta-split {
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
  }
}

.page-home .cta-copy .eyebrow {
  color: var(--aurora-bright);
}

.page-home .cta-copy .section-title {
  color: var(--paper);
}

.page-home .cta-copy .lede {
  max-width: 34em;
  color: rgba(244, 241, 234, 0.8);
}

.page-home .cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.page-home .stat-band {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 18px;
}

.page-home .stat-band li {
  padding-left: 16px;
  border-left: 1px solid rgba(70, 201, 188, 0.36);
}

.page-home .stat-num {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-num);
  font-weight: 800;
  font-size: clamp(1.85rem, 4.4vw, 2.6rem);
  line-height: 1;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.page-home .stat-label {
  display: block;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(244, 241, 234, 0.76);
}

@media (prefers-reduced-motion: reduce) {
  .page-home .entry-card,
  .page-home .duo-card,
  .page-home .cat-item,
  .page-home .btn-arrow,
  .page-home .link-more,
  .page-home .rev-title {
    transition: none;
  }

  .page-home .duo-card:hover,
  .page-home .duo-card:focus-visible {
    transform: none;
  }
}
