.page-home {
  --hp-gap: clamp(16px, 2.6vw, 30px);
  --hp-radius: 18px;
  --hp-shell-pad: clamp(16px, 4vw, 46px);
  background: var(--ink);
  color: var(--moon);
  overflow-x: hidden;
}

.page-home a:focus-visible,
.page-home button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

.page-home .home-crumbs {
  padding-bottom: 14px;
  color: var(--stone);
  font-size: 13px;
}

.page-home .home-crumbs .crumbs__item {
  color: var(--tide);
}

.page-home .home-crumbs .crumbs__item + .crumbs__item::before {
  content: "/";
  margin-right: 8px;
  color: var(--stone);
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  padding-top: clamp(16px, 2.6vw, 30px);
  padding-bottom: clamp(38px, 6vw, 74px);
  background:
    radial-gradient(88% 70% at 92% -6%, rgba(46, 111, 142, .40), transparent 62%),
    radial-gradient(70% 60% at 2% 98%, rgba(214, 168, 79, .13), transparent 64%),
    linear-gradient(180deg, var(--ink) 0%, var(--night) 68%, var(--ink) 100%);
}

.page-home .hero-frame {
  position: relative;
  border: 1px solid var(--edge-dark);
  border-radius: var(--hp-radius);
  padding: clamp(20px, 3vw, 40px);
  background: linear-gradient(158deg, rgba(18, 44, 68, .94), rgba(11, 29, 46, .97));
  box-shadow: var(--shadow-panel);
}

.page-home .hero-frame::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 9px;
  border-radius: var(--hp-radius) var(--hp-radius) 0 0;
  background-image: repeating-linear-gradient(90deg, var(--tide) 0 1px, transparent 1px 26px);
  opacity: .32;
  pointer-events: none;
}

.page-home .hero-frame::after {
  content: "";
  position: absolute;
  inset: 12px;
  pointer-events: none;
  opacity: .55;
  background:
    linear-gradient(var(--gold), var(--gold)) left top / 22px 2px no-repeat,
    linear-gradient(var(--gold), var(--gold)) left top / 2px 22px no-repeat,
    linear-gradient(var(--gold), var(--gold)) right top / 22px 2px no-repeat,
    linear-gradient(var(--gold), var(--gold)) right top / 2px 22px no-repeat,
    linear-gradient(var(--gold), var(--gold)) left bottom / 22px 2px no-repeat,
    linear-gradient(var(--gold), var(--gold)) left bottom / 2px 22px no-repeat,
    linear-gradient(var(--gold), var(--gold)) right bottom / 22px 2px no-repeat,
    linear-gradient(var(--gold), var(--gold)) right bottom / 2px 22px no-repeat;
}

.page-home .hero-grid {
  display: grid;
  gap: var(--hp-gap);
}

.page-home .hero-eyebrow {
  display: inline-block;
  margin: 0 0 16px;
  padding: 6px 14px;
  border: 1px solid var(--edge-dark);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--tide);
}

.page-home .hero-title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 6vw, 42px);
  line-height: 1.26;
  letter-spacing: .02em;
  color: var(--white);
}

.page-home .hero-intro {
  margin: 0;
  max-width: 54ch;
  font-size: 16px;
  line-height: 1.85;
  color: var(--moon);
  opacity: .88;
}

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

.page-home .hbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}

.page-home .hbtn--gold {
  background: var(--gold);
  color: var(--ink);
}

.page-home .hbtn--gold:hover {
  background: var(--gold-soft);
  transform: translateY(-2px);
}

.page-home .hbtn--line {
  border-color: var(--tide);
  color: var(--tide);
  background: transparent;
}

.page-home .hbtn--line:hover {
  background: rgba(127, 179, 200, .14);
  transform: translateY(-2px);
}

.page-home .hbtn--onlight {
  border-color: var(--teal);
  color: var(--teal);
}

