.page-home {
  --home-pad-x: clamp(18px, 4.2vw, 60px);
  --home-sec-y: clamp(58px, 8vw, 106px);
  --home-hair: rgba(138, 147, 166, .28);
  position: relative;
  background: var(--ink-800);
  color: var(--mist);
  font-family: var(--font-body);
}

.page-home .shell {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--home-pad-x);
}

/* ---------- 首屏框景 ---------- */

.page-home .home-hero {
  position: relative;
  padding-top: clamp(102px, 13vw, 152px);
  padding-bottom: clamp(34px, 5vw, 58px);
  background:
    radial-gradient(760px 480px at 84% -10%, rgba(34, 230, 200, .20), transparent 64%),
    radial-gradient(620px 420px at 6% 108%, rgba(255, 122, 47, .16), transparent 62%),
    linear-gradient(180deg, var(--ink-900) 0%, var(--ink-800) 58%, var(--ink-800) 100%);
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(138, 147, 166, .10) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(138, 147, 166, .10) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(70% 62% at 50% 40%, #000 18%, transparent 82%);
  mask-image: radial-gradient(70% 62% at 50% 40%, #000 18%, transparent 82%);
  pointer-events: none;
}

.page-home .home-frame {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  padding: clamp(22px, 3.4vw, 44px);
  padding-bottom: clamp(30px, 3.8vw, 48px);
  background: linear-gradient(158deg, rgba(10, 26, 51, .94) 0%, rgba(5, 14, 31, .90) 100%);
  box-shadow: var(--shadow);
}

.page-home .home-frame > .frame-corner {
  position: absolute;
  top: -.72em;
  left: clamp(20px, 3vw, 40px);
  padding: 3px 12px;
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cyan);
  background: var(--ink-800);
  border: 1px solid rgba(34, 230, 200, .38);
  border-radius: 999px;
}

.page-home .home-frame-scale {
  position: absolute;
  left: clamp(22px, 3.4vw, 44px);
  right: clamp(22px, 3.4vw, 44px);
  bottom: 10px;
  height: 6px;
  background-image: repeating-linear-gradient(to right, rgba(138, 147, 166, .5) 0 1px, transparent 1px 16px);
  pointer-events: none;
}

.page-home .home-crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .1em;
  color: var(--stone);
}

.page-home .home-crumbs .crumb-link {
  color: var(--stone);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .25s var(--ease), border-color .25s var(--ease);
}

.page-home .home-crumbs .crumb-link:hover {
  color: var(--cyan);
  border-bottom-color: rgba(34, 230, 200, .5);
}

.page-home .home-crumbs .crumb-current {
  color: var(--mist);
}

.page-home .home-hero-grid {
  display: grid;
  gap: clamp(24px, 4vw, 44px);
}

.page-home .home-hero-copy .eyebrow {
  margin: 0;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cyan);
}

.page-home .home-hero-copy h1 {
  margin: 12px 0 0;
  font-size: clamp(2rem, 6.6vw, 3.85rem);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -.012em;
  color: #fff;
}

.page-home .home-hl {
  color: var(--cyan);
  background: linear-gradient(transparent 64%, rgba(34, 230, 200, .22) 64%);
}

.page-home .home-hero-copy .lede {
  margin: 20px 0 0;
  max-width: 34rem;
  font-size: clamp(.98rem, 1.6vw, 1.08rem);
  line-height: 1.85;
  color: var(--mist);
  opacity: .92;
}

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

.page-home .home-hero-actions .btn {
  min-width: 148px;
  text-align: center;
}

.page-home .home-hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 34px 0 0;
  padding: 20px 0 0;
  border-top: 1px dashed var(--line-strong);
  list-style: none;
}

.page-home .home-hero-facts li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.page-home .home-hero-facts .num {
  font-family: var(--font-mono);
  font-size: clamp(.98rem, 2.1vw, 1.35rem);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--cyan);
  line-height: 1.2;
}

