.page-home {
  --home-cut: clamp(14px, 2.4vw, 24px);
  --home-soft: #c9e4dc;
  --home-line-soft: rgba(42, 92, 78, 0.75);
  position: relative;
  overflow-x: hidden;
  background: var(--ink-800);
  color: var(--paper);
}

.page-home * {
  box-sizing: border-box;
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(104px, 15vh, 168px) 0 clamp(56px, 8vw, 96px);
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  clip-path: polygon(0 0, 100% 0, 100% 76%, 0 100%);
  background:
    radial-gradient(120% 92% at 88% 6%, rgba(255, 138, 61, 0.22) 0%, rgba(255, 138, 61, 0) 56%),
    radial-gradient(92% 82% at 10% 16%, rgba(53, 240, 206, 0.17) 0%, rgba(53, 240, 206, 0) 62%),
    linear-gradient(160deg, #07231b 0%, #051914 52%, #02100c 100%);
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  width: min(60%, 820px);
  height: 100%;
  pointer-events: none;
  clip-path: polygon(20% 0, 100% 0, 100% 72%, 0 100%);
  background: repeating-linear-gradient(
    116deg,
    rgba(53, 240, 206, 0.11) 0 2px,
    rgba(53, 240, 206, 0) 2px 36px
  );
}

.page-home .home-hero-grid {
  display: grid;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.page-home .breadcrumb-item a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.page-home .breadcrumb-item a:hover,
.page-home .breadcrumb-item a:focus-visible {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

.page-home .home-hero h1 {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(30px, 5.4vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.page-home .home-hero-lead {
  margin: 18px 0 0;
  max-width: 42ch;
  font-family: var(--font-body);
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.78;
  color: var(--home-soft);
}

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

.page-home .home-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 30px;
  margin: 32px 0 0;
  padding: 20px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.page-home .home-hero-stats li {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.page-home .home-hero-stats .mono {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(20px, 2.6vw, 26px);
  line-height: 1.1;
  color: var(--cyan);
}

.page-home .home-hero-stats li span:last-child {
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.page-home .home-hero-visual {
  position: relative;
}

.page-home .home-hero-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  clip-path: polygon(0 7%, 95% 0, 100% 87%, 7% 100%);
  border: 1px solid rgba(53, 240, 206, 0.22);
}

.page-home .home-version-card {
  position: relative;
  width: min(100%, 330px);
  margin: -48px 0 0 auto;
  padding: 18px 20px 20px;
  background: linear-gradient(152deg, rgba(11, 43, 35, 0.97), rgba(4, 21, 17, 0.97));
  border: 1px solid rgba(53, 240, 206, 0.36);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

.page-home .home-version-tag {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--orange);
}

.page-home .home-version-text {
  margin: 9px 0 14px;
  font-size: 14px;
  line-height: 1.72;
  color: var(--home-soft);
}

.page-home .home-version-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(53, 240, 206, 0.4);
}

.page-home .home-version-link:hover,
.page-home .home-version-link:focus-visible {
  color: var(--cyan-soft);
  border-bottom-color: var(--cyan-soft);
}

/* ---------- 通用小节 ---------- */
.page-home .home-section-lead {
  margin: 12px 0 0;
  max-width: 58ch;
  font-size: 15px;
  line-height: 1.78;
  color: var(--muted);
}

/* ---------- 版本对照 ---------- */
.page-home .home-compare-grid {
  display: grid;
  gap: clamp(20px, 3vw, 36px);
  margin-top: clamp(24px, 4vw, 40px);
}

.page-home .home-compare-media {
  margin: 0;
}

.page-home .home-compare-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 7;
  object-fit: cover;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

.page-home .home-compare-media figcaption {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}

.page-home .home-compare-table {
  display: grid;
  gap: 10px;
  align-content: start;
}

.page-home .home-compare-row {
  display: grid;
  gap: 6px;
  padding: 15px 16px;
  background: rgba(11, 43, 35, 0.62);
  border-left: 2px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
}

.page-home .home-compare-row--head {
  display: none;
}

.page-home .home-compare-key {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--paper);
}

.page-home .home-compare-old {
  font-size: 13.5px;
  line-height: 1.68;
  color: var(--muted);
}

.page-home .home-compare-new {
  font-size: 13.5px;
  line-height: 1.68;
  color: var(--cyan);
}

.page-home .home-compare-row:not(.home-compare-row--head) {
  border-left-color: var(--orange);
}

.page-home .home-compare-row:not(.home-compare-row--head):last-child {
  border-left-color: var(--cyan);
}

/* ---------- 交锋速览 ---------- */
.page-home .home-timeline {
  position: relative;
  isolation: isolate;
}

.page-home .home-timeline-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.14;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 26%, #000 74%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 26%, #000 74%, transparent 100%);
}

.page-home .home-nodes {
  display: flex;
  gap: 16px;
  margin: clamp(24px, 4vw, 36px) 0 0;
  padding: 2px 2px 20px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.page-home .home-node {
  flex: 0 0 min(82vw, 300px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 20px 22px;
  background: linear-gradient(172deg, rgba(11, 43, 35, 0.94) 0%, rgba(4, 21, 17, 0.94) 100%);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

.page-home .home-node-season {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--orange-soft);
}

.page-home .home-node h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.4;
  color: var(--paper);
}

.page-home .home-node-fields {
  display: grid;
  gap: 8px;
  margin: 0;
}

.page-home .home-node-fields > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 7px;
  border-bottom: 1px dashed var(--home-line-soft);
}

.page-home .home-node-fields > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.page-home .home-node-fields dt {
  font-size: 12.5px;
  color: var(--muted);
  white-space: nowrap;
}

.page-home .home-node-fields dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  text-align: right;
  color: var(--home-soft);
}

/* ---------- 数据产品 ---------- */
.page-home .home-products .filter-bar {
  margin-top: clamp(20px, 3vw, 28px);
}

.page-home .home-product-grid {
  display: grid;
  gap: var(--gap);
  margin-top: clamp(20px, 3vw, 28px);
}

.page-home .home-product-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 22px 24px;
  background:
    linear-gradient(168deg, rgba(11, 43, 35, 0.96) 0%, rgba(4, 21, 17, 0.96) 68%, rgba(53, 240, 206, 0.09) 100%);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

.page-home .home-product-card--lead {
  border-color: rgba(53, 240, 206, 0.45);
  padding-bottom: 30px;
}

.page-home .home-card-kicker {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--orange);
}

.page-home .home-product-card h3,
.page-home .home-split-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(18px, 2.2vw, 21px);
  line-height: 1.35;
  color: var(--paper);
}

