.page-home {
  --home-line: 1px solid var(--grid-line);
  --home-soft: #4a666f;
  position: relative;
  padding-bottom: clamp(36px, 6vw, 88px);
  background:
    radial-gradient(120% 55% at 100% 0%, rgba(217, 238, 240, 0.9) 0%, rgba(247, 250, 249, 0) 62%),
    linear-gradient(180deg, var(--cloud) 0%, #f2f8f7 52%, var(--cloud) 100%);
}

.page-home img {
  display: block;
  max-width: 100%;
  height: auto;
}

.page-home [id] {
  scroll-margin-top: 112px;
}

/* ---------- 骨架：左侧品牌轨道 + 右侧内容流 ---------- */
.page-home .home-frame {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(16px, 3vw, 36px);
  padding-top: clamp(14px, 3vw, 32px);
}

.page-home .home-stream {
  display: grid;
  gap: clamp(38px, 6vw, 78px);
  min-width: 0;
}

/* ---------- 左侧品牌轨道 ---------- */
.page-home .home-rail {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px 14px;
  padding: 12px 14px;
  border: var(--home-line);
  border-left: 3px solid var(--teal);
  background: linear-gradient(180deg, #ffffff 0%, var(--cloud) 100%);
}

.page-home .rail-mark {
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.page-home .rail-mark .mono {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--signal);
}

.page-home .rail-word {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.08em;
  color: var(--teal);
  white-space: nowrap;
}

.page-home .rail-ticks {
  display: none;
  height: 34px;
  background-image: repeating-linear-gradient(90deg, var(--snow-deep) 0 1px, transparent 1px 8px);
  background-repeat: repeat-x;
  opacity: 0.75;
}

.page-home .rail-index {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  counter-reset: rail;
}

.page-home .rail-index::-webkit-scrollbar {
  display: none;
}

.page-home .rail-index li {
  counter-increment: rail;
  flex: 0 0 auto;
}

.page-home .rail-index a {
  display: block;
  padding: 6px 8px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.page-home .rail-index a:hover {
  background: var(--snow);
  color: var(--teal);
}

.page-home .rail-index a[aria-current="true"] {
  color: var(--teal);
  background: var(--snow);
  border-bottom-color: var(--signal);
}

/* ---------- 通用栏目头 ---------- */
.page-home .sec-head {
  display: grid;
  gap: 10px;
  margin-bottom: clamp(16px, 3vw, 28px);
  max-width: 46em;
}

.page-home .sec-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(22px, 3.1vw, 34px);
  line-height: 1.28;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.page-home .sec-head .lede {
  margin: 0;
  font-size: clamp(15px, 1.6vw, 16px);
  line-height: 1.8;
  color: var(--home-soft);
}

/* ---------- 首屏框景 ---------- */
.page-home .hero-frame {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border: var(--home-line);
  background: #ffffff;
  overflow: hidden;
  isolation: isolate;
}

.page-home .hero-frame::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 9px;
  background-image: repeating-linear-gradient(90deg, var(--snow-deep) 0 1px, transparent 1px 11px);
  opacity: 0.65;
  pointer-events: none;
  z-index: 4;
}

.page-home .hero-inner {
  order: 1;
  position: relative;
  z-index: 2;
  padding: clamp(30px, 5vw, 48px) clamp(18px, 3vw, 44px) clamp(20px, 3vw, 34px);
}

.page-home .hero-title {
  margin: 12px 0 0;
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(27px, 6vw, 52px);
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.page-home .hero-lede {
  margin: 16px 0 0;
  max-width: 34em;
  font-size: clamp(15px, 1.7vw, 17px);
  line-height: 1.8;
  color: var(--home-soft);
}

.page-home .hero-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-home .hero-media {
  order: 2;
  margin: 0;
  position: relative;
  overflow: hidden;
  border-top: var(--home-line);
}

.page-home .hero-media img {
  width: 100%;
  height: 100%;
  max-height: 280px;
  object-fit: cover;
}

.page-home .hero-status {
  order: 3;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: var(--home-line);
  background: linear-gradient(100deg, rgba(217, 238, 240, 0.94) 0%, rgba(231, 210, 178, 0.62) 58%, rgba(247, 250, 249, 0.96) 100%);
}

.page-home .status-cell {
  min-width: 0;
  padding: 12px 14px 14px;
  border-bottom: 1px solid rgba(199, 214, 216, 0.75);
}

.page-home .status-cell:nth-child(2n) {
  border-right: none;
}

.page-home .status-key {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--home-soft);
}

.page-home .status-value {
  display: block;
  font-family: var(--mono);
  font-size: clamp(16px, 2.2vw, 21px);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--teal);
}

.page-home .status-cell--key .status-value {
  color: var(--signal);
}

/* ---------- 移动端路径 ---------- */
.page-home .path-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(20px, 3vw, 38px);
}

