.page-home {
  --home-gap: clamp(26px, 4vw, 52px);
  --home-hair: rgba(19, 58, 90, 0.18);
  --home-hair-soft: rgba(19, 58, 90, 0.12);
  background: var(--ink-900);
  color: var(--paper);
  font-family: var(--font-body);
  overflow-x: hidden;
}

.page-home h1,
.page-home h2,
.page-home h3 {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
}

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

.page-home a {
  color: inherit;
}

.page-home .eyebrow {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan-400);
  margin: 0 0 14px;
}

.page-home .section-title {
  font-size: clamp(1.75rem, 3.6vw, 2.9rem);
  line-height: 1.1;
  font-weight: 800;
  margin: 0;
}

.page-home .section-sub {
  margin: 14px 0 0;
  max-width: 62ch;
  font-size: 0.96rem;
  line-height: 1.78;
}

.page-home [data-reveal] {
  transition: opacity 0.36s var(--ease), transform 0.36s var(--ease);
}

/* 首屏框景 */
.home-hero {
  position: relative;
  padding: clamp(40px, 7vw, 84px) 0 clamp(42px, 6vw, 72px);
  background:
    radial-gradient(120% 84% at 86% 0%, rgba(53, 242, 208, 0.14), transparent 62%),
    radial-gradient(96% 72% at 0% 100%, rgba(255, 179, 71, 0.1), transparent 64%),
    var(--ink-900);
  overflow: hidden;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: clamp(10px, 2vw, 22px);
  border: 1px solid rgba(53, 242, 208, 0.22);
  pointer-events: none;
}

.home-hero::after {
  content: "";
  position: absolute;
  left: clamp(10px, 2vw, 22px);
  top: clamp(10px, 2vw, 22px);
  width: 62px;
  height: 62px;
  border-left: 2px solid var(--cyan-400);
  border-top: 2px solid var(--cyan-400);
  pointer-events: none;
}

.home-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(30px, 4vw, 54px);
}

.home-hero-grid::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 7px;
  background: repeating-linear-gradient(90deg, rgba(107, 127, 145, 0.42) 0 1px, transparent 1px 15px);
  pointer-events: none;
}

.hero-context {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan-400);
}

.hero-dot {
  width: 7px;
  height: 7px;
  background: var(--amber-400);
  flex: 0 0 auto;
}

.hero-copy h1 {
  margin: 20px 0 0;
  font-size: clamp(2.5rem, 7.4vw, 5.2rem);
  line-height: 1.02;
  font-weight: 800;
  color: var(--paper);
}

.hero-lede {
  margin: 22px 0 0;
  max-width: 54ch;
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  line-height: 1.8;
  color: var(--mist-100);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.page-home .hero-actions .btn {
  padding: 13px 22px;
  font-size: 0.93rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
}

.hero-facts {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 34px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid rgba(107, 127, 145, 0.3);
}

.fact-num {
  display: block;
  font-size: 1.3rem;
  color: var(--cyan-400);
  letter-spacing: -0.01em;
}

.fact-label {
  display: block;
  margin-top: 5px;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--slate-500);
}

.hero-frame {
  position: relative;
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(53, 242, 208, 0.28);
  background: linear-gradient(158deg, rgba(12, 39, 64, 0.94), rgba(7, 26, 43, 0.62));
}

.hero-frame img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid rgba(53, 242, 208, 0.16);
}

.hero-cap {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 10px 0 0;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate-500);
}

/* 版本对照 */
.home-versions {
  background: var(--mist-100);
  color: var(--ink-800);
  padding: clamp(46px, 7vw, 92px) 0;
}

.home-versions .eyebrow {
  color: var(--amber-600);
}

.home-versions .section-title {
  color: var(--ink-900);
}

.home-versions .section-sub {
  color: var(--ink-700);
}

.version-grid {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: var(--home-gap);
  border: 1px solid var(--home-hair);
  background: var(--paper);
}

.version-col {
  padding: clamp(20px, 3vw, 38px);
  position: relative;
}

.version-col--std {
  border-bottom: 1px solid var(--home-hair);
  background: linear-gradient(180deg, rgba(53, 242, 208, 0.1), transparent 58%);
}

