/*
 * 西安交友安全观察 · 西安内容站
 * 设计风格：唐风鎏金 · 兵马俑陶土 · 安全提示 · CTA 披露卡片
 * 主色：#f6ecd9 暖象牙 / #3a2a1e 趟栊木褐 / #c2933c 琥珀赭金 / #a8402c 木棉朱(来源·内链暖强调)
 * CTA：#2566a8 钴蓝 —— 与全站暖色刻意相反的唯一冷色高亮块(颜色对搜索引擎不可见,纯为转化)。
 * 与北京(暖白+古金+暖黑)、上海(酒红胭脂)在配色族、Hero、卡片、分隔、页脚布局上完全区分。
 */

/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: #f6ecd9;
  color: #3a2a1e;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-weight:400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: color 0.2s; }
img { display: block; max-width: 100%; }

/* ─── Color Tokens ─── */
:root {
  --bg:        #faf6ec;
  --bg-alt:    #f6f0e0;
  --bg-dark:   #34233a;
  --gold:      #c2933c;
  --gold-light:#d2a957;
  --ink:       #3a2a1e;
  --ink-light: #50443a;
  --ink-muted: #948674;
  --ink-faint: #cabeae;
  --border:    #e6dbc7;
  --border-dark:#4c3550;
  --white:     #ffffff;
  --accent:      #b85a2c;
  --accent-soft: #f9e6dd;
  --accent-border:#e6bda8;
  --danger:    #9a3326;
  /* CTA 钴蓝:暖木褐/木棉朱的互补冷色,全站唯一冷色高亮块,最大化转化醒目度
     (颜色对搜索引擎不可见,纯为用户转化;只让 CTA 用此冷色,正文其余装饰保持暖色族) */
  --cta:        #2566a8;
  --cta-dark:   #1c4f86;
  --cta-soft:   #e4edf6;
  --cta-border: #a8c5e2;
  --cta-ink:    #1f5288;
  /* 深色背景上的文字色 */
  --on-dark:       rgba(246, 241, 230,0.88);
  --on-dark-muted: rgba(246, 241, 230,0.55);
  --on-dark-faint: rgba(246, 241, 230,0.32);
}

/* ─── Typography ─── */
.t-label {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 12px;
  font-weight:400;
  letter-spacing: 0;
  color: var(--gold);
  text-transform: uppercase;
  display: block;
}

.t-hero {
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", SimSun, serif;
  font-weight:400;
  font-size: clamp(2.25rem, 5.5vw, 4.5rem);
  line-height: 1.25;
  letter-spacing: 0;
  color: var(--ink);
}

.t-h2 {
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", SimSun, serif;
  font-weight:400;
  font-size: clamp(1.625rem, 3vw, 2.5rem);
  line-height: 1.4;
  letter-spacing: 0;
  color: var(--ink);
}

.t-h3 {
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", SimSun, serif;
  font-weight: 400;
  font-size: 1.0625rem;
  letter-spacing: 0;
  color: var(--ink);
  line-height: 1.5;
}

.t-body {
  font-size: 16px;
  font-weight:400;
  line-height: 1.95;
  letter-spacing: 0;
  color: var(--ink-light);
}

.t-small {
  font-size: 14px;
  font-weight:400;
  letter-spacing: 0;
  color: var(--ink-muted);
  line-height: 1.85;
}

.t-num {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  color: var(--gold);
}

/* ─── Layout ─── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 40px;
}

.section      { padding: 72px 0; border-top: 1px solid var(--border); }
.section-sm   { padding: 48px 0; border-top: 1px solid var(--border); }
.section-dark { background: var(--bg-dark); }
.section-alt  { background: var(--bg-alt); }

/* ─── Dividers ─── */
.divider {
  width: 32px;
  height: 1px;
  background: var(--gold);
  display: block;
}

.divider-full {
  width: 100%;
  height: 1px;
  background: var(--border);
  display: block;
}

