.page-home {
  --home-gap-lg: clamp(28px, 5vw, 64px);
  --home-gap-md: clamp(18px, 3vw, 32px);
  background: var(--white);
  color: var(--ink);
  overflow-x: clip;
}

/* ---------- Hero ---------- */

.page-home .home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(26px, 4vw, 48px) 0 clamp(56px, 9vw, 112px);
  background: linear-gradient(158deg, var(--blue) 0%, var(--blue) 40%, var(--blue-deep) 100%);
  color: var(--white);
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  left: -14%;
  bottom: -38%;
  width: min(66%, 660px);
  aspect-ratio: 1.5;
  background: linear-gradient(120deg, var(--red) 0%, var(--red-deep) 100%);
  clip-path: polygon(0 100%, 100% 100%, 0 0);
  opacity: 0.88;
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: clamp(16px, 7vw, 110px);
  width: 2px;
  height: 44%;
  background: linear-gradient(180deg, var(--lime), rgba(199, 244, 100, 0));
}

.page-home .home-hero .container {
  position: relative;
  z-index: 1;
}

.page-home .home-hero__crumb {
  margin-bottom: clamp(20px, 3vw, 34px);
}

.page-home .home-hero__crumb .breadcrumb__item {
  color: rgba(255, 255, 255, 0.58);
  letter-spacing: 0.02em;
}

.page-home .home-hero__grid {
  display: grid;
  gap: var(--home-gap-lg);
  align-items: center;
}

.page-home .home-hero__eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.page-home .home-hero__title {
  margin: 16px 0 20px;
  font-size: clamp(34px, 7.4vw, 74px);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: -0.025em;
}

.page-home .home-hero__title .hl {
  color: var(--lime);
  font-style: italic;
}

.page-home .home-hero__lead {
  max-width: 48ch;
  margin: 0 0 clamp(24px, 3vw, 34px);
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.84);
}

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

.page-home .home-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: clamp(24px, 4vw, 38px) 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.page-home .home-hero__meta li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-home .home-hero__meta span {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 15px;
  color: var(--lime);
}

.page-home .home-hero__visual {
  position: relative;
}

.page-home .home-hero__figure {
  box-shadow: var(--shadow-2);
}

.page-home .status-pill {
  position: absolute;
  left: clamp(8px, 2vw, 22px);
  bottom: clamp(-26px, -2vw, -18px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  background: var(--glass-blue);
  border: 1px solid var(--glass-white);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-2);
  font-size: 14px;
  color: var(--white);
  white-space: nowrap;
}

.page-home .status-pill__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(199, 244, 100, 0.22);
}

.page-home .status-pill__code {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--lime);
}

/* ---------- 设备对比 ---------- */

.page-home .home-compare__head {
  max-width: 760px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.page-home .home-compare__grid {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
  margin-bottom: clamp(28px, 4vw, 46px);
}

.page-home .device-card {
  position: relative;
  padding: clamp(20px, 3vw, 30px);
  border-radius: var(--r-md);
  background: var(--white);
  border: 1px solid rgba(27, 58, 107, 0.08);
  box-shadow: var(--shadow-1);
}

.page-home .device-card--pc {
  border-top: 4px solid var(--red);
}

.page-home .device-card--mobile {
  border-top: 4px solid var(--steel);
}

.page-home .device-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}

.page-home .device-card__title {
  margin: 0;
  font-size: clamp(19px, 2.2vw, 24px);
  font-weight: 700;
  letter-spacing: -0.01em;
}

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

.page-home .steps li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  background: var(--mist);
  font-size: 15px;
  line-height: 1.6;
}

.page-home .steps__no {
  flex: none;
  padding: 2px 7px;
  border-radius: 6px;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.page-home .device-card--pc .steps__no {
  background: var(--red);
}

.page-home .device-card__note {
  margin: 18px 0 0;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.01em;
  color: var(--steel);
}

.page-home .home-compare__figure {
  margin: 0 0 clamp(26px, 4vw, 40px);
}

.page-home .home-compare__faq {
  margin-bottom: clamp(22px, 3vw, 32px);
}

.page-home .home-compare__faq .accordion__label {
  flex: 1 1 auto;
  text-align: left;
}

.page-home .home-compare__compat {
  margin: 0;
  padding-left: 14px;
  border-left: 3px solid var(--red);
  font-size: 14px;
  line-height: 1.7;
  color: var(--steel);
}

/* ---------- 数据条 ---------- */

.page-home .home-stats {
  padding: clamp(30px, 5vw, 58px) 0;
  background: var(--blue-deep);
  color: var(--white);
}

.page-home .home-stats__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 34px);
}

