/*
 * 首页旅程中枢（home hub）—— 2026-10-30
 * 设计约束：纸色/墨色/铜色、发丝线、衬线显示字；无渐变、无投影、无玻璃拟物、无 emoji。
 * 首页只回答三件事：我是谁 / 从哪开始 / 上次走到哪；其余旅程在各自页面展开。
 */
.home-v2.hh-home {
  display: none;
  background: var(--uic-paper);
  color: var(--uic-ink);
}

body.limin-mode-store-v2.portal-home-a-active .home-v2.hh-home {
  display: block;
}

.hh {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px) 0;
}

.hh a {
  color: inherit;
}

.hh-skip {
  position: absolute;
  left: -9999px;
}
.hh-skip a:focus {
  left: 16px;
  top: 16px;
  position: fixed;
  z-index: 100;
  background: var(--uic-ink);
  color: var(--uic-paper);
  padding: 8px 12px;
}

/* ---------- hero ---------- */
.hh-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: end;
  padding: clamp(64px, 9vw, 120px) 0 clamp(48px, 6vw, 80px);
  border-bottom: 1px solid var(--uic-hairline);
}

.hh-eyebrow,
.hh-kicker {
  margin: 0 0 16px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--uic-ink-muted);
}

.hh-title {
  margin: 0;
  font-family: var(--uic-font-display);
  font-size: clamp(40px, 4.6vw, 66px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--uic-ink);
}

.hh-title em {
  font-style: normal;
  color: var(--uic-copper);
}

.hh-lede {
  max-width: 34em;
  margin: 24px 0 0;
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.75;
  color: var(--uic-ink-muted);
}

.hh-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 36px;
}

.hh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid var(--uic-hairline);
  border-radius: 2px;
  background: transparent;
  color: var(--uic-ink);
  font-size: 14px;
  text-decoration: none;
}

.hh-btn--primary {
  background: var(--uic-ink);
  border-color: var(--uic-ink);
  color: var(--uic-paper);
}

.hh-btn--primary:hover,
.hh-btn--primary:focus-visible {
  background: var(--uic-copper);
  border-color: var(--uic-copper);
  color: var(--uic-ink);
}

.hh-textlink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--uic-ink-muted);
  font-size: 13px;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.hh-textlink:hover,
.hh-textlink:focus-visible {
  color: var(--uic-ink);
  border-bottom-color: var(--uic-ink);
}

/* ---------- market aside ---------- */
.hh-aside {
  padding-bottom: 6px;
}
.hh-aside__label {
  margin: 0 0 4px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--uic-ink-muted);
}
.hh-market {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--uic-hairline);
}
.hh-market li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: baseline;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--uic-hairline);
}
.hh-market__name {
  font-size: 13px;
  color: var(--uic-ink-muted);
}
.hh-market__value {
  font-family: var(--uic-font-display);
  font-size: 22px;
  font-variant-numeric: tabular-nums;
}
.hh-market__chg {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: var(--uic-ink-muted);
}
.hh-aside__note {
  margin: 12px 0 0;
  font-size: 11px;
  line-height: 1.6;
  color: var(--uic-ink-muted);
}

/* ---------- sections ---------- */
.hh-section {
  padding: clamp(56px, 7vw, 96px) 0 0;
}
.hh-sec-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 32px;
  margin-bottom: clamp(24px, 3vw, 40px);
}
.hh-sec-head h2,
.hh-evidence h2,
.hh-cta h2 {
  margin: 0;
  font-family: var(--uic-font-display);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.hh-sec-head p:not(.hh-kicker) {
  max-width: 30em;
  margin: 0;
  color: var(--uic-ink-muted);
  font-size: 14px;
  line-height: 1.7;
}

/* ---------- journey doors ---------- */
.hh-doors {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(24px, 4vw, 56px);
  border-top: 1px solid var(--uic-hairline);
}
.hh-door {
  display: flex;
  flex-direction: column;
  min-height: 188px;
  padding: 26px 0 24px;
  border-bottom: 1px solid var(--uic-hairline);
  text-decoration: none;
}
.hh-door__no {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--uic-ink-muted);
}
.hh-door h3 {
  margin: 14px 0 0;
  font-family: var(--uic-font-display);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.25;
}
.hh-door p {
  margin: 10px 0 0;
  color: var(--uic-ink-muted);
  font-size: 13px;
  line-height: 1.7;
}
.hh-door__go {
  margin-top: auto;
  padding-top: 18px;
  font-size: 12px;
  color: var(--uic-ink-muted);
}
.hh-door:hover h3,
.hh-door:focus-visible h3 {
  color: var(--uic-copper);
}
.hh-door:hover .hh-door__go,
.hh-door:focus-visible .hh-door__go {
  color: var(--uic-ink);
}

