.page-home {
  --home-lede: #C9CDD3;
  --home-paper-line: #D8D1C0;
  --home-paper-muted: #6B6459;
  --home-grid-line: rgba(46, 50, 58, 0.62);
}

/* ---------- 面包屑行 ---------- */

.page-home .home-crumb-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: clamp(16px, 3vw, 28px);
  padding-bottom: clamp(4px, 1.4vw, 12px);
}

.page-home .crumb-tag {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--teal-ink);
  border: 1px solid var(--line-700);
  border-radius: var(--radius);
  padding: 5px 10px;
  white-space: nowrap;
}

/* ---------- 首屏 ---------- */

.page-home .home-hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(20px, 4vw, 44px);
  padding-bottom: clamp(48px, 8vw, 100px);
  border-bottom: 1px solid var(--line-700);
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--home-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--home-grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: -1px -1px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.15) 78%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.15) 78%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.page-home .home-hero > .wrap {
  position: relative;
  z-index: 1;
}

.page-home .home-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(30px, 5vw, 56px);
}

.page-home .home-hero-title {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(34px, 8.2vw, 76px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--paper-100);
  margin: 16px 0 0;
  text-wrap: balance;
}

.page-home .home-hero-hl {
  color: var(--gold-300);
}

.page-home .home-hero-rule {
  display: block;
  width: clamp(72px, 12vw, 120px);
  height: 3px;
  margin: clamp(20px, 3vw, 30px) 0;
  background: linear-gradient(90deg, var(--gold-500) 0%, rgba(201, 162, 39, 0) 100%);
}

.page-home .home-hero-lede {
  max-width: 44ch;
  margin: 0;
  font-size: clamp(16px, 1.7vw, 18px);
  line-height: 1.9;
  color: var(--home-lede);
}

.page-home .home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(26px, 4vw, 40px);
}

.page-home .home-hero-visual {
  position: relative;
  padding-bottom: 46px;
}

.page-home .home-hero-media {
  border: 1px solid var(--line-700);
  background: var(--ink-800);
}

.page-home .home-hero-media img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .home-hero-badge {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 12px 18px;
  background: var(--ink-950);
  border-top: 2px solid var(--gold-500);
  border-left: 1px solid var(--line-700);
}

.page-home .home-hero-badge-num {
  font-family: var(--font-serif);
  font-size: clamp(34px, 5vw, 44px);
  font-weight: 900;
  line-height: 1;
  color: var(--gold-300);
}

.page-home .home-hero-badge-text {
  font-size: 13px;
  line-height: 1.55;
  letter-spacing: 0.04em;
  color: var(--slate-400);
}

/* ---------- 宽幅横幅 ---------- */

.page-home .home-banner {
  padding-top: clamp(28px, 5vw, 56px);
}

.page-home .home-banner-media {
  border-top: 1px solid var(--gold-500);
  border-bottom: 1px solid var(--line-700);
  background: var(--ink-800);
}

.page-home .home-banner-media img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .home-banner-note {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  color: var(--slate-400);
}

/* ---------- 三条路径 ---------- */

.page-home .home-lane-list {
  list-style: none;
  margin: clamp(28px, 4vw, 46px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line-700);
  border: 1px solid var(--line-700);
}

.page-home .home-lane {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(22px, 3vw, 34px);
  background: var(--ink-800);
  transition: background var(--dur) var(--ease);
}

.page-home .home-lane::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 280ms var(--ease);
}

.page-home .home-lane:hover {
  background: var(--ink-950);
}

.page-home .home-lane:hover::after {
  transform: scaleX(1);
}

.page-home .home-lane-title {
  margin: 4px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.3vw, 23px);
  font-weight: 700;
  line-height: 1.4;
  color: var(--paper-100);
}

.page-home .home-lane p {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--slate-400);
}

.page-home .home-lane-link {
  align-self: flex-start;
  margin-top: auto;
  padding-bottom: 3px;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--teal-ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.page-home .home-lane-link:hover {
  color: var(--gold-300);
  border-bottom-color: var(--gold-300);
}

/* ---------- 栏目与入口对照（米白区） ---------- */

.page-home .home-index-sec {
  color: var(--ink-950);
}

.page-home .home-index-sec .section-kicker {
  color: var(--clay-600);
}

.page-home .home-index-sec .section-title {
  color: var(--ink-950);
}

.page-home .home-index-sec .section-sub {
  color: var(--home-paper-muted);
}

.page-home .home-index {
  list-style: none;
  margin: clamp(24px, 4vw, 40px) 0 0;
  padding: 0;
  border-top: 1px solid var(--home-paper-line);
}

.page-home .home-index-row {
  border-bottom: 1px solid var(--home-paper-line);
}

.page-home .home-index-link {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 20px;
  padding: clamp(16px, 2.4vw, 24px) clamp(6px, 1.4vw, 16px);
  text-decoration: none;
  color: inherit;
  transition: background var(--dur) var(--ease);
}

.page-home .home-index-link:hover {
  background: rgba(31, 111, 120, 0.08);
}

.page-home .home-index-num {
  flex: 0 0 auto;
  min-width: 40px;
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.6vw, 27px);
  font-weight: 900;
  line-height: 1;
  color: var(--teal-600);
}