/* ─── Buttons ─── */
.btn-dark {
  display: inline-block;
  padding: 14px 32px;
  background: var(--ink);
  color: #f6ecd9;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
  white-space: nowrap;
  text-align: center;
}
.btn-dark:hover {
  background: var(--gold);
  letter-spacing: 0;
}

.btn-outline {
  display: inline-block;
  padding: 13px 32px;
  background: transparent;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  font-weight:400;
  letter-spacing: 0;
  border-radius: 2px;
  border: 1px solid var(--ink);
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
  white-space: nowrap;
  text-align: center;
}
.btn-outline:hover {
  background: var(--ink);
  color: var(--bg);
}

.btn-gold-text {
  font-size: 14px;
  font-weight:400;
  letter-spacing: 0;
  color: var(--gold);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
  display: inline-block;
}
.btn-gold-text:hover { border-color: var(--gold); }

/* ─── Card ─── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: box-shadow 0.4s ease, transform 0.4s ease, border-color 0.4s ease;
}
.card:hover {
  box-shadow: 0 12px 36px rgba(181, 138, 58, 0.14);
  transform: translateY(-3px);
  border-color: rgba(181, 138, 58, 0.45);
}

.card-dark {
  background: var(--bg-dark);
  border-radius: 4px;
}

.card-gold {
  background: var(--gold);
  border-radius: 4px;
}

/* ─── NAV ─── */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 241, 230, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-logo-text {
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", SimSun, serif;
  font-weight: 400;
  font-size: 17px;
  letter-spacing: 0;
  color: var(--ink);
}

.nav-sep {
  width: 1px;
  height: 15px;
  background: var(--ink-faint);
}

.nav-city {
  font-size: 14px;
  font-weight:400;
  letter-spacing: 0;
  color: var(--ink-muted);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight:400;
  letter-spacing: 0;
  color: var(--ink-light);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.btn-dark { color: #f6ecd9; }
.nav-links a.btn-dark:hover { color: #f6ecd9; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--ink);
}

.nav-mobile {
  display: none;
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 24px 0;
}

.nav-mobile.is-open { display: block; }

.nav-mobile-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.nav-mobile-links a {
  font-size: 14px;
  font-weight:400;
  letter-spacing: 0;
  color: var(--ink-light);
}

/* ─── HERO ─── */
.hero {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 64px;
}

.hero-eyebrow  { margin-bottom: 32px; }
.hero-title    { margin-bottom: 24px; }
.hero-title span { position: relative; padding-left: 18px; display: inline-block; margin-top: 4px; }
.hero-title span::before { content: ''; position: absolute; left: 0; top: 12%; bottom: 12%; width: 1px; background: var(--gold); }
.hero-divider  { margin-bottom: 24px; }
.hero-body     { margin-bottom: 40px; max-width: 42ch; }
.hero-cta      { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-footnote { margin-top: 24px; }

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-card-main { overflow: hidden; }

.hero-card-main .profile-img {
  height: 300px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-card-main .profile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card-main-body {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 20px 24px;
}

.stat-card-dark {
  background: var(--bg-dark);
  border-radius: 4px;
  padding: 20px 24px;
}

/* ─── TRUST STRIP ─── */
.trust-strip {
  background: var(--bg-dark);
  padding: 48px 0;
  border-bottom: 1px solid var(--border-dark);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  text-align: center;
  padding: 0 24px;
  border-right: 1px solid var(--border-dark);
}
.trust-item:last-child { border-right: none; }

.trust-num {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 2.25rem;
  color: var(--gold);
  line-height: 1;
  display: inline-block;
  margin-bottom: 16px;
  position: relative;
}
.trust-num::after { content: ''; position: absolute; left: 50%; transform: translateX(-50%); bottom: -8px; width: 24px; height: 1px; background: var(--gold); opacity: 0.7; }

.editorial-strip {
  background: #fbf5e9;
}

.editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.86fr);
  gap: 24px;
  align-items: center;
}

.editorial-grid .t-label {
  margin-bottom: 10px;
}

.source-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  justify-content: flex-end;
  color: var(--ink-muted);
  font-size: 13px;
  line-height: 1.7;
}

.source-mini span {
  color: var(--ink-light);
}

.source-mini a {
  color: var(--accent);
  border-bottom: 1px solid rgba(168, 64, 44, 0.24);
}

.source-mini a:hover {
  border-color: var(--accent);
}

/* ─── ABOUT ─── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-feature-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.about-feature-item:first-child { border-top: 1px solid var(--border); }

.about-feature-num {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 1.375rem;
  color: var(--gold);
  line-height: 1;
  padding-top: 3px;
  flex-shrink: 0;
  width: 28px;
}

/* ─── SERVICES ─── */
.services-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 56px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-bottom: 2px;
}

