.page-home {
  overflow-x: clip;
  color: var(--paper);
}

/* ---------- 通用区块头 ---------- */
.page-home .home-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  gap: 8px 16px;
  margin-bottom: clamp(22px, 3.4vw, 40px);
}
.page-home .home-head__title {
  font-size: clamp(24px, 3.6vw, 44px);
  line-height: 1.16;
  letter-spacing: -0.02em;
  margin: 0;
}
.page-home .home-head__note {
  grid-column: 1 / -1;
  margin: 0;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.8;
  color: var(--slate);
}
.page-home .home-head--light .home-head__note {
  color: rgba(14, 23, 32, 0.68);
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  padding-block: clamp(30px, 5vw, 68px) clamp(38px, 6vw, 88px);
  background:
    radial-gradient(120% 90% at 84% 10%, rgba(0, 224, 208, 0.14), transparent 58%),
    radial-gradient(90% 70% at 10% 94%, rgba(242, 181, 68, 0.08), transparent 62%),
    var(--ink);
  border-bottom: 1px solid var(--line-soft);
}
.page-home .home-hero__grid {
  display: grid;
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
}
.page-home .home-hero__title {
  font-size: clamp(30px, 4.6vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 14px 0 0;
  color: var(--paper);
}
.page-home .home-hero__text {
  margin: 18px 0 0;
  max-width: 46ch;
  font-size: 16px;
  line-height: 1.9;
  color: rgba(247, 250, 252, 0.78);
}
.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.page-home .home-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--slate);
}
.page-home .home-hero__facts .mono {
  color: var(--gold);
  font-size: 15px;
  margin-right: 2px;
}

.page-home .home-hero__stage {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(240px, 40vw, 400px);
  padding: clamp(22px, 3.6vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  background: linear-gradient(150deg, rgba(18, 40, 61, 0.92), rgba(11, 27, 43, 0.94));
  isolation: isolate;
}
.page-home .home-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.36;
}
.page-home .home-hero__version {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}
.page-home .home-hero__vlabel {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan-mid);
}
.page-home .home-hero__vnum {
  display: block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(72px, 14vw, 160px);
  line-height: 0.82;
  letter-spacing: -0.03em;
  color: var(--cyan);
  text-shadow: 0 0 64px rgba(0, 224, 208, 0.28);
  animation: home-vnum-in 600ms var(--ease-out) both;
}
.page-home .home-hero__vnote {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(247, 250, 252, 0.66);
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
@keyframes home-vnum-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- 栏目目录 ---------- */
.page-home .home-dir {
  padding-block: clamp(40px, 6vw, 88px);
  background: var(--ink);
}
.page-home .home-dir__list {
  border-top: 1px solid var(--line);
}
.page-home .home-dir__item {
  border-bottom: 1px solid var(--line);
}
.page-home .home-dir__sum {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 12px;
  padding: 16px 10px;
  cursor: pointer;
  list-style: none;
  border-radius: var(--r-md);
  transition: background 200ms var(--ease-out);
}
.page-home .home-dir__sum::-webkit-details-marker {
  display: none;
}
.page-home .home-dir__sum:hover,
.page-home .home-dir__item[open] > .home-dir__sum {
  background: var(--ink-panel);
}
.page-home .home-dir__idx {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--gold);
}
.page-home .home-dir__label {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.page-home .home-dir__name {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.3;
  color: var(--paper);
}
.page-home .home-dir__desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--slate);
}
.page-home .home-dir__chev {
  position: relative;
  width: 12px;
  height: 12px;
  justify-self: end;
  border-right: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
  border-radius: 1px;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 200ms var(--ease-out);
}
.page-home .home-dir__item[open] .home-dir__chev {
  transform: rotate(225deg) translate(-2px, -2px);
}
.page-home .home-dir__body {
  padding: 0 10px 20px clamp(10px, 7vw, 62px);
  animation: home-fade 200ms var(--ease-out) both;
}
.page-home .home-dir__body p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--slate);
  max-width: 64ch;
}
@keyframes home-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ---------- 版本对照 ---------- */
.page-home .home-compare {
  padding-block: clamp(44px, 6vw, 92px);
  background: var(--paper);
  color: var(--text-dark);
}
.page-home .home-compare__mirror {
  display: grid;
  gap: 16px;
}
.page-home .home-compare__col {
  border-radius: var(--r-lg);
  padding: clamp(20px, 3vw, 32px);
}
.page-home .home-compare__col--old {
  background: var(--mist);
  border: 1px solid var(--line-dark);
  color: var(--text-dark);
}
.page-home .home-compare__col--new {
  background: var(--ink);
  border: 1px solid rgba(0, 224, 208, 0.42);
  border-top: 3px solid var(--cyan);
  color: var(--paper);
}
.page-home .home-compare__colhead {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  padding-bottom: 14px;
  margin-bottom: 6px;
}
.page-home .home-compare__ver {
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: 0.02em;
  color: var(--text-dark);
}
.page-home .home-compare__col--new .home-compare__ver {
  color: var(--cyan);
}
.page-home .home-compare__sub {
  margin: 0;
  font-size: 13px;
  color: rgba(14, 23, 32, 0.62);
}
.page-home .home-compare__col--new .home-compare__sub {
  color: var(--slate);
}
.page-home .home-compare__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.page-home .home-compare__item {
  padding: 14px 0;
  border-top: 1px solid var(--line-dark);
}
.page-home .home-compare__col--new .home-compare__item {
  border-top: 1px solid var(--line);
}
.page-home .home-compare__k {
  margin: 0 0 5px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--text-dark);
}
.page-home .home-compare__col--new .home-compare__k {
  color: var(--gold);
}
.page-home .home-compare__item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: rgba(14, 23, 32, 0.76);
}
.page-home .home-compare__col--new .home-compare__item p {
  color: rgba(247, 250, 252, 0.76);
}
.page-home .home-compare__fig {
  margin: clamp(20px, 3vw, 34px) 0 0;
  padding: clamp(12px, 2vw, 18px);
  background: var(--mist);
  border-radius: var(--r-lg);
  border: 1px solid var(--line-dark);
}
.page-home .home-compare__fig img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-md);
  object-fit: cover;
}
.page-home .home-compare__fig figcaption {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.75;
  color: rgba(14, 23, 32, 0.66);
}
.page-home .home-compare__more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-top: clamp(20px, 3vw, 32px);
}
.page-home .home-compare__link {
  color: var(--text-dark);
  border-bottom: 1px solid rgba(14, 23, 32, 0.3);
}