.page-home .stat__num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--lime);
}

.page-home .stat__label {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}

.page-home .home-stats__note {
  margin: clamp(24px, 3vw, 34px) 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.72);
}

.page-home .home-stats__note a {
  color: var(--lime);
  text-decoration: none;
  border-bottom: 1px solid rgba(199, 244, 100, 0.45);
}

.page-home .home-stats__note a:hover,
.page-home .home-stats__note a:focus-visible {
  border-bottom-color: var(--lime);
}

/* ---------- 反馈指引 ---------- */

.page-home .home-feedback__grid {
  display: grid;
  gap: var(--home-gap-lg);
  align-items: center;
}

.page-home .home-feedback__copy .prose {
  margin-bottom: clamp(22px, 3vw, 30px);
}

.page-home .feedback-types {
  display: grid;
  gap: 1px;
  margin: 0 0 clamp(24px, 3vw, 32px);
  padding: 0;
  list-style: none;
  background: var(--mist);
  border-radius: var(--r-md);
  overflow: hidden;
}

.page-home .feedback-types li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 16px;
  padding: 14px 18px;
  background: var(--white);
  font-size: 15px;
  line-height: 1.6;
  color: var(--steel);
}

.page-home .feedback-types__k {
  min-width: 96px;
  font-weight: 700;
  color: var(--blue);
}

.page-home .home-feedback__figure {
  margin: 0;
}

/* ---------- 内容中心调整 ---------- */

.page-home .home-updates {
  background: linear-gradient(180deg, var(--blue-deep) 0%, var(--blue) 100%);
  color: var(--white);
}

.page-home .home-updates__head {
  max-width: 720px;
  margin-bottom: clamp(26px, 4vw, 44px);
}

.page-home .home-updates__head .lead {
  color: rgba(255, 255, 255, 0.78);
}

.page-home .home-updates__figure {
  margin: 0 0 clamp(28px, 4vw, 48px);
}

.page-home .timeline {
  margin: 0 0 clamp(28px, 4vw, 42px);
  padding: 0 0 0 clamp(20px, 3vw, 30px);
  list-style: none;
  border-left: 2px solid rgba(199, 244, 100, 0.32);
}

.page-home .timeline__item {
  position: relative;
  padding: 0 0 clamp(24px, 3vw, 34px);
}

.page-home .timeline__item:last-child {
  padding-bottom: 0;
}

.page-home .timeline__item::before {
  content: "";
  position: absolute;
  left: calc(-1 * clamp(20px, 3vw, 30px) - 6px);
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(199, 244, 100, 0.16);
}

.page-home .timeline__ver {
  display: inline-block;
  margin-bottom: 10px;
  padding: 2px 9px;
  border-radius: 6px;
  background: var(--lime);
  color: var(--blue-deep);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.page-home .timeline__body h3 {
  margin: 0 0 8px;
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 700;
  line-height: 1.4;
}

.page-home .timeline__body p {
  max-width: 62ch;
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.76);
}

/* ---------- 响应式 ---------- */

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

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

@media (min-width: 900px) {
  .page-home .home-hero__grid {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  }
}

@media (min-width: 940px) {
  .page-home .home-feedback__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  }
}

@media (max-width: 520px) {
  .page-home .home-hero::before {
    width: 86%;
    opacity: 0.7;
  }

  .page-home .status-pill {
    position: static;
    margin-top: 16px;
    justify-content: center;
    width: 100%;
  }

  .page-home .feedback-types__k {
    min-width: 0;
  }

  .page-home .steps li {
    padding: 11px 12px;
    font-size: 14px;
  }
}

@media (min-width: 1080px) {
  .page-home .home-hero__lead {
    max-width: 44ch;
  }
}
