.page-home {
  --home-gutter: clamp(20px, 5vw, 56px);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
}

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

.page-home h2 {
  margin: 10px 0 0;
  font-size: clamp(28px, 4.2vw, 46px);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.24;
}

.page-home h3 {
  margin: 0 0 8px;
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.page-home p {
  line-height: 1.75;
}

.page-home .intro {
  max-width: 62ch;
  margin: 16px 0 0;
  font-size: 16.5px;
  color: var(--ink-2);
}

.page-home .intro--light {
  color: var(--on-ink);
}

.page-home .eyebrow--light {
  color: var(--gold-soft);
}

.page-home a:focus-visible,
.page-home button:focus-visible,
.page-home summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- 首屏 ---------- */
.page-home .hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(34px, 6vw, 68px) 0 clamp(54px, 8vw, 104px);
  background: var(--ink);
  color: var(--mist);
}

.page-home .hero__media {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.page-home .hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.page-home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    repeating-linear-gradient(90deg, rgba(245, 241, 230, 0.06) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(0deg, rgba(245, 241, 230, 0.05) 0 1px, transparent 1px 96px),
    radial-gradient(120% 90% at 78% 8%, rgba(201, 162, 39, 0.2) 0%, rgba(11, 59, 58, 0) 62%);
  pointer-events: none;
}

.page-home .hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: clamp(56px, 9vw, 110px);
  z-index: -1;
  background: linear-gradient(180deg, rgba(251, 248, 240, 0) 0%, var(--paper) 94%);
  clip-path: polygon(0 52%, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.page-home .hero__trail {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 48%;
  z-index: -1;
  opacity: 0.85;
  pointer-events: none;
}

.page-home .hero__inner {
  display: grid;
  gap: clamp(30px, 5vw, 56px);
}

.page-home .hero__context {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--gold-soft);
}

.page-home .hero h1 {
  margin: 16px 0 0;
  font-size: clamp(36px, 8vw, 76px);
  font-weight: 300;
  letter-spacing: 0.05em;
  line-height: 1.1;
}

.page-home .hero__hl {
  font-weight: 700;
  color: var(--gold-soft);
}

.page-home .hero__sub {
  max-width: 48ch;
  margin: 20px 0 0;
  font-size: 16.5px;
  color: var(--on-ink);
}

.page-home .hero__jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .hero__jump a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(232, 199, 110, 0.42);
  border-radius: 999px;
  color: var(--mist);
  font-size: 15px;
  text-decoration: none;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.page-home .hero__jump a:hover,
.page-home .hero__jump a:focus-visible {
  background: rgba(201, 162, 39, 0.18);
  border-color: var(--gold-soft);
  transform: translateY(-2px);
}

.page-home .hero__jump .u-mono {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--gold-soft);
}

.page-home .hero__cards {
  position: relative;
  display: grid;
  gap: 12px;
}

.page-home .hero__texture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  object-fit: cover;
  opacity: 0.16;
  border-radius: var(--radius);
  pointer-events: none;
}

.page-home .entry-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 14px;
  min-height: 44px;
  padding: 18px;
  border: 1px solid rgba(245, 241, 230, 0.18);
  border-radius: var(--radius);
  background: rgba(20, 84, 78, 0.58);
  color: var(--mist);
  text-decoration: none;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}

.page-home a.entry-card:hover,
.page-home a.entry-card:focus-visible {
  border-color: var(--gold-soft);
  background: rgba(20, 84, 78, 0.82);
  transform: translateY(-2px);
}

.page-home .entry-card--primary {
  border-color: rgba(201, 162, 39, 0.55);
  background: linear-gradient(120deg, rgba(201, 162, 39, 0.18), rgba(20, 84, 78, 0.7) 62%);
}

.page-home .entry-card__num {
  padding-top: 4px;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--gold-soft);
}

.page-home .entry-card__body {
  display: block;
  min-width: 0;
}

