.page-home {
  --home-line: rgba(198, 161, 91, .40);
  --home-line-soft: rgba(198, 161, 91, .18);
  --home-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
}

.page-home h1,
.page-home h2,
.page-home h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.2;
  margin: 0;
}

.page-home p {
  margin: 0;
  line-height: 1.75;
  color: var(--ink-soft);
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  display: grid;
  gap: 34px;
  padding-top: 30px;
  padding-bottom: 12px;
}

.page-home .home-hero__lead h1 {
  font-size: clamp(2.05rem, 8.2vw, 3rem);
  margin: 14px 0 18px;
  color: var(--ink);
}

.page-home .home-hero__text {
  font-size: 1rem;
  max-width: 46ch;
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.page-home .home-index {
  margin-top: 34px;
  border-top: 1px solid var(--stone-300);
}

.page-home .home-index ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .home-index a {
  display: grid;
  grid-template-columns: 42px 1fr;
  grid-template-areas: "num label" "num hint";
  align-items: baseline;
  gap: 2px 10px;
  padding: 13px 6px 13px 2px;
  border-bottom: 1px solid var(--stone-300);
  text-decoration: none;
  color: var(--ink);
  transition: background .25s var(--ease), padding-left .25s var(--ease);
}

.page-home .home-index a:hover,
.page-home .home-index a:focus-visible {
  background: rgba(227, 168, 59, .08);
  padding-left: 10px;
}

.page-home .home-index__num {
  grid-area: num;
  font-family: var(--font-mono);
  font-size: .82rem;
  font-weight: 600;
  color: var(--gold-500);
  letter-spacing: .06em;
}

.page-home .home-index__label {
  grid-area: label;
  font-weight: 600;
  font-size: .98rem;
}

.page-home .home-index__hint {
  grid-area: hint;
  font-size: .78rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.page-home .home-hero__panel {
  background: var(--green-900);
  border-radius: var(--home-radius);
  padding: 16px;
  box-shadow: var(--shadow-1);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-home .home-hero__figure {
  margin: 0;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--teal-800);
}

.page-home .home-hero__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  max-width: 100%;
  filter: saturate(.85);
}

.page-home .home-hero__figure .media__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 14px;
  font-size: .76rem;
  color: var(--paper);
  background: linear-gradient(to top, rgba(13, 43, 36, .92), rgba(13, 43, 36, 0));
  margin: 0;
}

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

.page-home .home-quick a {
  display: grid;
  grid-template-columns: 30px 1fr 18px;
  align-items: center;
  gap: 10px;
  padding: 11px 10px;
  text-decoration: none;
  color: var(--paper);
  border: 1px solid rgba(198, 161, 91, .22);
  border-radius: 4px;
  background: rgba(18, 59, 58, .55);
  transition: border-color .25s var(--ease), transform .25s var(--ease), background .25s var(--ease);
}

.page-home .home-quick a:hover,
.page-home .home-quick a:focus-visible {
  border-color: var(--gold-500);
  background: rgba(28, 81, 69, .85);
  transform: translateY(-2px);
}

.page-home .home-quick__num {
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--amber-400);
  font-weight: 600;
}

.page-home .home-quick__body {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.page-home .home-quick__body strong {
  font-family: var(--font-sans);
  font-size: .92rem;
  font-weight: 600;
  color: var(--paper);
}

.page-home .home-quick__body em {
  font-style: normal;
  font-size: .74rem;
  line-height: 1.5;
  color: var(--mist-200);
}

.page-home .home-quick__arrow {
  color: var(--gold-500);
  font-family: var(--font-mono);
  font-size: .9rem;
}

/* ---------- 章节通用 ---------- */
.page-home .home-sec {
  padding: 56px 0 8px;
}

.page-home .home-split {
  display: grid;
  gap: 30px;
}

.page-home .home-split__side .big-num,
.page-home .home-head .big-num,
.page-home .home-trust__lead .big-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--gold-500);
  letter-spacing: .04em;
  line-height: 1;
  margin-bottom: 12px;
}

.page-home .home-split__side h2,
.page-home .home-head h2,
.page-home .home-trust__lead h2 {
  font-size: clamp(1.5rem, 5.6vw, 2.1rem);
  margin-bottom: 14px;
}

.page-home .home-split__intro {
  font-size: .95rem;
  max-width: 42ch;
}

.page-home .home-split__figure {
  margin: 22px 0 0;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--stone-300);
}

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

.page-home .home-split__figure .media__caption {
  position: absolute;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 8px 12px;
  font-size: .74rem;
  color: var(--paper);
  background: rgba(13, 43, 36, .82);
}

/* ---------- 四步 ---------- */
.page-home .home-steps {
  list-style: none;
  margin: 0;
  padding: 0 0 0 6px;
  position: relative;
  display: grid;
  gap: 6px;
}

