.page-home {
  --hm-gap: clamp(48px, 7vw, 104px);
  --hm-glow: 0 0 0 1px rgba(23, 224, 176, 0.45), 0 0 30px rgba(23, 224, 176, 0.16);
  color: var(--oy-ink);
  padding-bottom: clamp(40px, 6vw, 80px);
}

/* ---------- 首屏 ---------- */
.page-home .hm-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(36px, 6vw, 88px) 0 clamp(44px, 6vw, 84px);
  border-bottom: 1px solid var(--oy-line-soft);
}

.page-home .hm-hero::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto -10%;
  height: 130%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(58% 55% at 10% 8%, rgba(23, 224, 176, 0.18), transparent 70%),
    radial-gradient(46% 48% at 92% 2%, rgba(242, 180, 87, 0.16), transparent 72%),
    linear-gradient(180deg, rgba(15, 50, 71, 0.72), transparent 78%);
}

.page-home .hm-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  background-image: repeating-linear-gradient(180deg, rgba(201, 216, 228, 0.05) 0 1px, transparent 1px 4px);
}

.page-home .hm-hero__inner {
  display: grid;
  gap: clamp(30px, 5vw, 56px);
  align-items: start;
}

.page-home .hm-hero__ctx {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: var(--oy-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--oy-muted);
  text-transform: uppercase;
}

.page-home .hm-hero__dot {
  width: 7px;
  height: 7px;
  background: var(--oy-neon);
  box-shadow: 0 0 12px rgba(23, 224, 176, 0.7);
  animation: hm-pulse 2.4s ease-in-out infinite;
}

@keyframes hm-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.page-home .hm-hero__title {
  margin: 18px 0 0;
  font-family: var(--oy-sans);
  font-weight: 900;
  font-size: clamp(34px, 6.4vw, 74px);
  line-height: 1.03;
  letter-spacing: -0.02em;
  color: var(--oy-ink);
  text-wrap: balance;
}

.page-home .hm-hero__mark {
  display: inline-block;
  margin-left: 0.12em;
  padding: 0 0.2em 0.08em;
  color: var(--oy-deep);
  background: linear-gradient(96deg, var(--oy-neon) 0%, var(--oy-neon-soft) 56%, var(--oy-gold) 100%);
  clip-path: polygon(0 0, 100% 0, 100% 74%, 94% 100%, 0 100%);
}

.page-home .hm-hero__lead {
  margin: 22px 0 0;
  max-width: 34em;
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.8;
  color: var(--oy-muted);
}

.page-home .hm-hero__routes {
  list-style: none;
  margin: clamp(28px, 4vw, 42px) 0 0;
  padding: 0;
  border-top: 1px solid var(--oy-line);
}

.page-home .hm-route {
  display: flex;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--oy-line-soft);
  transition: transform 0.24s ease;
}

.page-home .hm-route:hover {
  transform: translateX(4px);
}

.page-home .hm-route__num {
  flex: 0 0 42px;
  padding-top: 3px;
  font-family: var(--oy-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--oy-gold);
}

.page-home .hm-route__body {
  min-width: 0;
}

.page-home .hm-route__link {
  display: inline-block;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--oy-ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.page-home .hm-route__link:hover,
.page-home .hm-route__link:focus-visible {
  color: var(--oy-neon);
  border-bottom-color: var(--oy-neon);
}

.page-home .hm-route__desc {
  margin: 5px 0 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--oy-muted);
}

.page-home .hm-hero__media {
  margin: 0;
  position: relative;
  overflow: hidden;
  background: var(--oy-layer);
  border: 1px solid var(--oy-line);
  clip-path: polygon(0 0, 100% 0, 100% 93%, 93% 100%, 0 100%);
  box-shadow: inset 0 0 0 1px rgba(23, 224, 176, 0.18);
}

.page-home .hm-hero__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.04);
}

