.page-home {
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
}

.page-home .container {
  width: 100%;
  max-width: var(--w-wide);
  margin: 0 auto;
  padding: 0 20px;
}

.page-home .section {
  padding: clamp(56px, 8vw, 104px) 0;
}

.page-home .section--tight {
  padding: clamp(48px, 6vw, 72px) 0;
}

.page-home .compare-section,
.page-home .legacy-section {
  background: var(--cream);
}

.page-home .coverage-section,
.page-home .record-section {
  background: var(--paper);
}

.page-home .flow-section {
  background: var(--navy);
  color: var(--cream);
}

.page-home .display-title,
.page-home .hero-title,
.page-home .section-title,
.page-home .price-card-title,
.page-home .timeline-title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.page-home .flow-section .section-title,
.page-home .flow-section .step-title,
.page-home .flow-section .timeline-title {
  color: var(--cream);
}

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

.page-home .hero {
  position: relative;
  padding: 34px 0 clamp(56px, 8vw, 88px);
  background:
    radial-gradient(120% 90% at 88% 0%, rgba(242, 160, 61, 0.16), transparent 62%),
    var(--cream);
}

.page-home .hero-context {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  padding: 7px 15px 7px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.page-home .hero-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  flex: none;
}

.page-home .hero-grid {
  display: grid;
  gap: 26px;
}

.page-home .hero-title {
  margin: 0 0 20px;
  font-size: clamp(34px, 7.4vw, 66px);
  line-height: 1.08;
}

.page-home .br-desk {
  display: none;
}

.page-home .hero-lede {
  max-width: 34em;
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
}

.page-home .hero-media {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.page-home .hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 11;
}

/* 检索岛 */

.page-home .search-island {
  position: relative;
  z-index: 2;
  margin-top: 26px;
  padding: 18px;
  border: 2px solid var(--navy);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-card);
}

.page-home .search-label {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--navy);
}

.page-home .search-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-home .search-input {
  flex: 1 1 220px;
  min-width: 0;
  padding: 13px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  transition: border-color 150ms ease-out, box-shadow 150ms ease-out;
}

.page-home .search-input::placeholder {
  color: var(--muted);
}

.page-home .search-input:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(228, 87, 15, 0.22);
}

.page-home .search-submit {
  flex: 0 0 auto;
  text-decoration: none;
  white-space: nowrap;
}

.page-home .search-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}

.page-home .search-tags-label {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.page-home .search-tags a {
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  background: rgba(242, 160, 61, 0.18);
  font-size: 13px;
  color: var(--navy);
  text-decoration: none;
  transition: background 150ms ease-out, color 150ms ease-out;
}

.page-home .search-tags a:hover,
.page-home .search-tags a:focus-visible {
  background: var(--navy);
  color: var(--cream);
}

/* 两个栏目入口 */

.page-home .hero-entries {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.page-home .entry-card {
  display: block;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--orange);
  border-radius: var(--radius-card);
  background: var(--paper);
  text-decoration: none;
  transition: transform 150ms ease-out, box-shadow 150ms ease-out, border-color 150ms ease-out;
}

.page-home .entry-card:hover,
.page-home .entry-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--blue);
  border-left-color: var(--orange);
}

.page-home .entry-kicker {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--orange);
}

.page-home .entry-title {
  display: block;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--navy);
}

.page-home .entry-desc {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.page-home .entry-action {
  display: block;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
}

/* ---------- 章节通用 ---------- */

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

.page-home .section-number {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 40px;
  line-height: 1;
  color: var(--sand, #D9CFC0);
  color: var(--line);
}

.page-home .section-number--inline {
  font-size: 30px;
  margin-bottom: 10px;
}

.page-home .flow-section .section-number {
  color: rgba(242, 160, 61, 0.85);
}

.page-home .section-title {
  margin: 0 0 14px;
  font-size: clamp(25px, 4.4vw, 36px);
  line-height: 1.2;
}

.page-home .section-head .lede {
  margin: 0;
  max-width: 36em;
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
}

/* ---------- 步骤 ---------- */

.page-home .aside-text {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(247, 241, 230, 0.82);
}

.page-home .aside-media {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(247, 241, 230, 0.2);
}

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

.page-home .aside-media figcaption {
  padding: 10px 14px 12px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(247, 241, 230, 0.7);
  background: rgba(255, 255, 255, 0.05);
}

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

.page-home .step {
  position: relative;
}

.page-home .step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 28px;
  top: 100%;
  height: 16px;
  border-left: 1px dashed rgba(247, 241, 230, 0.35);
}

.page-home .step details {
  padding: 14px 18px;
  border: 1px solid rgba(247, 241, 230, 0.22);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.04);
  transition: background 150ms ease-out, border-color 150ms ease-out;
}