.page-home .home-step {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  padding: 12px 0 20px;
}

.page-home .home-step::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 44px;
  bottom: -6px;
  width: 1px;
  background: var(--home-line);
}

.page-home .home-step:last-child::before {
  display: none;
}

.page-home .home-step__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--gold-500);
  background: var(--paper);
  font-family: var(--font-mono);
  font-size: .76rem;
  font-weight: 600;
  color: var(--green-700);
}

.page-home .home-step:first-child .home-step__num {
  background: var(--amber-400);
  border-color: var(--amber-400);
  color: var(--green-900);
}

.page-home .home-step__body h3 {
  font-size: 1.18rem;
  margin-bottom: 8px;
}

.page-home .home-step__body p {
  font-size: .92rem;
}

.page-home .home-step__link {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--font-sans);
  font-size: .82rem;
  font-weight: 600;
  color: var(--green-700);
  text-decoration: none;
  border-bottom: 1px solid var(--home-line);
  padding-bottom: 2px;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}

.page-home .home-step__link:hover,
.page-home .home-step__link:focus-visible {
  color: var(--wine-700);
  border-color: var(--wine-700);
}

/* ---------- 服务总览 ---------- */
.page-home .home-head {
  max-width: 60ch;
  margin-bottom: 26px;
}

.page-home .home-head p {
  font-size: .95rem;
}

.page-home .home-head--tight {
  margin-bottom: 18px;
}

.page-home .home-service {
  display: grid;
  gap: 24px;
  align-items: start;
}

.page-home .home-service__figure {
  margin: 0;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 3 / 2;
  border: 1px solid var(--stone-300);
  background: var(--mist-200);
}

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

.page-home .home-service__figure .media__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 10px 12px;
  font-size: .74rem;
  color: var(--ink);
  background: rgba(248, 244, 234, .92);
  border-top: 1px solid var(--stone-300);
}

.page-home .home-service__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--stone-300);
}

.page-home .home-service__list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--stone-300);
}

.page-home .home-service__list h3 {
  font-size: 1.08rem;
  margin: 8px 0 6px;
}

.page-home .home-service__list p {
  font-size: .9rem;
}

/* ---------- 版本条 ---------- */
.page-home .home-version {
  margin-top: 52px;
  background: var(--teal-800);
  border-top: 1px solid var(--green-700);
  border-bottom: 1px solid var(--green-700);
}

.page-home .home-version__inner {
  display: grid;
  gap: 24px;
  padding-top: 38px;
  padding-bottom: 38px;
  align-items: center;
}

.page-home .home-version__text h2 {
  font-size: clamp(1.4rem, 5.2vw, 1.95rem);
  color: var(--paper);
  margin: 10px 0 20px;
}

.page-home .home-version__facts {
  display: grid;
  gap: 0;
  margin: 0 0 22px;
  border-top: 1px solid rgba(198, 161, 91, .28);
}

.page-home .home-version__facts > div {
  display: grid;
  gap: 3px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(198, 161, 91, .28);
}

.page-home .home-version__facts dt {
  font-family: var(--font-sans);
  font-size: .72rem;
  letter-spacing: .1em;
  color: var(--gold-500);
}

.page-home .home-version__facts dd {
  margin: 0;
  font-size: .92rem;
  line-height: 1.6;
  color: var(--mist-200);
}

.page-home .home-version__figure {
  margin: 0;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--green-900);
  border: 1px solid rgba(198, 161, 91, .22);
}

.page-home .home-version__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  max-width: 100%;
  opacity: .8;
}

/* ---------- 信任 ---------- */
.page-home .home-sec--trust {
  padding-top: 52px;
}

.page-home .home-trust {
  display: grid;
  gap: 30px;
}

.page-home .home-trust__lead p {
  font-size: .93rem;
  margin-bottom: 14px;
}

.page-home .home-trust__lead .btn {
  margin-top: 6px;
}

.page-home .home-stats {
  display: grid;
  gap: 2px;
  margin: 0;
  background: var(--green-900);
  border-radius: var(--home-radius);
  padding: 6px;
}

.page-home .home-stat {
  padding: 16px 16px 15px;
  background: var(--green-900);
  border-left: 2px solid var(--gold-500);
}

.page-home .home-stat dt {
  font-family: var(--font-sans);
  font-size: .74rem;
  letter-spacing: .1em;
  color: var(--mist-200);
}

.page-home .home-stat dd {
  margin: 8px 0 4px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.page-home .home-stat__num {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--amber-400);
  line-height: 1;
}

.page-home .home-stat__unit {
  font-family: var(--font-sans);
  font-size: .82rem;
  color: var(--gold-500);
}

.page-home .home-stat p {
  font-size: .78rem;
  color: var(--mist-200);
  line-height: 1.5;
}

/* ---------- 更新与帮助 ---------- */
.page-home .home-updates {
  display: grid;
  gap: 30px;
}