.page-home .home-fact-label {
  font-size: .72rem;
  line-height: 1.5;
  letter-spacing: .03em;
  color: var(--stone);
}

.page-home .home-hero-media {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(150deg, var(--ink-700), var(--ink-900));
  box-shadow: 0 26px 52px -30px rgba(0, 0, 0, .92);
}

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

.page-home .home-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(34, 230, 200, .12), transparent 44%, rgba(5, 14, 31, .68) 100%);
  pointer-events: none;
}

.page-home .home-hero-tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(5, 14, 31, .82);
  font-size: .74rem;
  color: var(--mist);
}

/* ---------- 章节导航 ---------- */

.page-home .home-guide {
  position: sticky;
  top: 74px;
  z-index: 30;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(5, 14, 31, .92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.page-home .home-guide-list {
  display: flex;
  gap: clamp(12px, 2.6vw, 26px);
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 clamp(18px, 4.2vw, 60px);
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}

.page-home .home-guide-list::-webkit-scrollbar {
  display: none;
}

.page-home .home-guide-list a {
  display: inline-block;
  white-space: nowrap;
  padding: 13px 2px;
  font-size: .82rem;
  letter-spacing: .05em;
  color: var(--stone);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color .25s var(--ease), border-color .25s var(--ease);
}

.page-home .home-guide-list a:hover {
  color: var(--mist);
}

.page-home .home-guide-list a[aria-current="true"],
.page-home .home-guide-list a.is-current {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

/* ---------- 章节底座 ---------- */

.page-home .home-section {
  position: relative;
  padding-block: var(--home-sec-y);
}

.page-home .home-section + .home-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--home-pad-x);
  right: var(--home-pad-x);
  height: 1px;
  background-image: repeating-linear-gradient(to right, rgba(138, 147, 166, .38) 0 1px, transparent 1px 12px);
}

.page-home .home-head {
  max-width: 780px;
  margin-bottom: clamp(28px, 4.2vw, 50px);
}

.page-home .home-head .eyebrow {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cyan);
}

.page-home .home-head .section-title {
  margin: 0;
  font-size: clamp(1.6rem, 4.3vw, 2.55rem);
  line-height: 1.24;
  font-weight: 800;
  letter-spacing: -.008em;
  color: #fff;
}

.page-home .home-head .lede {
  margin: 16px 0 0;
  font-size: .98rem;
  line-height: 1.85;
  color: var(--mist);
  opacity: .86;
}

/* ---------- 安装四步 ---------- */

.page-home .home-steps-grid {
  display: grid;
  gap: clamp(26px, 4vw, 48px);
}

.page-home .home-steps-figure {
  margin: 0;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(150deg, var(--ink-700), var(--ink-900));
}

.page-home .home-steps-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  aspect-ratio: 25 / 14;
  object-fit: cover;
}

.page-home .home-steps-figure .media-caption {
  position: absolute;
  left: 14px;
  bottom: 12px;
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(5, 14, 31, .84);
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .04em;
  color: var(--mist);
}

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

.page-home .home-step {
  position: relative;
  padding: 18px 18px 18px 60px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(150deg, rgba(18, 42, 77, .55), rgba(5, 14, 31, .48));
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}

.page-home .home-step:hover {
  border-color: rgba(34, 230, 200, .42);
  box-shadow: 0 0 0 1px rgba(34, 230, 200, .12);
}

.page-home .home-step::before {
  content: "";
  position: absolute;
  left: 29px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line-strong);
}

.page-home .home-step:first-child::before {
  top: 34px;
}

.page-home .home-step:last-child::before {
  bottom: calc(100% - 34px);
}

.page-home .home-step .step-index {
  position: absolute;
  left: 15px;
  top: 19px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(34, 230, 200, .5);
  border-radius: 50%;
  background: var(--ink-900);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .04em;
}

.page-home .home-step .step-title {
  margin: 0 0 6px;
  font-size: 1.02rem;
  font-weight: 700;
  color: #fff;
}