.page-home .path-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: var(--home-line);
}

.page-home .path-steps > li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  padding: 18px 0 20px;
  border-bottom: var(--home-line);
}

.page-home .step-no {
  font-family: var(--mono);
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--data);
}

.page-home .path-steps > li:first-child .step-no {
  color: var(--signal);
}

.page-home .step-body {
  min-width: 0;
}

.page-home .step-title {
  margin: 0;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.4;
  color: var(--ink);
}

.page-home .step-text {
  margin: 6px 0 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--home-soft);
}

.page-home .path-copy {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px dashed var(--snow-deep);
  background: rgba(217, 238, 240, 0.45);
}

.page-home .path-copy .mono {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--teal);
}

.page-home .path-figure {
  margin: 0;
  padding: 8px;
  border: var(--home-line);
  background: #ffffff;
}

.page-home .path-figure img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
}

.page-home .path-figure figcaption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--home-soft);
}

/* ---------- 关注列表 ---------- */
.page-home .watch-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(18px, 3vw, 32px);
}

.page-home .watch-figure {
  margin: 0;
  padding: 8px;
  border: var(--home-line);
  background: #ffffff;
}

.page-home .watch-figure img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
}

.page-home .watch-intro {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--home-soft);
}

.page-home .watch-tags {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1px;
  background: var(--grid-line);
  border: var(--home-line);
}

.page-home .watch-tag {
  background: #ffffff;
  padding: 12px 14px;
  transition: background 0.2s ease;
}

.page-home .watch-tag:hover {
  background: var(--snow);
}

.page-home .watch-kind {
  display: block;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--data);
}

.page-home .watch-note {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--home-soft);
}

.page-home .watch-cta {
  margin-top: 18px;
}

/* ---------- 资料区 ---------- */
.page-home .files-frame {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(127, 191, 199, 0.45);
  background: linear-gradient(135deg, var(--teal) 0%, var(--ink) 64%, #0b3843 100%);
}

.page-home .files-tex {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.24;
}

.page-home .files-frame::after {
  content: "";
  position: absolute;
  top: -30%;
  right: -12%;
  z-index: 1;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(240, 90, 36, 0.36) 0%, rgba(30, 99, 233, 0.22) 46%, rgba(14, 76, 87, 0) 72%);
  pointer-events: none;
}

.page-home .files-body {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 16px;
  max-width: 660px;
  padding: clamp(22px, 4vw, 48px);
}

.page-home .files-eyebrow {
  color: var(--sand);
}

.page-home .files-body h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(22px, 3.2vw, 36px);
  line-height: 1.26;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.page-home .files-body p {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(247, 250, 249, 0.84);
}

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

.page-home .files-facts li {
  padding-left: 10px;
  border-left: 2px solid var(--signal);
  font-size: 13px;
  line-height: 1.5;
  color: rgba(247, 250, 249, 0.78);
}

.page-home .files-facts .mono {
  display: block;
  margin-bottom: 2px;
  font-family: var(--mono);
  font-size: clamp(18px, 2.4vw, 24px);
  color: #ffffff;
}

.page-home .files-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.page-home .files-hint {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(247, 250, 249, 0.66);
}

/* ---------- 内容中心栏目索引 ---------- */
.page-home .center-index {
  list-style: none;
  margin: 0;
  padding: 1px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  background: var(--grid-line);
  border: var(--home-line);
}

.page-home .center-index li {
  min-width: 0;
}

.page-home .center-index a {
  display: grid;
  gap: 5px;
  height: 100%;
  padding: 16px 15px;
  background: #ffffff;
  text-decoration: none;
  transition: background 0.2s ease;
}

.page-home .center-index a:hover {
  background: var(--snow);
}

.page-home .center-no {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--snow-deep);
}

.page-home .center-name {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4;
  color: var(--ink);
}

.page-home .center-desc {
  font-size: 13px;
  line-height: 1.65;
  color: var(--home-soft);
}

/* ---------- 品牌与服务 ---------- */
.page-home .trust-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(16px, 2.6vw, 28px);
}

