/**
 * HormLab Portal · 内页通用样式（faq / privacy / agreement 等共用）
 */

/* 页头 */
.page-hero-h1 { font-size: clamp(30px, 4.6vw, 44px); font-weight: 800; line-height: 1.25; margin: 18px 0 16px; letter-spacing: -1px; color: #fff; }
.page-hero-h1 .accent {
  background: var(--gradient-gold);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.page-hero .section-lead { color: var(--text-white-soft); font-size: 16px; margin-top: 14px; }
.page-hero .section-eyebrow {
  background: rgba(212,162,78,.12); border-color: rgba(212,162,78,.35); color: var(--gold-light);
}

/* FAQ 分组 */
.faq-group-title {
  font-size: 21px; font-weight: 800; margin: 40px 0 18px;
  padding-bottom: 12px; border-bottom: 2px solid var(--border-light);
}
.faq-group-title:first-of-type { margin-top: 0; }

.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--r-md);
  overflow: hidden; transition: border-color .2s ease;
}
.faq-item:hover { border-color: rgba(212,162,78,.4); }
.faq-item summary {
  padding: 16px 20px; font-size: 15px; font-weight: 600; cursor: pointer;
  list-style: none; position: relative; padding-right: 44px; user-select: none;
  line-height: 1.55;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 20px; font-weight: 300; color: var(--gold); transition: transform .25s ease;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { padding: 0 20px 18px; font-size: 14px; color: var(--text-mid); line-height: 1.8; margin: 0; }
.faq-item p a { color: var(--primary-blue); font-weight: 500; }
.faq-item p a:hover { text-decoration: underline; }

.faq-more { text-align: center; margin-top: 48px; }
.faq-more p { font-size: 15px; color: var(--text-light); margin-bottom: 18px; }

/* 法律文档页（privacy / agreement） */
.legal-body { max-width: 780px; margin: 0 auto; }
.legal-meta {
  display: flex; gap: 16px; flex-wrap: wrap; align-items: center;
  font-size: 13px; color: var(--text-light); margin-bottom: 32px;
  padding-bottom: 18px; border-bottom: 1px solid var(--border-light);
}
.legal-body h2 {
  font-size: 20px; font-weight: 700; margin: 36px 0 14px;
  color: var(--text-dark);
}
.legal-body h2:first-of-type { margin-top: 8px; }
.legal-body h3 { font-size: 16px; font-weight: 700; margin: 22px 0 10px; }
.legal-body p, .legal-body li {
  font-size: 14.5px; color: var(--text-mid); line-height: 1.9; margin: 0 0 10px;
}
.legal-body ul, .legal-body ol { padding-left: 22px; margin-bottom: 14px; }
.legal-body strong { color: var(--text-dark); }
.legal-note {
  background: var(--bg-light); border-left: 3px solid var(--gold);
  padding: 14px 18px; border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: 13.5px; color: var(--text-mid); margin: 18px 0;
}

.container-narrow { max-width: 820px; }

@media (prefers-reduced-motion: reduce) {
  .faq-item { transition: none; }
}
