.page-home {
  overflow-x: hidden;
  color: var(--chalk);
}

.page-home .breadcrumb {
  padding: 20px 0 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--mist);
}

.page-home .breadcrumb .sep {
  color: var(--signal);
  margin: 0 2px;
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  padding: 24px 0 48px;
  background:
    repeating-linear-gradient(115deg, rgba(24, 201, 139, .045) 0 2px, transparent 2px 28px),
    radial-gradient(115% 85% at 84% 0%, rgba(95, 212, 255, .15), transparent 58%),
    radial-gradient(85% 65% at 6% 96%, rgba(255, 106, 42, .12), transparent 62%);
}

.page-home .home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 34px;
}

.page-home .home-hero h1 {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 6.4vw, 52px);
  line-height: 1.14;
  letter-spacing: -.012em;
  color: var(--chalk);
}

.page-home .home-hero .lede {
  margin: 18px 0 0;
  max-width: 54ch;
  font-size: 16px;
  line-height: 1.78;
  color: var(--mist);
}

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

.page-home .home-hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: 30px 0 0;
  padding: 18px 0 0;
  list-style: none;
  border-top: 1px dashed var(--wire);
  font-size: 13px;
  color: var(--mist);
}

.page-home .home-hero-facts li {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.page-home .home-hero-facts .data-num {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 19px;
  color: var(--amber);
}

.page-home .home-hero-visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background: var(--midnight);
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
  box-shadow: inset 0 0 0 1px var(--wire);
}

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

.page-home .count-ring {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(7, 17, 31, .88);
  box-shadow: 0 0 0 1px rgba(255, 106, 42, .38);
}

.page-home .count-ring svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.page-home .count-ring-track {
  fill: none;
  stroke: var(--wire);
  stroke-width: 4;
}

.page-home .count-ring-bar {
  fill: none;
  stroke: var(--signal);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 364;
  stroke-dashoffset: 98;
  animation: home-ring-pulse 3.4s ease-in-out infinite;
}

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

.page-home .count-ring-label {
  display: grid;
  gap: 2px;
  text-align: center;
}

.page-home .count-ring-k {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: .02em;
  color: var(--signal);
}

.page-home .count-ring-v {
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--mist);
}

/* ---------- 章节锚点 ---------- */
.page-home .home-anchors {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px 0 0;
}

.page-home .home-anchors a {
  padding: 7px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--mist);
  text-decoration: none;
  background: rgba(11, 27, 46, .9);
  box-shadow: inset 0 0 0 1px var(--wire);
  clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
  transition: color .16s ease, box-shadow .16s ease;
}

.page-home .home-anchors a:hover,
.page-home .home-anchors a:focus-visible {
  color: var(--chalk);
  box-shadow: inset 0 0 0 1px var(--signal);
}

/* ---------- 通用章节带 ---------- */
.page-home .home-band {
  padding: 54px 0;
}

.page-home .home-band--alt {
  background: linear-gradient(180deg, rgba(11, 27, 46, .92), rgba(7, 17, 31, .3) 70%, transparent);
  border-top: 1px solid rgba(38, 59, 82, .55);
  border-bottom: 1px solid rgba(38, 59, 82, .55);
}

.page-home .section-head {
  max-width: 760px;
  margin-bottom: 30px;
}

.page-home .section-head h2 {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(23px, 4.2vw, 34px);
  line-height: 1.22;
  letter-spacing: -.01em;
  color: var(--chalk);
}

.page-home .section-head .lede {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.78;
  color: var(--mist);
}

