/* ============================================================
   V0.2.0-RC1 首页专用样式（作用域：body.home-v2）
   依据：02_VISUAL_DESIGN_SPEC_V0.1（冻结）
   暖白 #F7F6F2 / 黑体标题 / 暖橙 #D96B3B（占比5%–8%）
   仅作用于首页，不影响其他页面既有样式
   ============================================================ */

body.home-v2 {
  background: #F7F6F2;
  color: #222222;
  font-size: 17px;
  line-height: 1.8;
}

/* 标题：黑体类无衬线（仅首页作用域） */
.home-v2 h1,
.home-v2 h2,
.home-v2 h3 {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.home-v2 h1 { font-size: clamp(30px, 7.4vw, 32px); margin-bottom: 18px; }
.home-v2 h2 { font-size: clamp(24px, 5.6vw, 26px); margin: 0 0 22px; }
.home-v2 h3 { font-size: 19px; }

.home-v2 section { margin-top: 72px; }
.home-v2 main { padding: 52px 0 64px; }
@media (max-width: 560px) {
  .home-v2 main { padding: 36px 0 48px; }
  .home-v2 section { margin-top: 72px; }
}

/* 核心句：19–21px / 600 */
.hp-core {
  font-size: clamp(19px, 4.6vw, 21px);
  font-weight: 600;
  line-height: 1.9;
  color: #222222;
}
.hp-strong { font-weight: 600; }

/* 1｜首屏 */
.hp-hero-title { margin-bottom: 22px; }
.hp-portrait {
  margin: 0 0 24px;
}
.hp-portrait img {
  display: block;
  width: 132px;
  height: 132px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid #E4E1DA;
}
.hp-bio p { color: #222222; margin-top: 0; }
.hp-bio p + p { margin-top: 16px; }
.hp-bio .hp-strong { color: #222222; }

/* 2 / 3｜关注与正在做：纯文字，无卡片 */
.hp-focus p + p { margin-top: 14px; }

/* 卡片：白底 / 1px #E4E1DA / 14px圆角 / 无明显阴影 */
.hp-card {
  background: #ffffff;
  border: 1px solid #E4E1DA;
  border-radius: 14px;
  padding: 24px;
}
.hp-card p { color: #222222; }
.hp-card p + p { margin-top: 16px; }

/* 4｜诊断产品 */
.hp-price {
  font-size: 24px;
  font-weight: 700;
  color: #D96B3B;
  margin-top: 20px;
}
.hp-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}

/* 主按钮：#D96B3B 底 / 白字 / 高46–50px / 圆角8–10px / 15–16px 600 */
.hp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 30px;
  background: #D96B3B;
  color: #ffffff;
  border: none;
  border-radius: 9px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: background 0.15s ease;
}
.hp-btn:hover { background: #c25a2e; color: #ffffff; }
.hp-btn:active { background: #b0512a; }

/* 次级入口：低视觉权重 */
.hp-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 22px;
  background: transparent;
  color: #6B6B66;
  border: 1px solid #E4E1DA;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.hp-btn-ghost:hover { color: #D96B3B; border-color: #D96B3B; }
button.hp-btn-ghost { font-family: var(--sans); }

/* 诊断二维码：仅桌面端显示（手机端直接打开表单） */
.hp-diag-qr { display: none; margin-top: 22px; }
.hp-diag-qr img {
  display: block;
  height: 230px;
  width: auto;
  border: 1px solid #E4E1DA;
  border-radius: 10px;
  padding: 8px;
  background: #ffffff;
}
.hp-qr-note {
  font-size: 13px;
  color: #8B8B85;
  margin-top: 8px;
}
@media (min-width: 761px) {
  .hp-diag-qr { display: block; }
}

/* 5｜问题横向滑轨：手动滑动，禁止自动滚动 */
.hp-qtrack {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scroll-behavior: auto;
  padding: 4px 0 14px;
}
.hp-qcard {
  flex: 0 0 82%;
  max-width: 340px;
  scroll-snap-align: start;
  background: #ffffff;
  border: 1px solid #E4E1DA;
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hp-qid {
  font-family: var(--mono);
  font-size: 12px;
  color: #8B8B85;
  letter-spacing: 0.1em;
}
.hp-qtext {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.65;
  color: #222222;
}
.hp-qstatus {
  display: inline-block;
  align-self: flex-start;
  font-size: 13px;
  color: #6B6B66;
  border: 1px solid #E4E1DA;
  border-radius: 999px;
  padding: 2px 12px;
}
.hp-qfb {
  font-size: 14px;
  color: #D96B3B;
  text-decoration: none;
  border: none;
  margin-top: auto;
}
.hp-qfb:hover { text-decoration: underline; }
.hp-qscrollhint {
  font-size: 13px;
  color: #8B8B85;
}

/* 查看更多 */
.hp-qmore-actions { margin-top: 6px; }
.hp-qmore-list {
  list-style: none;
  margin-top: 18px;
  border-top: 1px solid #E4E1DA;
}
.hp-qmore-list li {
  border-bottom: 1px solid #E4E1DA;
  padding: 13px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  align-items: baseline;
  justify-content: space-between;
}
.hp-qmore-list .hp-qtext { font-size: 16px; font-weight: 500; }
.hp-qmore-list .hp-qfb { margin-top: 0; }

/* 用户反馈区 */
.hp-feedback {
  margin-top: 34px;
  background: #EFEDE7;
  border-radius: 14px;
  padding: 24px;
}
.hp-fb-title { font-size: 19px; font-weight: 600; color: #222222; }
.hp-fb-hint { margin-top: 10px; color: #222222; }
.hp-fb-note { font-size: 13px; color: #8B8B85; margin-top: 4px; }
.hp-feedback .hp-btn-ghost { margin-top: 16px; }

/* 6｜专题研究 */
.hp-pub-list {
  list-style: none;
  border-top: 1px solid #E4E1DA;
}
.hp-pub-list li {
  border-bottom: 1px solid #E4E1DA;
  padding: 16px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  align-items: baseline;
  justify-content: space-between;
}
.hp-pub-title { font-size: 17px; font-weight: 600; color: #222222; }
.hp-pub-list a.hp-pub-title { border-bottom: 1px solid #E4E1DA; }
.hp-pub-list a.hp-pub-title:hover { color: #D96B3B; border-bottom-color: #D96B3B; }
.hp-pub-status {
  font-size: 13px;
  color: #8B8B85;
  white-space: nowrap;
}
.hp-pub-more { margin-top: 18px; }
.hp-pub-more a { color: #6B6B66; }

/* 7｜交流与合作：三个标签，不要求点击展开 */
.hp-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.hp-tags li {
  background: #ffffff;
  border: 1px solid #E4E1DA;
  border-radius: 999px;
  padding: 6px 18px;
  font-size: 15px;
  font-weight: 600;
  color: #222222;
}

.hp-contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}
@media (min-width: 700px) {
  .hp-contact { grid-template-columns: repeat(3, 1fr); }
}
.hp-contact-label { font-size: 15px; font-weight: 700; color: #222222; }
.hp-contact-id {
  font-size: 15px;
  color: #222222;
  margin-top: 6px;
}
.hp-contact-note { font-size: 13px; color: #8B8B85; margin-top: 6px; }
/* 二维码：两张同规格；保留完整白边，不裁主体，不做圆形/阴影 */
.hp-qr {
  display: block;
  margin-top: 12px;
  width: 160px;
  height: auto;
  border: 1px solid #E4E1DA;
  border-radius: 8px;
  padding: 6px;
  background: #ffffff;
  image-rendering: -webkit-optimize-contrast;
}
@media (min-width: 700px) {
  .hp-qr { width: 180px; }
}
.hp-mailto { color: #222222; border-bottom: 1px solid #E4E1DA; }
.hp-mailto:hover { color: #D96B3B; border-bottom-color: #D96B3B; }

/* ============================================================
   V0.2.0-RC2 增补 —— 轻分隔线（仅分区，不装饰）
   分隔线：1px #E6E1D8；暖橙短线 32px×3px #D96B3B
   应用于 6 个板块；首屏不加装饰；不碰卡片/按钮/字号/主色
   ============================================================ */
.home-v2 section + section {
  border-top: 1px solid #E6E1D8;
  padding-top: 56px;
}
.home-v2 section + section h2 {
  position: relative;
  padding-top: 16px;
}
.home-v2 section + section h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 32px;
  height: 3px;
  background: #D96B3B;
  border-radius: 2px;
}

/* ============================================================
   V0.2.0-RC2 增补 —— 页内反馈表单
   ============================================================ */
.hp-fb-panel {
  margin-top: 18px;
  background: #ffffff;
  border: 1px solid #E4E1DA;
  border-radius: 14px;
  padding: 24px;
}
.hp-fb-row { margin-top: 14px; }
.hp-fb-row:first-child { margin-top: 0; }
.hp-fb-row label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #222222;
  margin-bottom: 6px;
}
.hp-req {
  font-size: 12px;
  color: #D96B3B;
  font-weight: 500;
}
.hp-fb-panel textarea,
.hp-fb-panel input[type="text"] {
  width: 100%;
  border: 1px solid #E4E1DA;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 15px;
  font-family: var(--sans);
  color: #222222;
  background: #F7F6F2;
  resize: vertical;
}
.hp-fb-panel textarea:focus,
.hp-fb-panel input[type="text"]:focus {
  outline: none;
  border-color: #D96B3B;
}
.hp-fb-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.hp-fb-panel .hp-btn,
.hp-fb-panel .hp-btn-ghost { margin-top: 0; height: 44px; }
.hp-fb-status {
  font-size: 14px;
  margin-top: 12px;
  min-height: 1em;
}
.hp-fb-status:empty { margin-top: 0; }
.hp-fb-ok { color: #2E7D4F; }
.hp-fb-err { color: #C0392B; }

/* 问题卡操作区：认领按钮 + 工具链接 */
.hp-qactions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: baseline;
  margin-top: auto;
}
.hp-qfb {
  background: none;
  border: none;
  padding: 0;
  font-family: var(--sans);
  font-size: 14px;
  color: #D96B3B;
  cursor: pointer;
  text-align: left;
}
.hp-qfb:hover { text-decoration: underline; }
.hp-qtool {
  font-size: 14px;
  color: #222222;
  border-bottom: 1px solid #E4E1DA;
}
.hp-qtool:hover { color: #D96B3B; border-bottom-color: #D96B3B; }
.hp-qmore-list .hp-qactions { margin-top: 0; }

/* 减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
  .hp-btn, .hp-btn-ghost { transition: none; }
}