.page-home .hm-hero__caption {
  padding: 10px 14px;
  border-top: 1px solid var(--oy-line-soft);
  background: var(--oy-raise);
  font-family: var(--oy-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--oy-muted);
}

@media (min-width: 980px) {
  .page-home .hm-hero__inner {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: end;
    gap: clamp(40px, 5vw, 72px);
  }
}

/* ---------- 色带 ---------- */
.page-home .hm-band {
  height: 4px;
  margin: clamp(8px, 2vw, 18px) 0;
  background: linear-gradient(
    90deg,
    var(--oy-neon) 0 24%,
    var(--oy-gold) 24% 46%,
    var(--oy-signal) 46% 52%,
    var(--oy-raise) 52% 100%
  );
}

/* ---------- 区块与标题 ---------- */
.page-home .hm-block {
  padding-block: clamp(40px, 6vw, 84px);
}

.page-home .hm-head {
  max-width: 64ch;
  margin-bottom: clamp(26px, 4vw, 44px);
}

.page-home .hm-head__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-family: var(--oy-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--oy-muted);
}

.page-home .hm-head__num {
  display: inline-grid;
  place-items: center;
  min-width: 36px;
  height: 24px;
  padding: 0 8px;
  border: 1px solid var(--oy-neon);
  color: var(--oy-neon);
  font-size: 12px;
}

.page-home .hm-head__title {
  margin: 0;
  font-family: var(--oy-sans);
  font-weight: 900;
  font-size: clamp(24px, 3.4vw, 40px);
  line-height: 1.16;
  letter-spacing: -0.015em;
  color: var(--oy-ink);
}

.page-home .hm-head__lead {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.78;
  color: var(--oy-muted);
}

.page-home .hm-media-caption {
  display: block;
  padding: 10px 14px;
  border-top: 1px solid var(--oy-line-soft);
  background: var(--oy-raise);
  font-family: var(--oy-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--oy-muted);
}

.page-home .hm-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.page-home .hm-inline-link {
  display: inline-block;
  margin-top: 18px;
  font-size: 14px;
  font-weight: 700;
  color: var(--oy-neon);
  text-decoration: none;
  border-bottom: 1px solid rgba(23, 224, 176, 0.4);
}

.page-home .hm-inline-link:hover,
.page-home .hm-inline-link:focus-visible {
  color: var(--oy-neon-soft);
  border-bottom-color: var(--oy-neon-soft);
}

/* ---------- 读数面板 ---------- */
.page-home .hm-readout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px;
  margin: 0;
  border: 1px solid var(--oy-line);
  background: var(--oy-line-soft);
}

.page-home .hm-readout__cell {
  padding: 20px 18px;
  background: var(--oy-layer);
  border-left: 3px solid var(--oy-gold);
}

.page-home .hm-readout__label {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--oy-muted);
}

.page-home .hm-readout__num {
  margin: 8px 0 0;
  font-family: var(--oy-mono);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  line-height: 1.1;
  color: var(--oy-gold);
}

/* ---------- 更新记录 ---------- */
.page-home .hm-record__grid {
  display: grid;
  gap: 20px;
}

.page-home .hm-record__card {
  position: relative;
  padding: clamp(22px, 3vw, 34px);
  background: var(--oy-layer);
  border: 1px solid var(--oy-line);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.page-home .hm-record__card:hover {
  transform: translateY(-4px);
  border-color: rgba(23, 224, 176, 0.6);
  box-shadow: var(--hm-glow), var(--oy-shadow);
}

.page-home .hm-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.page-home .hm-record__title {
  margin: 0;
  font-size: clamp(19px, 2.2vw, 24px);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--oy-ink);
}

.page-home .hm-record__text {
  margin: 14px 0 22px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--oy-muted);
}

.page-home .hm-record__side {
  display: grid;
  gap: 14px;
  align-content: start;
}

.page-home .hm-side-note {
  margin: 0;
  padding-left: 14px;
  border-left: 1px solid var(--oy-line);
  font-size: 14px;
  line-height: 1.7;
  color: var(--oy-muted);
}

