.page-home {
  --home-soft: #FFE0D1;
  --home-line-soft: rgba(182, 200, 212, .55);
  background-color: var(--paper);
  background-image:
    linear-gradient(to right, rgba(182, 200, 212, .26) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(182, 200, 212, .26) 1px, transparent 1px);
  background-size: 96px 96px;
  color: var(--ink);
}

/* ---------- 首屏 ---------- */
.page-home .hero {
  padding: 36px 0 4px;
}

.page-home .hero__grid {
  display: grid;
  gap: 20px;
}

.page-home .hero__lead {
  position: relative;
  background: var(--ink);
  color: var(--mist);
  border-radius: var(--radius);
  padding: 30px 20px;
  overflow: hidden;
  box-shadow: var(--shadow-panel);
}

.page-home .hero__lead::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(182, 200, 212, .16) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(182, 200, 212, .16) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.page-home .hero__lead > * {
  position: relative;
}

.page-home .hero__lead .kicker {
  color: var(--orange);
}

.page-home .hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.9rem, 8.2vw, 3.4rem);
  line-height: 1.07;
  letter-spacing: -.02em;
  margin: 12px 0 18px;
  color: #fff;
}

.page-home .hero__lede {
  margin: 0 0 12px;
  max-width: 48ch;
  font-size: .9375rem;
  line-height: 1.85;
  color: rgba(247, 248, 245, .84);
}

.page-home .hero__lede--minor {
  font-size: .8125rem;
  line-height: 1.8;
  color: rgba(247, 248, 245, .58);
}

.page-home .hero__actions {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.page-home .hero__actions .btn {
  width: 100%;
  justify-content: center;
  text-align: center;
}

.page-home .hero__lead .btn--ghost {
  color: var(--mist);
  border-color: rgba(247, 248, 245, .34);
}

.page-home .hero__lead .btn--ghost:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.page-home .hero__stamp {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(247, 248, 245, .16);
}

.page-home .stamp-mark {
  flex: none;
  display: grid;
  grid-template-columns: repeat(2, 7px);
  grid-template-rows: repeat(2, 7px);
  gap: 3px;
  margin-top: 5px;
}

.page-home .stamp-mark i {
  display: block;
  border-radius: 1px;
  background: var(--mist);
}

.page-home .stamp-mark i:nth-child(2) {
  background: var(--orange);
}

.page-home .stamp-mark i:nth-child(3) {
  background: var(--teal);
}

.page-home .hero__stamp p {
  margin: 0;
  font-size: .8125rem;
  line-height: 1.75;
  color: rgba(247, 248, 245, .68);
}

.page-home .hero__stamp strong {
  color: #fff;
}

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

.page-home .hero__figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--mist);
}

.page-home .hero__figure img {
  display: block;
  width: 100%;
  height: 168px;
  object-fit: cover;
}

/* ---------- 参数卡 ---------- */
.page-home .model-radio {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.page-home .model-switch {
  position: relative;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-float);
}

.page-home .model-switch__title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 12px;
  font-size: .8125rem;
  font-weight: 700;
  color: var(--ink);
}

.page-home .model-switch__title .u-mono {
  font-size: .6875rem;
  font-weight: 400;
  color: var(--graphite);
}

.page-home .model-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.page-home .model-tab {
  cursor: pointer;
  padding: 6px 12px;
  font-size: .75rem;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  background: #fff;
  color: var(--graphite);
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}

.page-home .model-tab:hover {
  border-color: var(--blue);
  color: var(--blue);
}

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

.page-home #model-pl:checked ~ .model-tabs .model-tab--pl,
.page-home #model-sf:checked ~ .model-tabs .model-tab--sf,
.page-home #model-spd:checked ~ .model-tabs .model-tab--spd {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.page-home #model-pl:checked ~ .model-panels .model-panel--pl,
.page-home #model-sf:checked ~ .model-panels .model-panel--sf,
.page-home #model-spd:checked ~ .model-panels .model-panel--spd {
  display: block;
}

.page-home .model-panel__head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
  font-size: .8125rem;
  line-height: 1.5;
  color: var(--graphite);
}

.page-home .model-spec {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 12px;
  margin: 0;
  font-size: .8125rem;
}

.page-home .model-spec dt {
  color: var(--graphite);
}