.service-card { padding: 40px 32px; }

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 24px;
}

.service-vip {
  background: var(--gold);
  border-radius: 4px;
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

/* ─── PROFILES ─── */
.profiles-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
}

.profiles-bento {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}

.profile-card-tall { grid-row: span 2; overflow: hidden; }

.profile-img {
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.profile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-img-placeholder {
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", SimSun, serif;
  font-weight:400;
  font-size: 2.5rem;
  color: var(--ink-faint);
}

.profile-card-body { padding: 20px 24px; }

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.profile-tag {
  font-size: 14px;
  font-weight:400;
  letter-spacing: 0;
  color: var(--ink-light);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 2px;
}

.profiles-cta-bar {
  margin-top: 16px;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 24px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--white);
}

/* ─── REGISTER CTA ─── */
.register-cta { text-align: center; }
.register-cta-inner { max-width: 580px; margin: 0 auto; }
.register-cta .divider { margin: 0 auto 32px; }

/* ─── BLOG ─── */
.blog-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
}

.blog-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  margin-bottom: 16px;
}

.blog-featured-img {
  min-height: 240px;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-featured-body {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.blog-card { padding: 32px; }

/* ─── Trust Pages ─── */
.trust-page {
  padding: 72px 0;
}

.trust-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) 280px;
  gap: 72px;
  align-items: start;
}

.trust-article {
  max-width: 760px;
}

.trust-article h1 {
  margin: 16px 0 24px;
}

.trust-article h2 {
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", SimSun, serif;
  font-size: 1.5rem;
  font-weight:400;
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--ink);
  margin: 44px 0 16px;
}

.trust-article h3 {
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", SimSun, serif;
  font-size: 1.08rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--ink);
  margin: 28px 0 10px;
}

.trust-article p,
.trust-article li {
  font-size: 16px;
  line-height: 1.95;
  letter-spacing: 0;
  color: var(--ink-light);
}

.trust-article ul,
.trust-article ol {
  padding-left: 1.2em;
  margin: 12px 0 24px;
}

.trust-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 0 0 28px;
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 1.8;
}

.source-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.source-item {
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 4px;
  padding: 18px 20px;
}

.source-item a {
  color: var(--accent);
  border-bottom: 1px solid transparent;
}

.source-item a:hover {
  border-color: var(--accent);
}

.trust-side {
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 4px;
  padding: 24px;
  position: sticky;
  top: 96px;
}

.trust-side ul {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.trust-side a {
  color: var(--ink-light);
  font-size: 14px;
  line-height: 1.7;
}

.trust-side a:hover {
  color: var(--accent);
}

/* ─── Risk Tool ─── */
.tool-page {
  padding: 64px 0 80px;
}

.tool-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.55fr);
  gap: 56px;
  align-items: start;
  margin-bottom: 56px;
}

.tool-hero-card {
  padding: 28px;
  background: var(--white);
}

.tool-hero-card img {
  border-radius: 4px;
  border: 1px solid var(--border);
  margin-bottom: 20px;
}

