.page-home {
  --home-cream-72: rgba(246, 242, 236, .72);
  --home-cream-86: rgba(246, 242, 236, .86);
  --home-deep-line: rgba(127, 209, 193, .22);
  display: block;
  background-color: var(--bb-cream);
  color: var(--bb-ink);
  font-family: var(--bb-font-sans);
  overflow-x: hidden;
}

/* ---------- 顶部状态条 ---------- */
.page-home .home-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  padding-top: clamp(16px, 3vw, 26px);
  font-size: 13px;
  color: var(--bb-stone);
  letter-spacing: .01em;
}

.page-home .home-strip__label {
  font-weight: 800;
  color: var(--bb-deep);
  letter-spacing: .1em;
}

.page-home .home-strip__rule {
  flex: 1 1 40px;
  min-width: 24px;
  height: 1px;
  background: linear-gradient(90deg, var(--bb-line), transparent);
}

.page-home .home-strip__item {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

.page-home .home-strip__item b {
  color: var(--bb-teal-dark);
  font-weight: 700;
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  overflow: hidden;
  margin-top: clamp(14px, 2vw, 22px);
  padding: clamp(30px, 5vw, 62px) 0 clamp(62px, 9vw, 118px);
  color: var(--bb-cream);
  background:
    radial-gradient(118% 88% at 84% 6%, rgba(23, 163, 152, .42), transparent 60%),
    radial-gradient(96% 74% at 6% 96%, rgba(224, 169, 75, .18), transparent 64%),
    linear-gradient(158deg, #0B2A45 0%, #123C5E 48%, #0d3450 100%);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), 0 100%);
}

.page-home .home-hero__ray {
  position: absolute;
  top: -34%;
  left: -18%;
  width: 136%;
  height: 74%;
  background: linear-gradient(100deg, transparent 34%, rgba(224, 169, 75, .26) 48%, rgba(127, 209, 193, .2) 60%, transparent 76%);
  transform: rotate(-8deg);
  pointer-events: none;
}

.page-home .home-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(34px, 5vw, 54px);
}

.page-home .home-hero .bb-eyebrow {
  color: var(--bb-gold-soft);
}

.page-home .home-hero h1 {
  margin: 14px 0 0;
  font-size: clamp(38px, 6.2vw, 66px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--bb-cream);
}

.page-home .home-hero h1 span {
  display: block;
  margin-top: 8px;
  background: linear-gradient(96deg, #7FD1C1 0%, #F2CE8A 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-home .home-hero .bb-lede {
  margin-top: 20px;
  max-width: 30em;
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--home-cream-86);
}

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

.page-home .home-hero__facts {
  list-style: none;
  margin: 30px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--home-deep-line);
  display: grid;
  gap: 10px;
  font-size: 14px;
  color: rgba(246, 242, 236, .74);
}

.page-home .home-hero__facts li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  line-height: 1.65;
}

.page-home .home-hero__facts b {
  flex: none;
  color: var(--bb-gold-soft);
  font-size: 15px;
}

/* ---------- 悬浮入口卡 ---------- */
.page-home .home-dock {
  border-radius: var(--bb-radius-lg);
  overflow: hidden;
  background: rgba(8, 22, 31, .5);
  border: 1px solid rgba(127, 209, 193, .26);
  box-shadow: 0 28px 62px rgba(3, 14, 22, .5);
  transition: transform .4s var(--bb-ease), box-shadow .4s var(--bb-ease);
}

.page-home .home-dock:hover {
  transform: translateY(-4px);
  box-shadow: 0 34px 70px rgba(3, 14, 22, .58);
}

.page-home .home-dock__img {
  display: block;
  width: 100%;
  height: clamp(132px, 20vw, 186px);
  object-fit: cover;
  opacity: .58;
}

.page-home .home-dock__body {
  display: grid;
  gap: 10px;
  padding: clamp(16px, 2.6vw, 22px);
  background: linear-gradient(180deg, rgba(8, 22, 31, .2), rgba(8, 22, 31, .74));
}

.page-home .home-dock__title {
  margin: 0 0 2px;
  font-family: var(--bb-font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--bb-teal-soft);
}

.page-home .home-dock__row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "ver name"
    "ver note";
  align-items: center;
  gap: 2px 12px;
  padding: 12px 14px;
  border-radius: var(--bb-radius-sm);
  border: 1px solid rgba(127, 209, 193, .18);
  background: rgba(246, 242, 236, .05);
  color: var(--bb-cream);
  text-decoration: none;
  transition: background-color .25s var(--bb-ease), border-color .25s var(--bb-ease), transform .25s var(--bb-ease);
}

.page-home .home-dock__row:hover {
  background: rgba(127, 209, 193, .16);
  border-color: rgba(127, 209, 193, .42);
  transform: translateX(4px);
}

.page-home .home-dock__ver {
  grid-area: ver;
  font-size: 18px;
  font-weight: 600;
  color: var(--bb-gold);
  white-space: nowrap;
}