/* ---------- 赛前节点 ---------- */
.page-home .node-track {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .node-item {
  padding: 18px 16px 16px;
  background: var(--midnight);
  box-shadow: inset 0 0 0 1px var(--wire), inset 3px 0 0 var(--line-green);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.page-home .node-item--key {
  background: linear-gradient(160deg, rgba(255, 106, 42, .16), rgba(11, 27, 46, .96) 62%);
  box-shadow: inset 0 0 0 1px rgba(255, 106, 42, .5), inset 3px 0 0 var(--signal);
}

.page-home .node-time {
  display: block;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .05em;
  color: var(--amber);
}

.page-home .node-item--key .node-time {
  color: var(--signal);
}

.page-home .node-title {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--chalk);
}

.page-home .node-desc {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.68;
  color: var(--mist);
}

.page-home .node-item .tag {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
}

/* ---------- 主客对照 ---------- */
.page-home .compare-visual {
  position: relative;
  height: 150px;
  margin-bottom: 20px;
  overflow: hidden;
  background: var(--midnight);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}

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

.page-home .view-switch {
  position: relative;
}

.page-home .view-radio {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.page-home .view-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.page-home .view-radio:focus-visible ~ .view-tabs {
  outline: 2px solid var(--signal);
  outline-offset: 4px;
}

.page-home .home-tab {
  display: inline-block;
  padding: 9px 17px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--mist);
  background: rgba(11, 27, 46, .94);
  box-shadow: inset 0 0 0 1px var(--wire);
  cursor: pointer;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: color .16s ease, background-color .16s ease, box-shadow .16s ease;
}

.page-home .home-tab:hover {
  color: var(--chalk);
  box-shadow: inset 0 0 0 1px var(--signal);
}

.page-home #v-compare:checked ~ .view-tabs label[for="v-compare"],
.page-home #v-goals:checked ~ .view-tabs label[for="v-goals"],
.page-home #v-form:checked ~ .view-tabs label[for="v-form"] {
  color: var(--void);
  background: var(--pitch);
  box-shadow: inset 0 0 0 1px var(--pitch);
}

.page-home .view-panel {
  display: none;
}

.page-home #v-compare:checked ~ .view-panels > [data-view="compare"],
.page-home #v-goals:checked ~ .view-panels > [data-view="goals"],
.page-home #v-form:checked ~ .view-panels > [data-view="form"] {
  display: block;
}

.page-home .panel-note {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--mist);
}

.page-home .compare-duo {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.page-home .compare-card {
  padding: 20px 18px;
  background: linear-gradient(180deg, rgba(11, 27, 46, .97), rgba(11, 27, 46, .72));
  clip-path: polygon(11px 0, 100% 0, 100% calc(100% - 11px), calc(100% - 11px) 100%, 0 100%, 0 11px);
  box-shadow: inset 0 0 0 1px var(--wire), inset 0 3px 0 var(--line-green);
  transition: box-shadow .2s ease;
}

.page-home .compare-card--away {
  box-shadow: inset 0 0 0 1px var(--wire), inset 0 3px 0 var(--data-cyan);
}

.page-home .compare-card:hover,
.page-home .compare-card:focus-within {
  box-shadow: inset 0 0 0 1px rgba(95, 212, 255, .55), inset 0 3px 0 var(--data-cyan);
}

.page-home .compare-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.page-home .compare-role {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: .04em;
  color: var(--chalk);
}

.page-home .compare-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .03em;
  color: var(--amber);
}

.page-home .compare-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 0;
  padding: 16px 0 0;
  border-top: 1px dashed var(--wire);
}

.page-home .compare-stats dt {
  font-size: 12px;
  color: var(--mist);
}

.page-home .compare-stats dd {
  margin: 6px 0 0;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 22px;
  color: var(--chalk);
}

.page-home .compare-card--away .compare-stats dd {
  color: var(--data-cyan);
}

.page-home .compare-more {
  margin: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--mist);
  transition: max-height .22s ease, opacity .22s ease, margin .22s ease;
}

.page-home .compare-card:hover .compare-more,
.page-home .compare-card:focus-within .compare-more {
  max-height: 180px;
  margin-top: 16px;
  opacity: 1;
}

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

.page-home .range-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 10px;
}

.page-home .range-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--mist);
}

.page-home .range-bar {
  display: block;
  height: 9px;
  overflow: hidden;
  border-radius: 5px;
  background: rgba(38, 59, 82, .85);
}

.page-home .range-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--line-green), var(--pitch));
}

.page-home .range-row:nth-child(even) .range-fill {
  background: linear-gradient(90deg, #2a5f8a, var(--data-cyan));
}

.page-home .range-num {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 13px;
  text-align: right;
  color: var(--amber);
}

.page-home .form-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .form-dot {
  flex: 1 1 56px;
  min-width: 0;
  padding: 12px 4px;
  text-align: center;
  background: var(--midnight);
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}

.page-home .form-dot--w {
  box-shadow: inset 0 0 0 1px var(--line-green), inset 0 3px 0 var(--pitch);
}

.page-home .form-dot--d {
  box-shadow: inset 0 0 0 1px var(--wire), inset 0 3px 0 var(--amber);
}

.page-home .form-dot--l {
  box-shadow: inset 0 0 0 1px var(--wire), inset 0 3px 0 var(--signal);
}

.page-home .form-dot .fd-k {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--mist);
}

.page-home .form-dot .fd-v {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 700;
  color: var(--chalk);
}

