.page-home {
  --home-gap: clamp(64px, 9vw, 128px);
  --home-head-gap: clamp(28px, 4vw, 46px);
  display: block;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-sans);
}

/* ---------- 首屏 ---------- */

.page-home .hero-split {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(48px, 8vw, 104px) 0 clamp(56px, 9vw, 116px);
  background:
    radial-gradient(120% 96% at 84% 10%, rgba(0, 194, 168, .18) 0%, transparent 58%),
    radial-gradient(90% 80% at 8% 100%, rgba(255, 107, 53, .1) 0%, transparent 62%),
    linear-gradient(155deg, var(--green) 0%, var(--green-deep) 100%);
  color: var(--white);
}

.page-home .hero-deco {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: .7;
  pointer-events: none;
}

.page-home .hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(34px, 5vw, 64px);
  align-items: center;
}

@media (min-width: 900px) {
  .page-home .hero-grid {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  }
}

.page-home .hero-copy h1 {
  margin: 0 0 clamp(18px, 2.4vw, 28px);
  font-size: clamp(32px, 6vw, 66px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.022em;
}

.page-home .hero-copy h1 em {
  font-style: normal;
  color: var(--orange);
}

.page-home .hero-copy .lead {
  max-width: 54ch;
  margin: 0 0 clamp(26px, 3.4vw, 36px);
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.78;
  color: rgba(255, 255, 255, .78);
}

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

.page-home .hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 3.4vw, 44px);
  margin: clamp(30px, 4vw, 48px) 0 0;
  padding: clamp(22px, 2.6vw, 30px) 0 0;
  list-style: none;
  border-top: 1px solid var(--line-invert);
}

.page-home .hero-stats li {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 88px;
}

.page-home .stat-num {
  font-family: var(--font-mono);
  font-size: clamp(26px, 4.4vw, 40px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--orange);
}

.page-home .stat-label {
  font-size: 12.5px;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .6);
}

.page-home .hero-visual {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--green-deep);
  box-shadow: var(--shadow-lift);
}

.page-home .hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(255, 107, 53, .16) 0%, transparent 54%);
  pointer-events: none;
}

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

@media (max-width: 719px) {
  .page-home .hero-deco {
    opacity: .32;
  }
}

/* ---------- 数据轨道与正文 ---------- */

.page-home .layout-rail {
  padding-top: clamp(56px, 8vw, 112px);
  padding-bottom: clamp(64px, 9vw, 120px);
}

.page-home .rail-body {
  display: grid;
  gap: var(--home-gap);
  min-width: 0;
}

.page-home .rail-section {
  min-width: 0;
  scroll-margin-top: calc(var(--header-h) + 24px);
}

/* ---------- 编号章节头 ---------- */

.page-home .section-head {
  display: grid;
  gap: clamp(10px, 1.8vw, 20px);
  margin-bottom: var(--home-head-gap);
}

@media (min-width: 760px) {
  .page-home .section-head {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
  }
}

.page-home .section-index {
  margin: 0;
  font-family: var(--font-mono);
  font-size: clamp(36px, 5.6vw, 64px);
  font-weight: 700;
  line-height: .88;
  letter-spacing: -.04em;
  color: var(--orange);
}

.page-home .section-kicker {
  margin: 0 0 9px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--green-soft);
}

.page-home .section-title {
  margin: 0 0 clamp(10px, 1.6vw, 16px);
  font-size: clamp(22px, 3.2vw, 38px);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -.016em;
  color: var(--green-deep);
}

.page-home .section-lead {
  max-width: 62ch;
  margin: 0;
  font-size: clamp(15px, 1.4vw, 16.5px);
  line-height: 1.78;
  color: var(--muted);
}

/* ---------- 核心数据卡组 ---------- */

.page-home .core-grid {
  gap: clamp(18px, 2.4vw, 26px);
}

.page-home .core-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform .38s var(--ease), box-shadow .38s var(--ease), border-color .38s var(--ease);
}

.page-home .core-card:hover,
.page-home .core-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(255, 107, 53, .4);
  box-shadow: var(--shadow-soft);
}

.page-home .core-card-media {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--gray);
}

.page-home .core-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .65s var(--ease);
}

.page-home .core-card:hover .core-card-media img,
.page-home .core-card:focus-within .core-card-media img {
  transform: scale(1.045);
}

.page-home .core-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 11px;
  padding: clamp(20px, 2.4vw, 28px);
}

.page-home .core-card-body h3 {
  margin: 0;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  line-height: 1.32;
  color: var(--green-deep);
}

.page-home .core-card-body p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--muted);
}

.page-home .core-more {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  font-size: 13.5px;
  color: var(--green-soft);
  transition: max-height .48s var(--ease), opacity .3s var(--ease);
}

.page-home .core-card:hover .core-more,
.page-home .core-card:focus-within .core-more {
  max-height: 200px;
  opacity: 1;
}

@media (hover: none) {
  .page-home .core-more {
    max-height: none;
    opacity: 1;
  }
}

.page-home .core-card--stat {
  background: linear-gradient(165deg, var(--surface-muted) 0%, var(--white) 78%);
}

.page-home .core-card--stat .core-card-body {
  justify-content: center;
  padding-top: clamp(28px, 3.6vw, 40px);
}