.tool-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.38fr);
  gap: 36px;
  align-items: start;
}

.risk-tool {
  padding: 34px;
}

.tool-question {
  border: 0;
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}

.tool-question:first-child {
  padding-top: 0;
}

.tool-question:last-of-type {
  border-bottom: 0;
}

.tool-question legend {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 16px;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.choice-grid label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #fbf5e9;
  color: var(--ink-light);
  font-size: 14px;
  line-height: 1.45;
  cursor: pointer;
}

.choice-grid input {
  accent-color: var(--accent);
}

.tool-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
}

.tool-hint {
  color: var(--danger);
  font-size: 14px;
}

.risk-result {
  margin-top: 28px;
  border: 1px solid var(--accent-border);
  border-radius: 4px;
  background: #fbeeea;
  padding: 26px;
}

.risk-result.is-muted {
  border-color: var(--border);
  background: #fbf5e9;
}

.risk-score {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 10px 0 12px;
  color: var(--accent);
}

.risk-score strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.25rem;
  line-height: 1;
}

.result-actions {
  margin: 18px 0 0 18px;
  color: var(--ink-light);
  font-size: 14px;
  line-height: 1.85;
}

.result-cta {
  margin-top: 22px;
}

.is-hidden {
  display: none !important;
}

.tool-side-card {
  padding: 24px;
  position: sticky;
  top: 96px;
}

.tool-side-card ul {
  margin: 16px 0 0 18px;
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 1.85;
}

.tool-source {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

/* ─── Longform Articles ─── */
.article-page {
  padding: 64px 0 88px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.34fr);
  gap: 44px;
  align-items: start;
}

.article-main {
  max-width: 820px;
  min-width: 0;
}

.article-main > .t-hero,
.tool-hero .t-hero,
.hero-title {
  overflow-wrap: anywhere;
  word-break: break-all;
  white-space: normal;
}

.article-hero-image {
  margin: 36px 0;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  background: var(--white);
}

.article-hero-image img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.article-body {
  display: grid;
  gap: 28px;
}

.article-body h2 {
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", SimSun, serif;
  font-size: 1.5rem;
  font-weight:400;
  letter-spacing: 0;
  line-height: 1.45;
  color: var(--ink);
  padding-top: 10px;
}

.article-body h3 {
  font-size: 1.08rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink);
}

.article-body p,
.article-body li {
  color: var(--ink-light);
  font-size: 16px;
  line-height: 1.98;
  letter-spacing: 0;
}

.article-body ul,
.article-body ol {
  padding-left: 1.25em;
  display: grid;
  gap: 8px;
}

.article-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--white);
}

.article-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.article-table th,
.article-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
  color: var(--ink-light);
  font-size: 14px;
  line-height: 1.8;
}

.article-table th {
  color: var(--ink);
  background: #fbf5e9;
  font-weight: 400;
}

.article-table tr:last-child td {
  border-bottom: 0;
}

.article-callout,
.source-box {
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  background: #fbeeea;
  padding: 22px 24px;
}

.source-box {
  border-left-color: var(--gold);
  background: #fbf2df;
}

.article-quote {
  border-left: 3px solid var(--gold);
  padding: 8px 0 8px 22px;
  color: var(--ink-light);
  font-size: 16px;
  line-height: 1.95;
  background: transparent;
}

.article-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 16px;
  min-width: 0;
}

.article-sidebar-card {
  padding: 22px;
}

.article-sidebar-card ul {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.article-sidebar-card a {
  color: var(--ink-light);
  font-size: 14px;
  line-height: 1.7;
}

.article-sidebar-card a:hover {
  color: var(--accent);
}

/* ─── Safety Content Site ─── */
.hero-visual-safe {
  gap: 18px;
}

.hero-image-card {
  position: relative;
  overflow: hidden;
  min-height: 380px;
}

.hero-image-card img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  filter: saturate(0.82) contrast(0.95);
}

