.page-home {
  --home-gap: 16px;
  --home-pad: clamp(18px, 3vw, 32px);
  --home-soft: rgba(41, 224, 208, 0.08);
  --home-warm: rgba(255, 106, 31, 0.1);
  display: block;
}

/* ---------- 上下文提示 ---------- */
.page-home .home-context {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--mist);
}
.page-home .home-context .mono {
  color: var(--cyan);
  font-size: 12px;
}
.page-home .home-context__sep {
  color: var(--ink-700);
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  padding: clamp(22px, 4vw, 46px) 0 clamp(26px, 5vw, 54px);
}
.page-home .home-hero::before {
  content: "";
  position: absolute;
  top: -140px;
  left: -12%;
  width: 72%;
  height: 460px;
  background: radial-gradient(closest-side, rgba(255, 106, 31, 0.16), rgba(41, 224, 208, 0.05) 55%, transparent 74%);
  pointer-events: none;
  z-index: 0;
}
.page-home .home-hero .shell {
  position: relative;
  z-index: 1;
}

.page-home .home-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--home-gap);
}

.page-home .home-hero__main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  padding: var(--home-pad);
  border-radius: var(--r-xl);
  background:
    linear-gradient(152deg, rgba(255, 106, 31, 0.1), transparent 46%),
    linear-gradient(20deg, rgba(41, 224, 208, 0.07), transparent 60%),
    var(--ink-800);
}

.page-home .home-hero__title {
  margin: 10px 0 14px;
  font-size: clamp(30px, 5.4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--white);
}
.page-home .home-hero__lead {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--mist);
  max-width: 46ch;
}
.page-home .home-hero__actions {
  gap: 10px;
  flex-wrap: wrap;
}

.page-home .home-hero__figure {
  margin: 0;
}
.page-home .home-hero__frame {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--ink-900);
}
.page-home .home-hero__frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-home .home-hero__figure .figure__caption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--mist);
}

.page-home .home-hero__side {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  border-radius: var(--r-lg);
}
.page-home .home-hero__side--cyan {
  background: linear-gradient(160deg, rgba(41, 224, 208, 0.1), transparent 58%), var(--ink-800);
}
.page-home .home-hero__side-title {
  margin: 4px 0 0;
  font-size: 19px;
  line-height: 1.35;
  color: var(--white);
}
.page-home .home-hero__side-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--mist);
}

.page-home .home-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: 6px;
  padding-bottom: 2px;
  font-size: 14px;
  font-weight: 600;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(41, 224, 208, 0.35);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.page-home .home-arrow::after {
  content: "→";
  transition: transform 0.3s var(--ease);
}
.page-home .home-arrow:hover,
.page-home .home-arrow:focus-visible {
  color: var(--accent);
  border-bottom-color: rgba(255, 106, 31, 0.6);
}
.page-home .home-arrow:hover::after {
  transform: translateX(4px);
}

/* 首屏章节预览通栏 */
.page-home .home-hero__bar {
  padding: 8px;
  border-radius: var(--r-lg);
  background: rgba(3, 7, 16, 0.72);
}
.page-home .home-paths {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.page-home .home-paths__item {
  display: grid;
  gap: 3px;
  padding: 15px 16px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.page-home .home-paths__item:hover {
  background: var(--home-soft);
  border-color: rgba(41, 224, 208, 0.3);
}
.page-home .home-paths__num {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--accent);
}
.page-home .home-paths__link {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.page-home .home-paths__link:hover {
  color: var(--cyan);
}
.page-home .home-paths__note {
  font-size: 12.5px;
  color: var(--mist);
}

/* ---------- 身份筛选带 ---------- */
.page-home .home-audience {
  position: relative;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(100deg, rgba(194, 96, 58, 0.16), rgba(109, 127, 106, 0.1) 52%, rgba(41, 224, 208, 0.08));
}
.page-home .home-audience::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--clay), var(--moss) 42%, var(--cyan) 100%);
  opacity: 0.9;
}
.page-home .home-audience .shell {
  padding-top: 0;
  padding-bottom: 0;
}
.page-home .home-audience__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 26px 0 26px;
}
.page-home .home-audience__title {
  margin: 0 0 6px;
  font-size: clamp(19px, 2.6vw, 25px);
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--white);
}
.page-home .home-audience__lead {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--mist);
  max-width: 52ch;
}
.page-home .home-audience__switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.page-home .home-audience__switch .chip {
  cursor: pointer;
  user-select: none;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.page-home .home-audience__switch .chip:hover {
  transform: translateY(-1px);
}
.page-home .home-audience__switch input:focus-visible + .chip,
.page-home .home-timing__switch input:focus-visible + .chip {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}
.page-home #f-all:checked + .chip,
.page-home #f-new:checked + .chip,
.page-home #f-swap:checked + .chip,
.page-home #f-pad:checked + .chip {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink-950);
  font-weight: 700;
}

