.page-home .home-hero {
  position: relative;
  overflow: hidden;
  padding: 34px 0 56px;
  background:
    radial-gradient(122% 96% at 86% 6%, rgba(184, 134, 11, .26) 0%, rgba(184, 134, 11, 0) 62%),
    linear-gradient(158deg, var(--green-deep) 8%, var(--green) 60%, #26453A 100%);
  color: var(--cream);
  border-bottom: 1px solid var(--line-copper);
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -22%;
  width: 70%;
  height: 180%;
  transform: rotate(-11deg);
  background: linear-gradient(152deg, rgba(107, 123, 140, .38), rgba(107, 123, 140, 0) 70%);
  border-left: 1px solid rgba(212, 175, 55, .34);
  pointer-events: none;
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  left: -20%;
  bottom: -74%;
  width: 58%;
  height: 132%;
  transform: rotate(-14deg);
  background: rgba(199, 62, 54, .14);
  pointer-events: none;
}

.page-home .home-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 28px;
}

.page-home .home-hero__card {
  position: relative;
  z-index: 2;
  padding: 28px 22px 26px;
  border-radius: var(--radius);
  border-top: 4px solid var(--copper);
  background: var(--cream);
  color: var(--brown);
  box-shadow: var(--shadow-2);
}

.page-home .home-hero__kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--slate);
}

.page-home .home-hero__kicker li {
  position: relative;
  padding-left: 14px;
}

.page-home .home-hero__kicker li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  transform: rotate(45deg);
  background: var(--copper);
}

.page-home .home-hero__title {
  margin: 0 0 16px;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 28px;
  line-height: 1.26;
  letter-spacing: -.01em;
  color: var(--green-deep);
}

.page-home .home-hero__lead {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--brown);
}

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

.page-home .home-hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
  margin: 0;
  padding: 20px 0 0;
  list-style: none;
  border-top: 1px solid var(--line-copper);
}

.page-home .home-hero__stat .data-num {
  display: block;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--copper);
}

.page-home .home-hero__stat span:last-child {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--slate);
}

.page-home .home-hero__figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line-copper);
  box-shadow: var(--shadow-2);
}

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

.page-home .home-hero__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 26px 16px 12px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--cream);
  background: linear-gradient(to top, rgba(30, 51, 42, .9), rgba(30, 51, 42, 0));
}

/* ---------- 通用区块 ---------- */
.page-home .home-block {
  position: relative;
  padding: 52px 0;
}

.page-home .home-block--tint {
  background: var(--cream-2);
}

/* ---------- 规则指引 ---------- */
.page-home .home-rules__layout {
  display: grid;
  gap: 32px;
}

.page-home .home-rules__media {
  margin: 24px 0 20px;
}

.page-home .home-rules__link {
  margin-top: 4px;
}

.page-home .home-rules__list {
  display: grid;
  gap: 12px;
  align-content: start;
}

/* ---------- 双端并进 ---------- */
.page-home .home-devices__head {
  max-width: 720px;
  margin-bottom: 28px;
}

.page-home .home-devices__media {
  margin: 0 0 28px;
  border: 1px solid var(--line-copper);
  box-shadow: var(--shadow-1);
}

.page-home .home-devices__grid {
  display: grid;
  gap: 20px;
}

.page-home .home-device {
  position: relative;
  padding: 24px 22px 26px;
  border-radius: var(--radius);
  background: var(--cream);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}

.page-home .home-device::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--copper), rgba(184, 134, 11, 0));
}

.page-home .home-device--tablet::after {
  background: linear-gradient(90deg, var(--slate), rgba(107, 123, 140, 0));
}

.page-home .home-device:hover,
.page-home .home-device:focus-within {
  transform: translateY(-4px);
  border-color: var(--copper);
  box-shadow: var(--shadow-2);
}

.page-home .home-device__title {
  margin: 14px 0 10px;
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--green-deep);
}

.page-home .home-device__text {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.78;
  color: var(--brown);
}

.page-home .home-device__list {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.page-home .home-device__list li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--brown);
}

.page-home .home-device__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  transform: rotate(45deg);
  background: var(--mist);
  border: 1px solid var(--copper);
}

.page-home .home-device__list .data-num {
  font-weight: 700;
  color: var(--vermilion);
}