.page-home .home-dock__name {
  grid-area: name;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.01em;
}

.page-home .home-dock__note {
  grid-area: note;
  font-size: 13px;
  color: rgba(246, 242, 236, .66);
}

.page-home .home-dock__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px dashed rgba(127, 209, 193, .26);
}

.page-home .home-dock__url {
  font-size: 13px;
  color: rgba(246, 242, 236, .7);
}

.page-home .home-dock .copy-btn {
  color: var(--bb-teal-soft);
  border-color: rgba(127, 209, 193, .34);
}

/* ---------- 版本对照 ---------- */
.page-home .home-change {
  background: var(--bb-cream);
}

.page-home .home-change__grid {
  display: grid;
  gap: clamp(22px, 3.6vw, 38px);
}

.page-home .home-change__col {
  position: relative;
  padding: clamp(20px, 2.8vw, 30px);
  background: var(--bb-surface);
  border: 1px solid var(--bb-line);
  border-radius: var(--bb-radius);
  box-shadow: 0 14px 34px rgba(11, 42, 69, .07);
}

.page-home .home-change__col::before {
  content: "";
  position: absolute;
  top: -1px;
  left: clamp(20px, 2.8vw, 30px);
  width: 64px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--bb-teal), var(--bb-gold));
}

.page-home .home-change__col--mob::before {
  background: linear-gradient(90deg, var(--bb-clay), var(--bb-gold));
}

.page-home .home-change__label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.page-home .home-change__ver {
  font-size: 20px;
  font-weight: 600;
  color: var(--bb-deep);
}

.page-home .home-change__col h3 {
  margin: 14px 0 0;
  font-size: clamp(21px, 2.2vw, 26px);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -.01em;
  color: var(--bb-deep);
}

.page-home .home-change__fig {
  margin: 18px 0 0;
}

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

.page-home .home-change__col--desk .home-change__fig img {
  aspect-ratio: 3 / 2;
}

.page-home .home-change__col--mob .home-change__fig img {
  aspect-ratio: 3 / 4;
}

.page-home .bb-figure__caption {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--bb-stone);
}

.page-home .home-change__list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-home .home-change__list li {
  position: relative;
  padding-left: 22px;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--bb-stone);
}

.page-home .home-change__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .68em;
  width: 11px;
  height: 11px;
  border-radius: 4px 1px 4px 1px;
  background: var(--bb-teal);
}

.page-home .home-change__col--mob .home-change__list li::before {
  background: var(--bb-clay);
}

/* ---------- 三步开启 ---------- */
.page-home .home-start {
  background: linear-gradient(180deg, #FFFDFA 0%, var(--bb-cream) 100%);
}

.page-home .home-start__track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(18px, 2.6vw, 26px);
}

.page-home .home-start__step {
  position: relative;
  padding: 30px clamp(18px, 2.4vw, 26px) 26px;
  background: var(--bb-surface);
  border: 1px solid var(--bb-line);
  border-radius: var(--bb-radius);
  box-shadow: 0 12px 30px rgba(11, 42, 69, .06);
  transition: transform .35s var(--bb-ease), box-shadow .35s var(--bb-ease), background-color .35s var(--bb-ease);
}

.page-home .home-start__step:hover {
  transform: translateY(-4px);
  background: #fff;
  box-shadow: 0 20px 44px rgba(11, 42, 69, .12);
}

.page-home .home-start__step::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(18px, 2.4vw, 26px);
  width: 56px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--bb-teal), var(--bb-gold));
}

.page-home .home-start__idx {
  display: block;
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--bb-teal-dark);
}

.page-home .home-start__step h3 {
  margin: 14px 0 0;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--bb-deep);
}

.page-home .home-start__step p {
  margin: 10px 0 0;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--bb-stone);
}

.page-home .home-start__step a {
  display: inline-block;
  margin-top: 14px;
  padding-bottom: 2px;
  font-size: 14px;
  font-weight: 700;
  color: var(--bb-teal-dark);
  text-decoration: none;
  border-bottom: 1px solid rgba(15, 122, 112, .34);
  transition: color .2s var(--bb-ease), border-color .2s var(--bb-ease);
}

.page-home .home-start__step a:hover {
  color: var(--bb-deep);
  border-color: var(--bb-gold);
}

/* ---------- 版本时间轴 ---------- */
.page-home .home-versions {
  position: relative;
  overflow: hidden;
  padding-block: clamp(52px, 8vw, 96px);
  color: var(--bb-cream);
  background: var(--bb-deep);
}

.page-home .home-versions__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .2;
}

.page-home .home-versions::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(170deg, rgba(8, 22, 31, .9) 0%, rgba(11, 42, 69, .95) 60%, rgba(18, 60, 94, .88) 100%);
}

.page-home .home-versions__inner {
  position: relative;
  z-index: 1;
}

.page-home .home-versions h2 {
  color: var(--bb-cream);
}