.version-col--lite {
  background: linear-gradient(180deg, rgba(255, 179, 71, 0.14), transparent 58%);
}

.version-col::after {
  content: "";
  position: absolute;
  left: clamp(20px, 3vw, 38px);
  right: clamp(20px, 3vw, 38px);
  top: 0;
  height: 3px;
}

.version-col--std::after {
  background: var(--cyan-400);
}

.version-col--lite::after {
  background: var(--amber-400);
}

.v-tag {
  display: inline-block;
  padding: 4px 10px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius);
}

.v-tag--std {
  background: var(--ink-900);
  color: var(--cyan-400);
}

.v-tag--lite {
  background: var(--amber-400);
  color: var(--ink-900);
}

.version-head h3 {
  margin: 14px 0 0;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  color: var(--ink-900);
  line-height: 1.2;
}

.version-line {
  margin: 9px 0 0;
  font-size: 0.92rem;
  line-height: 1.72;
  color: var(--slate-500);
}

.version-figure {
  margin: 18px 0 0;
  padding: 6px;
  border: 1px solid var(--home-hair);
  background: var(--ink-900);
}

.version-figure img {
  width: 100%;
  aspect-ratio: 9 / 6.4;
  object-fit: cover;
}

.spec-list {
  margin: 20px 0 0;
}

.spec-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--home-hair);
}

.spec-row dt {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-500);
}

.spec-row dd {
  margin: 0;
  max-width: 66%;
  text-align: right;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink-800);
}

.version-link {
  display: inline-block;
  margin-top: 22px;
  padding-bottom: 3px;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--teal-600);
  border-bottom: 1px solid rgba(15, 191, 168, 0.42);
}

.version-link:hover,
.version-link:focus-visible {
  color: var(--ink-900);
  border-bottom-color: var(--ink-900);
}

.version-note {
  margin: 24px 0 0;
  padding-left: 14px;
  max-width: 68ch;
  border-left: 2px solid var(--amber-400);
  font-size: 0.86rem;
  line-height: 1.75;
  color: var(--ink-700);
}

/* 三步路径 */
.home-steps {
  position: relative;
  padding: clamp(46px, 7vw, 92px) 0;
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(53, 242, 208, 0.09), transparent 64%),
    var(--ink-900);
}

.home-steps .section-title {
  color: var(--paper);
}

.home-steps .section-sub {
  color: var(--mist-100);
}

.steps-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 48px);
  margin-top: var(--home-gap);
}

.step-list {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}

.step-list::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 18px;
  bottom: 18px;
  width: 1px;
  background: linear-gradient(180deg, var(--cyan-400), rgba(255, 179, 71, 0.65) 60%, transparent);
}

.step {
  border-bottom: 1px solid rgba(107, 127, 145, 0.3);
}

.step summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
}

.step summary::-webkit-details-marker {
  display: none;
}

.step-no {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-900);
  background: var(--cyan-400);
  border-radius: 50%;
}

.step-list > li:nth-child(2) .step-no {
  background: var(--amber-400);
}

.step-list > li:nth-child(3) .step-no {
  background: var(--paper);
}

.step-title {
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 1.8vw, 1.26rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--paper);
  line-height: 1.35;
}

.step-hint {
  margin-left: auto;
  flex: 0 0 auto;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-500);
}

.step[open] .step-title {
  color: var(--cyan-400);
}

.step-body {
  padding: 0 0 20px 52px;
}

.step-body p {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.8;
  color: var(--mist-100);
}

.step-body a {
  color: var(--cyan-400);
  text-decoration: none;
  border-bottom: 1px solid rgba(53, 242, 208, 0.45);
}

.step-body a:hover,
.step-body a:focus-visible {
  color: var(--paper);
  border-bottom-color: var(--paper);
}

.step-figure {
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(107, 127, 145, 0.34);
  background: var(--ink-800);
}

.step-figure img {
  width: 100%;
  aspect-ratio: 12 / 5;
  object-fit: cover;
}

