.page-home {
  background-color: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  overflow-x: hidden;
}

.page-home .section {
  padding-block: clamp(56px, 9vw, 108px);
  position: relative;
}

.page-home .eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin: 0;
}

.page-home .hero__link {
  color: var(--gold-lit);
  text-decoration: none;
  border-bottom: 1px solid var(--line-gold);
  padding-bottom: 2px;
  font-size: 14px;
  transition: color 180ms ease, border-color 180ms ease;
}

.page-home .hero__link:hover,
.page-home .hero__link:focus-visible {
  color: var(--paper);
  border-bottom-color: var(--gold-lit);
}

/* ---------- 首屏拼贴 ---------- */

.page-home .hero {
  position: relative;
  padding-top: clamp(28px, 5vw, 56px);
  padding-bottom: clamp(72px, 11vw, 148px);
  background:
    radial-gradient(120% 90% at 78% 6%, rgba(216, 166, 74, 0.17), transparent 58%),
    radial-gradient(90% 70% at 6% 94%, rgba(127, 183, 163, 0.13), transparent 62%),
    var(--ink);
  overflow: hidden;
}

.page-home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.42;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 88%);
  mask-image: linear-gradient(to bottom, #000 0%, transparent 88%);
}

.page-home .hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(18px, 3vw, 28px);
}

.page-home .hero__brand {
  position: relative;
  padding: clamp(22px, 4vw, 40px);
  border: 2px solid var(--line-gold);
  background: linear-gradient(158deg, rgba(11, 46, 51, 0.92), rgba(6, 24, 38, 0.94));
  box-shadow: var(--shadow-hard);
}

.page-home .hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(30px, 7vw, 62px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 16px 0 0;
  color: var(--paper);
}

.page-home .hero__title em {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-size: clamp(20px, 3.4vw, 30px);
  line-height: 1.3;
  color: var(--gold-lit);
  letter-spacing: 0;
}

.page-home .hero__lede {
  margin: 18px 0 0;
  max-width: 44ch;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.8;
  color: var(--paper);
  opacity: 0.88;
}

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

.page-home .hero__visual {
  margin: 26px 0 0;
  border: 2px solid var(--line-gold);
  background: var(--ink-deep);
  overflow: hidden;
}

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

.page-home .hero__phone {
  position: relative;
  justify-self: center;
  width: min(100%, 320px);
  padding: 12px 12px 10px;
  border: 2px solid var(--gold);
  border-radius: 30px;
  background: var(--ink-deep);
  box-shadow: var(--shadow-hard);
}

.page-home .hero__phone-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

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

.page-home .hero__pin {
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-deep);
  background: var(--gold-lit);
  border: 2px solid var(--ink-deep);
  box-shadow: 0 0 0 3px rgba(242, 209, 139, 0.25);
  animation: home-pulse 2s ease-in-out infinite;
}

.page-home .hero__pin--a { top: 14%; left: 12%; }
.page-home .hero__pin--b { top: 48%; right: 12%; animation-delay: 0.6s; }
.page-home .hero__pin--c { bottom: 16%; left: 18%; animation-delay: 1.2s; }

@keyframes home-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(242, 209, 139, 0.25); }
  50% { box-shadow: 0 0 0 7px rgba(242, 209, 139, 0.08); }
}

.page-home .hero__phone-cap {
  margin: 10px 4px 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: var(--mist);
  text-align: center;
}

.page-home .hero__status {
  padding: clamp(18px, 3vw, 28px);
  border: 2px solid var(--line);
  border-top: 4px solid var(--coral);
  background: rgba(4, 16, 27, 0.8);
  box-shadow: var(--shadow-soft);
}

.page-home .hero__status-title {
  font-family: var(--font-display);
  font-size: clamp(19px, 2.4vw, 24px);
  line-height: 1.4;
  margin: 12px 0 10px;
  color: var(--paper);
  letter-spacing: -0.01em;
}

.page-home .hero__status p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--paper);
  opacity: 0.82;
}

.page-home .hero__status-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 16px !important;
}

.page-home .hero__rank {
  padding: clamp(18px, 3vw, 26px);
  border: 2px solid var(--line-gold);
  background: linear-gradient(180deg, rgba(90, 31, 43, 0.55), rgba(6, 24, 38, 0.92));
  box-shadow: var(--shadow-hard);
}

.page-home .hero__rank-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.45;
  margin: 12px 0 14px;
  color: var(--gold-lit);
}

.page-home .hero__rank-drawer {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  margin-bottom: 16px;
}

.page-home .hero__rank-drawer summary {
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--mist);
  list-style: none;
}

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

.page-home .hero__rank-drawer summary::before {
  content: "＋ ";
  color: var(--gold);
}

.page-home .hero__rank-drawer[open] summary::before {
  content: "－ ";
}

.page-home .hero__rank-drawer summary:hover { color: var(--gold-lit); }