.hero-image-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px;
  color: var(--bg);
  background: linear-gradient(180deg, rgba(58, 42, 30,0), rgba(58, 42, 30,0.86));
}

.hero-image-overlay .t-label {
  color: var(--accent-soft);
  margin-bottom: 10px;
}

.hero-image-overlay p {
  max-width: 28ch;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", SimSun, serif;
  font-size: 1.2rem;
  line-height: 1.7;
  letter-spacing: 0;
}

.hero-risk-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 20px 24px;
  color: var(--ink-muted);
  font-size: 14px;
  letter-spacing: 0;
  line-height: 1.85;
}

.safe-note {
  background: #fbf2df;
  border: 1px solid #e7cd9a;
  border-left: 3px solid var(--gold);
  border-radius: 4px;
  color: var(--ink-light);
  font-size: 14px;
  line-height: 1.9;
  padding: 18px 20px;
}

.keyword-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.keyword-card {
  padding: 28px;
  min-height: 230px;
}

.keyword-card .t-label,
.article-card .t-label,
.plan-card .t-label {
  margin-bottom: 14px;
}

.keyword-card h3,
.article-card h3,
.plan-card h3 {
  margin-bottom: 14px;
}

.article-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.article-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.article-card .t-small {
  line-height: 1.9;
}

.planned-link {
  display: inline-block;
  margin-top: auto;
  color: var(--ink-muted);
  font-size: 13px;
  letter-spacing: 0;
}