.page-home .step details[open],
.page-home .step details:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(242, 160, 61, 0.55);
}

.page-home .step summary {
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  list-style: none;
}

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

.page-home .step-num {
  flex: none;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--amber);
}

.page-home .step-num::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 10px;
  border-radius: 50%;
  background: var(--amber);
  vertical-align: middle;
}

.page-home .step-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}

.page-home .step details[open] .step-num::after {
  background: var(--teal);
}

.page-home .step details p {
  margin: 12px 0 2px;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(247, 241, 230, 0.84);
}

.page-home .flow-note {
  margin: 22px 0 0;
  padding-left: 16px;
  border-left: 3px solid var(--teal);
  font-size: 14px;
  line-height: 1.8;
  color: rgba(247, 241, 230, 0.78);
}

/* ---------- 价目卡 ---------- */

.page-home .compare-grid {
  margin-top: 32px;
}

.page-home .price-card {
  display: flex;
  flex-direction: column;
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--paper);
  transition: transform 150ms ease-out, box-shadow 150ms ease-out, border-color 150ms ease-out;
}

.page-home .price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--blue);
}

.page-home .price-card-head {
  padding-bottom: 16px;
}

.page-home .tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: rgba(242, 160, 61, 0.22);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #8a4606;
}

.page-home .price-card-title {
  margin: 12px 0 8px;
  font-size: 22px;
  line-height: 1.3;
}

.page-home .price-base {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.page-home .price-base-num {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
}

.page-home .table-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-top: 2px solid var(--navy-2);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.page-home .price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
  line-height: 1.5;
}

.page-home .price-row .mono {
  flex: none;
  color: var(--navy);
  text-align: right;
}

.page-home .price-foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(11, 42, 74, 0.06);
  font-size: 13px;
  color: var(--muted);
}

.page-home .price-amount {
  font-size: 22px;
  font-weight: 700;
  color: var(--orange);
}

.page-home .compare-note {
  max-width: 46em;
  margin: 30px 0 0;
  padding-left: 18px;
  border-left: 3px solid var(--orange);
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
}

.page-home .compare-note a,
.page-home .coverage-note a,
.page-home .record-foot a {
  color: var(--blue);
  text-underline-offset: 3px;
}

/* ---------- 数据带 ---------- */

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

.page-home .coverage-media {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--cream);
}

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

.page-home .coverage-media figcaption {
  padding: 10px 16px 12px;
  font-size: 13px;
  color: var(--muted);
}

.page-home .coverage-lede {
  margin: 0 0 24px;
  max-width: 34em;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}

.page-home .stat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

.page-home .stat {
  padding-top: 16px;
  border-top: 2px solid var(--navy);
}

.page-home .stat-num {
  font-family: var(--font-mono);
  font-size: clamp(30px, 7vw, 40px);
  font-weight: 700;
  line-height: 1;
  color: var(--navy);
}

.page-home .stat-unit {
  margin-left: 5px;
  font-size: 15px;
  color: var(--muted);
}

.page-home .stat-label {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.page-home .coverage-note {
  margin: 24px 0 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
}

/* ---------- 旧版资源 ---------- */

.page-home .legacy-facts {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 9px;
}

.page-home .legacy-facts li {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
}

.page-home .legacy-facts .mono {
  font-weight: 700;
  color: var(--orange);
}

.page-home .legacy-section .btn {
  display: inline-block;
  text-decoration: none;
}

.page-home .timeline {
  list-style: none;
  margin: 0;
  padding: 4px 0 4px 24px;
  position: relative;
  display: grid;
  gap: 22px;
}

.page-home .timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  border-left: 1px dashed var(--line);
}