.page-home .hero__rank-drawer p {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--paper);
  opacity: 0.82;
}

.page-home .hero__wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: clamp(44px, 8vw, 116px);
  color: var(--teal);
  pointer-events: none;
  z-index: 1;
}

.page-home .hero__wave svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* ---------- 四类入口 ---------- */

.page-home .entry {
  background:
    linear-gradient(180deg, var(--teal), #082228 82%);
}

.page-home .entry__head {
  max-width: 62ch;
  margin-bottom: clamp(26px, 4vw, 40px);
}

.page-home .entry__head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 4.4vw, 40px);
  line-height: 1.24;
  letter-spacing: -0.015em;
  margin: 14px 0 12px;
  color: var(--paper);
}

.page-home .entry__intro {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: var(--mist);
}

.page-home .entry__fig {
  margin: 0 0 clamp(26px, 4vw, 40px);
  border: 2px solid var(--line-gold);
  background: var(--ink-deep);
  box-shadow: var(--shadow-hard);
}

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

.page-home .entry__fig .media__caption {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--mist);
  padding: 10px 14px;
  border-top: 1px solid var(--line);
}

.page-home .entry__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.page-home .entry__card {
  position: relative;
  padding: 22px 22px 24px;
  border: 2px solid var(--line);
  border-left: 6px solid var(--gold);
  background: rgba(6, 24, 38, 0.78);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.page-home .entry__card:hover {
  border-color: var(--gold);
  border-left-color: var(--gold-lit);
  box-shadow: var(--shadow-hard);
  transform: translate(-2px, -2px);
}

.page-home .entry__card--a { border-left-color: var(--celadon); }
.page-home .entry__card--b { border-left-color: var(--gold); }
.page-home .entry__card--c { border-left-color: var(--coral); }
.page-home .entry__card--d { border-left-color: var(--celadon); }

.page-home .entry__no {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--gold);
}

.page-home .entry__card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin: 8px 0 8px;
  color: var(--paper);
}

.page-home .entry__card p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--mist);
}

.page-home .entry__more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin: clamp(26px, 4vw, 38px) 0 0;
}

.page-home .entry__more-note {
  font-size: 13px;
  line-height: 1.7;
  color: var(--mist);
  max-width: 32ch;
}

/* ---------- 12 项对照 ---------- */

.page-home .eval {
  background:
    linear-gradient(180deg, #04101B, var(--ink) 62%);
}

.page-home .eval__head {
  max-width: 64ch;
  margin-bottom: clamp(24px, 4vw, 36px);
}

.page-home .eval__head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 4.4vw, 40px);
  line-height: 1.24;
  letter-spacing: -0.015em;
  margin: 14px 0 12px;
  color: var(--paper);
}

.page-home .eval__intro {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: var(--mist);
}

.page-home .eval__fig {
  margin: 0 0 clamp(24px, 4vw, 36px);
  border: 2px solid var(--line);
  background: var(--ink-deep);
  overflow: hidden;
}

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

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

.page-home .eval__labs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.page-home .eval__labs label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 9px 15px;
  border: 2px solid var(--line);
  color: var(--mist);
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease;
}

.page-home .eval__labs label:hover {
  border-color: var(--gold);
  color: var(--paper);
}

.page-home #ev-all:checked ~ .eval__labs label[for="ev-all"],
.page-home #ev-old:checked ~ .eval__labs label[for="ev-old"],
.page-home #ev-now:checked ~ .eval__labs label[for="ev-now"],
.page-home #ev-v4:checked ~ .eval__labs label[for="ev-v4"] {
  border-color: var(--gold);
  background: rgba(216, 166, 74, 0.14);
  color: var(--gold-lit);
}

.page-home .eval__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.page-home .eval__card {
  padding: 20px;
  border: 2px solid var(--line);
  background: rgba(11, 46, 51, 0.42);
  transition: border-color 160ms ease, background-color 160ms ease;
}

.page-home .eval__card:hover {
  border-color: var(--line-gold);
  background: rgba(11, 46, 51, 0.7);
}

.page-home .eval__no {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--gold);
}

.page-home .eval__card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin: 8px 0 6px;
  color: var(--paper);
}

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

.page-home #ev-old:checked ~ .eval__grid .eval__card,
.page-home #ev-now:checked ~ .eval__grid .eval__card,
.page-home #ev-v4:checked ~ .eval__grid .eval__card {
  display: none;
}

.page-home #ev-old:checked ~ .eval__grid .eval__card--old,
.page-home #ev-now:checked ~ .eval__grid .eval__card--now,
.page-home #ev-v4:checked ~ .eval__grid .eval__card--v4 {
  display: block;
}

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

/* ---------- 回放核对 ---------- */

.page-home .replay {
  background:
    radial-gradient(80% 70% at 50% 0%, rgba(36, 32, 74, 0.85), transparent 70%),
    var(--indigo);
}

