.page-home {
  --hm-gap: clamp(24px, 4vw, 44px);
  display: block;
  background: var(--rb-abyss);
  color: var(--rb-text);
}

/* ---------- 首屏 ---------- */
.page-home .hm-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(40px, 8vw, 96px) 0 clamp(32px, 5vw, 56px);
  background: linear-gradient(158deg, var(--rb-navy) 0%, var(--rb-navy-2) 34%, var(--rb-abyss) 78%);
  border-bottom: 1px solid var(--rb-line-soft);
}

.page-home .hm-hero::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -18%;
  width: min(560px, 72vw);
  height: 152%;
  transform: skewX(-15deg);
  background: linear-gradient(180deg, rgba(37, 244, 216, 0.17), rgba(37, 244, 216, 0) 68%);
  pointer-events: none;
  z-index: -1;
}

.page-home .hm-hero::after {
  content: "";
  position: absolute;
  bottom: -24%;
  left: -16%;
  width: min(440px, 62vw);
  height: 64%;
  transform: skewX(-15deg);
  background: linear-gradient(90deg, rgba(255, 95, 61, 0.2), rgba(255, 95, 61, 0) 85%);
  pointer-events: none;
  z-index: -1;
}

.page-home .hm-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(28px, 5vw, 52px);
  align-items: center;
}

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

.page-home .hm-context {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  font-family: var(--rb-font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rb-text-faint);
}

.page-home .hm-context__dot {
  width: 7px;
  height: 7px;
  flex: none;
  background: var(--rb-coral);
}

.page-home .hm-context__sep {
  color: var(--rb-line);
}

.page-home .hm-hero__title {
  margin: 16px 0 0;
  font-family: var(--rb-font-display);
  font-size: clamp(1.85rem, 6.2vw, 3.5rem);
  font-weight: 800;
  line-height: 1.09;
  letter-spacing: -0.02em;
}

.page-home .hm-mark {
  color: var(--rb-cyan);
  border-bottom: 3px solid var(--rb-coral);
}

.page-home .hm-hero__lede {
  margin: 22px 0 0;
  max-width: 58ch;
}

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

.page-home .hm-hero__figure {
  margin: 0;
  position: relative;
  border: 1px solid var(--rb-line);
  background: var(--rb-navy);
  box-shadow: 18px 18px 0 -6px rgba(255, 95, 61, 0.28);
}

.page-home .hm-hero__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

@media (max-width: 939px) {
  .page-home .hm-hero__figure img {
    aspect-ratio: 16 / 9;
  }
}

/* ---------- 数据条 ---------- */
.page-home .hm-stats {
  margin-top: clamp(34px, 5vw, 58px);
  padding-top: 22px;
  border-top: 1px solid var(--rb-line-soft);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 16px;
}

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

.page-home .hm-stat {
  position: relative;
  padding-left: 15px;
  min-width: 0;
}

.page-home .hm-stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 7px;
  height: 7px;
  background: var(--rb-cyan);
}

.page-home .hm-stats .rb-stat__value {
  display: block;
  font-family: var(--rb-font-display);
  font-size: clamp(1.5rem, 3.6vw, 2.1rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--rb-cyan);
}

.page-home .hm-stats .rb-stat__label {
  display: block;
  margin-top: 8px;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--rb-text-dim);
}

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

.page-home .hm-head .rb-h2 {
  margin: 12px 0 0;
}

.page-home .hm-head .rb-lede {
  margin: 16px 0 0;
}

/* ---------- 案例区 ---------- */
.page-home .hm-split {
  display: grid;
  gap: var(--hm-gap);
}

@media (min-width: 980px) {
  .page-home .hm-split {
    grid-template-columns: minmax(0, 1.32fr) minmax(300px, 0.68fr);
    align-items: start;
  }
}

.page-home .hm-timeline {
  position: relative;
  margin: 0;
  padding: 6px 0 0 26px;
  list-style: none;
  border-left: 1px solid var(--rb-line);
}

.page-home .hm-case {
  position: relative;
  padding-bottom: clamp(24px, 4vw, 38px);
}