.page-home .home-versions {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.page-home .home-version {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--glass);
  border-left: 3px solid var(--copper);
}

.page-home .home-version__name {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: .08em;
  font-weight: 700;
  color: var(--green-deep);
}

.page-home .home-version__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--brown);
}

.page-home .home-device__note {
  margin: 0 0 20px;
  padding-top: 14px;
  border-top: 1px dashed var(--line-copper);
  font-size: 14px;
  line-height: 1.7;
  color: var(--slate);
}

/* ---------- 记录找回 ---------- */
.page-home .home-restore__panel {
  display: grid;
  gap: 30px;
  padding: 30px 22px 32px;
  border-radius: var(--radius);
  border-top: 3px solid var(--copper);
  background: linear-gradient(152deg, var(--green-deep) 6%, var(--green) 90%);
  color: var(--cream);
  box-shadow: var(--shadow-2);
}

.page-home .home-restore__panel .section__eyebrow {
  color: var(--copper-lt);
}

.page-home .home-restore__panel .section__title {
  color: var(--cream);
}

.page-home .home-restore__panel .section__lead {
  color: rgba(249, 246, 240, .82);
  margin-bottom: 20px;
}

.page-home .home-steps {
  margin: 0;
  padding: 0 0 0 22px;
  list-style: none;
  border-left: 1px dashed rgba(212, 175, 55, .45);
}

.page-home .home-steps__item {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  padding: 0 0 22px;
}

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

.page-home .home-steps__item::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 5px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--copper);
  box-shadow: 0 0 0 4px rgba(30, 51, 42, .9);
}

.page-home .home-steps__item--key::before {
  background: var(--vermilion);
  box-shadow: 0 0 0 4px rgba(30, 51, 42, .9), 0 0 0 8px rgba(199, 62, 54, .22);
}

.page-home .home-steps__num {
  font-size: 15px;
  font-weight: 700;
  color: rgba(212, 175, 55, .7);
}

.page-home .home-steps__item--key .home-steps__num {
  color: var(--vermilion);
}

.page-home .home-steps__title {
  margin: 0 0 6px;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--cream);
}

.page-home .home-steps__item--key .home-steps__title {
  color: var(--copper-lt);
}

.page-home .home-steps__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(249, 246, 240, .78);
}

/* ---------- 段位 ---------- */
.page-home .home-ranks__top {
  display: grid;
  gap: 28px;
  margin-bottom: 32px;
}

.page-home .home-ranks__badge {
  margin: 0;
  max-width: 320px;
  border: 1px solid var(--line-copper);
  box-shadow: var(--shadow-1);
}

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

.page-home .home-ladder__item {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.page-home .home-ladder__name {
  font-family: var(--font-mono);
  font-size: 13px;
  text-align: right;
  color: var(--slate);
}

.page-home .home-ladder__bar {
  height: 11px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), rgba(44, 74, 62, .28));
  transition: width .45s var(--ease);
}

.page-home .home-ladder__item:nth-child(1) .home-ladder__bar { width: 20%; }
.page-home .home-ladder__item:nth-child(2) .home-ladder__bar { width: 30%; }
.page-home .home-ladder__item:nth-child(3) .home-ladder__bar { width: 40%; }
.page-home .home-ladder__item:nth-child(4) .home-ladder__bar { width: 50%; }
.page-home .home-ladder__item:nth-child(5) .home-ladder__bar { width: 60%; }
.page-home .home-ladder__item:nth-child(6) .home-ladder__bar { width: 70%; }
.page-home .home-ladder__item:nth-child(7) .home-ladder__bar { width: 80%; background: linear-gradient(90deg, var(--copper), var(--copper-lt)); }
.page-home .home-ladder__item:nth-child(8) .home-ladder__bar { width: 90%; background: linear-gradient(90deg, var(--copper), var(--copper-lt)); }
.page-home .home-ladder__item:nth-child(9) .home-ladder__bar { width: 100%; background: linear-gradient(90deg, var(--copper), var(--vermilion)); }

.page-home .home-ladder__item:nth-child(n+7) .home-ladder__name {
  color: var(--copper);
}

.page-home .home-ladder__item:nth-child(9) .home-ladder__name {
  color: var(--vermilion);
  font-weight: 700;
}