.page-home .replay__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(30px, 6vw, 72px);
  align-items: start;
}

.page-home .replay__lead h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 4.4vw, 38px);
  line-height: 1.26;
  letter-spacing: -0.015em;
  margin: 14px 0 16px;
  color: var(--paper);
}

.page-home .replay__lead p {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.85;
  color: rgba(233, 227, 213, 0.84);
  max-width: 46ch;
}

.page-home .replay__hint {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--gold-lit);
}

.page-home .replay__steps {
  border-top: 2px solid var(--line-gold);
}

.page-home .replay__step {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.page-home .replay__step summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  gap: 14px;
  align-items: baseline;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--paper);
  transition: color 160ms ease;
}

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

.page-home .replay__step summary:hover,
.page-home .replay__step[open] summary {
  color: var(--gold-lit);
}

.page-home .replay__step-no {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--gold);
  flex: none;
}

.page-home .replay__step p {
  margin: 10px 0 0 34px;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(233, 227, 213, 0.78);
}

.page-home .replay__footnote {
  margin: 24px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.85;
  letter-spacing: 0.03em;
  color: var(--mist);
}

/* ---------- 客服与信任 ---------- */

.page-home .trust {
  background:
    linear-gradient(180deg, var(--wine), #3A1420 78%);
  border-top: 2px solid var(--line-gold);
}

.page-home .trust__head {
  max-width: 60ch;
  margin-bottom: clamp(24px, 4vw, 38px);
}

.page-home .trust__head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 4.4vw, 38px);
  line-height: 1.26;
  letter-spacing: -0.015em;
  margin: 14px 0 12px;
  color: var(--paper);
}

.page-home .trust__head p {
  margin: 0;
  font-size: 16px;
  line-height: 1.82;
  color: rgba(233, 227, 213, 0.86);
}

.page-home .trust__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.page-home .trust__card {
  padding: 22px;
  border: 2px solid rgba(233, 227, 213, 0.16);
  background: rgba(6, 24, 38, 0.55);
  box-shadow: var(--shadow-soft);
  transition: border-color 180ms ease;
}

.page-home .trust__card:hover {
  border-color: var(--gold);
}

.page-home .trust__card--gold { border-top: 4px solid var(--gold); }
.page-home .trust__card--celadon { border-top: 4px solid var(--celadon); }
.page-home .trust__card--coral { border-top: 4px solid var(--coral); }

.page-home .trust__label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--mist);
}

.page-home .trust__value {
  margin: 10px 0 10px;
  font-family: var(--font-mono);
  font-size: clamp(15px, 1.9vw, 18px);
  line-height: 1.55;
  color: var(--gold-lit);
  word-break: break-word;
}

.page-home .trust__note {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  color: rgba(233, 227, 213, 0.72);
}

.page-home .trust__base {
  margin-top: clamp(24px, 4vw, 36px);
  padding-top: 22px;
  border-top: 1px solid rgba(233, 227, 213, 0.2);
  display: grid;
  gap: 14px;
}

.page-home .trust__statement {
  margin: 0;
  max-width: 62ch;
  font-size: 14px;
  line-height: 1.85;
  color: rgba(233, 227, 213, 0.78);
}

.page-home .trust__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin: 0;
}

/* ---------- 固定回放入口 ---------- */

.page-home .replay-fab {
  position: fixed;
  right: 14px;
  bottom: 16px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  padding: 11px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-deep);
  background: var(--gold-lit);
  border: 2px solid var(--ink-deep);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.5);
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
}

.page-home .replay-fab:hover,
.page-home .replay-fab:focus-visible {
  background: var(--gold);
  transform: translate(-1px, -1px);
}

/* ---------- 断点 ---------- */

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

@media (min-width: 900px) {
  .page-home .hero__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 26px;
  }
  .page-home .hero__brand { grid-column: 1 / 8; grid-row: 1; }
  .page-home .hero__phone { grid-column: 9 / 13; grid-row: 1; align-self: start; }
  .page-home .hero__status { grid-column: 1 / 8; grid-row: 2; }
  .page-home .hero__rank { grid-column: 9 / 13; grid-row: 2; }

  .page-home .entry__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .page-home .entry__card { min-height: 236px; }

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

  .page-home .replay__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 84px;
  }

  .page-home .trust__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .page-home .trust__base {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
  .page-home .trust__meta {
    justify-content: flex-end;
  }

  .page-home .replay-fab {
    display: none;
  }
}

@media (min-width: 1120px) {
  .page-home .hero__brand {
    padding: 44px 44px 40px;
  }
  .page-home .replay__lead {
    position: sticky;
    top: calc(var(--head-h) + 40px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hero__pin {
    animation: none;
  }
  .page-home .entry__card:hover,
  .page-home .replay-fab:hover {
    transform: none;
  }
}
