.page-home {
  background: var(--sand);
  color: var(--indigo);
}

/* ---------- 首屏 ---------- */
.page-home .hero-wrap {
  position: relative;
  padding: clamp(18px, 3vw, 34px) 0 clamp(40px, 6vw, 76px);
  background: linear-gradient(180deg, var(--cream) 0%, var(--sand) 80%);
  overflow: hidden;
}

.page-home .hero-wrap::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--orange) 0%, var(--amber) 42%, var(--teal) 100%);
}

.page-home .hero-wrap .breadcrumb {
  margin-bottom: clamp(16px, 2.6vw, 30px);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--rock);
}

.page-home .hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vw, 46px);
  align-items: center;
}

.page-home .hero-eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--orange-deep);
}

.page-home .hero-title {
  margin: 0 0 18px;
  font-size: clamp(34px, 6.4vw, 62px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 900;
  color: var(--indigo);
}

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

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  align-items: center;
}

.page-home .hero-actions .text-link {
  font-size: 15px;
  font-weight: 700;
  color: var(--indigo);
}

.page-home .hero-actions .text-link:hover {
  color: var(--orange-deep);
}

.page-home .hero-foot {
  margin: 20px 0 0;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--rock);
}

.page-home .hero-visual {
  position: relative;
  padding: 10px;
  background: var(--cream);
  border: 2px solid var(--indigo);
  box-shadow: 12px 12px 0 -2px rgba(242, 106, 46, 0.22), var(--paper-shadow);
}

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

.page-home .hero-visual__beam {
  position: absolute;
  left: -4%;
  right: -4%;
  top: 44%;
  height: 12px;
  background: linear-gradient(90deg, rgba(255, 249, 240, 0) 0%, var(--orange) 16%, var(--amber) 68%, rgba(255, 249, 240, 0) 100%);
  transform: rotate(-6deg);
  opacity: 0.85;
  pointer-events: none;
}

.page-home .hero-visual__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 10px 0 0;
  font-size: 11px;
  letter-spacing: 0.12em;
  line-height: 1.7;
  color: var(--rock);
}

.page-home .hero-visual__dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

/* ---------- 章节骨架 ---------- */
.page-home .section {
  padding: clamp(38px, 6vw, 78px) 0;
}

.page-home .section__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  margin-bottom: clamp(22px, 3vw, 36px);
}

.page-home .section__index {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--orange-deep);
  margin: 0;
}

.page-home .section__title {
  margin: 0;
  font-size: clamp(24px, 3.4vw, 40px);
  line-height: 1.22;
  letter-spacing: -0.02em;
  font-weight: 900;
  color: var(--indigo);
}

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

/* ---------- 路径条 ---------- */
.page-home .paths-section {
  background: var(--sand);
}

.page-home .path-figure {
  margin: 0 0 clamp(18px, 2.6vw, 28px);
  padding: 8px;
  background: var(--cream);
  border: 1px solid var(--line-strong);
}

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

.page-home .path-strip {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border-top: 2px solid var(--indigo);
}

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

.page-home .path-item__link {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 2px 12px;
  padding: 16px 30px 16px 12px;
  text-decoration: none;
  color: var(--indigo);
  transition: background 0.3s var(--ease);
}

.page-home .path-item__link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: var(--orange);
  transition: width 0.3s var(--ease);
}

.page-home .path-item__link::after {
  content: "↗";
  position: absolute;
  right: 12px;
  top: 16px;
  font-size: 16px;
  color: var(--rock);
  transition: transform 0.3s var(--ease), color 0.3s var(--ease);
}

.page-home .path-item__index {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--orange-deep);
  padding-top: 4px;
}

.page-home .path-item__label {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.page-home .path-item__note {
  grid-column: 2;
  font-size: 13px;
  line-height: 1.75;
  color: var(--rock);
}

.page-home .path-item__link:hover,
.page-home .path-item__link:focus-visible {
  background: var(--cream);
}

.page-home .path-item__link:hover::before,
.page-home .path-item__link:focus-visible::before {
  width: 5px;
}

.page-home .path-item__link:hover::after,
.page-home .path-item__link:focus-visible::after {
  transform: translate(2px, -2px);
  color: var(--orange-deep);
}

.page-home .path-item__link:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: -2px;
}

/* ---------- 版本状态 ---------- */
.page-home .status-section {
  background: var(--cream);
}

.page-home .status-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.page-home .status-card {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: clamp(16px, 2vw, 24px);
  background: var(--cream);
  border: 1px solid var(--line-strong);
  border-left: 4px solid var(--teal);
  box-shadow: var(--paper-shadow);
}

.page-home .status-card .tag {
  justify-self: start;
}

.page-home .status-card__title {
  margin: 0;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--indigo);
}

.page-home .status-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--rock);
}

.page-home .status-foot {
  margin: 22px 0 0;
}

.page-home .status-foot .text-link {
  font-size: 15px;
  font-weight: 700;
  color: var(--indigo);
}

/* ---------- 资料与工具入口 ---------- */
.page-home .entries-section {
  background: var(--sand);
}

.page-home .entry-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.page-home .entry-item {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 20px;
  background: var(--cream);
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.page-home .entry-item:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--stack-shadow);
}