.inline-cta {
  margin-top: 10px;
  background: linear-gradient(135deg, var(--cta-soft), #eef4fb);
  border: 1px solid var(--cta-border);
  border-radius: 4px;
  padding: 22px;
}

.cta-eyebrow {
  display: block;
  color: var(--cta-ink);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  margin-bottom: 10px;
}

.inline-cta h4 {
  color: var(--ink);
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", SimSun, serif;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  margin-bottom: 8px;
}

.inline-cta p {
  color: var(--ink-light);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.cta-button {
  display: inline-block;
  background: var(--cta);
  border: 1px solid var(--cta);
  border-radius: 2px;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  padding: 11px 18px;
  text-align: center;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.cta-button:hover {
  background: var(--cta-dark);
  border-color: var(--cta-dark);
  transform: translateY(-1px);
}

.cta-button-secondary {
  background: transparent;
  color: var(--cta-ink);
  border-color: var(--cta-border);
}

.cta-button-secondary:hover {
  background: var(--cta);
  border-color: var(--cta);
  color: #fff;
}

.cta-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.final-cta {
  margin-top: 24px;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.plan-card {
  padding: 28px;
  min-height: 250px;
}

.plan-month {
  display: inline-block;
  color: var(--danger);
  font-size: 13px;
  letter-spacing: 0;
  margin-bottom: 14px;
}

/* ─── CONTACT ─── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.contact-item {
  padding: 0 40px 0 0;
  border-right: 1px solid var(--border);
}
.contact-item:first-child { padding-left: 0; }
.contact-item:last-child { border-right: none; padding-left: 40px; padding-right: 0; }
.contact-item:nth-child(2) { padding: 0 40px; }

/* ─── FAQ ─── */
.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-q {
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", SimSun, serif;
  font-size: 1.0625rem;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--ink);
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: '+';
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 1.5rem;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
details[open] .faq-q { color: var(--gold); }
details[open] .faq-q::after { transform: rotate(45deg); }

.faq-a {
  padding: 0 0 24px;
  max-width: 62ch;
  line-height: 1.95;
  color: var(--ink-light);
}

/* ─── FOOTER ─── */
.footer {
  background: var(--bg-dark);
  padding: 64px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
  font-weight:400;
  color: var(--on-dark-muted);
  letter-spacing: 0;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1023px) {
  .container { padding: 0 28px; }
  .hero-grid { gap: 48px; }
  .about-grid { gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 767px) {
  html { font-size: 15px; }
  .container { padding: 0 20px; }
  .section    { padding: 48px 0; }
  .section-sm { padding: 36px 0; }

  /* Nav */
  .nav-links  { display: none; }
  .nav-toggle { display: block; }

  /* Hero */
  .hero { padding: 0; }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 40px;
    padding-bottom: 48px;
  }
  .hero-visual { display: none; }
  .hero-eyebrow { margin-bottom: 20px; }
  .hero-body { margin-bottom: 32px; }
  .hero-cta { flex-direction: column; gap: 12px; }
  .hero-cta .btn-dark,
  .hero-cta .btn-outline { width: 100%; padding: 16px 20px; text-align: center; }

  /* Trust */
  .trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  .trust-item {
    border-right: none;
    border-bottom: 1px solid var(--border-dark);
    padding: 20px 16px;
  }
  .trust-item:nth-child(odd)  { border-right: 1px solid var(--border-dark); }
  .trust-item:nth-child(3),
  .trust-item:nth-child(4)    { border-bottom: none; }
  .editorial-grid { grid-template-columns: 1fr; gap: 18px; }
  .source-mini { justify-content: flex-start; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 40px; }

  /* Services */
  .services-header { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 32px; }
  .services-grid { grid-template-columns: 1fr; gap: 2px; }
  .service-card { padding: 28px 24px; }
  .service-vip { flex-direction: column; align-items: flex-start; padding: 28px 24px; gap: 24px; }
  .service-vip .btn-dark { width: 100%; text-align: center; }

  /* Profiles */
  .profiles-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .profiles-bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .profile-card-tall { grid-row: span 1; }
  .profiles-cta-bar {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
  }
  .profiles-cta-bar .btn-dark { width: 100%; text-align: center; }

  /* Blog */
  .blog-header { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 32px; }
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured-img { min-height: 140px; }
  .blog-featured-body { padding: 24px; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card { padding: 24px; }

  /* Safety Content */
  .hero-image-card,
  .hero-image-card img { min-height: 280px; height: 280px; }
  .hero-image-overlay { padding: 22px; }
  .hero-image-overlay p { font-size: 1.05rem; }
  .keyword-grid,
  .article-grid,
  .plan-grid { grid-template-columns: 1fr; }
  .keyword-card,
  .article-card,
  .plan-card { padding: 24px; min-height: auto; }
  .inline-cta { padding: 20px; }
  .cta-button,
  .cta-link-row .cta-button { width: 100%; }
  .trust-layout { grid-template-columns: 1fr; gap: 32px; }
  .trust-page { padding: 48px 0; }
  .trust-side { position: static; }
  .trust-article h1 { margin-top: 12px; }
  .tool-page { padding: 48px 0 64px; }
  .tool-hero,
  .tool-layout { grid-template-columns: 1fr; gap: 32px; }
  .tool-hero { margin-bottom: 36px; }
  .risk-tool,
  .tool-hero-card,
  .tool-side-card { padding: 24px; }
  .choice-grid { grid-template-columns: 1fr; }
  .tool-side-card { position: static; }
  .article-page { padding: 48px 0 72px; }
  .article-layout { grid-template-columns: 1fr; gap: 32px; }
  .article-sidebar { position: static; }
  .article-main { max-width: none; overflow-x: hidden; }
  .article-main > .t-hero,
  .tool-hero .t-hero { font-size: 1.8rem !important; line-height: 1.4; }
  .article-body h2 { font-size: 1.35rem; }
  .article-body p,
  .article-body li { font-size: 15px; }

  /* Register CTA */
  .register-cta-inner { padding: 0 4px; }
  .register-cta .btn-dark { width: 100%; }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .contact-item,
  .contact-item:last-child,
  .contact-item:nth-child(2) {
    padding: 0;
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding-bottom: 24px;
  }
  .contact-item:last-child { border-bottom: none; padding-bottom: 0; }

  /* Footer */
  .footer { padding: 48px 0 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  /* Buttons full width on mobile where needed */
  .about-cta .btn-dark { width: 100%; text-align: center; }
}

@media (max-width: 479px) {
  .profiles-bento { grid-template-columns: 1fr; }
  .hero-stats { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ─── Adult notice ─── */
.footer-adult{font-size:14px;color:var(--on-dark-faint);text-align:center;width:100%}

/* ─── Article body polish ─── */
/* 章节之间细金线分隔,呼吸感更强 */
.article-body > section + section {
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

/* H2 金色短标记 */
.article-body h2 {
  position: relative;
  padding-top: 2px;
  padding-left: 18px;
  margin-bottom: 16px;
}
.article-body h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 4px;
  height: 1.05em;
  background: var(--gold);
  border-radius: 2px;
}
.article-body h3 { margin-top: 10px; margin-bottom: 6px; }

/* 首段导语:略大、更深,作为阅读入口 */
.article-body > section:first-of-type > p:first-of-type {
  font-size: 17px;
  line-height: 1.95;
  color: var(--ink);
}

/* 正文内链:暖墨色 + 金色下划线 */
.article-body p a,
.article-body li a {
  color: var(--ink);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.article-body p a:hover,
.article-body li a:hover { color: var(--gold); }

/* 无序列表:金色圆点标记 */
.article-body ul {
  list-style: none;
  padding-left: 0;
  display: grid;
  gap: 10px;
}
.article-body ul > li {
  position: relative;
  padding-left: 22px;
}
.article-body ul > li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.78em;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

/* 有序列表:金圈序号 */
.article-body ol {
  list-style: none;
  padding-left: 0;
  counter-reset: step;
  display: grid;
  gap: 12px;
}
.article-body ol > li {
  position: relative;
  padding-left: 38px;
  counter-increment: step;
  min-height: 24px;
}
.article-body ol > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.05em;
  width: 24px;
  height: 24px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 13px;
  line-height: 22px;
  text-align: center;
}

/* 表格:斑马纹 + 金色表头线 + 悬停 + 首列加重 */
.article-table th {
  border-bottom: 2px solid var(--gold);
}
.article-table tbody tr:nth-child(even) { background: #fbf5e9; }
.article-table tbody tr:hover { background: #fbf2df; }
.article-table td:first-child { color: var(--ink); font-weight: 400; }

/* 引用:衬线、略大、暖色 */
.article-quote {
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", SimSun, serif;
  font-size: 1.15rem;
  line-height: 1.85;
  color: var(--ink);
  padding: 6px 0 6px 24px;
}

/* 配图:柔和暖阴影 */
.article-hero-image {
  box-shadow: 0 14px 36px rgba(58, 42, 30, 0.07);
}

/* 元信息(作者/日期)做成胶囊 */
.trust-meta span {
  background: #fbf5e9;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 12px;
}

@media (max-width: 767px) {
  .article-body > section:first-of-type > p:first-of-type { font-size: 16px; }
  .article-quote { font-size: 1.05rem; }
}

/* ─── 广州独有模块:三看一停 / 资金去向红绿灯 / 圈层速查 ─── */
/* 三看一停:在 about-grid 右栏用编号牌,左栏沿用 safe-note。复用 about-feature-item。 */
.check-stop-num {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 999px;
  width: 30px; height: 30px;
  line-height: 28px; text-align: center;
  flex-shrink: 0;
}
.check-stop-num.is-stop { color: var(--accent); border-color: var(--accent); }

/* 资金去向红绿灯 */
.fund-light-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.fund-lane {
  padding: 28px 26px;
  border-top: 3px solid var(--border);
}
.fund-lane.is-red    { border-top-color: var(--accent); }
.fund-lane.is-amber  { border-top-color: var(--gold); }
.fund-lane.is-green  { border-top-color: #3f7d4f; }
.fund-lane-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0;
  color: var(--ink-light);
  margin-bottom: 14px;
}
.fund-dot { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; }
.is-red .fund-dot   { background: var(--accent); }
.is-amber .fund-dot { background: var(--gold); }
.is-green .fund-dot { background: #3f7d4f; }
.fund-lane ul { list-style: none; display: grid; gap: 9px; margin-top: 6px; }
.fund-lane li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-light);
}
.fund-lane li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.72em;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--ink-faint);
}

/* 广州圈层与场景速查 */
.circle-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.circle-card { padding: 30px 28px; }
.circle-card .t-label { color: var(--accent); margin-bottom: 12px; }
.circle-card h3 { margin-bottom: 10px; }
.circle-watch {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink-muted);
}
.circle-watch strong { color: var(--accent); font-weight: 400; }

@media (max-width: 767px) {
  .fund-light-grid { grid-template-columns: 1fr; }
  .circle-grid { grid-template-columns: 1fr; }
  .fund-lane, .circle-card { padding: 24px; }
}

/* 首页文章卡:标题可点击(与"阅读XX"按钮同指向文章) */
.article-card h3 a { color: inherit; border: 0; transition: color 0.2s ease; }
.article-card h3 a:hover { color: var(--gold); }


/* ─── 第一屏统一升级(Header 印章+顶条 / Hero 母题渐变 / 页脚来源)— color-mix 跟随本城主色 ─── */
.nav-wrap{ position:sticky; top:0; z-index:50;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px);
  border-bottom:1px solid var(--border); }
.nav-wrap::before{ content:""; position:absolute; top:0; left:0; right:0; height:3px;
  background:linear-gradient(90deg, var(--accent) 0%, var(--gold) 100%); }
.nav-inner{ padding-top:15px; padding-bottom:15px; }
.nav-logo{ gap:12px; }
.nav-logo-mark{ display:inline-flex; align-items:center; justify-content:center;
  width:36px; height:36px; border-radius:8px; flex-shrink:0;
  background:var(--bg-dark); color:#fff;
  font-family:"Songti SC","STSong","Noto Serif CJK SC",serif; font-weight:700; font-size:20px; line-height:1;
  box-shadow:0 2px 8px rgba(0,0,0,.18); }
.nav-city{ border:1px solid var(--accent-border); color:var(--accent); border-radius:999px; padding:3px 11px; font-size:12px; }
.nav-sep{ display:none; }
.hero{
  background:
    radial-gradient(120% 80% at 88% 8%, color-mix(in srgb, var(--gold) 12%, transparent) 0%, transparent 45%),
    linear-gradient(162deg, color-mix(in srgb, var(--gold) 16%, var(--bg)) 0%, var(--bg) 46%, color-mix(in srgb, var(--accent) 12%, var(--bg)) 100%);
  box-shadow: inset 0 -1px var(--gold); border-bottom:none; }
.hero-grid{ padding-top:72px; padding-bottom:72px; }
.hero-title{ font-size:clamp(1.95rem,4.3vw,3.45rem); line-height:1.32; }
.hero-title span{ font-size:0.7em; color:var(--ink-light); margin-top:8px; }
.footer-sources{ border-top:1px solid var(--border-dark); padding-top:22px; margin-bottom:26px; }
.footer-sources a{ color:var(--on-dark); border-bottom:1px solid var(--gold); padding-bottom:1px; transition:color .2s ease; }
.footer-sources a:hover{ color:var(--gold); }
@media (max-width:767px){
  .nav-inner{ padding-top:13px; padding-bottom:13px; }
  .nav-city{ display:none; }
  .nav-logo{ gap:10px; }
  .nav-logo-mark{ width:34px; height:34px; font-size:19px; }
  .nav-logo-text{ font-size:15.5px; }
  .hero-title{ font-size:1.72rem; line-height:1.34; }
  .hero-title span{ font-size:0.78em; }
  .hero-grid{ padding-top:36px; padding-bottom:42px; }
}
