.page-home {
  --cut: 18px;
  --home-gap: 16px;
  background: var(--cream);
  color: var(--ink);
}

/* 顶部位置提示 */
.page-home .home-top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 18px;
  padding-top: 22px;
}

.page-home .home-top__meta {
  margin: 0;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--grey);
}

/* 通用切角卡 */
.page-home .h-card {
  display: flex;
  padding: 1px;
  background: var(--ink);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
  transition: transform .2s var(--ease), background-color .2s var(--ease), filter .2s var(--ease);
}

.page-home .h-card__in {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 20px 20px 22px;
  background: var(--paper);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
}

.page-home .h-card:hover {
  transform: translateY(-4px);
  background: var(--orange);
  filter: drop-shadow(0 16px 22px rgba(23, 24, 26, .18));
}

/* 01 拼贴首屏 */
.page-home .hero {
  padding: 16px 0 44px;
}

.page-home .hero__grid {
  display: grid;
  gap: var(--home-gap);
  grid-template-columns: 1fr;
  grid-template-areas:
    "lead"
    "n1"
    "n2"
    "band";
}

.page-home .hero__lead { grid-area: lead; }
.page-home .hero__n1 { grid-area: n1; }
.page-home .hero__n2 { grid-area: n2; }
.page-home .hero__band { grid-area: band; }

.page-home .hero__lead-in {
  display: grid;
  gap: 18px;
  align-content: start;
}

.page-home .hero__num {
  display: block;
  font-size: 52px;
  line-height: .82;
  letter-spacing: -.02em;
}

.page-home .hero__title {
  margin: 4px 0 0;
  font-size: clamp(26px, 4.4vw, 44px);
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: -.01em;
}

.page-home .hero__sub {
  margin: 12px 0 0;
  max-width: 30em;
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink);
}

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

.page-home .hero__fig {
  margin: 0;
  overflow: hidden;
  background: var(--amber-light);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
}

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

.page-home .hero__batch {
  margin: 2px 0 0;
  font-size: 42px;
  line-height: 1;
  font-weight: 700;
  color: var(--orange);
}

.page-home .hero__narrow-title {
  margin: 2px 0 0;
  font-size: 19px;
  line-height: 1.35;
  font-weight: 800;
}

.page-home .hero__narrow-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--grey);
}

.page-home .link-arrow {
  margin-top: auto;
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  text-decoration: none;
  border-bottom: 2px solid currentColor;
  align-self: flex-start;
  padding-bottom: 2px;
}

.page-home .link-arrow:hover { color: var(--orange-deep); }

.page-home .hero__band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  padding: 15px 20px;
  background: var(--teal-light);
  border-left: 8px solid var(--teal);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
}

.page-home .hero__band-text {
  flex: 1 1 260px;
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--teal-deep);
}

.page-home .hero__band-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--teal-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 章节头 */
.page-home .sec-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.page-home .sec-head__body { flex: 1 1 auto; }

.page-home .sec-head h2 {
  margin: 0;
  font-size: clamp(22px, 3.2vw, 32px);
  line-height: 1.25;
  font-weight: 900;
}

.page-home .sec-head__sub {
  margin: 8px 0 0;
  max-width: 42em;
  font-size: 15px;
  line-height: 1.8;
  color: var(--grey);
}

/* 02 频道卡 */
.page-home .home-channels { padding: 44px 0 52px; }

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

.page-home .chip {
  display: inline-block;
  padding: 6px 13px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--ink);
  text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}

.page-home .chip:hover,
.page-home .chip:focus-visible {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--paper);
}

.page-home .ch-grid {
  display: grid;
  gap: var(--home-gap);
  grid-template-columns: 1fr;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .ch-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  transition: transform .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.page-home .ch-card:hover {
  transform: translateY(-4px);
  border-color: var(--orange);
  box-shadow: var(--shadow-1);
}

.page-home .ch-card__link {
  display: flex;
  flex-direction: column;
  gap: 7px;
  height: 100%;
  padding: 16px 16px 18px;
  text-decoration: none;
  color: inherit;
}

.page-home .ch-card__name {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
}

.page-home .ch-card__meta {
  font-size: 12px;
  line-height: 1.6;
  color: var(--grey);
}

/* 03 批次清单 */
.page-home .home-batch {
  padding: 52px 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-home .batch {
  display: grid;
  gap: 24px;
  align-items: center;
}

.page-home .batch__fig {
  margin: 0;
  overflow: hidden;
  background: var(--amber-light);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
}

.page-home .batch__fig img,
.page-home .device__fig img,
.page-home .duo__fig img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .batch__body h2 {
  margin: 0;
  font-size: clamp(22px, 3.2vw, 32px);
  line-height: 1.25;
  font-weight: 900;
}

.page-home .batch__text {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink);
}

.page-home .batch__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--grey);
}

