/*
 * 北京交友安全观察 · 北京内容站
 * 设计风格：暖色内容站 · 安全提示 · CTA 披露卡片
 * 参考：之禾 ICICLE · 上下 Shang Xia · The Temple House
 * 主色：#f7f4ef 暖白 / #b89a4e 古金 / #1c1814 暖黑
 */

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

body {
  background-color: #fcfbf9;
  background-image: repeating-linear-gradient(90deg, rgba(28,24,20,0.04) 0, rgba(28,24,20,0.04) 1px, transparent 1px, transparent 88px);
  color: #1c1814;
  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:        #fcfbf9;
  --bg-alt:    #fcfbf9;
  --bg-dark:   #1c1814;
  --gold:      #b89a4e;
  --gold-light:#d4b96a;
  --accent:      #c0392b;
  --accent-soft: #fbe7e3;
  --accent-border:#e6b3ad;
  --ink:       #1c1814;
  --ink-light: #4a4038;
  --ink-muted: #9c8f82;
  --ink-faint: #c8bdb4;
  --border:    #e2dbd0;
  --border-dark:#2e2620;
  --white:     #ffffff;
  --teal:      #0f766e;
  --teal-soft: #dff6ef;
  --teal-border:#95d5c8;
  --danger:    #9f3a2f;
  /* CTA 橙色(更显眼) */
  --cta:        #e07b2a;
  --cta-dark:   #c2641a;
  --cta-soft:   #fdf1e4;
  --cta-border: #f0c79a;
  --cta-ink:    #b35a16;
  /* 深色背景上的文字色 */
  --on-dark:       rgba(247,244,239,0.88);
  --on-dark-muted: rgba(247,244,239,0.55);
  --on-dark-faint: rgba(247,244,239,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-image: repeating-linear-gradient(90deg, rgba(184,154,78,0.07) 0, rgba(184,154,78,0.07) 1px, transparent 1px, transparent 88px);
  background-position: 44px 0;
}

/* ─── 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: #f7f4ef;
  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(184, 154, 78, 0.14);
  transform: translateY(-3px);
  border-color: rgba(184, 154, 78, 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(247, 244, 239, 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: #f7f4ef; }
.nav-links a.btn-dark:hover { color: #f7f4ef; }

.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: #fbfaf7;
}

.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(--teal);
  border-bottom: 1px solid rgba(15, 118, 110, 0.24);
}

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

/* ─── 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: 44px;
}

.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: 44px;
}

.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(--teal);
  border-bottom: 1px solid transparent;
}

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

.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(--teal);
}

/* ─── 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: #fbfaf7;
  color: var(--ink-light);
  font-size: 14px;
  line-height: 1.45;
  cursor: pointer;
}

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

.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(--teal-border);
  border-radius: 4px;
  background: #f5fffc;
  padding: 26px;
}

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

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

.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: #fbfaf7;
  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(--teal);
  border-radius: 4px;
  background: #f5fffc;
  padding: 22px 24px;
}

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

.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(--teal);
}

/* ─── 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(28,24,20,0), rgba(28,24,20,0.86));
}

.hero-image-overlay .t-label {
  color: var(--teal-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: #fff8ec;
  border: 1px solid #ead4a0;
  border-left: 3px solid var(--gold);
  border-radius: 4px;
  color: var(--ink-light);
  font-size: 14px;
  line-height: 1.9;
  padding: 18px 20px;
}

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

.check-card {
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.check-num {
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", SimSun, serif;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--gold);
}

.check-tag {
  font-size: 12px;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: 999px;
  padding: 3px 12px;
  line-height: 1.6;
}

.check-card h3 { margin-top: 2px; }
.check-card .t-small { line-height: 1.9; }

.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), #fff7ee);
  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; }
  .check-grid,
  .keyword-grid,
  .article-grid,
  .plan-grid { grid-template-columns: 1fr; }
  .check-card,
  .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: #fbfaf7; }
.article-table tbody tr:hover { background: #fff8ec; }
.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(28, 24, 20, 0.07);
}

/* 元信息(作者/日期)做成胶囊 */
.trust-meta span {
  background: #fbfaf7;
  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; }
}


/* ─── 第一屏统一升级(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-color: transparent;
  background-image: repeating-linear-gradient(90deg, rgba(28,24,20,0.045) 0, rgba(28,24,20,0.045) 1px, transparent 1px, transparent 88px);
  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; }
}


/* ════════════════════════════════════════════════════════════
   内容呈现增强组件 — 行内强调 / 分型提示块 / 任务清单 / 卡片网格
   仅用全站通用 token(--gold/--ink/--ink-light/--ink-muted/--border/
   --white/--danger/--bg-alt)+ color-mix,软色自动跟随本城主色,22 城通用。
   用法与节制原则见 STANDARDS.md「§ 正文呈现规范」。少量使用,服务可读性。
   ════════════════════════════════════════════════════════════ */

/* ── 行内强调:加粗=关键结论/重要条件;着重=轻量补充/英文术语;
      下划线=易漏条件(波浪金线,区别于内链);高亮=临界点/盲区 ── */
.article-body strong { font-weight: 700; color: var(--ink); }
.article-body em { font-style: italic; color: var(--ink); }
.article-body u {
  text-decoration: underline wavy color-mix(in srgb, var(--gold) 70%, var(--white));
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
.article-body mark {
  background: color-mix(in srgb, var(--gold) 22%, var(--white));
  color: var(--ink);
  padding: 0 3px;
  border-radius: 2px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ── 分型提示块:在既有 .article-callout 上加 is-info / is-warn / is-tip;
      首行可放 <span class="callout-label">提示</span> 作小标签 ── */
.article-callout { display: grid; gap: 6px; }
.article-callout .callout-label {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.4;
}
.article-callout.is-info { border-left-color: var(--ink-muted); background: var(--bg-alt); }
.article-callout.is-info .callout-label { color: var(--ink-light); }
.article-callout.is-warn { border-left-color: var(--danger); background: color-mix(in srgb, var(--danger) 8%, var(--white)); }
.article-callout.is-warn .callout-label { color: var(--danger); }
.article-callout.is-tip { border-left-color: var(--gold); background: color-mix(in srgb, var(--gold) 11%, var(--white)); }
.article-callout.is-tip .callout-label { color: var(--gold); }

/* ── 任务清单:方框勾选,用于办理材料 / 自检清单 / 发布前 checklist;
      已完成项给 <li class="done"> 显示金底白勾 ── */
.article-body ul.checklist { display: grid; gap: 11px; }
.article-body ul.checklist > li { padding-left: 30px; }
.article-body ul.checklist > li::before {
  content: "";
  left: 1px;
  top: 0.34em;
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--gold);
  border-radius: 3px;
  background: var(--white);
}
.article-body ul.checklist > li.done::before { background: var(--gold); }
.article-body ul.checklist > li.done::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 0.5em;
  width: 4px;
  height: 8px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* ── 卡片网格:首屏摘要 / 并列方案,每张 <div class="a-card"> 一标题一句话 ── */
.article-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 4px 0;
}
.article-cards .a-card {
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: 4px;
  background: var(--white);
  padding: 18px 20px;
  display: grid;
  gap: 6px;
  align-content: start;
}
.article-cards .a-card h4 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
}
.article-cards .a-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-light);
}
@media (max-width: 600px) {
  .article-cards { grid-template-columns: 1fr; }
}
