.page-home {
  --hm-cut: 18px;
  --hm-cut-sm: 14px;
  display: block;
  overflow-x: hidden;
  background: var(--ink);
}

/* ---------- 面包屑 ---------- */
.page-home .hm-crumbs {
  background: var(--ink);
  border-bottom: 1px solid var(--line-soft);
  padding: 12px 0;
}
.page-home .breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .04em;
  color: var(--muted);
}
.page-home .breadcrumbs__list li + li::before {
  content: "/";
  margin: 0 10px;
  color: var(--graphite);
}
.page-home .breadcrumbs__list a {
  color: var(--muted);
  text-decoration: none;
  transition: color .18s ease;
}
.page-home .breadcrumbs__list a:hover,
.page-home .breadcrumbs__list a:focus-visible {
  color: var(--cyan);
}
.page-home .breadcrumbs__list [aria-current="page"] {
  color: var(--cyan-soft);
}

/* ---------- 首屏 ---------- */
.page-home .hm-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
  border-bottom: 1px solid var(--line);
  padding: clamp(36px, 6vw, 76px) 0 clamp(44px, 7vw, 96px);
}
.page-home .hm-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.page-home .hm-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .26;
}
.page-home .hm-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(158deg, rgba(10, 14, 20, .96) 0%, rgba(10, 14, 20, .74) 46%, rgba(10, 14, 20, .93) 100%);
  pointer-events: none;
}
.page-home .hm-hero::before {
  content: "";
  position: absolute;
  top: -22%;
  right: -16%;
  width: 76%;
  height: 152%;
  z-index: 1;
  transform: skewX(-11deg);
  background: linear-gradient(200deg, rgba(19, 26, 36, .86), rgba(0, 229, 255, .07));
  border-left: 1px solid rgba(0, 229, 255, .34);
  pointer-events: none;
}
.page-home .hm-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(30px, 5vw, 58px);
  align-items: center;
}
.page-home .hm-hero__copy .eyebrow {
  margin-bottom: 16px;
}
.page-home .hm-hero h1 {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.05rem, 6.2vw, 3.9rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--fog);
}
.page-home .hm-hero__lead {
  margin: 0 0 28px;
  max-width: 30em;
  font-family: var(--font-body);
  font-size: clamp(1rem, 2.2vw, 1.09rem);
  line-height: 1.82;
  color: var(--fog);
}
.page-home .hm-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* 联系面板 */
.page-home .hm-hero__contact {
  padding: 1px;
  background: linear-gradient(148deg, rgba(0, 229, 255, .68) 0%, rgba(0, 229, 255, .16) 52%, var(--graphite) 100%);
  clip-path: polygon(0 0, calc(100% - var(--hm-cut)) 0, 100% var(--hm-cut), 100% 100%, var(--hm-cut) 100%, 0 calc(100% - var(--hm-cut)));
}
.page-home .hm-hero__contact-in {
  padding: 26px 22px 24px;
  background: linear-gradient(170deg, #182231 0%, #0b121b 100%);
  clip-path: polygon(0 0, calc(100% - var(--hm-cut)) 0, 100% var(--hm-cut), 100% 100%, var(--hm-cut) 100%, 0 calc(100% - var(--hm-cut)));
}
.page-home .hm-hero__contact-label {
  margin: 0 0 16px;
  font-size: .72rem;
  letter-spacing: .18em;
  color: var(--sand);
}
.page-home .hm-hero__contact-list {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.page-home .hm-hero__contact-list li {
  display: grid;
  gap: 3px;
  padding-bottom: 11px;
  border-bottom: 1px solid rgba(42, 52, 65, .7);
}
.page-home .hm-hero__contact-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.page-home .hm-hero__contact-key {
  font-family: var(--font-serif);
  font-size: .78rem;
  letter-spacing: .06em;
  color: var(--muted);
}
.page-home .hm-hero__contact-val {
  font-family: var(--font-body);
  font-size: .96rem;
  font-weight: 600;
  color: var(--cyan-soft);
  word-break: break-word;
}
.page-home .hm-hero__contact-foot {
  margin: 0;
  font-size: .8rem;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 改版导览 ---------- */
.page-home .hm-shift__head {
  max-width: 44em;
  margin-bottom: clamp(26px, 4vw, 40px);
}
.page-home .hm-shift__head .eyebrow {
  margin-bottom: 14px;
}
.page-home .hm-shift h2 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.5rem, 4vw, 2.3rem);
  line-height: 1.16;
  letter-spacing: -0.01em;
  color: var(--fog);
}
.page-home .hm-shift__intro {
  margin: 0;
}
.page-home .hm-shift__figure {
  margin: 0 0 clamp(24px, 4vw, 40px);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - var(--hm-cut)) 0, 100% var(--hm-cut), 100% 100%, var(--hm-cut) 100%, 0 calc(100% - var(--hm-cut)));
  background: var(--deep);
}
.page-home .hm-shift__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 880 / 620;
  object-fit: cover;
  opacity: .9;
}
.page-home .hm-shift__caption {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 8px 16px;
  font-size: .72rem;
  letter-spacing: .12em;
  color: var(--ink);
  background: var(--sand);
}