.page-home .entry-card__title {
  display: block;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.page-home .entry-card__desc {
  display: block;
  margin-top: 6px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--on-ink);
}

.page-home .entry-card__go {
  font-size: 18px;
  color: var(--gold);
}

.page-home .entry-card--switch {
  grid-template-columns: 1fr;
  padding: 18px;
}

.page-home .entry-card__summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  list-style: none;
  cursor: pointer;
  min-height: 44px;
}

.page-home .entry-card__summary::-webkit-details-marker {
  display: none;
}

.page-home .entry-card__panel {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed rgba(232, 199, 110, 0.42);
}

.page-home .entry-card__panel p {
  margin: 0;
  font-size: 14.5px;
  color: var(--on-ink);
}

.page-home .entry-card__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 6px;
  color: var(--gold-soft);
  font-size: 14.5px;
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 199, 110, 0.5);
}

.page-home .hero__update {
  position: relative;
  z-index: 1;
  margin: 4px 0 0;
  font-size: 13.5px;
  color: var(--on-ink-dim);
}

.page-home .hero__update .u-mono {
  letter-spacing: 0.12em;
  color: var(--gold-soft);
}

.page-home .hero__update a {
  color: var(--mist);
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 199, 110, 0.5);
}

/* ---------- 回访路径 ---------- */
.page-home .path__list {
  display: grid;
  gap: 4px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .path__step {
  padding: 22px 0 24px;
  border-top: 1px solid var(--hair);
}

.page-home .path__num {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--gold);
}

.page-home .path__step h3 {
  font-size: clamp(19px, 2.4vw, 24px);
}

.page-home .path__step p {
  margin: 0;
  max-width: 40ch;
  font-size: 15.5px;
  color: var(--ink-2);
}

/* ---------- 收藏中心 ---------- */
.page-home .collections {
  background: var(--mist);
}

.page-home .collections__figure {
  margin: 30px 0 0;
}

.page-home .collections__figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.page-home .collections__figure .media__caption {
  margin-top: 10px;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--ink-2);
}

.page-home .filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 28px 0 22px;
}

.page-home .filter-btn {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--hair-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.22s var(--ease), color 0.22s var(--ease), border-color 0.22s var(--ease);
}

.page-home .filter-btn:hover {
  border-color: var(--gold);
}

.page-home .filter-btn[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--mist);
}

.page-home .filter-status {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--ink-2);
}

.page-home .collections__grid {
  display: grid;
  gap: 14px;
}

.page-home .collect-card {
  --c: var(--t1);
  position: relative;
  padding: 22px 18px 20px;
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  background: var(--paper);
}

.page-home .collect-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18px;
  width: 38px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--c);
}

.page-home .collect-card--2 { --c: var(--t2); }
.page-home .collect-card--3 { --c: var(--t3); }
.page-home .collect-card--4 { --c: var(--t4); }
.page-home .collect-card--5 { --c: var(--t5); }
.page-home .collect-card--6 { --c: var(--t6); }

.page-home .collect-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.page-home .collect-card__code {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--ink-2);
}

.page-home .collect-card__icon {
  width: 32px;
  height: 32px;
  margin-bottom: 10px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-home .collect-card h3 {
  font-size: 19px;
}

.page-home .collect-card p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-2);
}

.page-home .collections__note {
  margin: 24px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--hair);
  font-size: 14.5px;
  color: var(--ink-2);
}

/* ---------- 更新节奏 ---------- */
.page-home .rhythm {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--mist);
}

.page-home .rhythm::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(90% 70% at 12% 0%, rgba(201, 162, 39, 0.16) 0%, rgba(11, 59, 58, 0) 58%);
  pointer-events: none;
}

.page-home .rhythm .shell {
  position: relative;
}

.page-home .rhythm h2,
.page-home .rhythm h3 {
  color: var(--mist);
}

