.page-home {
  --home-gap: clamp(56px, 7vw, 96px);
  --home-line: var(--sand-200);
  background: var(--sand-50);
  color: var(--ink-900);
  font-family: var(--font-sans);
  padding-bottom: clamp(48px, 7vw, 88px);
}

.page-home a {
  color: inherit;
}

.page-home .home-crumbs {
  padding: 18px var(--page-gutter) 12px;
}

.page-home .home-crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0;
  list-style: none;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-700);
}

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

.page-home .home-crumbs a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.page-home .home-crumbs a:hover {
  border-bottom-color: var(--orange-500);
}

/* ---------- 首屏拼贴 ---------- */
.page-home .home-hero {
  padding-inline: var(--page-gutter);
}

.page-home .hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  max-width: var(--content-max);
  margin-inline: auto;
}

.page-home .hero-main {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  min-height: 340px;
  padding: clamp(20px, 3.6vw, 38px);
  border-radius: var(--radius-fold);
  background: var(--ink-900);
  color: var(--sand-50);
  box-shadow: 8px 8px 0 0 var(--sand-200);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.page-home .hero-main:hover {
  transform: translateY(-2px);
  box-shadow: 8px 10px 0 0 var(--orange-100);
}

.page-home .hero-img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.page-home .hero-rings {
  position: absolute;
  right: -14%;
  bottom: -34%;
  z-index: -1;
  width: min(440px, 82%);
  height: auto;
  fill: none;
  stroke: var(--orange-500);
  stroke-width: 1.6;
  opacity: 0.18;
}

.page-home .hero-main::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 6px;
  background: var(--gradient-action);
}

.page-home .hero-body {
  position: relative;
  width: 100%;
  padding: clamp(16px, 2.4vw, 26px);
  border: 1px solid rgba(250, 245, 236, 0.24);
  border-radius: var(--radius-panel);
  background: rgba(18, 16, 15, 0.46);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.page-home .hero-kicker {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--orange-100);
}

.page-home .hero-body h1 {
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 4.4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.14;
}

.page-home .hero-lede {
  margin: 0;
  max-width: 46ch;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(250, 245, 236, 0.86);
}

.page-home .btn-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 11px 20px;
  border-radius: 2px 14px 2px 14px;
  background: var(--orange-500);
  color: var(--ink-900);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}

.page-home .btn-line:hover {
  transform: translateY(-2px);
  background: var(--orange-100);
}

.page-home .hero-side {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 16px;
  border: 1px solid var(--home-line);
  border-radius: var(--radius-panel);
  background: var(--sand-50);
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease);
}

.page-home .hero-side:hover {
  transform: translateY(-2px);
  border-color: var(--orange-500);
}

.page-home .tile-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.page-home .tile-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-700);
}

.page-home .tile-shot {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  border-radius: 2px 10px 2px 10px;
  filter: saturate(0.9);
}

.page-home .tile-link {
  margin-top: auto;
  font-size: 13px;
  font-weight: 700;
  color: var(--zhuhong-600);
  text-decoration: none;
}

.page-home .tile-link span {
  margin-left: 4px;
}

.page-home .hero-tools {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 12px;
  border-radius: var(--radius-panel);
  background: var(--ink-700);
}

.page-home .tool-btn {
  display: block;
  padding: 13px 18px;
  border-radius: 2px 12px 2px 12px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: transform 0.2s var(--ease);
}

.page-home .tool-btn--primary {
  background: var(--orange-500);
  color: var(--ink-900);
}

.page-home .tool-btn--ghost {
  border: 1px solid rgba(250, 245, 236, 0.4);
  color: var(--sand-50);
}

.page-home .tool-btn:hover {
  transform: translateY(-2px);
}

/* ---------- 通用区块 ---------- */
.page-home .home-section {
  margin-top: var(--home-gap);
  padding-inline: var(--page-gutter);
}

.page-home .home-inner {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
}

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

.page-home .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--zhuhong-600);
}

.page-home .seq {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gradient-action);
  color: var(--sand-50);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0;
}

.page-home h2 {
  margin: 0 0 10px;
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.015em;
  line-height: 1.26;
}

.page-home .block-lede {
  margin: 0;
  font-size: 15px;
  line-height: 1.78;
  color: var(--ink-700);
}

.page-home .link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  padding-bottom: 3px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-900);
  text-decoration: none;
  border-bottom: 2px solid var(--orange-500);
}

.page-home .link-more:hover {
  color: var(--zhuhong-600);
}

/* ---------- 内容中心 ---------- */
.page-home .topic-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--home-line);
}

.page-home .topic-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 14px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--home-line);
}

.page-home .topic-main {
  min-width: 0;
}

.page-home .topic-title {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.page-home .topic-meta {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-700);
}

.page-home .tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--sand-200);
  color: var(--ink-700);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.page-home .tag--red {
  background: var(--orange-100);
  color: var(--zhuhong-600);
}

.page-home .tag--green {
  background: var(--celadon-100);
  color: var(--celadon-500);
}

/* ---------- 产品线 ---------- */
.page-home .lines-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.page-home .line-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: line;
}

.page-home .line-item {
  counter-increment: line;
  position: relative;
  padding: 16px 0 16px 46px;
  border-bottom: 1px solid var(--home-line);
}

.page-home .line-item::before {
  content: "0" counter(line);
  position: absolute;
  left: 0;
  top: 18px;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--orange-500);
}

.page-home .line-name {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.page-home .line-fit {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-700);
}

.page-home .lines-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 18px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-700);
}