.page-home .hm-case:last-child {
  padding-bottom: 0;
}

.page-home .hm-case::before {
  content: "";
  position: absolute;
  left: -31px;
  top: 6px;
  width: 9px;
  height: 9px;
  background: var(--rb-cyan);
}

.page-home .hm-case--hot::before {
  background: var(--rb-coral);
  box-shadow: 0 0 0 5px rgba(255, 95, 61, 0.14);
}

.page-home .hm-case__time {
  margin: 0 0 7px;
  font-family: var(--rb-font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: var(--rb-text-faint);
}

.page-home .hm-case__title {
  margin: 0 0 9px;
  font-size: clamp(1.02rem, 2.2vw, 1.2rem);
  line-height: 1.42;
  color: var(--rb-text);
}

.page-home .hm-case__text {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.75;
  color: var(--rb-text-dim);
}

/* ---------- 直播卡片 ---------- */
.page-home .hm-live {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(20px, 3vw, 30px);
  background: linear-gradient(165deg, var(--rb-navy-2), var(--rb-navy));
  border: 1px solid var(--rb-line);
  border-top: 3px solid var(--rb-coral);
  min-width: 0;
}

@media (min-width: 980px) {
  .page-home .hm-live {
    position: sticky;
    top: 92px;
  }
}

.page-home .hm-live .rb-chip {
  align-self: flex-start;
}

.page-home .hm-live__title {
  margin: 0;
  font-size: clamp(1.1rem, 2.6vw, 1.32rem);
  line-height: 1.35;
}

.page-home .hm-live__text {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.72;
  color: var(--rb-text-dim);
}

.page-home .hm-live__figure {
  margin: 4px 0 0;
  border: 1px solid var(--rb-line-soft);
}

.page-home .hm-live__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.page-home .hm-live__btn {
  align-self: flex-start;
  margin-top: 4px;
}

/* ---------- 权益条 ---------- */
.page-home .hm-strip-sec {
  padding: clamp(34px, 6vw, 62px) 0;
  background: var(--rb-navy);
  border-top: 1px solid var(--rb-line-soft);
  border-bottom: 1px solid var(--rb-line-soft);
}

.page-home .hm-strip-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
}

.page-home .hm-strip-head .rb-eyebrow {
  margin: 0;
}

.page-home .hm-strip-hint {
  margin: 0;
  font-family: var(--rb-font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--rb-text-faint);
}

.page-home .hm-strip {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0 var(--rb-gutter) 12px;
  scrollbar-width: thin;
}

.page-home .hm-strip__item {
  flex: 0 0 min(78vw, 286px);
  scroll-snap-align: start;
  padding: 4px 22px 0;
  border-left: 1px solid var(--rb-line-soft);
  background: transparent;
}

.page-home .hm-strip__item:last-child {
  border-right: 1px solid var(--rb-line-soft);
}

.page-home .hm-strip__num {
  display: block;
  margin-bottom: 12px;
  font-family: var(--rb-font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--rb-coral);
}

.page-home .hm-strip__title {
  margin: 0 0 9px;
  font-size: 1rem;
  line-height: 1.38;
}

.page-home .hm-strip__item p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--rb-text-dim);
}

/* ---------- 工具中心 ---------- */
.page-home .hm-tools__figure {
  margin: 0 0 clamp(26px, 4vw, 42px);
  border: 1px solid var(--rb-line-soft);
}

.page-home .hm-tools__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.page-home .hm-tools {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--rb-line-faint);
}