.page-home .home-step .step-text {
  margin: 0;
  font-size: .9rem;
  line-height: 1.78;
  color: var(--mist);
  opacity: .86;
}

.page-home .home-step-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin: 12px 0 0;
  font-size: .75rem;
  color: var(--stone);
}

.page-home .home-step .step-link {
  display: inline-block;
  margin-top: 10px;
  font-size: .8rem;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(34, 230, 200, .38);
  transition: border-color .25s var(--ease);
}

.page-home .home-step .step-link:hover {
  border-bottom-color: var(--cyan);
}

/* ---------- 联赛 × 日期矩阵 ---------- */

.page-home .home-matrix-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(5, 14, 31, .5);
}

.page-home .home-matrix {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: .86rem;
}

.page-home .home-matrix-caption {
  padding: 14px 16px 6px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--stone);
}

.page-home .home-matrix th,
.page-home .home-matrix td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.page-home .home-matrix thead th {
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--stone);
  background: rgba(10, 26, 51, .72);
}

.page-home .home-matrix tbody th {
  font-weight: 700;
  color: #fff;
}

.page-home .home-matrix tbody tr:last-child th,
.page-home .home-matrix tbody tr:last-child td {
  border-bottom: 0;
}

.page-home .home-matrix tbody tr:hover {
  background: rgba(34, 230, 200, .05);
}

.page-home .home-matrix .matrix-cell--num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: var(--mist);
}

.page-home .home-matrix .matrix-cell--num .tag {
  margin-left: 8px;
}

.page-home .home-matrix-link {
  display: inline-block;
  font-size: .8rem;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(34, 230, 200, .35);
  transition: border-color .25s var(--ease);
}

.page-home .home-matrix-link:hover {
  border-bottom-color: var(--cyan);
}

.page-home .home-matrix-figure {
  position: relative;
  margin: clamp(22px, 3vw, 34px) 0 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(150deg, var(--ink-700), var(--ink-900));
}

.page-home .home-matrix-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  opacity: .9;
}

.page-home .home-matrix-figure .media-caption {
  position: absolute;
  left: 16px;
  bottom: 14px;
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(5, 14, 31, .86);
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .04em;
  color: var(--mist);
}

/* ---------- 换设备一致性（纸色对照层） ---------- */

.page-home .home-sync {
  background:
    linear-gradient(180deg, rgba(196, 113, 75, .08), transparent 42%),
    var(--paper);
  color: var(--ink-800);
  border-top: 1px solid rgba(10, 26, 51, .12);
  border-bottom: 1px solid rgba(10, 26, 51, .12);
}

.page-home .home-sync::before {
  display: none;
}

.page-home .home-sync-inner {
  display: grid;
  gap: clamp(26px, 4vw, 52px);
  align-items: center;
}

.page-home .home-sync-copy .eyebrow {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--clay);
}

.page-home .home-sync-copy .section-title {
  margin: 0;
  font-size: clamp(1.6rem, 4.3vw, 2.5rem);
  line-height: 1.24;
  font-weight: 800;
  letter-spacing: -.008em;
  color: var(--ink-900);
}

.page-home .home-sync-text {
  margin: 18px 0 0;
  font-size: .98rem;
  line-height: 1.85;
  color: #2E3E58;
}

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

.page-home .home-sync-list li {
  position: relative;
  padding-left: 24px;
  font-size: .92rem;
  line-height: 1.72;
  color: #33425C;
}

.page-home .home-sync-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: .62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clay);
}

.page-home .home-sync-cta {
  margin-top: 26px;
}

.page-home .home-sync-media {
  margin: 0;
  border: 1px solid rgba(10, 26, 51, .14);
  border-radius: 18px;
  overflow: hidden;
  background: var(--mist);
  box-shadow: 0 24px 44px -32px rgba(10, 26, 51, .75);
}

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