.page-home .trust-region {
  position: relative;
  overflow: hidden;
  padding: clamp(18px, 3vw, 28px);
  border: var(--home-line);
  background: linear-gradient(160deg, var(--sand) 0%, #f2e6d2 58%, var(--cloud) 100%);
}

.page-home .trust-region::after {
  content: "";
  position: absolute;
  right: -46px;
  bottom: -52px;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(169, 121, 72, 0.38);
  transform: rotate(45deg);
  pointer-events: none;
}

.page-home .region-code {
  margin: 0;
  font-family: var(--mono);
  font-size: clamp(26px, 4.4vw, 40px);
  letter-spacing: 0.06em;
  color: var(--sand-deep);
}

.page-home .region-copy {
  margin: 10px 0 0;
  max-width: 26em;
  font-size: 15px;
  line-height: 1.8;
  color: #4a3a29;
}

.page-home .region-icp {
  position: relative;
  margin: 16px 0 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--sand-deep);
}

.page-home .trust-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--grid-line);
  border: var(--home-line);
}

.page-home .stat-cell {
  min-width: 0;
  padding: 16px 14px;
  background: #ffffff;
}

.page-home .stat-num {
  display: block;
  font-family: var(--mono);
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: -0.02em;
  color: var(--data);
}

.page-home .stat-label {
  display: block;
  margin-top: 5px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--home-soft);
}

.page-home .trust-extra {
  margin: clamp(14px, 2.4vw, 22px) 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--home-soft);
}

.page-home .trust-contact {
  margin-top: clamp(14px, 2.4vw, 22px);
  padding-top: 16px;
  border-top: var(--home-line);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.page-home .contact-item {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--home-soft);
}

.page-home .contact-item .mono {
  display: block;
  margin-top: 3px;
  font-family: var(--mono);
  font-size: 14px;
  color: var(--ink);
  word-break: break-word;
}

/* ---------- 最新动态 ---------- */
.page-home .news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: var(--home-line);
}

.page-home .news-list li {
  border-bottom: var(--home-line);
}

.page-home .news-list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 16px;
  padding: 14px 4px;
  text-decoration: none;
  transition: background 0.18s ease;
}

.page-home .news-list a:hover {
  background: rgba(217, 238, 240, 0.55);
}

.page-home .news-tag {
  grid-column: 1;
  grid-row: 1;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--signal);
}

.page-home .news-title {
  grid-column: 1;
  grid-row: 2;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
}

.page-home .news-when {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  font-family: var(--mono);
  font-size: 12px;
  white-space: nowrap;
  color: var(--home-soft);
}

.page-home .latest-actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

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

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

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

  .page-home .status-cell {
    border-bottom: none;
    border-right: 1px solid rgba(199, 214, 216, 0.75);
  }

  .page-home .status-cell:last-child {
    border-right: none;
  }

  .page-home .files-facts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .page-home .home-frame {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: clamp(26px, 3vw, 48px);
    align-items: start;
  }

  .page-home .home-rail {
    position: sticky;
    top: 92px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 16px 12px;
  }

  .page-home .rail-mark {
    justify-content: flex-start;
  }

  .page-home .rail-ticks {
    display: block;
    width: 100%;
  }

  .page-home .rail-index {
    flex-direction: column;
    overflow: visible;
    gap: 2px;
  }

  .page-home .rail-index a {
    white-space: normal;
    font-size: 13px;
    padding: 6px 6px;
  }

  .page-home .rail-index a::before {
    content: counter(rail, decimal-leading-zero);
    margin-right: 5px;
    font-family: var(--mono);
    font-size: 10px;
    color: var(--snow-deep);
  }

  .page-home .hero-frame {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  }

  .page-home .hero-inner {
    order: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .page-home .hero-media {
    order: 2;
    height: 100%;
    border-top: none;
    border-left: var(--home-line);
  }

  .page-home .hero-media img {
    height: 100%;
    max-height: none;
    min-height: 400px;
    object-fit: cover;
  }

  .page-home .hero-status {
    order: 3;
    grid-column: 1 / -1;
  }

  .page-home .path-layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: start;
  }

  .page-home .watch-grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: start;
  }

  .page-home .trust-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
  }
}

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

@media (hover: hover) and (min-width: 1019px) {
  .page-home .watch-note {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.28s ease, opacity 0.28s ease;
  }

  .page-home .watch-tag:hover .watch-note,
  .page-home .watch-tag:focus-within .watch-note {
    max-height: 96px;
    opacity: 1;
  }
}

@media (max-width: 430px) {
  .page-home .news-list a {
    grid-template-columns: minmax(0, 1fr);
    gap: 3px;
  }

  .page-home .news-when {
    grid-column: 1;
    grid-row: 3;
    justify-self: start;
    margin-top: 2px;
  }

  .page-home .path-steps > li {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .watch-note,
  .page-home .rail-index a,
  .page-home .center-index a,
  .page-home .news-list a {
    transition: none;
  }
}
