.page-home {
  --home-radius: 26px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
}

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

/* ---------- 页面上下文提示 ---------- */
.page-home .home-context {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--slate);
}

.page-home .home-context-mark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
}

.page-home .home-context-sep {
  color: var(--gold);
}

/* ---------- 左侧品牌坞与索引 ---------- */
.page-home .split-rail {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--r-xl);
  padding: 26px 20px 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page-home .split-rail::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0) 40%, rgba(201, 164, 106, 0.16) 52%, rgba(255, 255, 255, 0) 66%);
  pointer-events: none;
}

.page-home .home-rail-mark {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 30px;
  letter-spacing: 0.04em;
  color: #fff;
  line-height: 1.2;
}

.page-home .home-rail-sub {
  margin: 0;
  font-size: 12.5px;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.page-home .home-rail-meta {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--muted-on-ink);
}

.page-home .index-list {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 6px;
  -webkit-overflow-scrolling: touch;
}

.page-home .index-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: var(--r-pill);
  border: 1px solid var(--hairline-light);
  color: var(--muted-on-ink);
  font-size: 13.5px;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.page-home .index-link:hover,
.page-home .index-link:focus-visible {
  border-color: var(--gold);
  color: #fff;
}

.page-home .index-link.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.page-home .index-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.page-home .index-link.is-active .index-num {
  color: #fff;
}

.page-home .vertical-note {
  display: none;
}

/* ---------- 右侧画布 ---------- */
.page-home .split-canvas {
  min-width: 0;
}

.page-home .section {
  scroll-margin-top: 116px;
}

/* ---------- 首屏声明 ---------- */
.page-home .home-declare {
  padding-top: 4px;
}

.page-home .home-declare-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  align-items: center;
}

.page-home .home-declare h1 {
  margin: 14px 0 18px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(32px, 7.4vw, 60px);
  line-height: 1.16;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.page-home .home-declare .lead {
  margin: 0 0 26px;
  max-width: 560px;
  font-size: 16.5px;
  line-height: 1.95;
  color: var(--slate);
}

.page-home .home-declare-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-home .home-declare-media img,
.page-home .home-scale-media img,
.page-home .home-cat-media img,
.page-home .home-heat-media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .home-declare-media {
  border-radius: var(--r-lg);
  overflow: hidden;
}

.page-home .home-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .home-quick-link {
  display: inline-block;
  padding: 8px 17px;
  border-radius: var(--r-pill);
  border: 1px solid var(--hairline);
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
  text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.page-home .home-quick-link:hover,
.page-home .home-quick-link:focus-visible {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

/* ---------- 品类索引 ---------- */
.page-home .home-cat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.page-home .home-cat-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 156px;
  padding: 18px 16px;
  border-radius: var(--r-md);
  background: var(--sand);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.page-home .home-cat-card:hover,
.page-home .home-cat-card:focus-visible {
  background: var(--blush);
  transform: translateY(-3px);
}

.page-home .home-cat-index {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--gold-ink);
}

.page-home .home-cat-name {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.25;
}

.page-home .home-cat-count {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--brand-deep);
}

.page-home .home-cat-hint {
  font-size: 13px;
  line-height: 1.75;
  color: var(--slate);
}

.page-home .home-cat-media {
  border-radius: var(--r-md);
  overflow: hidden;
}

/* ---------- 在售规模 ---------- */
.page-home .home-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .home-stat {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 18px;
  border-radius: var(--r-md);
  background: var(--ink);
  color: var(--paper);
}

.page-home .home-stat:nth-child(1)::after {
  content: "";
  position: absolute;
  top: -34px;
  right: -34px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(228, 0, 126, 0.5) 0%, rgba(228, 0, 126, 0) 70%);
  pointer-events: none;
}

.page-home .home-stat-num {
  position: relative;
  margin: 0;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(30px, 7.6vw, 38px);
  line-height: 1;
  color: #fff;
}

.page-home .home-stat-unit {
  margin-left: 6px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 400;
  color: var(--gold);
}

.page-home .home-stat-label {
  position: relative;
  margin: 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--muted-on-ink);
}

.page-home .home-scale-foot {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 26px;
  align-items: center;
}

.page-home .home-scale-media {
  border-radius: var(--r-lg);
  overflow: hidden;
}

.page-home .home-scale-note {
  font-size: 15.5px;
  line-height: 1.95;
  color: var(--slate);
}

.page-home .home-scale-note p {
  margin: 0 0 14px;
}

.page-home .home-scale-note p:last-child {
  margin-bottom: 0;
}

.page-home .home-scale-note strong {
  font-weight: 700;
  color: var(--brand-deep);
}

