.page-home {
  display: block;
}

/* ---------- 首屏框景 ---------- */
.page-home .home-stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(24px, 5vw, 56px) 0 clamp(32px, 6vw, 72px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(120% 78% at 84% 6%, rgba(201, 162, 39, 0.16) 0%, rgba(201, 162, 39, 0) 58%),
    var(--ink);
}

.page-home .home-stage__texture {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.14;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(88% 78% at 80% 18%, #000 0%, transparent 70%);
  mask-image: radial-gradient(88% 78% at 80% 18%, #000 0%, transparent 70%);
}

.page-home .home-stage__texture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .home-stage__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(22px, 4vw, 40px);
}

.page-home .home-stage__head {
  max-width: 46em;
}

/* ---------- 面包屑 ---------- */
.page-home .home-crumb {
  margin: 0 0 16px;
}

.page-home .home-crumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
}

.page-home .home-crumb li {
  color: var(--mute);
}

.page-home .home-crumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--brass);
}

.page-home .home-crumb a {
  color: var(--mute);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--t-hover) var(--ease), border-color var(--t-hover) var(--ease);
}

.page-home .home-crumb a:hover,
.page-home .home-crumb a:focus-visible {
  color: var(--mint);
  border-bottom-color: var(--mint);
}

.page-home .home-crumb [aria-current="page"] {
  color: var(--cream);
}

/* ---------- 首屏标题 ---------- */
.page-home .home-stage h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 7.4vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--cream);
}

.page-home .home-stage__sub {
  margin: 16px 0 0;
  max-width: 42em;
  font-family: var(--font-body);
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.75;
  color: var(--cream);
  opacity: 0.78;
}

/* ---------- 首屏数据条 ---------- */
.page-home .home-stage__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 24px 0 0;
  padding: 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-home .home-stat {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  background: var(--ink-deep);
}

.page-home .home-stat dt {
  margin: 0;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--mute);
}

.page-home .home-stat dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 19px;
  font-weight: 600;
  color: var(--cream);
  font-variant-numeric: tabular-nums;
}

/* ---------- 栏目轴控制台 ---------- */
.page-home .home-console {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  background: var(--ink-deep);
  box-shadow: 6px 6px 0 0 rgba(107, 85, 24, 0.3);
}

.page-home .home-console__rail {
  display: flex;
  gap: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  border-bottom: 1px solid var(--line);
  scrollbar-width: thin;
}

.page-home .rail-tab {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 16px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 15px;
  letter-spacing: 0.02em;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
  transition: background var(--t-hover) var(--ease), color var(--t-hover) var(--ease);
}

.page-home .rail-tab:last-child {
  border-right: 0;
}

.page-home .rail-tab:hover {
  background: rgba(242, 237, 227, 0.06);
  color: var(--gold-soft);
}

.page-home .rail-tab[aria-selected="true"] {
  background: rgba(201, 162, 39, 0.14);
  color: var(--gold-soft);
  box-shadow: inset 0 -3px 0 var(--gold);
}

.page-home .rail-tab:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: -2px;
}

.page-home .rail-tab__code {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--brass);
  font-variant-numeric: tabular-nums;
}

.page-home .rail-tab[aria-selected="true"] .rail-tab__code {
  color: var(--gold);
}

.page-home .rail-tab__name {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
}

.page-home .rail-tab__meta {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--mute);
}

.page-home .home-console__panels {
  min-width: 0;
}

.page-home .home-panel {
  padding: 22px 18px 26px;
}

.page-home .home-panel + .home-panel {
  border-top: 1px solid var(--line);
}

.page-home .home-panel:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: -4px;
}

.page-home .home-panel__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(20px, 3vw, 28px);
  line-height: 1.28;
  letter-spacing: -0.01em;
  color: var(--cream);
}

.page-home .home-panel__lede {
  margin: 10px 0 0;
  max-width: 44em;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.75;
  color: var(--cream);
  opacity: 0.72;
}

.page-home .home-panel__note {
  margin: 16px 0 0;
  padding-left: 12px;
  border-left: 2px solid var(--brass);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7;
  color: var(--cream);
  opacity: 0.7;
}

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

/* ---------- 折叠卡片 ---------- */
.page-home .fold {
  margin-top: 18px;
  border: 1px solid var(--line);
  background: rgba(18, 48, 42, 0.55);
}

.page-home .fold__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: 0.05em;
  color: var(--gold-soft);
}

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

.page-home .fold__summary:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: -2px;
}

.page-home .fold__icon {
  position: relative;
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
}

.page-home .fold__icon::before,
.page-home .fold__icon::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 14px;
  height: 1.5px;
  background: var(--gold);
  transform: translateY(-50%);
  transition: transform var(--t-fold) var(--ease), opacity var(--t-fold) var(--ease);
}

.page-home .fold__icon::after {
  transform: translateY(-50%) rotate(90deg);
}

.page-home .fold[open] .fold__icon::after {
  transform: translateY(-50%) rotate(0deg);
  opacity: 0;
}

.page-home .fold__body {
  padding: 0 14px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.75;
  color: var(--cream);
}

.page-home .fold__list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.page-home .fold__list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  font-size: 14.5px;
  line-height: 1.65;
}

.page-home .fold__tag {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--gold);
  white-space: nowrap;
}

.page-home .fold__note {
  margin: 14px 0 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--cream);
  opacity: 0.66;
}

/* ---------- 联系方式精简表 ---------- */
.page-home .contact-mini {
  display: grid;
  gap: 1px;
  margin: 18px 0 0;
  padding: 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-home .contact-mini__row {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 14px;
  background: rgba(7, 21, 18, 0.72);
}

.page-home .contact-mini__row dt {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--brass);
}

.page-home .contact-mini__row dd {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  color: var(--cream);
  overflow-wrap: anywhere;
}

