/* ===== 首页 page-home ===== */
.page-home {
  --hm-gap: clamp(18px, 2.6vw, 32px);
  background: var(--white);
  color: var(--graphite);
}

.page-home h2 {
  margin: 10px 0 16px;
  font-family: var(--font-head);
  font-size: clamp(24px, 3.6vw, 38px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--blue);
}

/* ---------- 首屏 ---------- */
.page-home .hero {
  position: relative;
  padding: clamp(22px, 4vw, 46px) 0 clamp(46px, 7vw, 92px);
  background-color: var(--ink);
  background-image:
    linear-gradient(var(--rule-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--rule-dark) 1px, transparent 1px);
  background-size: 56px 56px, 56px 56px;
  color: var(--white);
}

.page-home .hero__frame {
  position: relative;
  padding: clamp(20px, 3vw, 44px);
  border: 1px solid var(--rule-soft);
  background: rgba(255, 255, 255, .02);
}

.page-home .hero__frame::before {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  background:
    linear-gradient(var(--orange), var(--orange)) left top / 20px 2px no-repeat,
    linear-gradient(var(--orange), var(--orange)) left top / 2px 20px no-repeat,
    linear-gradient(var(--orange), var(--orange)) right top / 20px 2px no-repeat,
    linear-gradient(var(--orange), var(--orange)) right top / 2px 20px no-repeat,
    linear-gradient(var(--orange), var(--orange)) left bottom / 20px 2px no-repeat,
    linear-gradient(var(--orange), var(--orange)) left bottom / 2px 20px no-repeat,
    linear-gradient(var(--orange), var(--orange)) right bottom / 20px 2px no-repeat,
    linear-gradient(var(--orange), var(--orange)) right bottom / 2px 20px no-repeat;
}

.page-home .hero__grid {
  display: grid;
  gap: var(--hm-gap);
}

.page-home .hero h1 {
  margin: 14px 0 18px;
  font-family: var(--font-head);
  font-size: clamp(30px, 5.2vw, 54px);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--white);
}

.page-home .hero__lede {
  max-width: 34em;
  margin: 0;
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.78;
  color: rgba(238, 244, 249, .84);
}

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

.page-home .hero__points li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(238, 244, 249, .9);
}

.page-home .hero__points .mono {
  flex: none;
  padding-top: 2px;
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--orange-soft);
}

.page-home .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-home .hero__media {
  margin: 0 0 18px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
  background: var(--blue);
}

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

/* 版本索引切换 */
.page-home .vswitch {
  position: relative;
}

.page-home .vswitch__radio {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

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

.page-home .vswitch__tab {
  flex: 1;
  padding: 11px 4px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: rgba(238, 244, 249, .72);
  background: rgba(143, 182, 212, .08);
  border: 1px solid var(--rule-dark);
  cursor: pointer;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: color var(--t), background var(--t), border-color var(--t);
}

.page-home #v3pick-a:checked ~ .vswitch__tabs .vswitch__tab[for="v3pick-a"],
.page-home #v3pick-b:checked ~ .vswitch__tabs .vswitch__tab[for="v3pick-b"],
.page-home #v3pick-c:checked ~ .vswitch__tabs .vswitch__tab[for="v3pick-c"] {
  color: var(--white);
  background: var(--orange);
  border-color: var(--orange);
}

.page-home #v3pick-a:focus-visible ~ .vswitch__tabs .vswitch__tab[for="v3pick-a"],
.page-home #v3pick-b:focus-visible ~ .vswitch__tabs .vswitch__tab[for="v3pick-b"],
.page-home #v3pick-c:focus-visible ~ .vswitch__tabs .vswitch__tab[for="v3pick-c"] {
  outline: 2px solid var(--orange-soft);
  outline-offset: 2px;
}

.page-home .vswitch__panel {
  display: none;
  padding: 16px 18px;
  border-left: 3px solid var(--orange);
  background: rgba(143, 182, 212, .08);
  font-size: 14.5px;
  line-height: 1.72;
  color: rgba(238, 244, 249, .86);
}

