.page-home {
  --home-slice: 56px;
  --home-rail-w: 288px;
  background: var(--ink-900);
  color: var(--paper);
  overflow-x: hidden;
}

.page-home h1,
.page-home h2,
.page-home h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
}

.page-home h2 {
  font-size: clamp(26px, 4.4vw, 40px);
  line-height: 1.1;
  margin: 10px 0 14px;
}

.page-home h3 {
  font-size: 17px;
  line-height: 1.3;
}

.page-home p {
  margin: 0 0 12px;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--slate);
}

.page-home a {
  color: var(--cyan-400);
}

.page-home a:focus-visible,
.page-home button:focus-visible {
  outline: 2px solid var(--cyan-400);
  outline-offset: 3px;
}

/* ---------- 首屏工作台 ---------- */
.page-home .home-hero {
  position: relative;
  padding: calc(var(--head-h) + 18px) 0 44px;
  overflow: hidden;
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    conic-gradient(from 208deg at 78% 8%, rgba(53, 240, 208, 0.13), transparent 42%),
    radial-gradient(70% 62% at 12% 0%, rgba(200, 138, 74, 0.14), transparent 72%);
  pointer-events: none;
}

.page-home .home-hero__grid {
  position: relative;
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}

.page-home .home-rail {
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  background: rgba(12, 42, 32, 0.78);
  padding: 18px 16px 20px;
}

.page-home .home-rail__hint {
  font-size: 14px;
  line-height: 1.65;
  color: var(--slate);
  margin: 4px 0 14px;
}

.page-home .rail-entries {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.page-home .rail-entry {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-height: 44px;
  padding: 10px 13px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-sm);
  background: rgba(7, 26, 20, 0.42);
  text-decoration: none;
  color: var(--paper);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.page-home .rail-entry:hover,
.page-home .rail-entry:focus-visible {
  border-color: var(--line-cyan);
  background: rgba(53, 240, 208, 0.08);
}

.page-home .rail-entry__k {
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: 0.04em;
  color: var(--copper-300);
}

.page-home .rail-entry__d {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--slate);
}

.page-home .home-rail__meta {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--slate);
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
}

.page-home .home-stage {
  position: relative;
  min-height: 440px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 34px), calc(100% - 34px) 100%, 0 100%);
  background: var(--ink-800);
}

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

.page-home .home-stage__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(118deg, rgba(7, 26, 20, 0.95) 14%, rgba(7, 26, 20, 0.58) 58%, rgba(7, 26, 20, 0.9) 100%),
    linear-gradient(0deg, rgba(7, 26, 20, 0.85), transparent 55%);
}

.page-home .home-stage__body {
  position: relative;
  padding: 34px 20px 46px;
  max-width: 33em;
}

.page-home .home-stage h1 {
  font-size: clamp(36px, 8.4vw, 76px);
  line-height: 1.04;
  margin: 14px 0 16px;
  color: var(--paper);
}

.page-home .home-stage__lead {
  font-size: 16.5px;
  line-height: 1.78;
  color: rgba(242, 237, 227, 0.82);
  max-width: 30em;
}

.page-home .home-stage__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

/* ---------- 斜切过渡带 ---------- */
.page-home .slice {
  position: relative;
  height: var(--home-slice);
  overflow: hidden;
}

.page-home .slice::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink-800);
  clip-path: polygon(0 0, 100% 62%, 100% 100%, 0 100%);
}

/* ---------- 三步定位 ---------- */
.page-home .home-steps {
  padding: 48px 0 52px;
  background: var(--ink-800);
}

.page-home .home-steps__grid {
  display: grid;
  gap: 26px;
  grid-template-columns: 1fr;
}

.page-home .home-steps__media {
  position: relative;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--ink-900);
}

.page-home .home-steps__media img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  opacity: 0.8;
}

.page-home .path-diagram {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  margin: -34px 0 14px 14px;
  position: relative;
}

.page-home .path-diagram__end {
  fill: var(--cyan-400);
  animation: home-pulse 2.6s ease-in-out infinite;
}

@keyframes home-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.page-home .home-steps__lead {
  max-width: 34em;
}

.page-home .step-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}

.page-home .step {
  position: relative;
  padding: 16px 0 18px 48px;
  border-top: 1px solid var(--line-soft);
}

.page-home .step__idx {
  position: absolute;
  left: 0;
  top: 18px;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--copper-500);
}

.page-home .step__title {
  font-size: 16.5px;
  color: var(--paper);
  margin-bottom: 6px;
}

.page-home .step__text {
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

/* ---------- 数据条 ---------- */
.page-home .home-scale {
  padding: 50px 0 46px;
  background: var(--ink-900);
}

.page-home .stat-strip {
  display: grid;
  gap: 1px;
  grid-template-columns: 1fr;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  overflow: hidden;
}

.page-home .stat a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  padding: 20px 18px 22px;
  background: var(--ink-900);
  text-decoration: none;
  color: inherit;
  transition: background 0.24s var(--ease);
}