.page-home .batch__stats .mono {
  margin-right: 4px;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
}

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

.page-home .fmt {
  position: relative;
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  background: var(--amber-light);
  border: 1px solid var(--amber);
}

.page-home .fmt:hover::after {
  content: attr(data-hint);
  position: absolute;
  left: 0;
  bottom: calc(100% + 6px);
  z-index: 3;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  color: var(--paper);
  background: var(--ink);
}

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

/* 04 设备入口 */
.page-home .home-device { padding: 52px 0; }

.page-home .device {
  display: grid;
  gap: 24px;
  align-items: center;
}

.page-home .device__body h2 {
  margin: 0;
  font-size: clamp(22px, 3.2vw, 32px);
  line-height: 1.25;
  font-weight: 900;
}

.page-home .device__text {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.85;
}

.page-home .device__list {
  margin: 16px 0 18px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--grey);
}

.page-home .device__list li {
  padding-left: 14px;
  border-left: 3px solid var(--teal);
}

.page-home .device__list strong {
  color: var(--ink);
  margin-right: 6px;
}

.page-home .device__fig {
  margin: 0;
  overflow: hidden;
  background: var(--teal-light);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}

/* 05 权益与额度双栏 */
.page-home .home-duo {
  padding: 52px 0;
  background: var(--cream);
}

.page-home .duo {
  display: grid;
  gap: var(--home-gap);
  align-items: start;
}

.page-home .duo__member {
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--amber);
  border-left: 6px solid var(--amber);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}

.page-home .duo__fig {
  margin: 0 0 16px;
  overflow: hidden;
  background: var(--amber-light);
}

.page-home .duo__title {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 800;
}

.page-home .duo__list {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: 14px;
  line-height: 1.7;
}

.page-home .duo__list li {
  padding-left: 20px;
  position: relative;
}

.page-home .duo__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 8px;
  height: 8px;
  background: var(--amber);
  transform: rotate(45deg);
}

.page-home .duo__notice {
  padding: 20px;
  background: var(--teal-light);
  border-left: 6px solid var(--teal);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}

.page-home .duo__notice-text {
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--teal-deep);
}

.page-home .duo__details {
  margin: 8px 0 12px;
  border-top: 1px dashed var(--teal);
  border-bottom: 1px dashed var(--teal);
}

.page-home .duo__details summary {
  padding: 11px 0;
  cursor: pointer;
  list-style: none;
  font-size: 14px;
  font-weight: 700;
  color: var(--teal-deep);
}

.page-home .duo__details summary::-webkit-details-marker { display: none; }

.page-home .duo__details summary::after {
  content: "+";
  float: right;
  font-weight: 700;
}

.page-home .duo__details[open] summary::after { content: "−"; }

.page-home .duo__notice-list {
  margin: 0 0 12px;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--teal-deep);
}

/* 06 三步起步 */
.page-home .home-start {
  padding: 52px 0 64px;
  background: var(--ink);
  color: var(--paper);
}

.page-home .sec-head--invert .sec-head__sub { color: rgba(247, 242, 233, .7); }

.page-home .steps {
  display: grid;
  gap: 14px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.page-home .step {
  padding: 20px;
  background: rgba(247, 242, 233, .06);
  border: 1px solid rgba(247, 242, 233, .26);
}

.page-home .step__idx {
  display: block;
  margin-bottom: 8px;
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
  color: var(--orange);
}

.page-home .step__title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
}

.page-home .step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(247, 242, 233, .78);
}

.page-home .start-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid rgba(247, 242, 233, .26);
}

.page-home .start-foot__text {
  flex: 1 1 300px;
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(247, 242, 233, .82);
}

.page-home .start-foot__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* 焦点可见性 */
.page-home a:focus-visible,
.page-home summary:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

/* 响应式 */
@media (min-width: 620px) {
  .page-home .ch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-home .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 760px) {
  .page-home .hero__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-areas:
      "lead lead n1"
      "lead lead n2"
      "band band band";
  }

  .page-home .hero__lead-in {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: start;
  }

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

@media (min-width: 820px) {
  .page-home .batch { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
  .page-home .device { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
  .page-home .device__fig { order: -1; }
}

@media (min-width: 880px) {
  .page-home .duo { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
}

@media (min-width: 960px) {
  .page-home .ch-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .page-home .hero__num { font-size: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .h-card,
  .page-home .ch-card,
  .page-home .chip {
    transition: none;
  }
  .page-home .h-card:hover,
  .page-home .ch-card:hover {
    transform: none;
  }
}
</main>