/* ---------- continue ---------- */
.hh-continue {
  padding: clamp(48px, 6vw, 72px) 0 0;
}
.hh-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--uic-hairline);
}
.hh-links a {
  padding: 10px 14px;
  border: 1px solid var(--uic-hairline);
  border-radius: 2px;
  font-size: 13px;
  text-decoration: none;
  color: var(--uic-ink);
}
.hh-links a:hover,
.hh-links a:focus-visible {
  border-color: var(--uic-ink);
}

/* ---------- evidence + cta ---------- */
.hh-evidence {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  margin-top: clamp(56px, 7vw, 96px);
  padding: clamp(32px, 4vw, 48px) 0;
  border-top: 1px solid var(--uic-hairline);
  border-bottom: 1px solid var(--uic-hairline);
}
.hh-evidence p {
  margin: 14px 0 0;
  max-width: 34em;
  color: var(--uic-ink-muted);
  font-size: 14px;
  line-height: 1.8;
}
.hh-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 40px;
  padding: clamp(40px, 5vw, 64px) 0;
}
.hh-cta p {
  margin: 10px 0 0;
  color: var(--uic-ink-muted);
  font-size: 14px;
}
.hh-cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
}

/* ---------- footer ---------- */
.hh-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  padding: 28px 0 36px;
  border-top: 1px solid var(--uic-hairline);
  font-size: 12px;
  color: var(--uic-ink-muted);
}
.hh-footer a {
  color: var(--uic-ink-muted);
  text-decoration: none;
}
.hh-footer a:hover {
  color: var(--uic-ink);
}
.hh-footer__main {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.hh-footer__seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-right: 2px;
  border: 1px solid var(--uic-copper);
  color: var(--uic-copper);
  font-family: var(--uic-font-display);
  font-size: 12px;
  line-height: 1;
  vertical-align: middle;
}