/* 索引折叠区 */
.home-index {
  background: var(--paper);
  color: var(--ink-800);
  padding: clamp(46px, 7vw, 92px) 0;
}

.home-index .eyebrow {
  color: var(--amber-600);
}

.home-index .section-title {
  color: var(--ink-900);
}

.home-index .section-sub {
  color: var(--ink-700);
}

.index-stack {
  margin-top: var(--home-gap);
  border-top: 1px solid var(--home-hair);
}

.index-item {
  border-bottom: 1px solid var(--home-hair);
}

.index-item summary {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 22px);
  padding: 19px 0;
  cursor: pointer;
  list-style: none;
}

.index-item summary::-webkit-details-marker {
  display: none;
}

.index-no {
  flex: 0 0 auto;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--amber-600);
}

.index-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.02rem, 2vw, 1.42rem);
  line-height: 1.3;
  color: var(--ink-900);
}

.index-count {
  flex: 0 0 auto;
  padding: 3px 8px;
  font-size: 10.5px;
  color: var(--slate-500);
  border: 1px solid var(--home-hair);
  border-radius: var(--radius);
}

.index-toggle {
  position: relative;
  flex: 0 0 auto;
  margin-left: auto;
  width: 26px;
  height: 26px;
}

.index-toggle::before,
.index-toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: var(--ink-900);
}

.index-toggle::before {
  width: 13px;
  height: 1.5px;
}

.index-toggle::after {
  width: 1.5px;
  height: 13px;
  transition: opacity 0.2s var(--ease);
}

.index-item[open] .index-toggle::after {
  opacity: 0;
}

.index-item[open] .index-name {
  color: var(--teal-600);
}

.index-body {
  padding: 0 0 26px;
  max-width: 78ch;
}

.index-body p {
  margin: 0 0 14px;
  font-size: 0.93rem;
  line-height: 1.8;
  color: var(--ink-800);
}

.index-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.index-links a {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  padding-bottom: 2px;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--teal-600);
  border-bottom: 1px solid transparent;
}

.index-links a::before {
  content: "→";
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--amber-600);
}

.index-links a:hover,
.index-links a:focus-visible {
  color: var(--ink-900);
  border-bottom-color: var(--ink-900);
}

/* 快捷索引带 */
.home-quickband {
  padding: clamp(30px, 5vw, 48px) 0;
  background: linear-gradient(100deg, var(--ink-800), var(--ink-900));
  border-top: 1px solid var(--line);
}

.quick-inner {
  display: grid;
  gap: 18px;
}

.quick-title {
  margin: 0;
  font-size: clamp(1.02rem, 2vw, 1.3rem);
  font-weight: 800;
  color: var(--paper);
}

.quick-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
}

.quick-list a {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  padding-bottom: 3px;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--mist-100);
  border-bottom: 1px solid rgba(107, 127, 145, 0.3);
}

.quick-list a .mono {
  font-size: 10.5px;
  color: var(--amber-400);
}

.quick-list a:hover,
.quick-list a:focus-visible {
  color: var(--cyan-400);
  border-bottom-color: var(--cyan-400);
}

@media (min-width: 620px) {
  .hero-facts {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (min-width: 860px) {
  .version-grid {
    grid-template-columns: 1fr 1fr;
  }

  .version-col--std {
    border-bottom: 0;
    border-right: 1px solid var(--home-hair);
  }

  .version-col--lite .version-head {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
  }

  .version-col--lite .spec-row {
    flex-direction: row-reverse;
  }

  .version-col--lite .spec-row dd {
    text-align: left;
  }

  .version-col--lite .version-link,
  .version-col--lite .version-line {
    text-align: right;
  }

  .version-col--lite .version-line {
    text-align: right;
  }

  .quick-inner {
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 34px;
  }

  .quick-list {
    justify-content: flex-end;
  }
}

@media (min-width: 900px) {
  .home-hero-grid {
    grid-template-columns: 1.04fr 0.96fr;
    align-items: center;
  }
}

@media (min-width: 940px) {
  .steps-layout {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home [data-reveal],
  .page-home .index-toggle::after {
    transition: none;
  }
}
<<<END>>>