.page-home .hbtn--onlight:hover {
  background: rgba(46, 111, 142, .1);
}

.page-home .hero-timeline {
  display: flex;
  gap: 10px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .hero-timeline__item {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  padding-top: 12px;
  border-top: 2px solid var(--edge-dark);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.page-home .hero-timeline__item::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--stone);
}

.page-home .hero-timeline__item.is-now {
  border-top-color: var(--gold);
}

.page-home .hero-timeline__item.is-now::before {
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(214, 168, 79, .2);
}

.page-home .hero-timeline__item .mono {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--moon);
}

.page-home .hero-timeline__item.is-now .mono {
  color: var(--gold);
}

.page-home .hero-timeline__name {
  font-size: 12px;
  color: var(--tide);
  opacity: .8;
}

.page-home .hero-aside {
  display: grid;
  gap: 16px;
  align-content: start;
}

.page-home .hero-versions {
  padding: 16px 18px;
  border: 1px dashed var(--edge-dark);
  border-radius: 14px;
  background: linear-gradient(120deg, rgba(46, 111, 142, .26), rgba(127, 179, 200, .06));
}

.page-home .hero-versions__label {
  margin: 0;
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--tide);
}

.page-home .hero-versions__big {
  margin: 6px 0 12px;
  font-family: var(--font-mono);
  font-size: clamp(46px, 12vw, 82px);
  line-height: 1;
  letter-spacing: .05em;
  background-image: linear-gradient(100deg, var(--teal), var(--tide) 62%, var(--moon));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-home .hero-versions__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .hero-versions__list li {
  padding: 4px 10px;
  border: 1px solid var(--edge-dark);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--moon);
  opacity: .78;
}

.page-home .hero-figure {
  margin: 0;
  border: 1px solid var(--edge-dark);
  border-radius: 14px;
  overflow: hidden;
}

.page-home .hero-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* ---------- 混合流 ---------- */
.page-home .home-flow {
  position: relative;
  padding-block: clamp(38px, 6vw, 80px);
  background: var(--paper);
  color: var(--ink);
}

.page-home .home-flow::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--teal), var(--tide) 34%, var(--gold) 68%, var(--coral));
  opacity: .85;
}

.page-home .home-head {
  max-width: 62ch;
  margin-bottom: clamp(20px, 3vw, 34px);
}

.page-home .home-head__kicker {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--clay);
}

.page-home .home-head__title {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(22px, 3.8vw, 32px);
  line-height: 1.34;
  color: var(--ink);
}

.page-home .home-head__note {
  margin: 0;
  font-size: 16px;
  line-height: 1.85;
  color: var(--stone);
}

.page-home .flow-intro {
  display: grid;
  gap: 18px;
  align-items: center;
  margin-bottom: clamp(22px, 4vw, 40px);
}

.page-home .flow-intro__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.85;
  color: var(--stone);
}

.page-home .flow-intro__figure {
  margin: 0;
  border: 1px solid var(--paper-2);
  border-radius: 14px;
  overflow: hidden;
  background: var(--white);
}

.page-home .flow-intro__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.page-home .flow-grid {
  display: grid;
  gap: 16px;
}

.page-home .flow-card {
  position: relative;
  padding: 22px 20px 18px;
  border: 1px solid var(--paper-2);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 18px 40px -34px rgba(11, 29, 46, .55);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.page-home .flow-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 46px -30px rgba(11, 29, 46, .42);
}

.page-home .flow-card::before {
  content: "";
  position: absolute;
  top: 24px;
  left: -1px;
  width: 3px;
  height: 26px;
  border-radius: 0 3px 3px 0;
  background: var(--teal);
}

.page-home .flow-card--tag::before {
  background: var(--coral);
}

.page-home .flow-card--note::before {
  background: var(--moss);
}

.page-home .flow-card__ver {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--teal);
}

.page-home .flow-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
}

.page-home .flow-card p {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--stone);
}

