.page-home {
  --hw-muted: #445055;
  --hw-cut: 6deg;
  --hw-tint: #edf6ef;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  padding-bottom: 72px;
}

.page-home .section {
  padding-top: clamp(44px, 7vw, 76px);
}

.page-home .hw-hero {
  padding-top: 28px;
}

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

/* ---------- 章节头 ---------- */
.page-home .section-head {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "index title"
    "index note";
  column-gap: 14px;
  row-gap: 6px;
  align-items: start;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
}

.page-home .section-index {
  grid-area: index;
  font-family: var(--font-mono);
  font-size: clamp(26px, 5vw, 42px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--dirt);
  font-variant-numeric: tabular-nums;
}

.page-home .section-title {
  grid-area: title;
  margin: 0;
  font-size: clamp(22px, 4.2vw, 36px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.page-home .section-note {
  grid-area: note;
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--hw-muted);
}

/* ---------- 数字与等宽 ---------- */
.page-home .hw-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  color: var(--ember);
}

/* ---------- 首屏 ---------- */
.page-home .hw-hero__ctx {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--rule);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--pitch-deep);
}

.page-home .hw-hero__dot {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--dirt);
  box-shadow: 0 0 0 4px rgba(194, 71, 42, 0.16);
}

.page-home .hw-hero__title {
  margin: 0 0 18px;
  max-width: 13em;
  font-size: clamp(30px, 7.4vw, 62px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.page-home .hw-hero .lede {
  max-width: 36em;
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.78;
  color: var(--hw-muted);
}

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

.page-home .hw-hero__ticks {
  list-style: none;
  margin: 0;
  padding: 16px 0 0;
  border-top: 1px dashed var(--rule);
  display: grid;
  gap: 10px;
}

.page-home .hw-hero__ticks li {
  font-size: 14px;
  line-height: 1.6;
  color: var(--hw-muted);
}

.page-home .hw-hero__media {
  position: relative;
  margin-top: 32px;
}

.page-home .hw-hero__figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--pitch-deep);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 38px), calc(100% - 38px) 100%, 0 100%);
}

.page-home .hw-hero__figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  height: 100%;
}

.page-home .hw-hero__pin {
  position: absolute;
  top: -7px;
  right: 20px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ember);
  border: 3px solid var(--paper);
  box-shadow: 0 6px 16px rgba(18, 25, 28, 0.26);
}

.page-home .hw-hero__tag {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 9px 14px;
  background: var(--dirt-deep);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  border-top-right-radius: 10px;
}

/* ---------- 价格 ---------- */
.page-home .hw-deck {
  position: relative;
}

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

.page-home .hw-bill {
  display: inline-flex;
  gap: 4px;
  margin-bottom: 20px;
  padding: 4px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--pitch-light);
}

.page-home .hw-bill__opt {
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--pitch-deep);
  cursor: pointer;
  transition: background 140ms var(--ease), color 140ms var(--ease);
}

.page-home #hw-bill-m:checked ~ .hw-bill label[for="hw-bill-m"],
.page-home #hw-bill-q:checked ~ .hw-bill label[for="hw-bill-q"],
.page-home #hw-bill-y:checked ~ .hw-bill label[for="hw-bill-y"] {
  background: var(--pitch-deep);
  color: #fff;
}

.page-home .hw-radio:focus-visible ~ .hw-bill .hw-bill__opt {
  outline: 2px solid var(--scoreboard);
  outline-offset: 2px;
}

.page-home .hw-cards {
  list-style: none;
  margin: 0;
  padding: 22px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, var(--hw-tint) 0%, var(--pitch-light) 100%);
}

@media (min-width: 900px) {
  .page-home .hw-cards {
    grid-template-columns: repeat(12, 1fr);
    gap: 18px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 34px), calc(100% - 34px) 100%, 0 100%);
  }
  .page-home .hw-card:nth-child(1) { grid-column: span 7; }
  .page-home .hw-card:nth-child(2) { grid-column: span 5; }
  .page-home .hw-card:nth-child(3) { grid-column: span 5; }
  .page-home .hw-card:nth-child(4) { grid-column: span 7; }
}