/* ---------- 徽派雅集 ---------- */
.page-home .home-heritage__panel {
  display: grid;
  gap: 30px;
  padding: 28px 22px 30px;
  border-radius: var(--radius);
  background: var(--cream);
  border: 1px solid var(--line-copper);
  box-shadow: var(--shadow-1);
}

.page-home .home-heritage__text {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--brown);
}

.page-home .home-heritage__facts {
  margin: 22px 0 24px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.page-home .home-heritage__facts li {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: baseline;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.65;
  color: var(--brown);
}

.page-home .home-heritage__facts li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.page-home .home-heritage__num {
  font-size: 17px;
  font-weight: 700;
  color: var(--vermilion);
}

.page-home .home-heritage__aside {
  padding: 20px 18px;
  border-radius: var(--radius-sm);
  background: linear-gradient(160deg, var(--green-deep), var(--green));
  color: var(--cream);
}

.page-home .home-heritage__asideTitle {
  margin: 0 0 14px;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--copper-lt);
}

.page-home .home-heritage__meta {
  margin: 0;
  display: grid;
  gap: 12px;
}

.page-home .home-heritage__metaRow {
  display: grid;
  gap: 3px;
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(212, 175, 55, .32);
}

.page-home .home-heritage__metaRow:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.page-home .home-heritage__metaRow dt {
  font-size: 12px;
  letter-spacing: .1em;
  color: rgba(220, 227, 232, .72);
}

.page-home .home-heritage__metaRow dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--cream);
}

/* ---------- 咨询服务 ---------- */
.page-home .home-connect__grid {
  display: grid;
  gap: 26px;
}

.page-home .home-connect__card {
  padding: 22px 20px 24px;
  border-radius: var(--radius);
  background: var(--cream-2);
  border: 1px solid var(--line-copper);
  box-shadow: var(--shadow-1);
}

.page-home .home-connect__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line-copper);
}

.page-home .home-connect__row--plain {
  border-bottom: 0;
}

.page-home .home-connect__label {
  flex: 0 0 100%;
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--slate);
}

.page-home .home-connect__value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--green-deep);
  word-break: break-all;
}

.page-home .home-connect__note {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.7;
  color: var(--slate);
}

.page-home .copy-status {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--vermilion);
}

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

  .page-home .home-hero__title {
    font-size: 34px;
  }

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

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

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

  .page-home .home-ladder__item {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .page-home .home-connect__row {
    flex-wrap: nowrap;
  }

  .page-home .home-connect__label {
    flex: 0 0 84px;
  }
}

@media (min-width: 900px) {
  .page-home .home-hero {
    padding: 58px 0 84px;
  }

  .page-home .home-hero__grid {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
    align-items: center;
    gap: 0;
  }

  .page-home .home-hero__card {
    padding: 44px 42px 40px;
    margin-right: -56px;
    transform: translateY(-14px);
  }

  .page-home .home-hero__title {
    font-size: 42px;
  }

  .page-home .home-hero__lead {
    font-size: 17px;
  }

  .page-home .home-hero__figure {
    transform: translateY(16px);
  }

  .page-home .home-block {
    padding: 76px 0;
  }

  .page-home .home-rules__layout {
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: 52px;
  }

  .page-home .home-rules__list {
    grid-template-columns: 1fr;
  }

  .page-home .home-restore__panel {
    grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr);
    gap: 48px;
    padding: 44px 46px 46px;
    align-items: start;
  }

  .page-home .home-ranks__top {
    grid-template-columns: minmax(0, 1fr) 280px;
    align-items: end;
    gap: 48px;
    margin-bottom: 40px;
  }

  .page-home .home-ranks__badge {
    justify-self: end;
    width: 280px;
  }

  .page-home .home-ladder {
    gap: 11px;
  }

  .page-home .home-heritage__panel {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
    gap: 52px;
    padding: 44px 46px;
  }

  .page-home .home-connect__grid {
    grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr);
    gap: 52px;
    align-items: center;
  }
}

@media (min-width: 1100px) {
  .page-home .home-hero__title {
    font-size: 46px;
  }

  .page-home .home-hero__card {
    margin-right: -72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-device,
  .page-home .home-ladder__bar {
    transition: none;
  }

  .page-home .home-hero__card,
  .page-home .home-hero__figure {
    transform: none;
  }
}