/* 身份筛选：高亮命中的模块，压低其余模块 */
.page-home [data-audience] {
  transition: opacity 0.35s var(--ease), border-color 0.35s var(--ease), filter 0.35s var(--ease);
}
.page-home:has(#f-new:checked) [data-audience]:not([data-audience~="new"]),
.page-home:has(#f-swap:checked) [data-audience]:not([data-audience~="swap"]),
.page-home:has(#f-pad:checked) [data-audience]:not([data-audience~="pad"]) {
  opacity: 0.62;
  filter: grayscale(0.45);
}
.page-home:has(#f-new:checked) [data-audience~="new"],
.page-home:has(#f-swap:checked) [data-audience~="swap"],
.page-home:has(#f-pad:checked) [data-audience~="pad"] {
  border-color: rgba(255, 106, 31, 0.55);
  box-shadow: 0 0 0 1px rgba(255, 106, 31, 0.18), var(--shadow-1);
}

/* ---------- 通用章节 ---------- */
.page-home .home-section {
  padding: clamp(44px, 7vw, 88px) 0;
}
.page-home .home-section--split {
  padding-top: clamp(36px, 6vw, 70px);
}
.page-home .home-section .section-head {
  max-width: 62ch;
  margin-bottom: clamp(24px, 4vw, 40px);
}

.page-home .home-list {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}
.page-home .home-list li {
  position: relative;
  padding-left: 20px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--mist);
}
.page-home .home-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 8px;
  height: 2px;
  background: var(--cyan);
}
.page-home .home-list--tight {
  margin-bottom: 18px;
}

.page-home .home-note {
  margin: 22px 0 0;
  padding: 14px 18px;
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  background: var(--home-warm);
  font-size: 14px;
  line-height: 1.7;
  color: var(--rice);
}

/* ---------- 栏目落点 ---------- */
.page-home .home-landings {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--home-gap);
}
.page-home .home-landings__card {
  padding: var(--home-pad);
  border-radius: var(--r-xl);
}
.page-home .home-landings__card--tools {
  background: linear-gradient(158deg, rgba(41, 224, 208, 0.09), transparent 52%), var(--ink-800);
}
.page-home .home-landings__card--updates {
  background: linear-gradient(158deg, rgba(194, 96, 58, 0.14), transparent 54%), var(--ink-800);
}
.page-home .home-landings__tag {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--cyan);
}
.page-home .home-landings__card--updates .home-landings__tag {
  color: var(--clay);
}
.page-home .home-landings__title {
  margin: 0 0 12px;
  font-size: clamp(19px, 2.4vw, 23px);
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--white);
}
.page-home .home-landings__text {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.78;
  color: var(--mist);
}

/* ---------- 平板端 ---------- */
.page-home .home-tablet {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  align-items: center;
}
.page-home .home-tablet__figure {
  margin: 0;
}
.page-home .home-tablet__frame {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--ink-800), var(--ink-900));
}
.page-home .home-tablet__frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-home .home-tablet__figure .figure__caption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--mist);
}
.page-home .home-tablet__title {
  margin: 8px 0 12px;
  font-size: clamp(24px, 3.4vw, 34px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--white);
}
.page-home .home-tablet__lead {
  margin: 0 0 20px;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--mist);
  max-width: 48ch;
}
.page-home .home-steps {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.page-home .home-steps__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px 16px;
  border-radius: var(--r-md);
  border: 1px solid var(--line-soft);
  background: rgba(16, 26, 46, 0.7);
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--rice);
}
.page-home .home-steps__num {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--accent);
  padding-top: 3px;
}
.page-home .home-tablet__meta {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--mist);
  max-width: 50ch;
}

/* ---------- 换设备重新登录 ---------- */
.page-home .home-relogin {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  padding: var(--home-pad);
  border-radius: var(--r-xl);
}
.page-home .home-relogin__title {
  margin: 8px 0 12px;
  font-size: clamp(22px, 3.2vw, 30px);
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: var(--white);
}
.page-home .home-relogin__lead {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--rice);
  max-width: 48ch;
}
.page-home .home-relogin__figure {
  margin: 0;
  align-self: center;
}
.page-home .home-relogin__frame {
  aspect-ratio: 2 / 1;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid rgba(194, 96, 58, 0.4);
  background: var(--ink-900);
}
.page-home .home-relogin__frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-home .home-relogin__figure .figure__caption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--mist);
}