.page-home .flow-card p:last-child {
  margin-bottom: 0;
}

.page-home .flow-card__meta {
  margin: 14px 0 0 !important;
  padding-top: 10px;
  border-top: 1px dashed var(--paper-2);
  font-size: 12px !important;
  color: var(--clay) !important;
}

.page-home .pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}

.page-home .pill {
  padding: 5px 12px;
  border: 1px solid var(--coral);
  border-radius: 999px;
  background: rgba(224, 138, 110, .12);
  font-size: 12px;
  color: var(--coral-deep);
  white-space: nowrap;
}

.page-home .flow-card__link {
  display: inline-block;
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
  font-size: 14px;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
  transition: color .2s var(--ease);
}

.page-home .flow-card__link:hover {
  color: var(--clay);
}

/* ---------- 版本号解读 ---------- */
.page-home .home-code {
  padding-block: clamp(38px, 6vw, 80px);
  background: linear-gradient(180deg, var(--night) 0%, var(--ink) 100%);
}

.page-home .code-grid {
  display: grid;
  gap: clamp(20px, 3vw, 34px);
  align-items: center;
}

.page-home .code-title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 3.6vw, 30px);
  line-height: 1.34;
  color: var(--white);
}

.page-home .code-lead {
  margin: 0;
  max-width: 56ch;
  font-size: 16px;
  line-height: 1.85;
  color: var(--moon);
  opacity: .86;
}

.page-home .code-anatomy {
  display: flex;
  gap: 8px;
  margin: 22px 0 12px;
}

.page-home .code-anatomy span {
  padding: 10px 18px;
  border: 1px solid var(--edge-dark);
  border-radius: 12px;
  background: linear-gradient(140deg, rgba(46, 111, 142, .55), rgba(127, 179, 200, .14));
  font-family: var(--font-mono);
  font-size: clamp(34px, 8vw, 54px);
  line-height: 1;
  color: var(--tide);
}

.page-home .code-legend {
  margin: 0;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--stone);
}

.page-home .code-figure {
  margin: 0;
  border: 1px solid var(--edge-dark);
  border-radius: 14px;
  overflow: hidden;
}

.page-home .code-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 3;
  object-fit: cover;
}

.page-home .type-list {
  display: grid;
  gap: 12px;
  margin: clamp(24px, 4vw, 40px) 0 0;
  padding: 0;
  list-style: none;
}

.page-home .type-item {
  padding: 16px;
  border: 1px solid var(--edge-dark);
  border-radius: 12px;
  background: rgba(18, 44, 68, .62);
}

.page-home .type-item svg {
  display: block;
  width: 26px;
  height: 26px;
  margin-bottom: 10px;
  fill: none;
  stroke: var(--tide);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-home .type-item h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
}

.page-home .type-item p {
  margin: 0;
  font-size: 13px;
  line-height: 1.72;
  color: var(--moon);
  opacity: .78;
}

/* ---------- 三步上手 ---------- */
.page-home .home-start {
  padding-block: clamp(38px, 6vw, 80px);
  background: var(--white);
  color: var(--ink);
}

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

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

.page-home .step {
  padding: 24px 22px 22px;
  border: 1px solid var(--paper-2);
  border-top: 3px solid var(--gold);
  border-radius: 16px;
  background: var(--paper);
}

.page-home .step__no {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .12em;
  color: var(--clay);
}

.page-home .step h3 {
  margin: 8px 0 10px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
}

.page-home .step p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.82;
  color: var(--stone);
}

/* ---------- 更新节律 ---------- */
.page-home .home-cadence {
  position: relative;
  padding-block: clamp(30px, 4.6vw, 58px);
  background: var(--night);
  border-top: 1px solid var(--edge-dark);
  border-bottom: 1px solid var(--edge-dark);
  overflow: hidden;
}

.page-home .home-cadence::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, var(--gold), var(--coral));
}