.page-home .vswitch__panel p {
  margin: 0;
}

.page-home #v3pick-a:checked ~ .vswitch__panels .vswitch__panel[data-v="a"],
.page-home #v3pick-b:checked ~ .vswitch__panels .vswitch__panel[data-v="b"],
.page-home #v3pick-c:checked ~ .vswitch__panels .vswitch__panel[data-v="c"] {
  display: block;
}

.page-home .vswitch__title {
  margin-bottom: 6px !important;
  font-size: 15px;
  font-weight: 900;
  color: var(--white);
}

/* ---------- 六维对比 ---------- */
.page-home .dims {
  position: relative;
  overflow: hidden;
  padding: clamp(52px, 7vw, 104px) 0;
  background: var(--blue);
  color: var(--white);
}

.page-home .dims::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--rule-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--rule-dark) 1px, transparent 1px);
  background-size: 48px 48px, 48px 48px;
}

.page-home .dims .wrap {
  position: relative;
  z-index: 1;
}

.page-home .dims h2,
.page-home .contact-band h2 {
  color: var(--white);
}

.page-home .dims__lede {
  max-width: 40em;
  margin: 0 0 26px;
  font-size: 16px;
  line-height: 1.78;
  color: rgba(238, 244, 249, .82);
}

.page-home .dims__figure {
  margin: 0 0 28px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}

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

.page-home .dims__list {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--rule-dark);
  border: 1px solid var(--rule-dark);
}

.page-home .dim {
  padding: 20px 20px 18px;
  background: var(--blue);
  transition: background var(--t);
}

.page-home .dim:hover,
.page-home .dim:focus-within {
  background: var(--blue-mid);
}

.page-home .dim__idx {
  display: block;
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--orange-soft);
}

.page-home .dim h3 {
  margin: 8px 0 8px;
  font-size: 17px;
  font-weight: 900;
  color: var(--white);
}

.page-home .dim p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(238, 244, 249, .78);
}

.page-home .dim__bar {
  display: block;
  height: 4px;
  margin-top: 14px;
  background: rgba(143, 182, 212, .22);
  overflow: hidden;
}

.page-home .dim__bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--orange), var(--orange-soft));
}

.page-home .dims__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
}

.page-home .dims__foot p {
  max-width: 46em;
  margin: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(238, 244, 249, .76);
}

/* ---------- 三档版本 ---------- */
.page-home .verses {
  padding: clamp(52px, 7vw, 104px) 0;
  background: var(--white);
}

.page-home .verses__cards {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}

.page-home .vcard {
  position: relative;
  padding: 22px 20px 20px;
  background: var(--mist);
  border-top: 3px solid var(--blue);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
  transition: transform var(--t), border-color var(--t);
}

.page-home .vcard:hover {
  transform: translateY(-4px);
  border-color: var(--orange);
}

.page-home .vcard__idx {
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--cool);
}

.page-home .vcard h3 {
  margin: 8px 0 4px;
  font-size: 22px;
  font-weight: 900;
  color: var(--blue);
}

.page-home .vcard__for {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
}

.page-home .vcard ul {
  display: grid;
  gap: 9px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.page-home .vcard li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.68;
  color: var(--graphite);
}

.page-home .vcard li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 6px;
  height: 6px;
  background: var(--celadon);
}

.page-home .verses__foot {
  display: grid;
  gap: 18px;
  margin-top: clamp(22px, 3vw, 36px);
}

.page-home .verses__media {
  margin: 0;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
}

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

.page-home .verses__tip {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 26px 24px;
  background: var(--blue);
  color: var(--white);
}

.page-home .verses__tip-k {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  color: var(--orange-soft);
}

.page-home .verses__tip p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(238, 244, 249, .86);
}

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

/* ---------- 会员权益 ---------- */
.page-home .benefits {
  padding: clamp(52px, 7vw, 104px) 0;
  background: var(--mist);
}