/* ---------- 江苏本地 ---------- */

.page-home .home-jiangsu-grid {
  display: grid;
  gap: 18px;
}

.page-home .home-jiangsu-card {
  display: grid;
  gap: 10px;
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(18, 42, 77, .5), rgba(5, 14, 31, .42));
  transition: border-color .3s var(--ease);
}

.page-home .home-jiangsu-card:hover {
  border-color: rgba(34, 230, 200, .38);
}

.page-home .home-jiangsu-num {
  font-family: var(--font-mono);
  font-size: clamp(1.6rem, 4.2vw, 2.3rem);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  color: var(--cyan);
}

.page-home .home-jiangsu-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.page-home .home-jiangsu-text {
  margin: 0;
  font-size: .88rem;
  line-height: 1.78;
  color: var(--mist);
  opacity: .84;
}

/* ---------- 收口与人工通道 ---------- */

.page-home .home-help-grid {
  display: grid;
  gap: clamp(26px, 3.6vw, 46px);
}

.page-home .home-help-main .eyebrow {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cyan);
}

.page-home .home-help-main .section-title {
  margin: 0;
  font-size: clamp(1.6rem, 4.3vw, 2.5rem);
  line-height: 1.24;
  font-weight: 800;
  color: #fff;
}

.page-home .home-help-main .lede {
  margin: 16px 0 0;
  max-width: 36rem;
  font-size: .98rem;
  line-height: 1.85;
  color: var(--mist);
  opacity: .86;
}

.page-home .home-help-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.page-home .home-help-cats a {
  padding: 9px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: .84rem;
  color: var(--mist);
  text-decoration: none;
  transition: border-color .25s var(--ease), color .25s var(--ease);
}

.page-home .home-help-cats a:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.page-home .home-help-side {
  padding: 26px 24px;
  border: 1px solid rgba(34, 230, 200, .28);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(34, 230, 200, .1), rgba(5, 14, 31, .6));
}

.page-home .home-help-side-title {
  margin: 0;
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cyan);
}

.page-home .home-contact-list {
  display: grid;
  gap: 14px;
  margin: 18px 0 20px;
  padding: 0;
  list-style: none;
}

.page-home .home-contact-list li {
  display: grid;
  gap: 5px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
}

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

.page-home .home-contact-key {
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--stone);
}

.page-home .home-contact-val {
  font-size: .9rem;
  line-height: 1.7;
  color: var(--mist);
  overflow-wrap: anywhere;
}

.page-home .home-copy-btn {
  justify-self: start;
  margin-top: 8px;
  padding: 6px 15px;
  border: 1px solid rgba(34, 230, 200, .42);
  border-radius: 999px;
  background: transparent;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .08em;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}

.page-home .home-copy-btn:hover {
  border-color: var(--cyan);
}

.page-home .home-copy-btn[data-copied] {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--ink-900);
}

.page-home .home-help-cta {
  width: 100%;
  text-align: center;
}

.page-home .home-help-note {
  margin: 16px 0 0;
  font-size: .8rem;
  line-height: 1.7;
  color: var(--stone);
}

/* ---------- 响应式 ---------- */

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

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

  .page-home .home-steps-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
  }

  .page-home .home-steps-figure {
    margin-top: 34px;
  }

  .page-home .home-sync-inner {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  }

  .page-home .home-help-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    align-items: start;
  }
}

@media (max-width: 560px) {
  .page-home .home-hero-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
  }

  .page-home .home-hero-actions .btn {
    flex: 1 1 100%;
  }

  .page-home .home-step {
    padding-left: 54px;
  }

  .page-home .home-step::before {
    left: 26px;
  }

  .page-home .home-step .step-index {
    left: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-step,
  .page-home .home-jiangsu-card,
  .page-home .home-guide-list a,
  .page-home .home-copy-btn,
  .page-home .home-matrix-link,
  .page-home .home-help-cats a {
    transition: none;
  }
}
</main>