@media (min-width: 720px) {
  .page-home .hm-tools {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.page-home .hm-tool {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: clamp(22px, 3.2vw, 32px);
  background: rgba(3, 17, 31, 0.74);
  min-width: 0;
}

.page-home .hm-tool::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 46px;
  height: 2px;
  background: var(--rb-cyan);
}

.page-home .hm-tool--coral::before {
  background: var(--rb-coral);
}

.page-home .hm-tool__num {
  font-family: var(--rb-font-mono);
  font-size: 0.73rem;
  letter-spacing: 0.18em;
  color: var(--rb-text-faint);
}

.page-home .hm-tool__title {
  margin: 0;
  font-size: clamp(1.04rem, 2.4vw, 1.18rem);
  line-height: 1.38;
}

.page-home .hm-tool__text {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.75;
  color: var(--rb-text-dim);
}

.page-home .hm-tool__link {
  align-self: flex-start;
  margin-top: auto;
  padding-bottom: 3px;
  font-family: var(--rb-font-mono);
  font-size: 0.79rem;
  letter-spacing: 0.08em;
  color: var(--rb-cyan);
  text-decoration: none;
  border-bottom: 1px solid var(--rb-line);
  transition: color 0.22s var(--rb-ease), border-color 0.22s var(--rb-ease);
}

.page-home .hm-tool__link:hover,
.page-home .hm-tool__link:focus-visible {
  color: var(--rb-coral);
  border-bottom-color: var(--rb-coral);
}

/* ---------- 步骤 ---------- */
.page-home .hm-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--rb-line-faint);
}

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

.page-home .hm-step {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(22px, 3vw, 32px);
  background: var(--rb-abyss);
  min-width: 0;
}

.page-home .hm-step__num {
  font-family: var(--rb-font-mono);
  font-size: 1.6rem;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--rb-coral);
}

.page-home .hm-step__title {
  margin: 0;
  font-size: clamp(1.04rem, 2.4vw, 1.16rem);
  line-height: 1.38;
}

.page-home .hm-step p {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.75;
  color: var(--rb-text-dim);
}

/* ---------- 规则分段 ---------- */
.page-home .hm-tabs__bar {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--rb-line-soft);
  margin-bottom: clamp(20px, 3vw, 30px);
}

.page-home .hm-tab {
  appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  padding: 12px 18px;
  font-family: var(--rb-font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  color: var(--rb-text-dim);
  cursor: pointer;
  transition: color 0.22s var(--rb-ease), border-color 0.22s var(--rb-ease);
}

.page-home .hm-tab:hover {
  color: var(--rb-cyan);
}

.page-home .hm-tab[aria-selected="true"] {
  color: var(--rb-text);
  border-bottom-color: var(--rb-coral);
}

.page-home .hm-tab:focus-visible {
  outline: 2px solid var(--rb-cyan);
  outline-offset: 2px;
}

.page-home .hm-panel {
  padding: clamp(18px, 3vw, 28px);
  background: rgba(10, 44, 71, 0.42);
  border: 1px solid var(--rb-line-soft);
}

.page-home .hm-panel[hidden] {
  display: none;
}

.page-home .hm-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 13px;
}

.page-home .hm-panel li {
  position: relative;
  padding-left: 20px;
  font-size: 0.95rem;
  line-height: 1.74;
  color: var(--rb-text-dim);
}

.page-home .hm-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 8px;
  height: 2px;
  background: var(--rb-cyan);
}

/* ---------- 联系 ---------- */
.page-home .hm-cta {
  display: grid;
  gap: var(--hm-gap);
}

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

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

.page-home .hm-cta__copy .rb-h2 {
  margin: 12px 0 0;
}

.page-home .hm-cta__copy .rb-lede {
  margin: 16px 0 0;
}

.page-home .hm-cta__btn {
  margin-top: 28px;
}

.page-home .hm-cta__list {
  margin: 0;
  min-width: 0;
  border-top: 1px solid var(--rb-line-soft);
}

.page-home .hm-cta__row {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--rb-line-soft);
}

.page-home .hm-cta__row dt {
  padding-top: 2px;
  font-family: var(--rb-font-mono);
  font-size: 0.73rem;
  letter-spacing: 0.14em;
  color: var(--rb-text-faint);
}

.page-home .hm-cta__row dd {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--rb-text);
  overflow-wrap: anywhere;
}

@media (max-width: 480px) {
  .page-home .hm-cta__row {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .page-home .hm-strip__item {
    flex-basis: 84vw;
  }

  .page-home .hm-tab {
    padding: 11px 13px;
    font-size: 0.78rem;
  }
}