/* ---------- 周历 ---------- */
.page-home .week-panel {
  position: relative;
  overflow: hidden;
  background: var(--midnight);
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}

.page-home .week-panel img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  opacity: .62;
}

.page-home .week-scale {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .week-scale li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(11, 27, 46, .92);
  box-shadow: inset 0 0 0 1px var(--wire);
  clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
}

.page-home .wk-k {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 12px;
  color: var(--amber);
}

.page-home .wk-v {
  font-size: 12px;
  color: var(--mist);
}

.page-home .week-links {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.page-home .week-link {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 18px;
  text-decoration: none;
  background: linear-gradient(170deg, rgba(11, 27, 46, .98), rgba(11, 27, 46, .74));
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  box-shadow: inset 0 0 0 1px var(--wire);
  transition: box-shadow .18s ease, transform .18s ease;
}

.page-home .week-link:hover,
.page-home .week-link:focus-visible {
  box-shadow: inset 0 0 0 1px var(--signal), inset 0 3px 0 var(--signal);
  transform: translateY(-2px);
}

.page-home .week-link-t {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  color: var(--chalk);
}

.page-home .week-link-d {
  font-size: 13px;
  line-height: 1.7;
  color: var(--mist);
}

.page-home .week-link-m {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--pitch);
}

/* ---------- 服务 ---------- */
.page-home .service-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.page-home .service-card {
  position: relative;
  padding: 24px 20px 20px;
  background: var(--midnight);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  box-shadow: inset 0 0 0 1px var(--wire);
  transition: box-shadow .2s ease;
}

.page-home .service-card:hover {
  box-shadow: inset 0 0 0 1px rgba(24, 201, 139, .55);
}

.page-home .service-card .index-num {
  display: block;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--signal);
}

.page-home .service-card h3 {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: .01em;
  color: var(--chalk);
}

.page-home .service-card p {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.76;
  color: var(--mist);
}

.page-home .service-card .link-inline {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--data-cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(95, 212, 255, .4);
}

.page-home .service-card .link-inline:hover,
.page-home .service-card .link-inline:focus-visible {
  color: var(--pitch);
  border-bottom-color: var(--pitch);
}

/* ---------- 信任带 ---------- */
.page-home .home-trust {
  position: relative;
  margin-top: 20px;
  padding: 58px 0;
  overflow: hidden;
  background: var(--void);
}

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

.page-home .home-trust-inner {
  position: relative;
}

.page-home .trust-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.page-home .trust-item {
  padding: 18px 16px;
  background: rgba(11, 27, 46, .86);
  clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
  box-shadow: inset 0 0 0 1px var(--wire);
}

.page-home .trust-item .data-num {
  display: block;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 28px;
  letter-spacing: -.02em;
  color: var(--chalk);
}

.page-home .trust-item:nth-child(3) .data-num {
  color: var(--amber);
}

.page-home .trust-item .trust-key {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--mist);
}

/* ---------- 收尾 ---------- */
.page-home .home-closing {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 44px 0 60px;
  padding: 26px 22px;
  background: linear-gradient(104deg, rgba(24, 201, 139, .18), rgba(95, 212, 255, .09) 54%, rgba(255, 106, 42, .16));
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  box-shadow: inset 0 0 0 1px var(--wire);
}

.page-home .home-closing-t {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  color: var(--chalk);
}

.page-home .home-closing-d {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--mist);
}

/* ---------- 响应式 ---------- */
@media (hover: none) {
  .page-home .compare-more {
    max-height: 200px;
    margin-top: 16px;
    opacity: 1;
  }
}

@media (min-width: 640px) {
  .page-home .home-band {
    padding: 62px 0;
  }

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

  .page-home .week-scale {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-home .compare-visual {
    height: 200px;
  }
}

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

  .page-home .home-hero-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: center;
    gap: 46px;
  }

  .page-home .home-hero-visual {
    aspect-ratio: 4 / 3;
  }

  .page-home .count-ring {
    width: 126px;
    height: 126px;
    right: 18px;
    bottom: 18px;
  }

  .page-home .compare-duo {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .page-home .week-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-home .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .page-home .trust-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }

  .page-home .week-scale {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }
}

@media (min-width: 1080px) {
  .page-home .node-track {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
  }

  .page-home .node-item {
    padding: 18px 13px 16px;
  }

  .page-home .compare-visual {
    height: 230px;
  }

  .page-home .home-closing {
    padding: 30px 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .count-ring-bar {
    animation: none;
  }

  .page-home .week-link,
  .page-home .compare-more {
    transition: none;
  }
}