.page-home .hw-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 22px 20px 20px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--radius);
  background: var(--glass);
  backdrop-filter: blur(6px);
  box-shadow: 0 12px 28px rgba(19, 92, 56, 0.1), 0 1px 0 rgba(19, 92, 56, 0.06);
  transition: transform 160ms var(--ease), box-shadow 160ms var(--ease);
}

.page-home .hw-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(19, 92, 56, 0.17), 0 1px 0 rgba(19, 92, 56, 0.08);
}

.page-home .hw-card__pin {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--dirt);
  box-shadow: 0 0 0 4px rgba(194, 71, 42, 0.15);
}

.page-home .hw-card__name {
  margin: 0;
  padding-right: 24px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--pitch-deep);
}

.page-home .hw-card__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  margin: 0;
  min-height: 48px;
}

.page-home .hw-num--xl {
  font-size: clamp(30px, 7vw, 44px);
  line-height: 1;
}

.page-home .hw-card__unit {
  font-size: 13px;
  font-weight: 700;
  color: var(--hw-muted);
}

.page-home .hw-card__desc {
  margin: 0;
  flex: 1 1 auto;
  font-size: 14px;
  line-height: 1.72;
  color: var(--hw-muted);
}

.page-home .hw-card__fit {
  margin: 0;
  padding-top: 9px;
  border-top: 1px dashed var(--rule);
  font-size: 12.5px;
  line-height: 1.6;
  font-weight: 600;
  color: var(--pitch-deep);
}

.page-home .hw-card__link {
  align-self: flex-start;
  font-size: 13px;
  font-weight: 700;
  color: var(--dirt);
  text-decoration: none;
  border-bottom: 1px solid rgba(194, 71, 42, 0.38);
  padding-bottom: 2px;
  transition: border-color 140ms var(--ease), color 140ms var(--ease);
}

.page-home .hw-card__link:hover,
.page-home .hw-card__link:focus-visible {
  color: var(--dirt-deep);
  border-bottom-color: var(--dirt-deep);
}

.page-home .hw-u-q,
.page-home .hw-u-y {
  display: none;
}

.page-home #hw-bill-q:checked ~ .hw-cards .hw-u-q {
  display: inline;
}

.page-home #hw-bill-y:checked ~ .hw-cards .hw-u-y {
  display: inline;
}

/* ---------- 联赛分组 ---------- */
.page-home .hw-strip {
  list-style: none;
  margin: 0 0 18px;
  padding: 4px 0 10px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.page-home .hw-strip li {
  flex: none;
}

.page-home .hw-pill {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 9px 14px;
  border: 1px solid var(--pitch);
  border-radius: 4px;
  background: var(--pitch-deep);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: border-color 140ms var(--ease), background 140ms var(--ease);
}

.page-home .hw-pill:hover {
  border-color: var(--scoreboard);
  background: #0f4a2d;
}

.page-home .hw-pill:focus-visible {
  outline: 2px solid var(--scoreboard);
  outline-offset: 2px;
}

.page-home .hw-leagues__body {
  display: grid;
  gap: 22px;
}

.page-home .hw-league-list {
  display: grid;
  gap: 8px;
  align-content: start;
}

.page-home .hw-league {
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  transition: border-color 140ms var(--ease), box-shadow 160ms var(--ease);
}

.page-home .hw-league[open] {
  border-color: var(--pitch);
  box-shadow: 0 12px 26px rgba(19, 92, 56, 0.11);
}

.page-home .hw-league__sum {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  list-style: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.page-home .hw-league__sum::-webkit-details-marker {
  display: none;
}

.page-home .hw-league__sum::after {
  content: "+";
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--dirt);
}

.page-home .hw-league[open] .hw-league__sum::after {
  content: "–";
}

.page-home .hw-league__sum:focus-visible {
  outline: 2px solid var(--scoreboard);
  outline-offset: -2px;
}

.page-home .hw-league__name {
  min-width: 3.6em;
}

.page-home .hw-league__meta {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  color: var(--pitch);
}

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

.page-home .hw-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-top: 9px;
  border-top: 1px dashed var(--rule);
  font-size: 14px;
  line-height: 1.68;
  color: var(--hw-muted);
}