.page-home .home-product-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.78;
  color: var(--home-soft);
}

.page-home .home-card-link {
  margin-top: 4px;
  align-self: flex-start;
  font-size: 13px;
  font-weight: 700;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(53, 240, 206, 0.4);
}

.page-home .home-card-link:hover,
.page-home .home-card-link:focus-visible {
  color: var(--cyan-soft);
  border-bottom-color: var(--cyan-soft);
}

.page-home .home-product-media {
  margin-top: var(--gap);
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
}

.page-home .home-product-media img {
  display: block;
  width: 100%;
  height: clamp(96px, 15vw, 148px);
  object-fit: cover;
  opacity: 0.6;
}

/* ---------- 故事与答疑 ---------- */
.page-home .home-split-grid {
  display: grid;
  gap: var(--gap);
  margin-top: clamp(20px, 3vw, 30px);
}

.page-home .home-split-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(22px, 3vw, 34px);
  text-decoration: none;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(11, 43, 35, 0.78) 0%, rgba(4, 21, 17, 0.86) 100%);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.page-home .home-split-card--story {
  border-top: 3px solid var(--cyan);
}

.page-home .home-split-card--answer {
  border-top: 3px solid var(--orange);
}

.page-home .home-split-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.78;
  color: var(--home-soft);
}

.page-home .home-split-go {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--cyan);
}

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

.page-home .home-split-card--answer:hover,
.page-home .home-split-card--answer:focus-visible {
  border-color: var(--orange);
}

/* ---------- 服务时段 ---------- */
.page-home .home-hours-bar {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: clamp(24px, 3.4vw, 38px);
  border: 1px solid var(--line);
  background:
    radial-gradient(90% 160% at 4% 0%, rgba(53, 240, 206, 0.18) 0%, rgba(53, 240, 206, 0) 62%),
    radial-gradient(90% 160% at 100% 100%, rgba(255, 138, 61, 0.18) 0%, rgba(255, 138, 61, 0) 60%),
    linear-gradient(120deg, rgba(11, 43, 35, 0.92) 0%, rgba(4, 21, 17, 0.94) 100%);
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 26px 100%, 0 calc(100% - 26px));
}

.page-home .home-hours-bar h2 {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(20px, 3vw, 28px);
  line-height: 1.34;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.page-home .home-hours-text {
  margin: 12px 0 0;
  max-width: 56ch;
  font-size: 14px;
  line-height: 1.78;
  color: var(--home-soft);
}

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

/* ---------- 悬浮快捷胶囊 ---------- */
.page-home .home-quick {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-900);
  text-decoration: none;
  background: linear-gradient(120deg, var(--cyan) 0%, var(--cyan-soft) 100%);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  filter: drop-shadow(0 10px 18px rgba(2, 16, 12, 0.58));
}

.page-home .home-quick .mono {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  padding-right: 8px;
  border-right: 1px solid rgba(2, 16, 12, 0.32);
}

.page-home .home-quick:hover,
.page-home .home-quick:focus-visible {
  background: linear-gradient(120deg, var(--cyan-soft) 0%, var(--cyan) 100%);
}

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

@media (min-width: 720px) {
  .page-home .home-compare-row {
    grid-template-columns: 110px minmax(0, 1fr) minmax(0, 1.12fr);
    gap: 16px;
    align-items: baseline;
    padding: 16px 18px;
  }

  .page-home .home-compare-row--head {
    display: grid;
    background: none;
    border-left-color: transparent;
    padding-bottom: 4px;
    font-size: 11.5px;
    letter-spacing: 0.12em;
    color: var(--muted);
  }
}

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

  .page-home .home-hours-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
  }
}

@media (min-width: 900px) {
  .page-home .home-compare-grid {
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
    align-items: start;
  }
}

@media (min-width: 960px) {
  .page-home .home-hero-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  }

  .page-home .home-version-card {
    position: absolute;
    right: -6px;
    bottom: -26px;
    margin: 0;
  }

  .page-home .home-quick {
    right: 28px;
    bottom: 28px;
  }
}

@media (min-width: 1080px) {
  .page-home .home-product-grid {
    grid-template-columns: 1.22fr 1fr 1fr;
    align-items: start;
  }

  .page-home .home-node {
    flex-basis: min(23%, 300px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-split-card,
  .page-home .home-card-link,
  .page-home .home-version-link,
  .page-home .breadcrumb-item a {
    transition: none;
  }

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