.page-home .core-facts {
  display: grid;
  gap: 10px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .core-facts li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 13.5px;
  color: var(--ink);
}

.page-home .core-facts .mono {
  flex: 0 0 auto;
  min-width: 32px;
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 700;
  color: var(--green);
}

.page-home .core-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--orange);
  text-decoration: none;
  transition: gap .25s var(--ease);
}

.page-home .core-link:hover,
.page-home .core-link:focus-visible {
  gap: 11px;
}

/* ---------- 赛季同步面板 ---------- */

.page-home .sync-panel {
  position: relative;
  display: grid;
  gap: clamp(26px, 3.4vw, 44px);
  padding: clamp(26px, 3.6vw, 46px);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--green) 0%, var(--green-deep) 100%);
  color: var(--white);
}

.page-home .sync-panel::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -70px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 53, .3) 0%, transparent 68%);
  pointer-events: none;
}

@media (min-width: 880px) {
  .page-home .sync-panel {
    grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
    align-items: center;
  }
}

.page-home .sync-readout {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.page-home .sync-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 clamp(18px, 2.2vw, 26px);
  padding: 8px 16px;
  border: 1px solid var(--line-invert);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .07);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .05em;
}

.page-home .sync-badge .season-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 107, 53, .2);
  animation: homePulse 2.6s ease-in-out infinite;
}

@keyframes homePulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255, 107, 53, .2); }
  50% { box-shadow: 0 0 0 10px rgba(255, 107, 53, .04); }
}

.page-home .sync-list {
  display: grid;
  gap: clamp(12px, 1.6vw, 18px);
  margin: 0;
}

.page-home .sync-list > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-invert);
}

.page-home .sync-list > div:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.page-home .sync-list dt {
  flex: 0 0 auto;
  font-size: 13px;
  color: rgba(255, 255, 255, .58);
}

.page-home .sync-list dd {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  text-align: right;
  color: rgba(255, 255, 255, .94);
}

.page-home .sync-list .mono {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--white);
}

.page-home .sync-list .is-highlight {
  color: var(--orange);
}

.page-home .sync-media {
  position: relative;
  z-index: 1;
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(255, 255, 255, .05);
}

.page-home .sync-media img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- 常用入口 ---------- */

.page-home .entry-panel {
  display: grid;
  gap: clamp(24px, 3vw, 42px);
  padding: clamp(24px, 3.4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-muted);
}

@media (min-width: 880px) {
  .page-home .entry-panel {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
    align-items: center;
  }
}

.page-home .entry-main {
  min-width: 0;
}

.page-home .entry-note {
  margin: 0 0 clamp(20px, 2.6vw, 28px);
  font-size: clamp(15px, 1.5vw, 16.5px);
  line-height: 1.78;
  color: var(--ink);
}

.page-home .entry-actions {
  gap: 12px;
}

.page-home .entry-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0 0 0 clamp(0px, 1vw, 12px);
  list-style: none;
}

.page-home .entry-list li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px dashed rgba(11, 61, 46, .18);
  font-size: 14.5px;
  line-height: 1.66;
  color: var(--muted);
}

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

.page-home .entry-list .mono {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
}

/* ---------- 使用路径 ---------- */

.page-home .steps {
  display: grid;
  gap: clamp(14px, 2vw, 20px);
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.page-home .step {
  display: flex;
  gap: clamp(14px, 2vw, 22px);
  padding: clamp(20px, 2.6vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  transition: border-color .3s var(--ease), background .3s var(--ease);
}

.page-home .step:hover {
  border-color: rgba(255, 107, 53, .36);
  background: #FFFCFA;
}

.page-home .step-index {
  flex: 0 0 auto;
  padding-top: 3px;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--orange);
}

.page-home .step-body h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--green-deep);
}

.page-home .step-body p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.74;
  color: var(--muted);
}

/* ---------- 收束区 ---------- */

.page-home .rail-closing {
  display: grid;
  gap: 16px;
  justify-items: start;
  padding: clamp(28px, 4vw, 52px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(110% 130% at 92% 0%, rgba(255, 107, 53, .22) 0%, transparent 58%),
    linear-gradient(150deg, var(--green-soft) 0%, var(--green-deep) 100%);
  color: var(--white);
}

.page-home .rail-closing h2 {
  margin: 0;
  font-size: clamp(20px, 2.6vw, 30px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -.014em;
}

.page-home .rail-closing p {
  max-width: 52ch;
  margin: 0;
  font-size: 15px;
  line-height: 1.78;
  color: rgba(255, 255, 255, .78);
}

.page-home .rail-closing .cluster {
  gap: 12px;
  margin-top: 6px;
}

/* ---------- 动效降级 ---------- */

@media (prefers-reduced-motion: reduce) {
  .page-home .sync-badge .season-dot {
    animation: none;
  }

  .page-home .core-card,
  .page-home .core-card-media img,
  .page-home .core-more,
  .page-home .core-link,
  .page-home .step {
    transition: none;
  }

  .page-home .core-card:hover,
  .page-home .core-card:focus-within {
    transform: none;
  }

  .page-home .core-card:hover .core-card-media img,
  .page-home .core-card:focus-within .core-card-media img {
    transform: none;
  }
}