/* ---------- 评测速览 ---------- */
.page-home .home-timing {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}
.page-home .home-timing__switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}
.page-home .home-timing__switch .chip {
  cursor: pointer;
  user-select: none;
}
.page-home #t-light:checked + .chip,
.page-home #t-mid:checked + .chip,
.page-home #t-heavy:checked + .chip {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink-950);
  font-weight: 700;
}
.page-home .home-timing__meters {
  display: grid;
  gap: 14px;
}
.page-home .home-timing__meters .meter {
  padding: 14px 16px;
  border-radius: var(--r-md);
  border: 1px solid var(--line-soft);
  background: rgba(16, 26, 46, 0.68);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.page-home:has(#t-light:checked) [data-range="light"],
.page-home:has(#t-mid:checked) [data-range="mid"],
.page-home:has(#t-heavy:checked) [data-range="heavy"] {
  border-color: rgba(255, 106, 31, 0.62);
  background: linear-gradient(120deg, rgba(255, 106, 31, 0.14), rgba(16, 26, 46, 0.7));
}
.page-home .meter__track {
  height: 8px;
  border-radius: 999px;
  background: rgba(34, 48, 74, 0.85);
  overflow: hidden;
}
.page-home .meter__fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--moss), var(--cyan));
  transition: width 0.5s var(--ease);
}
.page-home [data-range="heavy"] .meter__fill {
  background: linear-gradient(90deg, var(--cyan), var(--amber));
}
.page-home .meter__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
}
.page-home .meter__label {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
}
.page-home .meter__value {
  font-size: 13px;
  color: var(--mist);
}
.page-home .home-timing__note {
  margin: 20px 0 20px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--mist);
  max-width: 52ch;
}
.page-home .home-timing__actions {
  gap: 10px;
  flex-wrap: wrap;
}
.page-home .home-timing__figure {
  margin: 0;
}
.page-home .home-timing__frame {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--ink-900);
}
.page-home .home-timing__frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-home .home-timing__figure .figure__caption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--mist);
}

/* ---------- 三端入口对照 ---------- */
.page-home .home-map {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--home-gap);
}
.page-home .home-map__card {
  display: grid;
  gap: 10px;
  padding: 24px;
  border-radius: var(--r-lg);
  background: linear-gradient(170deg, rgba(34, 48, 74, 0.55), rgba(16, 26, 46, 0.9));
}
.page-home .home-map__svg {
  display: block;
  width: 100%;
  max-width: 168px;
  height: auto;
  color: var(--mist);
}
.page-home .home-map__title {
  margin: 4px 0 0;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--white);
}
.page-home .home-map__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--mist);
}

/* ---------- 运行数据 ---------- */
.page-home .home-section--stats {
  background: linear-gradient(180deg, transparent, rgba(16, 26, 46, 0.6) 30%, transparent);
}
.page-home .home-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.page-home .home-stats__item {
  padding: 20px 18px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--ink-800);
  display: grid;
  gap: 6px;
}
.page-home .home-stats__item .metric__value {
  font-family: var(--font-mono);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--accent);
}
.page-home .home-stats__item .metric__unit {
  font-size: 0.5em;
  margin-left: 2px;
  color: var(--mist);
}
.page-home .home-stats__item .metric__label {
  font-size: 13px;
  color: var(--mist);
}
.page-home .home-stats__foot {
  display: grid;
  gap: 16px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
}
.page-home .home-stats__foot p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--mist);
  max-width: 62ch;
}
.page-home .home-stats__actions {
  gap: 10px;
  flex-wrap: wrap;
}

/* ---------- 结尾引导 ---------- */
.page-home .home-cta {
  padding: 0 0 clamp(48px, 8vw, 96px);
}
.page-home .home-cta__panel {
  display: grid;
  gap: 22px;
  padding: clamp(24px, 4vw, 44px);
  border-radius: var(--r-xl);
}
.page-home .home-cta__title {
  margin: 0 0 12px;
  font-size: clamp(22px, 3.2vw, 32px);
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: var(--white);
}
.page-home .home-cta__lead {
  margin: 0;
  font-size: 15px;
  line-height: 1.78;
  color: var(--mist);
  max-width: 56ch;
}
.page-home .home-cta__actions {
  gap: 10px;
  flex-wrap: wrap;
}

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

@media (min-width: 780px) {
  .page-home .home-landings {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-home .home-map {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .page-home .home-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .page-home .home-stats__foot {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
}

@media (min-width: 900px) {
  .page-home .home-tablet {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: 46px;
  }
  .page-home .home-relogin {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 38px;
    align-items: center;
  }
  .page-home .home-timing {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 42px;
  }
  .page-home .home-audience__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 32px;
    padding: 30px 0;
  }
  .page-home .home-cta__panel {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 32px;
  }
}

@media (min-width: 1080px) {
  .page-home .home-paths {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .page-home .home-hero__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 14px;
  }
  .page-home .home-hero__main {
    grid-column: span 8;
    grid-row: span 2;
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr);
    align-items: start;
    gap: 26px;
  }
  .page-home .home-hero__copy {
    grid-column: 1;
  }
  .page-home .home-hero__figure {
    grid-column: 2;
    grid-row: 1;
    align-self: stretch;
  }
  .page-home .home-hero__frame {
    aspect-ratio: 3 / 4;
  }
  .page-home .home-hero__side {
    grid-column: span 4;
  }
  .page-home .home-hero__bar {
    grid-column: span 12;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-arrow::after,
  .page-home .meter__fill,
  .page-home [data-audience],
  .page-home .home-paths__item {
    transition: none;
  }
}