/* ---------- 权益分组标签 ---------- */
.page-home .group-chips {
  display: grid;
  gap: 1px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-home .group-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  background: rgba(7, 21, 18, 0.72);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--cream);
}

.page-home .group-chip > .mono:first-child {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.page-home .group-chip__num {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--mute);
}

/* ---------- 栏目索引图例 ---------- */
.page-home .home-legend {
  border-bottom: 1px solid var(--line);
}

.page-home .home-legend__grid {
  display: grid;
  gap: clamp(20px, 4vw, 40px);
  margin-bottom: clamp(24px, 4vw, 44px);
}

.page-home .home-legend__intro > p:not(.eyebrow) {
  margin: 12px 0 0;
  max-width: 40em;
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--cream);
  opacity: 0.76;
}

.page-home .home-legend__intro h2,
.page-home .home-rights__lede h2 {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 3.4vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--cream);
}

.page-home .home-legend__media {
  margin: 0;
}

.page-home .legend-list {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-home .legend-item {
  display: grid;
  grid-template-columns: 10px 28px minmax(0, 1fr);
  grid-template-areas:
    "swatch code name"
    ". . note";
  align-items: center;
  row-gap: 6px;
  column-gap: 12px;
  padding: 14px 16px;
  background: var(--ink);
  transition: background var(--t-hover) var(--ease);
}

.page-home .legend-item:hover {
  background: rgba(18, 48, 42, 0.82);
}

.page-home .legend-item__swatch {
  grid-area: swatch;
  display: block;
  width: 10px;
  height: 10px;
  background: var(--mute);
}

.page-home .legend-item--home .legend-item__swatch { background: var(--gold); }
.page-home .legend-item--rights .legend-item__swatch { background: var(--gold-soft); }
.page-home .legend-item--trends .legend-item__swatch { background: var(--mint); }
.page-home .legend-item--contact .legend-item__swatch { background: var(--brick); }
.page-home .legend-item--story .legend-item__swatch { background: var(--brass); }
.page-home .legend-item--faq .legend-item__swatch { background: var(--mute); }

.page-home .legend-item__code {
  grid-area: code;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--brass);
  font-variant-numeric: tabular-nums;
}

.page-home .legend-item__name {
  grid-area: name;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--cream);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--t-hover) var(--ease), border-color var(--t-hover) var(--ease);
}

.page-home .legend-item__name:hover,
.page-home .legend-item__name:focus-visible {
  color: var(--mint);
  border-bottom-color: var(--mint);
}

.page-home .legend-item__note {
  grid-area: note;
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--cream);
  opacity: 0.62;
}

/* ---------- 权益 V3 速览 ---------- */
.page-home .home-rights__top {
  display: grid;
  gap: clamp(20px, 4vw, 40px);
  margin-bottom: clamp(22px, 4vw, 40px);
}

.page-home .home-rights__lede > p:not(.eyebrow) {
  margin: 12px 0 0;
  max-width: 42em;
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--cream);
  opacity: 0.76;
}

.page-home .home-rights__media {
  margin: 0;
  max-width: 320px;
}

.page-home .rights-groups {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-home .rights-group {
  padding: 18px 18px 22px;
  background: var(--ink);
}

.page-home .rights-group__name {
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--cream);
}

.page-home .rights-group__list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .rights-group__list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--cream);
}

.page-home .rights-group__list .mono {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--gold);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* ---------- 底部第二栏联系条 ---------- */
.page-home .home-contactbar__media {
  margin: 0 0 22px;
}

.page-home .contact-slab {
  position: relative;
  display: grid;
  gap: clamp(20px, 3vw, 32px);
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
  background: var(--surface);
  box-shadow: 6px 6px 0 0 rgba(107, 85, 24, 0.3);
}

.page-home .contact-slab__lede {
  margin: 10px 0 20px;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.75;
  color: var(--cream);
  opacity: 0.76;
}

.page-home .contact-slab__list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
}

.page-home .contact-slab__list > div {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding: 0 0 12px;
  margin-bottom: 12px;
  border-bottom: 1px dashed var(--line-soft);
}

.page-home .contact-slab__list > div:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.page-home .contact-slab__list dt {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--brass);
}

.page-home .contact-slab__list dd {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--cream);
  overflow-wrap: anywhere;
}

.page-home .contact-slab__note {
  margin: 18px 0 0;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.75;
  color: var(--cream);
  opacity: 0.7;
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-home .home-stage__stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-home .legend-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .legend-item {
    grid-template-columns: 10px 28px minmax(0, 0.85fr) minmax(0, 1.15fr);
    grid-template-areas: "swatch code name note";
    align-items: center;
  }
}

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

@media (min-width: 880px) {
  .page-home .home-legend__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: start;
  }

  .page-home .home-legend__media {
    margin-top: clamp(0px, 3vw, 28px);
  }

  .page-home .home-rights__top {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
    align-items: center;
  }

  .page-home .home-rights__media {
    justify-self: end;
  }

  .page-home .contact-slab {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items: start;
  }
}

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

  .page-home .home-console__rail {
    flex-direction: column;
    overflow: visible;
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }

  .page-home .rail-tab {
    width: 100%;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    white-space: normal;
  }

  .page-home .rail-tab:last-child {
    border-bottom: 0;
  }

  .page-home .rail-tab[aria-selected="true"] {
    box-shadow: inset 3px 0 0 var(--gold);
  }

  .page-home .home-panel {
    padding: 28px 30px 32px;
    min-height: 336px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .rail-tab,
  .page-home .legend-item,
  .page-home .legend-item__name,
  .page-home .home-crumb a,
  .page-home .fold__icon::before,
  .page-home .fold__icon::after {
    transition-duration: 1ms;
  }
}