.page-home .status {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.page-home .status--live {
  background: var(--celadon-100);
  color: var(--celadon-500);
}

.page-home .lines-figure {
  margin: 0;
}

.page-home .lines-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-panel);
  border: 1px solid var(--home-line);
  object-fit: cover;
  background: var(--sand-200);
}

.page-home .lines-figure figcaption {
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-700);
}

/* ---------- 数据带 ---------- */
.page-home .stat-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--home-line);
  border-radius: var(--radius-panel);
  background: var(--home-line);
}

.page-home .stat {
  padding: 20px 16px;
  background: var(--sand-50);
}

.page-home .stat-num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 3.4vw, 2.3rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: var(--ink-900);
}

.page-home .stat-num em {
  font-style: normal;
  font-size: 0.48em;
  margin-left: 3px;
  color: var(--zhuhong-600);
}

.page-home .stat-label {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-700);
}

.page-home .keep-note {
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-700);
}

.page-home .keep-note a {
  font-weight: 700;
  color: var(--zhuhong-600);
  text-decoration: none;
  border-bottom: 1px solid var(--orange-100);
  white-space: nowrap;
}

/* ---------- 动线 ---------- */
.page-home .route-strip {
  margin: 0 0 clamp(24px, 4vw, 40px);
}

.page-home .route-strip img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border-radius: var(--radius-panel);
  filter: saturate(0.62) contrast(1.04);
}

.page-home .route-flow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding-bottom: 8px;
}

.page-home .route-card {
  padding: 22px 20px;
  border: 1px solid var(--ink-900);
  border-radius: var(--radius-fold);
  background: var(--sand-50);
  box-shadow: 6px 6px 0 0 var(--orange-100);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.page-home .route-card:hover {
  box-shadow: 6px 8px 0 0 var(--orange-500);
}

.page-home .rc-step {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--zhuhong-600);
}

.page-home .rc-title {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.page-home .rc-text {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.72;
  color: var(--ink-700);
}

.page-home .rc-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-900);
  text-decoration: none;
  border-bottom: 2px solid var(--celadon-500);
  padding-bottom: 2px;
}

.page-home .rc-link:hover {
  color: var(--celadon-500);
}

/* ---------- 问答 ---------- */
.page-home .faq-list {
  display: grid;
  gap: 10px;
}

.page-home .faq-item {
  padding: 0 18px;
  border: 1px solid var(--home-line);
  border-radius: var(--radius-panel);
  background: var(--sand-50);
}

.page-home .faq-item[open] {
  border-color: var(--orange-500);
}

.page-home .faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  cursor: pointer;
  list-style: none;
}

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

.page-home .faq-item summary::after {
  content: "+";
  flex: none;
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--orange-500);
}

.page-home .faq-item[open] summary::after {
  content: "–";
}

.page-home .faq-item p {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.78;
  color: var(--ink-700);
}

.page-home .faq-item p a {
  font-weight: 700;
  color: var(--zhuhong-600);
  text-decoration: none;
  border-bottom: 1px solid var(--orange-100);
}

.page-home .qa-foot {
  margin: 20px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-700);
}

.page-home .qa-foot a {
  font-weight: 700;
  color: var(--zhuhong-600);
  text-decoration: none;
  border-bottom: 1px solid var(--orange-100);
}

/* ---------- 窄屏：工具栏常驻底部 ---------- */
@media (max-width: 639px) {
  .page-home {
    padding-bottom: 112px;
  }

  .page-home .hero-tools {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 40;
    grid-template-columns: 1fr 1fr;
    box-shadow: var(--shadow-soft);
  }
}

/* ---------- 平板 ---------- */
@media (min-width: 640px) {
  .page-home .home-crumbs ol {
    font-size: 13px;
  }

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

  .page-home .stat-band {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .page-home .rc-c {
    grid-column: 1 / -1;
  }
}

/* ---------- 桌面：十二列拼贴 ---------- */
@media (min-width: 900px) {
  .page-home .hero-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
  }

  .page-home .hero-main {
    grid-column: span 7;
    min-height: 460px;
  }

  .page-home .hero-side {
    grid-column: span 3;
  }

  .page-home .hero-side--narrow {
    grid-column: span 2;
  }

  .page-home .hero-side--narrow {
    transform: translateY(26px);
  }

  .page-home .hero-side--narrow:hover {
    transform: translateY(24px);
  }

  .page-home .hero-tools {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 220px) minmax(0, 220px);
    justify-content: end;
  }

  .page-home .topic-item {
    grid-template-columns: 84px 1fr;
    align-items: center;
    padding: 20px 0;
  }

  .page-home .topic-title {
    font-size: 17px;
  }

  .page-home .lines-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    gap: 40px;
    align-items: start;
  }

  .page-home .route-flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    padding-bottom: 56px;
  }

  .page-home .rc-c {
    grid-column: auto;
  }

  .page-home .rc-a {
    transform: translateY(0);
  }

  .page-home .rc-b {
    transform: translateY(28px);
  }

  .page-home .rc-c {
    transform: translateY(56px);
  }

  .page-home .rc-b:hover {
    transform: translateY(26px);
  }

  .page-home .rc-c:hover {
    transform: translateY(54px);
  }

  .page-home .faq-list {
    max-width: 820px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hero-main,
  .page-home .hero-side,
  .page-home .tool-btn,
  .page-home .btn-line,
  .page-home .route-card {
    transition: none;
  }

  .page-home .hero-main:hover,
  .page-home .hero-side:hover,
  .page-home .tool-btn:hover,
  .page-home .btn-line:hover {
    transform: none;
  }
}