.page-home .cadence-inner {
  display: grid;
  gap: 22px;
  align-items: center;
}

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

.page-home .cadence-title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(21px, 3.4vw, 28px);
  line-height: 1.34;
  color: var(--white);
}

.page-home .cadence-note {
  margin: 0;
  max-width: 58ch;
  font-size: 16px;
  line-height: 1.85;
  color: var(--moon);
  opacity: .86;
}

.page-home .cadence-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.page-home .cadence-hint {
  margin: 0;
  font-size: 13px;
  color: var(--stone);
}

/* ---------- 移动端 ---------- */
.page-home .home-mobile {
  padding-block: clamp(38px, 6vw, 80px);
  background: var(--paper);
  color: var(--ink);
}

.page-home .mobile-grid {
  display: grid;
  gap: clamp(20px, 3vw, 36px);
  align-items: center;
}

.page-home .mobile-figure {
  margin: 0;
  border: 1px solid var(--paper-2);
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 22px 46px -34px rgba(11, 29, 46, .5);
}

.page-home .mobile-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.page-home .home-mobile .code-title {
  color: var(--ink);
}

.page-home .home-mobile .code-lead {
  color: var(--stone);
  opacity: 1;
}

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

.page-home .mobile-list li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--stone);
}

.page-home .mobile-list li::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--moss);
}

/* ---------- 尾部入口 ---------- */
.page-home .home-tail {
  padding-block: clamp(34px, 5vw, 68px);
  background: var(--ink);
}

.page-home .tail-inner {
  display: grid;
  gap: 22px;
  align-items: start;
}

.page-home .tail-title {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(20px, 3.2vw, 26px);
  color: var(--white);
}

.page-home .tail-note {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--stone);
}

.page-home .tail-links {
  display: grid;
  gap: 12px;
}

.page-home .tail-link {
  display: block;
  padding: 16px 18px;
  border: 1px solid var(--edge-dark);
  border-radius: 12px;
  background: rgba(18, 44, 68, .55);
  text-decoration: none;
  transition: border-color .25s var(--ease), transform .25s var(--ease), background-color .25s var(--ease);
}

.page-home .tail-link:hover {
  border-color: var(--tide);
  background: rgba(46, 111, 142, .28);
  transform: translateY(-2px);
}

.page-home .tail-link__label {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--gold);
}

.page-home .tail-link__desc {
  display: block;
  font-size: 13px;
  line-height: 1.7;
  color: var(--moon);
  opacity: .8;
}

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

  .page-home .type-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 860px) {
  .page-home .hero-grid {
    grid-template-columns: 1.05fr .95fr;
    align-items: start;
    gap: clamp(24px, 3vw, 40px);
  }

  .page-home .code-grid {
    grid-template-columns: 1.1fr .9fr;
  }

  .page-home .flow-intro {
    grid-template-columns: 1.12fr .88fr;
    gap: clamp(20px, 3vw, 34px);
  }

  .page-home .step-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .page-home .cadence-inner {
    grid-template-columns: 1.4fr .6fr;
    gap: 28px;
  }

  .page-home .cadence-action {
    align-items: flex-end;
    text-align: right;
  }

  .page-home .mobile-grid {
    grid-template-columns: .92fr 1.08fr;
  }

  .page-home .tail-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
  }

  .page-home .tail-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .page-home .flow-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
  }

  .page-home .flow-card:nth-child(2) {
    margin-top: 32px;
  }

  .page-home .flow-card:nth-child(3) {
    margin-top: 64px;
  }

  .page-home .flow-card:nth-child(5) {
    margin-top: 32px;
  }

  .page-home .type-list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hbtn,
  .page-home .flow-card,
  .page-home .tail-link {
    transition: none;
  }

  .page-home .hbtn:hover,
  .page-home .flow-card:hover,
  .page-home .tail-link:hover {
    transform: none;
  }
}
<<<PAGE_CSS_END>>>
<<<END>>>