/* ---------- 热度信号 ---------- */
.page-home .home-heat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  align-items: start;
}

.page-home .home-heat-list {
  display: flex;
  flex-direction: column;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .home-heat-item {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--hairline);
}

.page-home .home-heat-cat {
  flex: 1 1 auto;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.page-home .home-heat-range {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-deep);
}

.page-home .home-heat-note {
  flex: 0 0 auto;
  min-width: 26px;
  text-align: right;
  font-size: 12.5px;
  color: var(--slate);
}

.page-home .home-heat-foot {
  margin: 16px 0 0;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--slate);
}

.page-home .home-heat-media {
  border-radius: var(--r-lg);
  overflow: hidden;
  max-height: 520px;
}

/* ---------- 规则折叠 ---------- */
.page-home .home-rules {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 26px;
}

.page-home .home-rules .disclosure {
  border-radius: var(--r-md);
  background: var(--blush);
  overflow: hidden;
}

.page-home .home-rules .disclosure-body p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 2;
  color: var(--slate);
}

.page-home .home-rules .disclosure-body p:last-child {
  margin-bottom: 0;
}

.page-home .home-rule-link {
  color: var(--brand-deep);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(165, 14, 82, 0.35);
}

.page-home .home-rule-link:hover,
.page-home .home-rule-link:focus-visible {
  color: var(--brand);
  border-bottom-color: var(--brand);
}

.page-home .disclosure-actions {
  margin-top: 18px;
}

/* ---------- 联络带 ---------- */
.page-home .home-contact {
  scroll-margin-top: 116px;
  padding: 0 0 8px;
}

.page-home .home-contact-band {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 24px;
  padding: 32px 24px;
  border-radius: var(--r-xl);
  background: var(--ink);
  color: var(--paper);
}

.page-home .home-contact-band::before {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -130px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(228, 0, 126, 0.38) 0%, rgba(228, 0, 126, 0) 70%);
  pointer-events: none;
}

.page-home .home-contact-copy {
  position: relative;
}

.page-home .home-contact-mark {
  margin: 12px 0 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(23px, 5.4vw, 33px);
  line-height: 1.4;
  color: #fff;
}

.page-home .home-contact-text {
  margin: 0;
  font-size: 15.5px;
  line-height: 2;
  color: var(--muted-on-ink);
}

.page-home .home-contact-text a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 164, 106, 0.45);
}

.page-home .home-contact-text a:hover,
.page-home .home-contact-text a:focus-visible {
  color: #fff;
  border-bottom-color: #fff;
}

.page-home .home-contact-actions {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.page-home .home-legal-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 18px 0 0;
  font-size: 13px;
  color: var(--slate);
}

.page-home .home-legal-line a {
  color: var(--slate);
  text-decoration: none;
  border-bottom: 1px solid var(--hairline);
}

.page-home .home-legal-line a:hover,
.page-home .home-legal-line a:focus-visible {
  color: var(--brand-deep);
  border-bottom-color: var(--brand-deep);
}

/* ---------- 响应式 ---------- */
@media (min-width: 768px) {
  .page-home .home-cat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .page-home .home-stats {
    gap: 16px;
  }

  .page-home .home-contact-band {
    padding: 40px 36px;
  }
}

@media (min-width: 900px) {
  .page-home .home-declare-grid {
    grid-template-columns: 1.02fr 0.98fr;
    gap: 40px;
  }

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

  .page-home .home-scale-foot {
    grid-template-columns: 0.92fr 1.08fr;
    gap: 36px;
  }

  .page-home .home-contact-band {
    grid-template-columns: 1.45fr 0.55fr;
    align-items: center;
    gap: 40px;
    padding: 48px;
  }

  .page-home .home-contact-actions {
    align-items: flex-end;
  }
}

@media (min-width: 1024px) {
  .page-home .index-list {
    flex-direction: column;
    gap: 4px;
    overflow: visible;
    padding: 0;
  }

  .page-home .index-link {
    width: 100%;
    padding: 10px 14px;
    border-color: transparent;
    border-radius: var(--r-sm);
  }

  .page-home .index-link:hover,
  .page-home .index-link:focus-visible {
    background: rgba(255, 255, 255, 0.08);
  }

  .page-home .index-link.is-active {
    border-color: var(--brand);
  }

  .page-home .vertical-note {
    display: block;
    margin: 18px 0 0;
    color: var(--gold);
    font-family: var(--font-script);
    font-size: 13px;
    letter-spacing: 0.12em;
  }

  .page-home .home-heat-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
  }
}

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

  .page-home .home-cat-media {
    grid-column: span 2;
    grid-row: span 2;
  }

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

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