.page-home .home-versions .bb-eyebrow {
  color: var(--bb-gold-soft);
}

.page-home .home-versions .bb-lede {
  color: var(--home-cream-72);
}

.page-home .home-versions__lines {
  display: grid;
  gap: clamp(20px, 3vw, 34px);
  margin-top: clamp(24px, 3.6vw, 40px);
}

.page-home .home-versions__line {
  padding: clamp(20px, 2.8vw, 28px);
  border: 1px solid var(--home-deep-line);
  border-radius: var(--bb-radius);
  background: rgba(18, 60, 94, .44);
}

.page-home .home-versions__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
}

.page-home .home-versions__now {
  font-size: 13px;
  color: var(--bb-teal-soft);
}

.page-home .home-versions__list {
  position: relative;
  list-style: none;
  margin: 18px 0 0;
  padding: 0 0 0 26px;
  display: grid;
  gap: 2px;
}

.page-home .home-versions__list::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 14px;
  bottom: 14px;
  width: 2px;
  background: linear-gradient(180deg, rgba(23, 163, 152, .9), rgba(23, 163, 152, .14));
}

.page-home .home-versions__line--mob .home-versions__list::before {
  background: linear-gradient(180deg, rgba(194, 112, 79, .9), rgba(194, 112, 79, .16));
}

.page-home .home-versions__list li {
  position: relative;
  padding: 10px 0 12px;
  display: grid;
  gap: 3px;
}

.page-home .home-versions__list li::before {
  content: "";
  position: absolute;
  left: -25px;
  top: 16px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bb-deep);
  border: 3px solid var(--bb-teal);
  transition: box-shadow .25s var(--bb-ease);
}

.page-home .home-versions__line--mob .home-versions__list li::before {
  border-color: var(--bb-clay);
}

.page-home .home-versions__list li.is-current::before {
  background: var(--bb-gold);
  border-color: var(--bb-gold-soft);
  box-shadow: 0 0 0 5px rgba(224, 169, 75, .18);
}

.page-home .home-versions__ver {
  font-size: 15px;
  font-weight: 600;
  color: var(--bb-gold-soft);
}

.page-home .home-versions__desc {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(246, 242, 236, .78);
}

.page-home .home-versions__note {
  margin: 16px 0 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(246, 242, 236, .6);
}

/* ---------- 老用户对照 ---------- */
.page-home .home-legacy__inner {
  display: grid;
  gap: clamp(24px, 3.6vw, 44px);
  align-items: start;
}

.page-home .home-legacy__copy h2 {
  margin: 12px 0 0;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -.015em;
  color: var(--bb-deep);
}

.page-home .home-legacy__copy p {
  margin: 16px 0 0;
  font-size: 16.5px;
  line-height: 1.78;
  color: var(--bb-stone);
}

.page-home .home-legacy__copy p a {
  margin-top: 6px;
}

.page-home .home-legacy__rows {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--bb-line);
}

.page-home .home-legacy__rows li {
  display: grid;
  gap: 4px;
  padding: 16px 0;
  border-bottom: 1px solid var(--bb-line);
  transition: background-color .25s var(--bb-ease);
}

.page-home .home-legacy__k {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--bb-teal-dark);
}

.page-home .home-legacy__v {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--bb-stone);
  transition: color .25s var(--bb-ease);
}

.page-home .home-legacy__rows li:hover .home-legacy__v {
  color: var(--bb-ink);
}

/* ---------- 帮助渠道 ---------- */
.page-home .home-help__grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 24px);
}

.page-home .home-help__card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-home .home-help__card h3 {
  margin: 0;
}

.page-home .home-help__card p {
  margin: 0;
}

.page-home .home-help__card .action-link {
  margin-top: auto;
  padding-top: 6px;
  align-self: flex-start;
}

/* ---------- 页尾行动提示带 ---------- */
.page-home .home-cta {
  padding-top: 0;
  padding-bottom: clamp(44px, 6vw, 78px);
}

.page-home .home-cta__box h2 {
  margin-top: 0;
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-home .home-legacy__rows li {
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 18px;
    align-items: baseline;
  }
}

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

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

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

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

  .page-home .home-change__col--mob {
    margin-top: 58px;
  }
}

@media (min-width: 900px) {
  .page-home .home-hero__inner {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    align-items: center;
  }

  .page-home .home-legacy__inner {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  }
}

@media (max-width: 560px) {
  .page-home .home-strip {
    gap: 6px 12px;
    font-size: 12px;
  }

  .page-home .home-strip__rule {
    display: none;
  }

  .page-home .home-hero {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), 0 100%);
  }

  .page-home .home-hero__facts li {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-dock,
  .page-home .home-dock__row,
  .page-home .home-start__step,
  .page-home .home-legacy__v,
  .page-home .home-versions__list li::before {
    transition: none;
  }

  .page-home .home-dock:hover,
  .page-home .home-start__step:hover,
  .page-home .home-dock__row:hover {
    transform: none;
  }
}