.page-home .model-spec dd {
  margin: 0;
  font-family: var(--font-mono);
  color: var(--ink);
  text-align: right;
  letter-spacing: -.01em;
}

.page-home .model-switch__link {
  display: inline-block;
  margin-top: 14px;
  font-size: .8125rem;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid var(--blue);
  padding-bottom: 1px;
}

/* ---------- 数据条 ---------- */
.page-home .facts {
  padding: 26px 0 6px;
}

.page-home .facts__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-home .facts__list li {
  display: grid;
  gap: 4px;
  align-content: start;
  padding: 14px 12px;
  background: var(--mist);
}

.page-home .facts__num {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  color: var(--blue);
}

.page-home .facts__label {
  font-size: .6875rem;
  line-height: 1.45;
  color: var(--graphite);
}

/* ---------- 通用章节 ---------- */
.page-home .section {
  padding: 52px 0;
}

.page-home .sec-head {
  max-width: 62ch;
  margin-bottom: 24px;
}

.page-home .sec-head h2,
.page-home .res-body h2,
.page-home .help-main h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.45rem, 5.4vw, 2.3rem);
  line-height: 1.2;
  letter-spacing: -.015em;
  margin: 10px 0 12px;
  color: var(--ink);
}

.page-home .sec-head__lede,
.page-home .res-body__lede,
.page-home .help-main__lede {
  margin: 0;
  font-size: .9375rem;
  line-height: 1.85;
  color: var(--graphite);
}

/* ---------- 产品线 ---------- */
.page-home .lineup-wrap {
  display: grid;
  gap: 22px;
}

.page-home .lineup {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-home .lineup__row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 4px 12px;
  padding: 16px 14px;
  background: var(--mist);
}

.page-home .lineup__no {
  grid-column: 1;
  grid-row: 1 / span 3;
  padding-top: 3px;
  font-size: .75rem;
  font-weight: 700;
  color: var(--orange-deep);
}

.page-home .lineup__name {
  grid-column: 2;
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink);
}

.page-home .lineup__scene {
  grid-column: 2;
  margin: 0;
  font-size: .8125rem;
  line-height: 1.7;
  color: var(--graphite);
}

.page-home .lineup__count {
  grid-column: 2;
  font-size: .6875rem;
  color: var(--blue);
}

.page-home .lineup__figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--mist);
}

.page-home .lineup__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 720;
  object-fit: cover;
}

.page-home .lineup__dims {
  margin-top: 14px;
  padding: 16px;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.page-home .lineup__dims-title {
  margin: 0 0 10px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--ink);
}

.page-home .dims {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.page-home .lineup__cta {
  margin-top: 24px;
}

/* ---------- 版本时间线 ---------- */
.page-home .version-head {
  display: grid;
  gap: 20px;
  margin-bottom: 22px;
}

.page-home .version-head .sec-head {
  margin-bottom: 0;
}

.page-home .version-figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink);
}

.page-home .version-figure img {
  display: block;
  width: 100%;
  height: 156px;
  object-fit: cover;
}

.page-home .timeline {
  list-style: none;
  margin: 0;
  padding: 4px 0 14px;
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.page-home .timeline__item {
  position: relative;
  flex: 0 0 82%;
  scroll-snap-align: start;
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 20px 16px 16px;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.page-home .timeline__item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--orange);
}

.page-home .timeline__type {
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--orange-deep);
}

.page-home .timeline__title {
  margin: 0;
  font-size: .9375rem;
  font-weight: 800;
  line-height: 1.5;
  color: var(--ink);
}

.page-home .timeline__item p {
  margin: 0;
  font-size: .8125rem;
  line-height: 1.75;
  color: var(--graphite);
}

.page-home .timeline__meta {
  font-size: .6875rem;
  color: var(--blue);
}

.page-home .timeline__foot {
  margin: 18px 0 0;
  font-size: .8125rem;
  line-height: 1.8;
  color: var(--graphite);
}

.page-home .timeline__foot a {
  margin-left: 6px;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid var(--blue);
}

/* ---------- 资源下载 ---------- */
.page-home .res-grid {
  display: grid;
  gap: 22px;
}

.page-home .res-figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink);
}

.page-home .res-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 800 / 900;
  max-height: 460px;
  object-fit: cover;
}

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