.page-home .benefits__lede {
  max-width: 42em;
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1.78;
  color: var(--graphite);
}

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

.page-home .tier {
  padding: 20px 18px;
  background: var(--white);
  border-left: 3px solid var(--celadon);
}

.page-home .tier--mid {
  border-left-color: var(--celadon-deep);
}

.page-home .tier--top {
  border-left-color: var(--orange);
}

.page-home .tier__no {
  display: block;
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--cool);
}

.page-home .tier h3 {
  margin: 6px 0 8px;
  font-size: 18px;
  font-weight: 900;
  color: var(--blue);
}

.page-home .tier p {
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--cool);
}

.page-home .benefits__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 28px;
}

/* ---------- 上手三步 ---------- */
.page-home .steps {
  position: relative;
  padding: clamp(52px, 7vw, 104px) 0;
  background: var(--white);
}

.page-home .steps::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  opacity: .55;
  background: repeating-linear-gradient(115deg, var(--orange) 0 14px, transparent 14px 30px);
}

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

.page-home .step {
  padding: 24px 20px 22px;
  background: var(--mist);
  border: 1px solid var(--rule-light);
}

.page-home .step__no {
  display: block;
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  color: var(--orange);
}

.page-home .step h3 {
  margin: 12px 0 8px;
  font-size: 18px;
  font-weight: 900;
  color: var(--blue);
}

.page-home .step p {
  margin: 0 0 14px;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--graphite);
}

.page-home .steps__media {
  max-width: 800px;
  margin: clamp(24px, 3vw, 40px) auto 0;
}

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

/* ---------- 常见问题 ---------- */
.page-home .faq {
  padding: clamp(52px, 7vw, 104px) 0;
  background: var(--mist);
}

.page-home .faq__list {
  margin-top: 24px;
  border-top: 1px solid var(--rule-light);
}

.page-home .qa {
  border-bottom: 1px solid var(--rule-light);
}

.page-home .qa summary {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 18px 0;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--blue);
  cursor: pointer;
  list-style: none;
}

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

.page-home .qa summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 20px;
  line-height: 1;
  color: var(--orange);
}

.page-home .qa[open] summary::after {
  content: "–";
}

.page-home .qa__q {
  flex: none;
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--cool);
}

.page-home .qa__body {
  padding: 0 0 20px;
}

.page-home .qa__body p {
  max-width: 46em;
  margin: 0;
  font-size: 15px;
  line-height: 1.78;
  color: var(--graphite);
}

.page-home .faq > .wrap > .btn {
  margin-top: 28px;
}

/* ---------- 联系与响应 ---------- */
.page-home .contact-band {
  padding: clamp(52px, 7vw, 104px) 0;
  background: var(--ink);
  color: var(--white);
}

.page-home .contact-band__grid {
  display: grid;
  gap: clamp(26px, 4vw, 48px);
}

.page-home .contact-band__p {
  max-width: 36em;
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.78;
  color: rgba(238, 244, 249, .84);
}

.page-home .contact-band__stats {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--rule-dark);
  border: 1px solid var(--rule-dark);
}

.page-home .contact-band__stats li {
  padding: 18px 16px;
  background: var(--ink);
}

.page-home .stat-num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(28px, 3.4vw, 36px);
  font-weight: 700;
  line-height: 1;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
}

.page-home .stat-lb {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(238, 244, 249, .72);
}

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

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

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

@media (min-width: 860px) {
  .page-home .verses__foot {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: stretch;
  }
}

@media (min-width: 900px) {
  .page-home .contact-band__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: center;
  }
}

@media (min-width: 960px) {
  .page-home .hero__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(28px, 4vw, 56px);
    align-items: start;
  }
}

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

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

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

@media (prefers-reduced-motion: reduce) {
  .page-home .vswitch__tab,
  .page-home .vcard,
  .page-home .dim {
    transition: none;
  }

  .page-home .vcard:hover {
    transform: none;
  }
}