.page-home .hw-lbl {
  flex: none;
  display: inline-block;
  padding: 2px 7px;
  border: 1px solid var(--pitch);
  border-radius: 3px;
  background: var(--pitch-light);
  color: var(--pitch-deep);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.5;
}

.page-home .hw-lbl--dirt {
  border-color: var(--dirt);
  background: #fbeee9;
  color: var(--dirt-deep);
}

.page-home .hw-leagues__aside {
  display: grid;
  gap: 14px;
  align-content: start;
}

.page-home .hw-shot {
  margin: 0;
  display: grid;
  gap: 8px;
}

.page-home .hw-shot img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--rule);
  box-shadow: 0 14px 30px rgba(19, 92, 56, 0.13);
}

.page-home .hw-shot--desktop img {
  aspect-ratio: 14 / 9;
  object-fit: cover;
}

.page-home .hw-shot--phone img {
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

.page-home .hw-shot figcaption {
  font-size: 12px;
  line-height: 1.6;
  color: var(--hw-muted);
}

.page-home .hw-aside-note {
  margin: 0;
  padding-left: 12px;
  border-left: 3px solid var(--ember);
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--hw-muted);
}

/* ---------- 阵容确认 ---------- */
.page-home .hw-lineup__grid {
  display: grid;
  gap: 18px;
}

.page-home .hw-clock {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 30px 20px 26px;
  border-radius: var(--radius);
  text-align: center;
  overflow: hidden;
}

.page-home .hw-clock__ring {
  width: clamp(140px, 42vw, 190px);
  height: auto;
}

.page-home .hw-clock__arc {
  stroke: var(--scoreboard);
}

.page-home .hw-clock__mark {
  stroke: var(--ember);
}

.page-home .hw-clock__label {
  margin: 0;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.72);
}

.page-home .hw-clock__num {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: clamp(40px, 13vw, 62px);
  font-weight: 700;
  line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.page-home .hw-clock__num .hw-num {
  font-size: inherit;
  color: #fff;
}

.page-home .hw-clock__sep {
  color: var(--ember);
}

.page-home .hw-clock__sub {
  margin: 6px 0 0;
  max-width: 26em;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.68);
}

.page-home .hw-roster {
  display: grid;
  gap: 12px;
}

.page-home .hw-roster__col {
  padding: 16px 18px;
  border: 1px solid var(--rule);
  border-left: 4px solid var(--pitch);
  border-radius: 10px;
  background: #fff;
}

.page-home .hw-roster__title {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 800;
  color: var(--pitch-deep);
}

.page-home .hw-roster__desc {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--hw-muted);
}

.page-home .hw-roster__note {
  margin: 0;
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--pitch-light);
  font-size: 13px;
  line-height: 1.75;
  color: var(--pitch-deep);
}

/* ---------- 版本 ---------- */
.page-home .hw-vgrid {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}

.page-home .hw-vstat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 18px;
  border-radius: var(--radius);
  background: var(--pitch-deep);
  color: #fff;
}

.page-home .hw-vstat__figure {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.page-home .hw-vstat .hw-num {
  font-size: clamp(28px, 7vw, 40px);
  line-height: 1;
  color: var(--scoreboard);
}

.page-home .hw-vstat__unit {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.78);
}

.page-home .hw-vstat p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.76);
}

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

.page-home .hw-vitem {
  display: grid;
  gap: 6px;
  padding: 16px 0;
  border-top: 1px solid var(--rule);
}

.page-home .hw-vitem:last-child {
  border-bottom: 1px solid var(--rule);
}

.page-home .hw-vitem__title {
  margin: 0;
  font-size: 15.5px;
  font-weight: 800;
  color: var(--ink);
}

.page-home .hw-vitem p {
  margin: 0;
  max-width: 46em;
  font-size: 14px;
  line-height: 1.76;
  color: var(--hw-muted);
}