.page-home .res-steps {
  list-style: none;
  margin: 20px 0 22px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-home .res-steps li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--home-line-soft);
  font-size: .875rem;
  line-height: 1.6;
  color: var(--ink);
}

.page-home .res-steps .u-mono {
  font-size: .75rem;
  font-weight: 700;
  color: var(--teal);
}

/* ---------- 常见说明与联系 ---------- */
.page-home .help-grid {
  display: grid;
  gap: 22px;
}

.page-home .help-groups {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-home .help-groups li {
  display: grid;
  gap: 6px;
  align-content: start;
  padding: 16px;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.page-home .help-groups__no {
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--orange-deep);
}

.page-home .help-groups h3 {
  margin: 0;
  font-size: .9375rem;
  font-weight: 800;
  color: var(--ink);
}

.page-home .help-groups p {
  margin: 0;
  font-size: .8125rem;
  line-height: 1.75;
  color: var(--graphite);
}

.page-home .help-groups a {
  justify-self: start;
  font-size: .8125rem;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid var(--blue);
  padding-bottom: 1px;
}

.page-home .help-contact {
  padding: 24px 20px;
  border-radius: var(--radius);
}

.page-home .help-contact .kicker {
  color: var(--orange);
}

.page-home .help-contact h3 {
  margin: 10px 0 16px;
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.5;
  color: #fff;
}

.page-home .help-contact dl {
  margin: 0;
  display: grid;
  gap: 10px;
}

.page-home .help-contact dt {
  font-size: .6875rem;
  letter-spacing: .08em;
  color: rgba(247, 248, 245, .54);
}

.page-home .help-contact dd {
  margin: 2px 0 0;
  font-family: var(--font-mono);
  font-size: .8125rem;
  line-height: 1.6;
  color: var(--mist);
  word-break: break-all;
}

.page-home .help-contact dd.is-text {
  font-family: var(--font-display);
  word-break: normal;
}

.page-home .help-contact__note {
  margin: 16px 0 18px;
  font-size: .75rem;
  line-height: 1.8;
  color: rgba(247, 248, 245, .62);
}

.page-home .help-contact__cta {
  width: 100%;
  justify-content: center;
}

/* ---------- 断点 ---------- */
@media (min-width: 640px) {
  .page-home .help-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .res-figure img {
    max-height: 540px;
  }
}

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

  .page-home .facts__list li {
    padding: 18px 16px;
  }

  .page-home .lineup__row {
    grid-template-columns: 44px 150px minmax(0, 1fr) 88px;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
  }

  .page-home .lineup__no {
    grid-column: auto;
    grid-row: auto;
    padding-top: 0;
  }

  .page-home .lineup__name,
  .page-home .lineup__scene,
  .page-home .lineup__count {
    grid-column: auto;
  }

  .page-home .lineup__count {
    text-align: right;
  }

  .page-home .timeline__item {
    flex-basis: 320px;
  }

  .page-home .hero__figure img {
    height: 208px;
  }
}

@media (min-width: 900px) {
  .page-home .version-head {
    grid-template-columns: minmax(0, 1fr) minmax(0, .82fr);
    align-items: end;
    gap: 32px;
  }

  .page-home .version-figure img {
    height: 200px;
  }

  .page-home .res-grid {
    grid-template-columns: minmax(0, .42fr) minmax(0, .58fr);
    align-items: center;
    gap: 40px;
  }

  .page-home .res-figure img {
    max-height: 520px;
  }
}

@media (min-width: 960px) {
  .page-home .hero {
    padding: 52px 0 6px;
  }

  .page-home .hero__grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
    align-items: stretch;
    gap: 28px;
  }

  .page-home .hero__lead {
    padding: 44px 40px;
  }

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

  .page-home .hero__figure img {
    height: 240px;
  }

  .page-home .lineup-wrap {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    align-items: start;
    gap: 32px;
  }

  .page-home .help-grid {
    grid-template-columns: minmax(0, 1.32fr) minmax(0, .68fr);
    align-items: start;
    gap: 32px;
  }
}

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

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

@media (prefers-reduced-motion: reduce) {
  .page-home .model-tab {
    transition: none;
  }

  .page-home .timeline {
    scroll-snap-type: none;
  }
}