.page-home .hm-placards {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
.page-home .hm-placard {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 20px 20px;
  background: var(--deep);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - var(--hm-cut-sm)) 0, 100% var(--hm-cut-sm), 100% 100%, var(--hm-cut-sm) 100%, 0 calc(100% - var(--hm-cut-sm)));
  transition: background-color .22s ease, border-color .22s ease, transform .22s ease;
}
.page-home .hm-placard::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 46px;
  height: 1px;
  background: var(--cyan);
}
.page-home .hm-placard:hover,
.page-home .hm-placard:focus-within {
  background: var(--deep-2);
  border-color: var(--cyan);
  transform: translate(2px, -2px);
}
.page-home .hm-placard__no {
  font-size: .78rem;
  letter-spacing: .16em;
  color: var(--cyan);
}
.page-home .hm-placard__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.06rem;
  line-height: 1.4;
  color: var(--fog);
}
.page-home .hm-placard__desc {
  margin: 0;
  flex: 1;
  font-size: .88rem;
  line-height: 1.78;
  color: var(--muted);
}
.page-home .hm-placard__go {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .06em;
  color: var(--lava);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 107, 26, .42);
  padding-bottom: 2px;
  transition: color .18s ease, border-color .18s ease;
}
.page-home .hm-placard__go:hover,
.page-home .hm-placard__go:focus-visible {
  color: var(--sand);
  border-color: var(--sand);
}

/* ---------- 功能面板 ---------- */
.page-home .hm-panel {
  background: linear-gradient(180deg, var(--ink) 0%, var(--deep) 100%);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.page-home .hm-panel__grid {
  display: grid;
  gap: clamp(26px, 4vw, 52px);
  align-items: center;
}
.page-home .hm-panel__figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink);
  clip-path: polygon(0 0, calc(100% - var(--hm-cut)) 0, 100% var(--hm-cut), 100% 100%, var(--hm-cut) 100%, 0 calc(100% - var(--hm-cut)));
}
.page-home .hm-panel__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 800;
  object-fit: cover;
}
.page-home .hm-panel__body .eyebrow {
  margin-bottom: 14px;
}
.page-home .hm-panel h2 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.45rem, 3.8vw, 2.2rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--fog);
}
.page-home .hm-panel__body .lead {
  margin-bottom: 24px;
}
.page-home .hm-panel__zones {
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.page-home .hm-zone {
  display: grid;
  grid-template-columns: 34px 1fr;
  grid-template-areas:
    "key name"
    "key desc";
  gap: 2px 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  transition: background-color .2s ease;
}
.page-home .hm-zone:hover {
  background: rgba(0, 229, 255, .05);
}
.page-home .hm-zone__key {
  grid-area: key;
  align-self: start;
  font-size: .82rem;
  color: var(--violet);
  letter-spacing: .1em;
}
.page-home .hm-zone__name {
  grid-area: name;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .95rem;
  color: var(--fog);
}
.page-home .hm-zone__desc {
  grid-area: desc;
  font-size: .84rem;
  line-height: 1.7;
  color: var(--muted);
}
.page-home .hm-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 更新变更 ---------- */
.page-home .hm-updates__grid {
  display: grid;
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
}
.page-home .hm-updates__main .eyebrow {
  margin-bottom: 14px;
}
.page-home .hm-updates h2 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.45rem, 3.8vw, 2.2rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--fog);
}
.page-home .hm-updates__main .lead {
  margin-bottom: 26px;
}
.page-home .hm-updates__stats {
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
}
.page-home .hm-stat {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.page-home .hm-stat dt {
  font-family: var(--font-serif);
  font-size: .82rem;
  letter-spacing: .06em;
  color: var(--muted);
}
.page-home .hm-stat dd {
  margin: 0;
  font-size: .95rem;
  font-weight: 600;
  color: var(--fog);
}
.page-home .hm-stat__num {
  font-size: 1.16rem;
  color: var(--cyan);
}

.page-home .hm-updates__rail {
  padding: 22px 20px;
  background: var(--deep);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - var(--hm-cut)) 0, 100% var(--hm-cut), 100% 100%, var(--hm-cut) 100%, 0 calc(100% - var(--hm-cut)));
}
.page-home .hm-updates__rail .side-rail__title {
  margin: 0 0 6px;
  font-family: var(--font-serif);
  font-size: .88rem;
  font-weight: 400;
  letter-spacing: .12em;
  color: var(--sand);
}
.page-home .hm-versions {
  margin: 0;
  padding: 0;
  list-style: none;
}
.page-home .hm-version {
  border-bottom: 1px solid var(--line);
}
.page-home .hm-version:last-child {
  border-bottom: 0;
}
.page-home .hm-version summary {
  display: block;
  padding: 13px 26px 13px 0;
  position: relative;
  cursor: pointer;
  list-style: none;
  font-size: .87rem;
  line-height: 1.6;
  color: var(--fog);
  transition: color .18s ease;
}
.page-home .hm-version summary::-webkit-details-marker {
  display: none;
}
.page-home .hm-version summary::after {
  content: "+";
  position: absolute;
  right: 2px;
  top: 13px;
  font-family: var(--font-mono);
  font-size: .95rem;
  color: var(--cyan);
  transition: transform .2s ease;
}
.page-home .hm-version[open] summary::after {
  content: "−";
}
.page-home .hm-version summary:hover,
.page-home .hm-version summary:focus-visible {
  color: var(--cyan-soft);
}
.page-home .hm-version__no {
  display: inline-block;
  margin-right: 8px;
  font-size: .78rem;
  color: var(--violet);
}
.page-home .hm-version p {
  margin: 0 0 14px;
  font-size: .82rem;
  line-height: 1.78;
  color: var(--muted);
}