.page-home .home-updates__list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .home-updates__list li {
  padding: 16px 0 18px;
  border-top: 1px solid var(--stone-300);
}

.page-home .home-updates__list li:last-child {
  border-bottom: 1px solid var(--stone-300);
}

.page-home .home-updates__list h3 {
  font-size: 1.06rem;
  margin: 8px 0 6px;
}

.page-home .home-updates__list p {
  font-size: .9rem;
}

.page-home .home-help {
  background: var(--white);
  border: 1px solid var(--stone-300);
  border-radius: var(--home-radius);
  padding: 22px 20px;
  box-shadow: var(--shadow-1);
  align-self: start;
}

.page-home .home-help h2 {
  font-size: clamp(1.3rem, 4.8vw, 1.6rem);
  margin: 8px 0 12px;
}

.page-home .home-help > p {
  font-size: .9rem;
}

.page-home .home-help__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 16px;
}

.page-home .home-help__contact {
  border-top: 1px solid var(--stone-300);
  padding-top: 12px;
  display: grid;
  gap: 6px;
}

.page-home .home-help__contact .contact-line {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  font-size: .84rem;
  margin: 0;
}

.page-home .home-help__contact .contact-line__label {
  color: var(--ink-soft);
  min-width: 62px;
}

.page-home .home-help__contact .contact-line__value {
  font-family: var(--font-mono);
  color: var(--ink);
  word-break: break-all;
}

/* ---------- 结尾 CTA ---------- */
.page-home .home-cta {
  padding-top: 46px;
  padding-bottom: 60px;
}

.page-home .home-cta__inner {
  border: 1px solid var(--stone-300);
  border-left: 3px solid var(--amber-400);
  background: var(--white);
  border-radius: var(--home-radius);
  padding: 26px 22px;
  box-shadow: var(--shadow-1);
}

.page-home .home-cta__inner h2 {
  font-size: clamp(1.35rem, 5vw, 1.8rem);
  margin-bottom: 10px;
}

.page-home .home-cta__inner p {
  font-size: .92rem;
  max-width: 56ch;
}

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

/* ---------- 断点 ---------- */
@media (min-width: 720px) {
  .page-home .home-quick {
    grid-template-columns: 1fr 1fr;
  }

  .page-home .home-stats {
    grid-template-columns: 1fr 1fr;
  }

  .page-home .home-version__facts {
    grid-template-columns: 1fr 1fr;
    column-gap: 28px;
  }

  .page-home .home-version__facts > div:nth-child(1),
  .page-home .home-version__facts > div:nth-child(2) {
    border-top: 1px solid rgba(198, 161, 91, .28);
  }
}

@media (min-width: 1024px) {
  .page-home .home-hero {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 54px;
    padding-top: 46px;
    align-items: start;
  }

  .page-home .home-hero__lead {
    position: sticky;
    top: calc(var(--topbar-h) + 24px);
  }

  .page-home .home-hero__lead h1 {
    font-size: clamp(2.4rem, 3.4vw, 3.1rem);
  }

  .page-home .home-hero__panel {
    padding: 20px;
    gap: 18px;
  }

  .page-home .home-sec {
    padding-top: 76px;
  }

  .page-home .home-split {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    gap: 56px;
    align-items: start;
  }

  .page-home .home-split__side {
    position: sticky;
    top: calc(var(--topbar-h) + 24px);
  }

  .page-home .home-step {
    grid-template-columns: 44px 1fr;
    gap: 20px;
    padding: 6px 0 30px;
  }

  .page-home .home-step::before {
    left: 21px;
    top: 54px;
  }

  .page-home .home-step__num {
    width: 44px;
    height: 44px;
    font-size: .84rem;
  }

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

  .page-home .home-version__inner {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 48px;
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .page-home .home-trust {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: 56px;
    align-items: start;
  }

  .page-home .home-stats {
    grid-template-columns: 1fr 1fr;
    padding: 8px;
  }

  .page-home .home-updates {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    gap: 56px;
    align-items: start;
  }

  .page-home .home-help {
    position: sticky;
    top: calc(var(--topbar-h) + 24px);
    padding: 26px 24px;
  }

  .page-home .home-cta__inner {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    align-items: center;
    gap: 24px;
    padding: 32px 34px;
  }

  .page-home .home-cta__inner h2,
  .page-home .home-cta__inner p {
    grid-column: 1;
  }

  .page-home .home-cta__actions {
    grid-column: 2;
    grid-row: 1 / span 2;
    justify-content: flex-end;
    margin-top: 0;
  }
}

@media (min-width: 1280px) {
  .page-home .home-hero {
    gap: 68px;
  }

  .page-home .home-quick__body em {
    font-size: .78rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-quick a,
  .page-home .home-index a,
  .page-home .home-step__link {
    transition: none;
  }
}