.page-home .home-index-body {
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.page-home .home-index-name {
  font-family: var(--font-serif);
  font-size: clamp(17px, 2vw, 19px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink-950);
}

.page-home .home-index-desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--home-paper-muted);
}

.page-home .home-index-where {
  flex: 0 0 auto;
  margin-left: auto;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--clay-600);
  white-space: nowrap;
}

.page-home .home-index-where--rail {
  padding: 4px 10px;
  border: 1px solid var(--gold-500);
  color: #8A6F14;
  background: rgba(201, 162, 39, 0.12);
}

.page-home .home-index-row--contact .home-index-link {
  background: rgba(201, 162, 39, 0.1);
  box-shadow: inset 3px 0 0 var(--gold-500);
}

.page-home .home-index-row--contact .home-index-link:hover {
  background: rgba(201, 162, 39, 0.18);
}

/* ---------- 4 步切换指引 ---------- */

.page-home .home-switch-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 44px);
  margin-top: clamp(28px, 4vw, 44px);
}

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

.page-home .home-step-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-700);
  border: 1px solid var(--line-700);
}

.page-home .home-step-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 14px;
  background: var(--ink-800);
  color: var(--slate-400);
  cursor: pointer;
  user-select: none;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}

.page-home .home-step-tab:hover {
  background: var(--ink-950);
  color: var(--paper-100);
}

.page-home .home-step-num {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.4vw, 34px);
  font-weight: 900;
  line-height: 1;
  color: var(--gold-500);
  transition: color var(--dur) var(--ease);
}

@supports (-webkit-text-stroke: 1px red) {
  .page-home .home-step-num {
    color: transparent;
    -webkit-text-stroke: 1px var(--gold-500);
  }
}

.page-home .home-step-label {
  font-size: 14px;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.page-home .home-step-input:focus-visible + .home-step-tabs {
  outline: 2px solid var(--gold-300);
  outline-offset: 2px;
}

.page-home #home-step-1:checked ~ .home-step-tabs > .home-step-tab:nth-child(1),
.page-home #home-step-2:checked ~ .home-step-tabs > .home-step-tab:nth-child(2),
.page-home #home-step-3:checked ~ .home-step-tabs > .home-step-tab:nth-child(3),
.page-home #home-step-4:checked ~ .home-step-tabs > .home-step-tab:nth-child(4) {
  background: var(--ink-950);
  color: var(--paper-100);
}

.page-home #home-step-1:checked ~ .home-step-tabs > .home-step-tab:nth-child(1) .home-step-num,
.page-home #home-step-2:checked ~ .home-step-tabs > .home-step-tab:nth-child(2) .home-step-num,
.page-home #home-step-3:checked ~ .home-step-tabs > .home-step-tab:nth-child(3) .home-step-num,
.page-home #home-step-4:checked ~ .home-step-tabs > .home-step-tab:nth-child(4) .home-step-num {
  color: var(--gold-300);
}

@supports (-webkit-text-stroke: 1px red) {
  .page-home #home-step-1:checked ~ .home-step-tabs > .home-step-tab:nth-child(1) .home-step-num,
  .page-home #home-step-2:checked ~ .home-step-tabs > .home-step-tab:nth-child(2) .home-step-num,
  .page-home #home-step-3:checked ~ .home-step-tabs > .home-step-tab:nth-child(3) .home-step-num,
  .page-home #home-step-4:checked ~ .home-step-tabs > .home-step-tab:nth-child(4) .home-step-num {
    color: transparent;
    -webkit-text-stroke: 1px var(--gold-300);
  }
}

.page-home .home-step-panels {
  margin-top: 1px;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line-700);
  border-top: none;
  background: var(--ink-800);
  min-height: 168px;
}

.page-home .home-step-panel {
  display: none;
}

.page-home #home-step-1:checked ~ .home-step-panels > .home-step-panel:nth-child(1),
.page-home #home-step-2:checked ~ .home-step-panels > .home-step-panel:nth-child(2),
.page-home #home-step-3:checked ~ .home-step-panels > .home-step-panel:nth-child(3),
.page-home #home-step-4:checked ~ .home-step-panels > .home-step-panel:nth-child(4) {
  display: block;
  animation: home-step-in 220ms var(--ease) both;
}