.page-home .timeline-item {
  position: relative;
}

.page-home .timeline-dot {
  position: absolute;
  left: -24px;
  top: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--blue);
  transition: transform 150ms ease-out, border-color 150ms ease-out;
}

.page-home .timeline-item:hover .timeline-dot {
  transform: scale(1.35);
  border-color: var(--orange);
}

.page-home .timeline-title {
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.3;
}

.page-home .timeline-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.page-home .legacy-media {
  margin: 26px 0 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
}

.page-home .legacy-media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

.page-home .legacy-media figcaption {
  padding: 10px 16px 12px;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- 服务记录 ---------- */

.page-home .record-board {
  display: grid;
  gap: 24px;
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-left: 6px solid var(--orange);
  border-radius: var(--radius-card);
  background: var(--cream);
}

.page-home .record-aside {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 18px;
  border-bottom: 1px dashed var(--line);
}

.page-home .record-label {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.page-home .record-id {
  font-family: var(--font-mono);
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  word-break: break-all;
}

.page-home .record-batch {
  font-size: 13px;
  color: var(--muted);
}

.page-home .record-body .section-title {
  font-size: clamp(22px, 4vw, 30px);
}

.page-home .ledger {
  margin-top: 8px;
}

.page-home .ledger-row {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 15px;
  line-height: 1.6;
}

.page-home .ledger-row:last-child {
  border-bottom: none;
}

.page-home .ledger-key {
  color: var(--muted);
  font-size: 14px;
}

.page-home .ledger-val {
  color: var(--ink);
  min-width: 0;
  overflow-wrap: anywhere;
}

.page-home .ledger-val .mono {
  color: var(--navy);
  font-weight: 600;
}

.page-home .record-foot {
  margin: 20px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

/* ---------- 响应式 ---------- */

@media (min-width: 700px) {
  .page-home .container {
    padding: 0 32px;
  }

  .page-home .hero-entries {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .page-home .stat-list {
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 22px;
  }

  .page-home .ledger-row {
    grid-template-columns: 112px 1fr;
  }

  .page-home .record-board {
    padding: 30px 28px;
  }
}

@media (min-width: 900px) {
  .page-home .br-desk {
    display: inline;
  }

  .page-home .hero {
    padding-top: 44px;
  }

  .page-home .hero-grid {
    grid-template-columns: 1.12fr 0.88fr;
    align-items: end;
    gap: 40px;
    min-height: 62vh;
  }

  .page-home .hero-media {
    align-self: stretch;
  }

  .page-home .hero-media img {
    height: 100%;
    aspect-ratio: auto;
    min-height: 380px;
  }

  .page-home .search-island {
    margin-top: -48px;
    margin-left: 3%;
    margin-right: 3%;
    padding: 22px 26px;
  }

  .page-home .split {
    grid-template-columns: 4fr 8fr;
    gap: 48px;
    align-items: start;
  }

  .page-home .split--reverse .aside {
    order: 2;
  }

  .page-home .split--reverse .main-col {
    order: 1;
  }

  .page-home .coverage-grid {
    grid-template-columns: 5fr 7fr;
    gap: 46px;
    align-items: center;
  }

  .page-home .compare-grid {
    gap: 26px;
  }

  .page-home .record-board {
    grid-template-columns: 210px 1fr;
    gap: 34px;
    padding: 36px 34px;
  }

  .page-home .record-aside {
    border-bottom: none;
    border-right: 1px dashed var(--line);
    padding-bottom: 0;
    padding-right: 24px;
  }
}

@media (min-width: 1180px) {
  .page-home .hero-media img {
    min-height: 440px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .entry-card,
  .page-home .price-card,
  .page-home .timeline-dot,
  .page-home .search-input,
  .page-home .search-tags a {
    transition: none;
  }

  .page-home .entry-card:hover,
  .page-home .price-card:hover,
  .page-home .timeline-item:hover .timeline-dot {
    transform: none;
  }
}

.page-home {
  --sand: currentColor;
}