.page-home .hw-version__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0;
}

.page-home .hw-version__hint {
  font-size: 13px;
  line-height: 1.7;
  color: var(--hw-muted);
}

/* ---------- 服务做法 ---------- */
.page-home .hw-service__grid {
  display: grid;
  gap: 22px;
}

.page-home .hw-rules {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.page-home .hw-rule {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 14px;
  row-gap: 4px;
  padding: 16px 0;
  border-top: 1px dashed var(--rule);
}

.page-home .hw-rule:first-child {
  border-top: 0;
  padding-top: 0;
}

.page-home .hw-rule__num {
  grid-row: 1 / span 2;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--dirt);
  padding-top: 3px;
}

.page-home .hw-rule__title {
  margin: 0;
  font-size: 15.5px;
  font-weight: 800;
  color: var(--ink);
}

.page-home .hw-rule p {
  margin: 0;
  font-size: 14px;
  line-height: 1.76;
  color: var(--hw-muted);
}

.page-home .hw-service__figure {
  margin: 0;
  position: relative;
}

.page-home .hw-service__figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 16px 34px rgba(110, 42, 23, 0.16);
}

.page-home .hw-service__figure figcaption {
  margin-top: 10px;
  padding-left: 12px;
  border-left: 3px solid var(--dirt);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--hw-muted);
}

.page-home .hw-service__link {
  margin: 20px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--hw-muted);
}

.page-home .hw-service__link a,
.page-home .hw-start__foot a {
  color: var(--dirt);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(194, 71, 42, 0.38);
}

.page-home .hw-service__link a:hover,
.page-home .hw-start__foot a:hover {
  border-bottom-color: var(--dirt-deep);
}

/* ---------- 入口 ---------- */
.page-home .hw-start__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-home .hw-start__card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 20px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 140ms var(--ease), transform 160ms var(--ease);
}

.page-home .hw-start__card:hover {
  border-color: var(--pitch);
  transform: translateY(-2px);
}

.page-home .hw-start__mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--dirt);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
}

.page-home .hw-start__title {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
}

.page-home .hw-start__card p {
  margin: 0;
  flex: 1 1 auto;
  font-size: 14px;
  line-height: 1.75;
  color: var(--hw-muted);
}

.page-home .hw-start__card .btn {
  align-self: flex-start;
}

.page-home .hw-start__foot {
  margin: 20px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--hw-muted);
}

/* ---------- 桌面端 ---------- */
@media (min-width: 900px) {
  .page-home .hw-hero__grid {
    display: grid;
    grid-template-columns: 5fr 6fr;
    gap: 46px;
    align-items: start;
  }

  .page-home .hw-hero__media {
    margin-top: 0;
  }

  .page-home .hw-hero__ticks {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px 20px;
  }

  .page-home .hw-hero__ticks li {
    font-size: 13px;
  }

  .page-home .hw-leagues__body {
    grid-template-columns: 7fr 4fr;
    gap: 30px;
    align-items: start;
  }

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

  .page-home .hw-leagues__aside {
    position: sticky;
    top: 28px;
  }

  .page-home .hw-lineup__grid {
    grid-template-columns: 5fr 7fr;
    gap: 22px;
    align-items: stretch;
  }

  .page-home .hw-shot--phone {
    grid-column: 1 / -1;
    max-width: 320px;
    justify-self: end;
  }

  .page-home .hw-vgrid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-home .hw-service__grid {
    grid-template-columns: 7fr 4fr;
    gap: 34px;
    align-items: start;
  }

  .page-home .hw-start__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1180px) {
  .page-home .hw-lineup__grid {
    grid-template-columns: 5fr 5fr 3fr;
  }

  .page-home .hw-shot--phone {
    grid-column: auto;
    max-width: none;
    justify-self: stretch;
    align-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hw-card,
  .page-home .hw-start__card,
  .page-home .hw-pill,
  .page-home .hw-bill__opt,
  .page-home .hw-card__link {
    transition: none;
  }

  .page-home .hw-card:hover,
  .page-home .hw-start__card:hover {
    transform: none;
  }
}