@keyframes home-step-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.page-home .home-step-title {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: clamp(18px, 2.1vw, 21px);
  font-weight: 700;
  line-height: 1.5;
  color: var(--paper-100);
}

.page-home .home-step-panel p {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
  color: var(--home-lede);
}

.page-home .home-switch-media {
  border: 1px solid var(--line-700);
  border-left: 2px solid var(--gold-500);
  background: var(--ink-800);
  align-self: start;
}

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

/* ---------- 苹果设备 ---------- */

.page-home .home-apple-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
}

.page-home .home-apple-media {
  border: 1px solid var(--line-700);
  background: var(--ink-800);
}

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

.page-home .home-apple-copy .section-title {
  margin-top: 10px;
}

.page-home .home-apple-text {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--home-lede);
}

.page-home .home-apple-list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  border-top: 1px solid var(--line-700);
}

.page-home .home-apple-list li {
  position: relative;
  padding: 12px 0 12px 22px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--slate-400);
  border-bottom: 1px solid var(--line-700);
}

.page-home .home-apple-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  width: 8px;
  height: 8px;
  background: var(--teal-600);
}

.page-home .home-apple-note {
  margin: 0 0 24px;
  padding-left: 14px;
  border-left: 2px solid var(--gold-500);
  font-size: 14px;
  line-height: 1.8;
  color: var(--clay-600);
}

/* ---------- 常见疑问 ---------- */

.page-home .home-faq-list {
  margin-top: clamp(24px, 4vw, 38px);
  border-top: 1px solid var(--line-700);
}

.page-home .home-faq-item {
  border-bottom: 1px solid var(--line-700);
}

.page-home .home-faq-q {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: clamp(16px, 2.4vw, 22px) 0;
  font-family: var(--font-serif);
  font-size: clamp(16px, 1.9vw, 18px);
  font-weight: 700;
  line-height: 1.6;
  color: var(--paper-100);
  cursor: pointer;
  list-style: none;
}

.page-home .home-faq-q::-webkit-details-marker {
  display: none;
}

.page-home .home-faq-q:hover {
  color: var(--gold-300);
}

.page-home .home-faq-icon {
  flex: 0 0 auto;
  position: relative;
  width: 16px;
  height: 16px;
  margin-top: 5px;
}

.page-home .home-faq-icon::before,
.page-home .home-faq-icon::after {
  content: "";
  position: absolute;
  background: var(--gold-500);
  transition: transform var(--dur) var(--ease);
}

.page-home .home-faq-icon::before {
  left: 0;
  top: 7px;
  width: 16px;
  height: 2px;
}

.page-home .home-faq-icon::after {
  left: 7px;
  top: 0;
  width: 2px;
  height: 16px;
}

.page-home .home-faq-item[open] .home-faq-icon::after {
  transform: scaleY(0);
}

.page-home .home-faq-a {
  padding: 0 0 clamp(18px, 2.6vw, 24px);
}

.page-home .home-faq-a p {
  margin: 0;
  max-width: 68ch;
  font-size: 15px;
  line-height: 1.9;
  color: var(--home-lede);
}

/* ---------- 收尾 ---------- */

.page-home .home-signoff {
  padding-bottom: clamp(56px, 9vw, 110px);
}

.page-home .home-signoff-inner {
  position: relative;
  padding: clamp(28px, 4vw, 48px);
  background: var(--ink-800);
  border: 1px solid var(--line-700);
  border-top: 2px solid var(--gold-500);
}

.page-home .home-signoff-title {
  margin: 10px 0 0;
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(24px, 3.6vw, 38px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--paper-100);
}

.page-home .home-signoff-text {
  margin: 16px 0 0;
  max-width: 56ch;
  font-size: 15px;
  line-height: 1.9;
  color: var(--home-lede);
}

.page-home .home-signoff-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(22px, 3vw, 32px);
}

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

@media (min-width: 720px) {
  .page-home .home-step-tabs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-home .home-step-panels {
    min-height: 150px;
  }
}

@media (min-width: 880px) {
  .page-home .home-lane-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-home .home-apple-grid {
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  }

  .page-home .home-switch-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
    align-items: start;
  }
}

@media (min-width: 940px) {
  .page-home .home-hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: clamp(36px, 5vw, 76px);
  }

  .page-home .home-hero-visual {
    margin-top: clamp(28px, 6vw, 88px);
  }
}

@media (max-width: 520px) {
  .page-home .home-hero-actions .btn,
  .page-home .home-signoff-actions .btn {
    width: 100%;
    text-align: center;
  }

  .page-home .home-index-where {
    margin-left: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home *,
  .page-home *::before,
  .page-home *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .page-home .home-lane::after {
    transform: scaleX(1);
  }
}