.page-home .stat a:hover,
.page-home .stat a:focus-visible {
  background: var(--ink-700);
}

.page-home .stat__num {
  font-family: var(--font-mono);
  font-size: clamp(38px, 7vw, 54px);
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--cyan-400);
  font-variant-numeric: tabular-nums;
}

.page-home .stat__cap {
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.02em;
  color: var(--paper);
}

.page-home .stat__note {
  font-size: 13px;
  line-height: 1.6;
  color: var(--slate);
}

.page-home .home-scale__foot {
  margin-top: 16px;
  font-size: 14.5px;
}

/* ---------- 收藏与回看 ---------- */
.page-home .home-archive {
  padding: 50px 0 54px;
}

.page-home .home-archive__grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
}

.page-home .home-archive__lead {
  max-width: 34em;
}

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

.page-home .archive-points li {
  position: relative;
  padding: 14px 0 14px 18px;
  border-left: 1px solid var(--line);
}

.page-home .archive-points li + li {
  margin-top: 4px;
}

.page-home .archive-points h3 {
  font-size: 15.5px;
  color: var(--copper-300);
  margin-bottom: 5px;
}

.page-home .archive-points p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.7;
}

.page-home .home-archive__media {
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--ink-800);
}

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

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

/* ---------- 赛后数据对照 ---------- */
.page-home .home-compare {
  position: relative;
  padding: 54px 0 58px;
  background: var(--ink-800);
  overflow: hidden;
}

.page-home .home-compare__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  opacity: 0.16;
  pointer-events: none;
}

.page-home .home-compare__inner {
  position: relative;
}

.page-home .home-compare__lead {
  max-width: 34em;
}

.page-home .field-groups {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

.page-home .field-group {
  padding: 16px 16px 18px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  background: rgba(7, 26, 20, 0.82);
}

.page-home .field-group__idx {
  display: block;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--copper-500);
  margin-bottom: 8px;
}

.page-home .field-group h3 {
  font-size: 16px;
  color: var(--paper);
  margin-bottom: 6px;
}

.page-home .field-group p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
}

.page-home .home-compare__foot {
  margin-top: 20px;
  font-size: 14.5px;
}

/* ---------- 两端访问与反馈 ---------- */
.page-home .home-access {
  padding: 52px 0 64px;
}

.page-home .access-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
  margin-top: 22px;
}

.page-home .access-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 18px 22px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  background: rgba(18, 58, 44, 0.5);
}

.page-home .access-card h3 {
  font-size: 18px;
  color: var(--copper-300);
}

.page-home .access-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.72;
}

.page-home .access-card__link {
  margin-top: auto;
  padding-top: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--line-cyan);
  align-self: flex-start;
}

.page-home .access-card--wide {
  border-color: var(--line);
  background:
    linear-gradient(96deg, rgba(200, 138, 74, 0.16), rgba(7, 26, 20, 0.9) 62%),
    var(--ink-700);
}

.page-home .access-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.page-home .home-access__brand {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  font-size: 14.5px;
  line-height: 1.75;
}

/* ---------- 平板 ---------- */
@media (min-width: 700px) {
  .page-home .stat-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-home .field-groups {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .page-home .access-card--wide {
    grid-column: 1 / -1;
  }

  .page-home .home-stage__body {
    padding: 46px 40px 56px;
  }
}

/* ---------- 桌面：左轨 + 内容错落 ---------- */
@media (min-width: 960px) {
  .page-home {
    --home-slice: 72px;
  }

  .page-home .home-hero {
    padding: calc(var(--head-h) + 26px) 0 56px;
  }

  .page-home .home-hero__grid {
    grid-template-columns: var(--home-rail-w) minmax(0, 1fr);
    gap: var(--gap);
    align-items: start;
  }

  .page-home .home-rail {
    position: sticky;
    top: calc(var(--head-h) + 16px);
    padding: 22px 20px 24px;
  }

  .page-home .home-stage {
    min-height: 500px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 56px), calc(100% - 56px) 100%, 0 100%);
  }

  .page-home .home-stage__body {
    padding: 58px 56px 64px;
  }

  .page-home .home-steps {
    padding: 64px 0 68px;
  }

  .page-home .home-steps__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 48px;
    align-items: center;
  }

  .page-home .stat-strip {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-home .stat a {
    padding: 24px 20px 26px;
  }

  .page-home .home-archive {
    padding: 66px 0 70px;
  }

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

  .page-home .home-archive__media {
    margin-top: 44px;
  }

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

  .page-home .field-groups {
    grid-template-columns: repeat(5, 1fr);
  }

  .page-home .home-access {
    padding: 66px 0 80px;
  }
}

@media (min-width: 1100px) {
  .page-home .field-groups {
    gap: 14px;
  }

  .page-home .home-stage__lead {
    font-size: 17.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .path-diagram__end {
    animation: none;
  }

  .page-home .rail-entry,
  .page-home .stat a {
    transition: none;
  }
}