.page-home .rhythm__nodes {
  position: relative;
  display: grid;
  gap: 26px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .rhythm__nodes::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 10px;
  left: 7px;
  width: 1px;
  background: linear-gradient(180deg, var(--gold), rgba(201, 162, 39, 0));
}

.page-home .rhythm__node {
  position: relative;
  padding-left: 32px;
}

.page-home .rhythm__dot {
  position: absolute;
  top: 5px;
  left: 0;
  width: 15px;
  height: 15px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  background: var(--ink);
  transition: transform 0.25s var(--ease);
}

.page-home .rhythm__node:hover .rhythm__dot {
  transform: scale(1.18);
}

.page-home .rhythm__when {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--gold-soft);
}

.page-home .rhythm__node p {
  margin: 0;
  max-width: 34ch;
  font-size: 15px;
  color: var(--on-ink);
}

.page-home .rhythm__figure {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 36px;
  border-radius: var(--radius);
  opacity: 0.9;
}

.page-home .rhythm__cta {
  margin: 26px 0 0;
}

/* ---------- 信任 ---------- */
.page-home .trust__inner {
  display: grid;
  gap: 34px;
}

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

.page-home .trust__list li {
  position: relative;
  padding-left: 22px;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--ink-2);
}

.page-home .trust__list li::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 0;
  width: 12px;
  height: 2px;
  background: var(--gold);
}

.page-home .trust__list strong {
  display: block;
  margin-bottom: 2px;
  font-size: 16.5px;
  color: var(--ink);
}

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

.page-home .stat {
  padding: 18px 0 20px;
  border-top: 1px solid var(--hair);
}

.page-home .stat__num {
  display: block;
  font-size: clamp(24px, 3.4vw, 32px);
  letter-spacing: 0.02em;
  color: var(--ink);
}

.page-home .stat__label {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-2);
}

/* ---------- 开始使用 ---------- */
.page-home .start {
  background: var(--mist);
}

.page-home .start__grid {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.page-home .start__card {
  display: grid;
  gap: 8px;
  padding: 22px 20px;
  min-height: 44px;
  border: 1px solid var(--hair-strong);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.page-home .start__card:hover,
.page-home .start__card:focus-visible {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(11, 59, 58, 0.1);
}

.page-home .start__code {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--gold);
}

.page-home .start__card strong {
  font-size: 18px;
  letter-spacing: 0.02em;
}

.page-home .start__desc {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-2);
}

.page-home .start__go {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ink-2);
}

.page-home .start__note {
  margin: 24px 0 0;
  font-size: 14.5px;
  color: var(--ink-2);
}

.page-home .start__note a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
}

.page-home .start__note a:hover {
  color: var(--gold);
}

/* ---------- 响应式 ---------- */
@media (min-width: 620px) {
  .page-home .collections__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (min-width: 900px) {
  .page-home .hero__inner {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    align-items: start;
    gap: clamp(40px, 5vw, 72px);
  }

  .page-home .path__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
  }

  .page-home .path__step {
    padding: 26px 26px 6px 0;
    border-top: 1px solid var(--hair);
  }

  .page-home .path__step + .path__step {
    padding-left: 26px;
    border-left: 1px solid var(--hair);
  }

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

  .page-home .rhythm__nodes::before {
    display: none;
  }

  .page-home .rhythm__node {
    padding: 30px 0 0;
  }

  .page-home .rhythm__node:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 7px;
    left: 20px;
    right: -14px;
    height: 1px;
    background: linear-gradient(90deg, rgba(201, 162, 39, 0.7), rgba(201, 162, 39, 0.16));
  }

  .page-home .trust__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(36px, 5vw, 64px);
    align-items: start;
  }
}

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

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

@media (prefers-reduced-motion: reduce) {
  .page-home *,
  .page-home *::before,
  .page-home *::after {
    transition: none !important;
    animation: none !important;
  }
}