/* ---------- 反馈闭环 ---------- */
.page-home .hm-feedback {
  position: relative;
  margin-top: clamp(48px, 7vw, 96px);
  border-top: 1px solid var(--line);
  background: var(--ink);
}
.page-home .hm-feedback__banner {
  position: relative;
  overflow: hidden;
  height: clamp(150px, 26vw, 260px);
}
.page-home .hm-feedback__banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .62;
}
.page-home .hm-feedback__banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 14, 20, .35) 0%, rgba(10, 14, 20, .96) 100%);
}
.page-home .hm-feedback__banner::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  z-index: 2;
  background: linear-gradient(90deg, transparent, var(--sand) 22%, var(--sand) 78%, transparent);
  opacity: .7;
}
.page-home .hm-feedback__inner {
  position: relative;
  margin-top: clamp(-96px, -7vw, -54px);
  padding-bottom: clamp(44px, 6vw, 80px);
}
.page-home .hm-feedback__inner .eyebrow {
  margin-bottom: 14px;
}
.page-home .hm-feedback h2 {
  margin: 0 0 18px;
  max-width: 22em;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.5rem, 4vw, 2.3rem);
  line-height: 1.16;
  letter-spacing: -0.01em;
  color: var(--fog);
}
.page-home .hm-feedback__lead {
  margin: 0 0 26px;
  max-width: 36em;
}
.page-home .hm-feedback__facts {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
}
.page-home .hm-feedback__facts li {
  font-size: .86rem;
  color: var(--muted);
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
.page-home .hm-feedback__num {
  font-size: 1.12rem;
  color: var(--lava);
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-home .hm-placards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-home .hm-updates__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .page-home .hm-stat {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 14px 16px 14px 0;
  }
}

@media (min-width: 900px) {
  .page-home .hm-hero__grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(288px, .8fr);
  }
  .page-home .hm-panel__grid {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
  }
  .page-home .hm-shift__figure {
    max-width: 880px;
  }
}

@media (min-width: 1080px) {
  .page-home .hm-placards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .page-home .hm-updates__grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  }
  .page-home .hm-updates__rail {
    position: sticky;
    top: calc(var(--header-h) + 18px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hm-placard,
  .page-home .hm-placard__go,
  .page-home .hm-version summary,
  .page-home .hm-version summary::after,
  .page-home .breadcrumbs__list a {
    transition: none;
  }
  .page-home .hm-placard:hover,
  .page-home .hm-placard:focus-within {
    transform: none;
  }
}