/* ---------- entrance motion（克制，仅首屏与门径；reduced-motion 直接终态） ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hh-hero > div:first-child,
  .hh-hero > .hh-aside,
  .hh-section .hh-sec-head,
  .hh-door,
  .hh-continue .hh-sec-head,
  .hh-links,
  .hh-evidence,
  .hh-cta {
    animation: hh-rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .hh-hero > .hh-aside { animation-delay: 0.08s; }
  .hh-section .hh-sec-head { animation-delay: 0.12s; }
  .hh-door:nth-child(1) { animation-delay: 0.16s; }
  .hh-door:nth-child(2) { animation-delay: 0.20s; }
  .hh-door:nth-child(3) { animation-delay: 0.24s; }
  .hh-door:nth-child(4) { animation-delay: 0.28s; }
  .hh-door:nth-child(5) { animation-delay: 0.32s; }
  .hh-door:nth-child(6) { animation-delay: 0.36s; }
  .hh-continue .hh-sec-head { animation-delay: 0.12s; }
  .hh-links { animation-delay: 0.16s; }
  .hh-evidence, .hh-cta { animation-delay: 0.10s; }
}

@keyframes hh-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.hh a:focus-visible,
.hh button:focus-visible {
  outline: 1px solid var(--uic-copper);
  outline-offset: 3px;
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hh-hero {
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
  }
  .hh-doors {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
  }
  .hh-evidence {
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
  }
}

@media (max-width: 640px) {
  .hh {
    padding: 0 20px;
  }
  .hh-hero {
    padding: 44px 0 36px;
  }
  .hh-title {
    font-size: clamp(38px, 10.5vw, 48px);
  }
  .hh-lede {
    margin-top: 18px;
    font-size: 15px;
  }
  .hh-actions {
    margin-top: 26px;
  }
  .hh-btn {
    min-height: 44px;
    padding: 0 18px;
  }
  .hh-doors {
    grid-template-columns: 1fr;
    column-gap: 0;
  }
  .hh-door {
    min-height: 0;
    padding: 22px 0;
  }
  .hh-door h3 {
    font-size: 21px;
  }
  .hh-section {
    padding-top: 44px;
  }
  .hh-sec-head {
    margin-bottom: 20px;
  }
  .hh-links a {
    padding: 9px 12px;
  }
  .hh-cta {
    padding: 36px 0;
  }
  .hh-footer {
    display: block;
    line-height: 1.9;
  }
  .hh-footer__main {
    display: block;
  }
  .hh-footer__main > * {
    display: block;
    margin-bottom: 4px;
  }
}

/* ---------- refinement pass (2026-10-30): 可达性/节奏/非卡片化 ---------- */
body.limin-mode-store-v2.portal-home-a-active .hh-btn--primary,
body.limin-mode-store-v2.portal-home-a-active .hh-btn--primary:link,
body.limin-mode-store-v2.portal-home-a-active .hh-btn--primary:visited {
  color: var(--uic-paper);
}
body.limin-mode-store-v2.portal-home-a-active .hh-btn--primary:hover,
body.limin-mode-store-v2.portal-home-a-active .hh-btn--primary:focus-visible {
  color: var(--uic-ink);
}
.hh-hero { padding-bottom: clamp(32px, 4vw, 56px); }
.hh-section { padding-top: clamp(40px, 5vw, 72px); }
.hh-continue { padding-top: clamp(36px, 4vw, 56px); }
.hh-sec-head { align-items: flex-end; }
.hh-sec-head__title { display: flex; flex-direction: column; align-items: flex-start; }
.hh-sec-head__title .hh-kicker { margin-bottom: 10px; }
.hh-sec-head__desc { max-width: 24em; margin: 0; color: var(--uic-ink-muted); font-size: 13px; line-height: 1.7; }
.hh-market li { display: block; padding: 0; border-bottom: 1px solid var(--uic-hairline); }
.hh-market__item { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 16px 0; text-decoration: none; }
.hh-market__name { font-size: 14px; color: var(--uic-ink); }
.hh-market__item:hover .hh-market__name,
.hh-market__item:focus-visible .hh-market__name { color: var(--uic-copper); }
.hh-links { gap: 8px 24px; padding-top: 14px; }
.hh-links a { border: 0; border-bottom: 1px solid var(--uic-hairline); border-radius: 0; padding: 8px 0; font-size: 14px; color: var(--uic-ink); }
.hh-links a:hover, .hh-links a:focus-visible { border-bottom-color: var(--uic-ink); }
@media (max-width: 640px) {
  .hh-hero { padding-bottom: 30px; }
  .hh-section { padding-top: 40px; }
  .hh-sec-head__desc { max-width: none; }
}
/* ---------- Proof of Goods band (home) ---------- */
.hh-proofs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: clamp(20px, 3vw, 40px);
  border-top: 1px solid var(--uic-hairline);
}
.hh-proof {
  display: flex;
  flex-direction: column;
  min-height: 176px;
  padding: 22px 0 20px;
  border-bottom: 1px solid var(--uic-hairline);
  text-decoration: none;
}
.hh-proof__no {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--uic-ink-muted);
}
.hh-proof h3 {
  margin: 16px 0 0;
  font-family: var(--uic-font-display);
  font-size: 23px;
  font-weight: 500;
  color: var(--uic-ink);
}
.hh-proof p {
  margin: 9px 0 0;
  max-width: 16em;
  color: var(--uic-ink-muted);
  font-size: 13px;
  line-height: 1.65;
}
.hh-proof__go {
  margin-top: auto;
  padding-top: 18px;
  font-size: 12px;
  color: var(--uic-ink-muted);
}
.hh-proof:hover h3,
.hh-proof:focus-visible h3 { color: var(--uic-copper); }
.hh-proof:hover .hh-proof__go,
.hh-proof:focus-visible .hh-proof__go { color: var(--uic-ink); }
.hh-proofs__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  padding-top: 18px;
}
@media (max-width: 960px) {
  .hh-proofs { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
}
@media (max-width: 640px) {
  .hh-proofs { grid-template-columns: 1fr; }
  .hh-proof { min-height: 0; padding: 18px 0; }
  .hh-proof h3 { font-size: 21px; }
  .hh-proofs__foot { flex-direction: column; align-items: flex-start; }
}