.page-home .entry-item--lead {
  border-left: 4px solid var(--orange);
  background: linear-gradient(160deg, var(--cream) 0%, var(--cream) 62%, var(--indigo-soft) 100%);
}

.page-home .entry-item__index {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--orange-deep);
}

.page-home .entry-item__title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--indigo);
}

.page-home .entry-item--lead .entry-item__title {
  font-size: clamp(19px, 2.2vw, 24px);
}

.page-home .entry-item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--rock);
}

.page-home .entry-item__link {
  justify-self: start;
  margin-top: 4px;
  padding-bottom: 2px;
  font-size: 14px;
  font-weight: 700;
  color: var(--indigo);
  text-decoration: none;
  border-bottom: 2px solid var(--orange);
}

.page-home .entry-item__link:hover {
  color: var(--orange-deep);
}

/* ---------- 服务与信任 ---------- */
.page-home .trust-section {
  background: var(--sand);
}

.page-home .trust-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 4vw, 58px);
  background: var(--indigo);
  color: var(--cream);
  border: 2px solid var(--ink);
  box-shadow: 12px 12px 0 -2px rgba(13, 23, 38, 0.16);
}

.page-home .trust-panel__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.16;
  pointer-events: none;
}

.page-home .trust-panel__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(18px, 3vw, 30px);
}

.page-home .trust-index {
  color: var(--amber);
  margin: 0 0 12px;
}

.page-home .trust-panel h2 {
  margin: 0 0 14px;
  font-size: clamp(24px, 3.4vw, 38px);
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--cream);
}

.page-home .trust-lede {
  margin: 0;
  max-width: 58ch;
  font-size: 16px;
  line-height: 1.9;
  color: var(--on-dark);
}

.page-home .trust-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 20px;
  padding-top: clamp(16px, 2.4vw, 24px);
  border-top: 1px solid rgba(255, 249, 240, 0.22);
}

.page-home .trust-stat__value {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--amber);
}

.page-home .trust-stat__label {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--on-dark-soft);
}

.page-home .trust-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 0;
  font-size: 15px;
}

.page-home .trust-links a {
  color: var(--cream);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 2px solid var(--orange);
}

.page-home .trust-links a:hover {
  color: var(--amber);
  border-color: var(--amber);
}

/* ---------- 次级帮助清单 ---------- */
.page-home .help-section {
  background: var(--cream);
}

.page-home .help-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
}

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

.page-home .help-card {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 18px;
  background: var(--cream);
  border: 1px solid var(--line-strong);
  border-top: 3px solid var(--indigo);
}

.page-home .help-card .tag {
  justify-self: start;
}

.page-home .help-card h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: var(--indigo);
}

.page-home .help-card > p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--rock);
}

.page-home .help-card .disclosure__toggle {
  justify-self: start;
  padding: 0 0 2px;
  background: none;
  border: 0;
  border-bottom: 2px dashed var(--line-strong);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--indigo);
  cursor: pointer;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.page-home .help-card .disclosure__toggle:hover,
.page-home .help-card .disclosure__toggle:focus-visible {
  color: var(--orange-deep);
  border-color: var(--orange);
}

.page-home .help-card .disclosure__panel p {
  margin: 8px 0 0;
  padding-left: 10px;
  border-left: 2px solid var(--teal);
  font-size: 14px;
  line-height: 1.85;
  color: var(--rock);
}

.page-home .help-figure {
  margin: 0;
  padding: 8px 8px 10px;
  background: var(--cream);
  border: 2px solid var(--indigo);
  box-shadow: var(--stack-shadow);
}

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

.page-home .help-figure figcaption {
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--rock);
}

.page-home .help-section .status-foot .btn {
  display: inline-block;
}

/* ---------- 断点 ---------- */
@media (min-width: 640px) {
  .page-home .entry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

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

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

  .page-home .path-item {
    border-bottom: 0;
    border-left: 1px solid var(--line-strong);
  }

  .page-home .path-item:first-child {
    border-left: 0;
  }

  .page-home .path-item__link {
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    min-height: 196px;
    padding: 18px 16px 20px;
  }

  .page-home .path-item__index {
    padding-top: 0;
  }

  .page-home .path-item__label {
    margin-top: 6px;
  }

  .page-home .path-item__note {
    grid-column: 1;
    margin-top: 8px;
  }

  .page-home .path-item__link::after {
    top: 18px;
    right: 14px;
  }
}

@media (min-width: 900px) {
  .page-home .section__head {
    grid-template-columns: 72px minmax(0, 1fr) minmax(0, 0.95fr);
    align-items: start;
    column-gap: clamp(18px, 2.4vw, 34px);
    row-gap: 0;
  }

  .page-home .section__index {
    padding-top: 10px;
  }

  .page-home .section__title {
    grid-column: 2;
  }

  .page-home .section__lede {
    grid-column: 3;
    padding-top: 8px;
  }

  .page-home .help-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: start;
  }
}

@media (min-width: 940px) {
  .page-home .hero-split {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  }

  .page-home .hero-visual {
    margin-left: clamp(0px, 1.6vw, 22px);
  }
}

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

  .page-home .entry-item--lead {
    grid-column: span 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .entry-item,
  .page-home .path-item__link,
  .page-home .path-item__link::before,
  .page-home .path-item__link::after {
    transition: none;
  }

  .page-home .entry-item:hover {
    transform: none;
  }
}