/* ---------- 使用记录时间轴 ---------- */
.page-home .home-log {
  padding-block: clamp(44px, 6vw, 92px);
  background: var(--ink);
  border-top: 1px solid var(--line-soft);
}
.page-home .home-log__inner {
  max-width: 760px;
  margin-inline: auto;
}
.page-home .home-log__art {
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: clamp(20px, 3vw, 32px);
  border: 1px solid var(--line);
  line-height: 0;
}
.page-home .home-log__art img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  opacity: 0.72;
}
.page-home .home-log__list {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}
.page-home .home-log__list::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: var(--line);
}
.page-home .home-log__item {
  position: relative;
  padding-left: 30px;
  padding-bottom: 16px;
}
.page-home .home-log__item::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 18px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(242, 181, 68, 0.14);
}
.page-home .home-log__card {
  background: var(--ink-panel);
  border-radius: var(--r-md);
  padding: 16px 18px;
  border-left: 2px solid var(--cyan-mid);
}
.page-home .home-log__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 8px;
}
.page-home .home-log__when {
  font-size: 12px;
  color: var(--slate);
  letter-spacing: 0.04em;
}
.page-home .home-log__title {
  margin: 0 0 6px;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.45;
  color: var(--paper);
}
.page-home .home-log__card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--slate);
}
.page-home .home-log__more {
  display: inline-block;
  margin-top: 10px;
  color: var(--cyan);
}

/* ---------- 帮助与反馈 ---------- */
.page-home .home-help {
  padding-block: clamp(44px, 6vw, 92px);
  background: var(--mist);
  color: var(--text-dark);
}
.page-home .home-help__grid {
  display: grid;
  gap: clamp(26px, 4vw, 44px);
  align-items: start;
}
.page-home .home-help__cards {
  display: grid;
  gap: 12px;
}
.page-home .home-help__card {
  display: grid;
  gap: 8px;
  padding: 20px 22px;
  background: var(--paper);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-md);
  text-decoration: none;
  color: var(--text-dark);
  transition: transform 200ms var(--ease-out), border-color 200ms var(--ease-out);
}
.page-home .home-help__card:hover,
.page-home .home-help__card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--cyan-mid);
}
.page-home .home-help__k {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(17px, 2.1vw, 21px);
  line-height: 1.4;
}
.page-home .home-help__card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: rgba(14, 23, 32, 0.72);
}
.page-home .home-help__go {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--cyan-mid);
}
.page-home .home-help__fig {
  margin: 0;
  padding: clamp(12px, 2vw, 18px);
  background: var(--paper);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-lg);
}
.page-home .home-help__fig img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-md);
  object-fit: cover;
}
.page-home .home-help__fig figcaption {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.75;
  color: rgba(14, 23, 32, 0.66);
}

/* ---------- 服务渠道 ---------- */
.page-home .home-contact {
  padding-block: clamp(40px, 5.6vw, 84px);
  background:
    radial-gradient(90% 120% at 90% 0%, rgba(0, 224, 208, 0.10), transparent 60%),
    var(--ink);
  border-top: 1px solid var(--line);
}
.page-home .home-contact__grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.page-home .home-contact__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  background: var(--ink-panel);
}
.page-home .home-contact__key {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.page-home .home-contact__val {
  font-size: 15px;
  line-height: 1.6;
  color: var(--paper);
  overflow-wrap: anywhere;
}
.page-home .home-contact__hint {
  font-size: 12px;
  line-height: 1.65;
  color: var(--slate);
}
.page-home .home-contact__foot {
  margin: clamp(18px, 2.6vw, 26px) 0 0;
  font-size: 13px;
  line-height: 1.9;
  color: var(--slate);
}
.page-home .home-contact__foot a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 224, 208, 0.45);
}
.page-home .home-contact__foot a:hover {
  color: var(--cyan-bright);
}

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

@media (min-width: 900px) {
  .page-home .home-hero__grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  }
  .page-home .home-compare__mirror {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
  .page-home .home-help__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
  .page-home .home-contact__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .page-home .home-head__note {
    grid-column: 2;
  }
}

@media (min-width: 1120px) {
  .page-home .home-hero__stage {
    min-height: 440px;
  }
  .page-home .home-compare__col {
    padding: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-hero__vnum,
  .page-home .home-dir__body {
    animation: none;
  }
  .page-home .home-dir__chev,
  .page-home .home-help__card {
    transition: none;
  }
  .page-home .home-help__card:hover,
  .page-home .home-help__card:focus-visible {
    transform: none;
  }
}
</main>