@media (min-width: 900px) {
  .page-home .hm-record__grid {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    align-items: start;
  }
}

/* ---------- 移动端查记录 ---------- */
.page-home .hm-mobile__grid {
  display: grid;
  gap: clamp(30px, 4vw, 56px);
  align-items: start;
}

.page-home .hm-mobile__tabs .oy-tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.page-home .hm-mobile__tabs .oy-tabs__tab {
  padding: 10px 18px;
  border: 1px solid var(--oy-line);
  background: var(--oy-layer);
  color: var(--oy-ink);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.page-home .hm-mobile__tabs .oy-tabs__tab:hover {
  border-color: var(--oy-neon);
  color: var(--oy-neon-soft);
}

.page-home .hm-mobile__tabs .oy-tabs__tab[aria-selected="true"] {
  background: var(--oy-neon);
  border-color: var(--oy-neon);
  color: var(--oy-deep);
}

.page-home .hm-mobile__tabs .oy-tabs__tab:focus-visible {
  outline: 2px solid var(--oy-gold);
  outline-offset: 2px;
}

.page-home .hm-mobile__tabs .oy-tabs__panel {
  padding: 18px 20px;
  border: 1px solid var(--oy-line-soft);
  border-left: 3px solid var(--oy-neon);
  background: var(--oy-layer);
  font-size: 15px;
  line-height: 1.8;
  color: var(--oy-ink);
}

.page-home .hm-mobile__tabs .oy-tabs__panel + .oy-tabs__panel {
  margin-top: 12px;
}

.page-home .hm-note {
  margin: 18px 0 0;
  padding: 13px 16px;
  border-left: 3px solid var(--oy-gold);
  background: rgba(243, 217, 164, 0.08);
  font-size: 14px;
  line-height: 1.7;
  color: var(--oy-gold-soft);
}

.page-home .hm-phone {
  position: relative;
  justify-self: center;
  width: min(292px, 100%);
}

.page-home .hm-phone::before {
  content: "";
  position: absolute;
  inset: -16% -22%;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(23, 224, 176, 0.22), transparent 72%);
}

.page-home .hm-phone__frame {
  position: relative;
  z-index: 1;
  padding: 10px;
  background: var(--oy-layer);
  border: 1px solid var(--oy-line);
  clip-path: polygon(0 0, 100% 0, 100% 95%, 92% 100%, 0 100%);
  box-shadow: inset 0 0 0 1px rgba(23, 224, 176, 0.16);
}

.page-home .hm-phone__frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

.page-home .hm-phone__hint {
  position: relative;
  z-index: 1;
  margin: 12px 0 0;
  text-align: center;
  font-family: var(--oy-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--oy-muted);
}

@media (min-width: 900px) {
  .page-home .hm-mobile__grid {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
  }
}

/* ---------- 分类矩阵 ---------- */
.page-home .hm-matrix {
  display: grid;
  gap: clamp(24px, 3.5vw, 46px);
  align-items: start;
}

.page-home .hm-matrix__media {
  margin: 0;
  overflow: hidden;
  background: var(--oy-layer);
  border: 1px solid var(--oy-line);
}

.page-home .hm-matrix__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: saturate(1.06);
}

.page-home .hm-matrix__text {
  margin: 22px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--oy-muted);
}

.page-home .hm-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 20px 0 26px;
  padding: 0;
}

.page-home .hm-cat {
  padding: 7px 13px;
  border: 1px dashed var(--oy-line);
  font-family: var(--oy-mono);
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--oy-ink);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.page-home .hm-cat:hover {
  border-color: var(--oy-neon);
  color: var(--oy-neon-soft);
}

@media (min-width: 940px) {
  .page-home .hm-matrix {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  }
}

/* ---------- 分类对照 ---------- */
.page-home .hm-compare__grid {
  display: grid;
  gap: clamp(22px, 3vw, 36px);
  align-items: start;
}

.page-home .hm-compare__table .oy-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.page-home .hm-compare__table .oy-table th,
.page-home .hm-compare__table .oy-table td {
  padding: 13px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--oy-line-soft);
}

.page-home .hm-compare__table .oy-table thead th {
  background: var(--oy-raise);
  font-family: var(--oy-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--oy-muted);
}

.page-home .hm-compare__table .oy-table tbody th {
  font-weight: 700;
  color: var(--oy-ink);
}

.page-home .hm-compare__table .oy-table tbody td {
  font-family: var(--oy-mono);
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--oy-neon-soft);
}

.page-home .hm-compare__media {
  margin: 0;
  overflow: hidden;
  background: var(--oy-layer);
  border: 1px solid var(--oy-line);
}

.page-home .hm-compare__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.page-home .hm-compare__cta {
  margin-top: clamp(22px, 3vw, 32px);
}

@media (min-width: 900px) {
  .page-home .hm-compare__grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  }
}

/* ---------- 版本时间带 ---------- */
.page-home .hm-versions {
  list-style: none;
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.page-home .hm-version {
  position: relative;
  padding-left: 30px;
}

.page-home .hm-version::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 9px;
  height: 9px;
  background: var(--oy-deep);
  border: 1px solid var(--oy-gold);
  transform: rotate(45deg);
}

.page-home .hm-version::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 26px;
  bottom: -20px;
  width: 1px;
  background: var(--oy-line-soft);
}

.page-home .hm-version:last-child::after {
  display: none;
}

.page-home .hm-version__tag {
  display: block;
  font-family: var(--oy-mono);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--oy-gold);
}

.page-home .hm-version__desc {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--oy-muted);
}

.page-home .hm-facts {
  list-style: none;
  display: grid;
  gap: 1px;
  margin: clamp(34px, 5vw, 52px) 0 0;
  padding: 0;
  border: 1px solid var(--oy-line);
  background: var(--oy-line-soft);
}

.page-home .hm-fact {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 16px 18px;
  background: var(--oy-layer);
}

.page-home .hm-fact__num {
  flex: 0 0 auto;
  font-family: var(--oy-mono);
  font-size: 22px;
  font-weight: 600;
  color: var(--oy-neon);
}

.page-home .hm-fact__label {
  font-size: 14px;
  line-height: 1.6;
  color: var(--oy-muted);
}

@media (min-width: 760px) {
  .page-home .hm-versions {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    padding-top: 6px;
  }

  .page-home .hm-version {
    padding: 30px 0 0;
  }

  .page-home .hm-version::before {
    left: 0;
    top: 8px;
  }

  .page-home .hm-version::after {
    left: 12px;
    right: -22px;
    top: 12px;
    bottom: auto;
    width: auto;
    height: 1px;
  }

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

/* ---------- 收尾 ---------- */
.page-home .hm-closing {
  padding-bottom: clamp(20px, 4vw, 48px);
}

.page-home .hm-closing__box {
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid var(--oy-line);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(23, 224, 176, 0.14), transparent 62%),
    var(--oy-layer);
}

.page-home .hm-closing__title {
  margin: 0;
  font-family: var(--oy-sans);
  font-weight: 900;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--oy-ink);
}

.page-home .hm-closing__lead {
  margin: 14px 0 0;
  max-width: 52ch;
  font-size: 15px;
  line-height: 1.8;
  color: var(--oy-muted);
}

.page-home .hm-closing__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

/* ---------- 响应式与动效收敛 ---------- */
@media (max-width: 640px) {
  .page-home .hm-readout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .hm-record__card,
  .page-home .hm-closing__box,
  .page-home .hm-compare__table .oy-table th,
  .page-home .hm-compare__table .oy-table td {
    padding-left: 16px;
    padding-right: 16px;
  }

  .page-home .hm-hero__title {
    word-break: break-word;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hm-hero__dot {
    animation: none;
  }

  .page-home *,
  .page-home *::before,
  .page-home *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
