/* roulang page: index */
:root {
  --bg-primary: #F6F2EB;
  --bg-dark: #1E1B18;
  --bg-card: #FFFFFF;
  --text-primary: #1E1B18;
  --text-secondary: #5C5348;
  --accent: #8A1E2F;
  --accent-hover: #6C1422;
  --aux: #B08D57;
  --status-ok: #6B7A4F;
  --line: rgba(30,27,24,0.12);
  --shadow: 0 8px 24px rgba(30,20,10,0.06);
  --shadow-lg: 0 12px 32px rgba(30,20,10,0.1);
  --radius: 12px;
  --radius-btn: 4px;
  --container: 1200px;
  --header-h: 72px;
  --font-title: "Noto Serif SC", "Songti SC", "Source Han Serif SC", SimSun, serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); font-size: 16px; line-height: 1.8; color: var(--text-primary); background: var(--bg-primary); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.3s ease; }
ul, ol { list-style: none; }
button { font-family: inherit; border: none; background: none; cursor: pointer; }
input, textarea { font-family: inherit; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-label { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; letter-spacing: 0.08em; color: var(--accent); text-transform: uppercase; margin-bottom: 12px; }
.section-label::before { content: ""; width: 18px; height: 2px; background: var(--aux); }
.section-title { font-family: var(--font-title); font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; line-height: 1.35; color: var(--text-primary); margin-bottom: 16px; }
.section-desc { font-size: 16px; color: var(--text-secondary); max-width: 640px; line-height: 1.8; }
.section-head { margin-bottom: 48px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 28px; font-size: 15px; font-weight: 500; border-radius: var(--radius-btn); transition: all 0.3s ease; text-align: center; white-space: nowrap; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 2px 8px rgba(138,30,47,0.18); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(138,30,47,0.25); }
.btn-primary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn-light { background: #fff; color: var(--text-primary); box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.btn-light:hover { background: var(--bg-primary); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,0,0,0.12); }
.btn-outline-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.7); }
.btn-outline-light:hover { background: #fff; color: var(--text-primary); }
.btn-outline { background: transparent; color: var(--text-primary); border: 1px solid var(--text-primary); }
.btn-outline:hover { background: var(--text-primary); color: #fff; }
.btn-block { width: 100%; }
/* ===== Header ===== */
.site-header { position: sticky; top: 0; z-index: 100; height: var(--header-h); background: rgba(246,242,235,0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color 0.4s ease, box-shadow 0.4s ease; }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(30,20,10,0.04); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-badge { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; background: var(--accent); color: #fff; font-family: var(--font-title); font-size: 14px; font-weight: 700; border-radius: 6px; letter-spacing: 0.02em; }
.logo-name { font-family: var(--font-title); font-size: 17px; font-weight: 700; color: var(--text-primary); letter-spacing: 0.01em; white-space: nowrap; }
.seg-nav { display: flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.6); border: 1px solid var(--line); border-radius: 999px; padding: 4px; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }
.seg-nav::-webkit-scrollbar { display: none; }
.seg-item { display: inline-flex; align-items: center; padding: 8px 20px; font-size: 14px; font-weight: 500; color: var(--text-secondary); border-radius: 999px; transition: all 0.25s ease; white-space: nowrap; }
.seg-item:hover { color: var(--text-primary); background: rgba(255,255,255,0.8); }
.seg-item.active { background: var(--text-primary); color: #fff; box-shadow: 0 2px 8px rgba(30,27,24,0.15); }
.header-cta { padding: 10px 22px; font-size: 14px; flex-shrink: 0; }
/* ===== Hero ===== */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; background-image: linear-gradient(180deg, rgba(30,27,24,0.55) 0%, rgba(30,27,24,0.2) 60%, rgba(30,27,24,0.35) 100%), url('/assets/images/backpic/back-1.webp'); background-size: cover; background-position: center; color: #fff; overflow: hidden; }
.hero-content { position: relative; z-index: 2; max-width: 720px; padding: 60px 0; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; letter-spacing: 0.06em; color: rgba(255,255,255,0.85); background: rgba(255,255,255,0.12); backdrop-filter: blur(6px); padding: 6px 16px; border-radius: 999px; margin-bottom: 28px; border: 1px solid rgba(255,255,255,0.15); }
.hero-eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--aux); }
.hero h1 { font-family: var(--font-title); font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 700; line-height: 1.2; color: #F6F2EB; margin-bottom: 24px; letter-spacing: 0.01em; }
.hero h1 .highlight { color: var(--aux); }
.hero-sub { font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.8; color: rgba(255,255,255,0.9); max-width: 600px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-actions .btn { min-width: 160px; }
.scroll-line { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); width: 24px; height: 44px; border: 1px solid rgba(255,255,255,0.4); border-radius: 12px; display: flex; justify-content: center; padding-top: 8px; }
.scroll-line::after { content: ""; width: 3px; height: 10px; background: rgba(255,255,255,0.7); border-radius: 2px; animation: scrollPulse 2s ease-in-out infinite; }
@keyframes scrollPulse { 0%, 100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(8px); opacity: 0.4; } }
/* ===== Intro Section ===== */
.intro-section { background: var(--bg-primary); }
.intro-list { display: flex; flex-direction: column; gap: 0; max-width: 900px; }
.intro-item { display: flex; gap: 32px; padding: 36px 0; border-bottom: 1px solid var(--line); transition: padding-left 0.3s ease; }
.intro-item:first-child { padding-top: 0; }
.intro-item:last-child { border-bottom: none; }
.intro-item:hover { padding-left: 8px; }
.intro-num { font-family: var(--font-title); font-size: 56px; font-weight: 700; line-height: 1; color: var(--aux); flex-shrink: 0; min-width: 90px; letter-spacing: -0.02em; }
.intro-body { padding-top: 8px; }
.intro-body h3 { font-family: var(--font-title); font-size: 22px; font-weight: 700; color: var(--text-primary); margin-bottom: 10px; }
.intro-body p { font-size: 15px; line-height: 1.8; color: var(--text-secondary); max-width: 620px; }
/* ===== Features Section ===== */
.features-section { background: var(--bg-primary); padding-top: 0; }
.features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.feature-card { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease; }
.feature-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: rgba(138,30,47,0.25); }
.feature-media { position: relative; aspect-ratio: 6/4; overflow: hidden; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.22,1,0.36,1); }
.feature-card:hover .feature-media img { transform: scale(1.03); }
.feature-num { position: absolute; top: 16px; left: 16px; z-index: 2; font-family: var(--font-title); font-size: 20px; font-weight: 700; color: #fff; background: rgba(30,27,24,0.7); backdrop-filter: blur(4px); padding: 4px 12px; border-radius: 999px; letter-spacing: 0.03em; }
.feature-body { padding: 24px 28px 28px; }
.feature-body h3 { font-family: var(--font-title); font-size: 21px; font-weight: 700; color: var(--text-primary); margin-bottom: 10px; }
.feature-body p { font-size: 15px; line-height: 1.7; color: var(--text-secondary); margin-bottom: 16px; }
.feature-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--accent); transition: gap 0.3s ease; }
.feature-link:hover { gap: 10px; color: var(--accent-hover); }
/* ===== Posts Section ===== */
.posts-section { background: var(--bg-primary); padding-top: 0; }
.posts-list { display: flex; flex-direction: column; gap: 20px; }
.post-card { display: flex; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; }
.post-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: rgba(138,30,47,0.25); }
.post-card-media { flex-shrink: 0; width: 280px; height: 160px; overflow: hidden; }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.22,1,0.36,1); }
.post-card:hover .post-card-media img { transform: scale(1.03); }
.post-card-body { flex: 1; padding: 22px 28px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.post-card-meta { display: flex; align-items: center; gap: 12px; }
.chip { display: inline-flex; align-items: center; padding: 3px 14px; font-size: 12px; font-weight: 500; color: var(--accent); background: rgba(138,30,47,0.08); border-radius: 999px; letter-spacing: 0.02em; }
.chip-time { font-size: 13px; color: var(--text-secondary); }
.post-card-body h3 { font-family: var(--font-title); font-size: 20px; font-weight: 700; color: var(--text-primary); line-height: 1.4; transition: color 0.3s ease; }
.post-card:hover .post-card-body h3 { color: var(--accent); }
.post-card-excerpt { font-size: 14px; line-height: 1.7; color: var(--text-secondary); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-card-arrow { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--text-secondary); transition: gap 0.3s ease, color 0.3s ease; }
.post-card:hover .post-card-arrow { gap: 10px; color: var(--accent); }
.empty-state { padding: 64px 24px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--text-secondary); font-size: 15px; background: rgba(255,255,255,0.5); }
/* ===== Steps Section ===== */
.steps-section { background: var(--bg-dark); color: #fff; }
.steps-section .section-label { color: var(--aux); }
.steps-section .section-label::before { background: var(--aux); }
.steps-section .section-title { color: #F6F2EB; }
.steps-section .section-desc { color: rgba(255,255,255,0.7); }
.steps-grid { display: flex; justify-content: space-between; gap: 32px; margin-top: 56px; position: relative; }
.steps-grid::before { content: ""; position: absolute; top: 11px; left: 10%; right: 10%; height: 1px; background: rgba(255,255,255,0.15); }
.step-item { flex: 1; text-align: center; position: relative; z-index: 1; }
.step-dot { width: 24px; height: 24px; border-radius: 50%; margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; border: 2px solid transparent; position: relative; }
.step-dot.step-ready { background: var(--status-ok); border-color: var(--status-ok); }
.step-dot.step-active { background: var(--aux); border-color: var(--aux); box-shadow: 0 0 0 4px rgba(176,141,87,0.18); animation: pulseRing 2s ease-in-out infinite; }
@keyframes pulseRing { 0%, 100% { box-shadow: 0 0 0 4px rgba(176,141,87,0.18); } 50% { box-shadow: 0 0 0 8px rgba(176,141,87,0.08); } }
.step-dot.step-todo { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.25); }
.step-dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.step-item h3 { font-size: 16px; font-weight: 600; color: #fff; margin-bottom: 6px; }
.step-item p { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.7; }
/* ===== FAQ Section ===== */
.faq-section { background: var(--bg-primary); }
.faq-list { max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item details { padding: 0; }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 0; list-style: none; cursor: pointer; font-size: 16px; font-weight: 600; color: var(--text-primary); transition: color 0.3s ease; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-icon { flex-shrink: 0; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%; transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease; position: relative; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; background: var(--text-secondary); transition: background 0.3s ease; }
.faq-icon::before { width: 12px; height: 1.5px; }
.faq-icon::after { width: 1.5px; height: 12px; }
.faq-item details[open] .faq-icon { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); }
.faq-item details[open] .faq-icon::before, .faq-item details[open] .faq-icon::after { background: #fff; }
.faq-answer { padding: 0 0 24px; font-size: 15px; line-height: 1.8; color: var(--text-secondary); max-width: 700px; }
/* ===== CTA Section ===== */
.cta-section { background: var(--bg-dark); color: #fff; text-align: center; padding: 100px 0; position: relative; overflow: hidden; }
.cta-section::before { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(ellipse at center, rgba(176,141,87,0.06) 0%, transparent 70%); pointer-events: none; }
.cta-title { font-family: var(--font-title); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; line-height: 1.3; color: #F6F2EB; margin-bottom: 16px; }
.cta-sub { font-size: 16px; color: rgba(255,255,255,0.7); max-width: 560px; margin: 0 auto 36px; line-height: 1.8; }
.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.cta-security { font-size: 12px; color: rgba(255,255,255,0.4); letter-spacing: 0.04em; }
.cta-security a { color: rgba(255,255,255,0.6); border-bottom: 1px solid rgba(255,255,255,0.2); padding-bottom: 1px; }
.cta-security a:hover { color: #fff; border-bottom-color: rgba(255,255,255,0.6); }
/* ===== Footer ===== */
.site-footer { background: var(--bg-dark); color: rgba(255,255,255,0.7); border-top: 1px solid rgba(255,255,255,0.08); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand h3 { font-family: var(--font-title); font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 14px; }
.footer-brand p { font-size: 14px; line-height: 1.8; color: rgba(255,255,255,0.55); }
.footer-col h4 { font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 16px; letter-spacing: 0.04em; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { font-size: 14px; color: rgba(255,255,255,0.55); transition: color 0.3s ease, padding-left 0.3s ease; }
.footer-col ul a:hover { color: #fff; padding-left: 4px; }
.footer-col .contact-item { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.8; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding: 20px 0; text-align: center; font-size: 13px; color: rgba(255,255,255,0.35); }
.footer-bottom .domain { color: rgba(255,255,255,0.5); }
/* ===== Responsive ===== */
@media (max-width: 992px) {
  .section { padding: 64px 0; }
  .features-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.5rem); }
  .intro-num { font-size: 44px; min-width: 70px; }
  .post-card-media { width: 220px; height: 140px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cta-section { padding: 80px 0; }
}
@media (max-width: 768px) {
  .header-inner { gap: 8px; }
  .logo-name { font-size: 15px; }
  .logo-badge { width: 30px; height: 30px; font-size: 12px; }
  .seg-nav { order: 3; width: 100%; margin-top: 4px; justify-content: flex-start; position: absolute; bottom: -48px; left: 0; right: 0; border-radius: 0; border-left: none; border-right: none; background: rgba(246,242,235,0.95); padding: 6px 16px; overflow-x: auto; }
  .site-header { height: auto; min-height: var(--header-h); }
  .header-inner { flex-wrap: wrap; padding-bottom: 48px; }
  .header-cta { display: none; }
  .hero { min-height: 85vh; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .intro-item { flex-direction: column; gap: 16px; padding: 28px 0; }
  .intro-num { font-size: 38px; min-width: auto; }
  .features-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .feature-body { padding: 18px 20px 22px; }
  .post-card { flex-direction: column; }
  .post-card-media { width: 100%; height: 180px; }
  .steps-grid { flex-direction: column; gap: 0; margin-top: 40px; }
  .steps-grid::before { top: 0; bottom: 0; left: 11px; right: auto; width: 1px; height: auto; }
  .step-item { display: flex; align-items: flex-start; text-align: left; gap: 20px; padding-bottom: 32px; }
  .step-dot { margin: 0; flex-shrink: 0; }
  .step-item p { font-size: 13px; }
  .faq-item summary { font-size: 15px; padding: 20px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-section { padding: 64px 0; }
  .cta-security { font-size: 11px; padding: 0 16px; line-height: 1.7; }
}
@media (max-width: 576px) {
  .container { padding: 0 16px; }
  .section { padding: 48px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .features-section .section-desc, .posts-section .section-desc, .steps-section .section-desc { font-size: 15px; }
  .hero h1 { font-size: clamp(1.9rem, 7vw, 2.5rem); }
  .hero-sub { font-size: 15px; }
  .post-card-media { height: 160px; }
  .post-card-body { padding: 18px 20px; }
  .footer-bottom { font-size: 12px; }
  .faq-answer { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .scroll-line::after { animation: none; }
  .step-dot.step-active { animation: none; }
}

/* roulang page: category1 */
/* ========== Design Variables ========== */
:root {
  --bg-primary: #F6F2EB;
  --bg-dark: #1E1B18;
  --bg-card: #FFFFFF;
  --text-primary: #1E1B18;
  --text-secondary: #5C5348;
  --accent: #8A1E2F;
  --accent-hover: #6C1422;
  --aux: #B08D57;
  --status-ok: #6B7A4F;
  --line: rgba(30, 27, 24, 0.12);
  --shadow: 0 8px 24px rgba(30, 20, 10, 0.06);
  --shadow-hover: 0 12px 32px rgba(30, 20, 10, 0.1);
  --radius-card: 12px;
  --radius-btn: 4px;
  --container: 1200px;
  --font-serif: "Noto Serif SC", "Songti SC", serif;
  --font-sans: "Noto Sans SC", system-ui, sans-serif;
}

/* ========== Reset & Base ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-primary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5 { font-family: var(--font-serif); font-weight: 700; line-height: 1.35; }
h1 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
h3 { font-size: clamp(1.05rem, 1.5vw, 1.25rem); }
h4 { font-size: 1rem; }
p { font-size: 0.98rem; line-height: 1.85; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
::selection { background: var(--accent); color: #fff; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--aux); outline-offset: 2px; }

/* ========== Shared Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius-btn);
  transition: all 0.25s ease;
  line-height: 1.4;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
}
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(138, 30, 47, 0.2); }
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--text-primary);
}
.btn-outline:hover { background: var(--text-primary); color: #fff; transform: translateY(-1px); }
.btn-light {
  background: #fff;
  color: #1E1B18;
  border: 1px solid #fff;
}
.btn-light:hover { background: var(--accent); color: #fff; border-color: var(--accent); transform: translateY(-1px); }
.btn-outline-light {
  background: transparent;
  color: #F6F2EB;
  border: 1px solid rgba(246, 242, 235, 0.7);
}
.btn-outline-light:hover { background: #F6F2EB; color: #1E1B18; border-color: #F6F2EB; transform: translateY(-1px); }

/* ========== Header / Nav ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 72px;
  background: rgba(246, 242, 235, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 12px rgba(30, 20, 10, 0.04);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-serif);
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 8px;
  letter-spacing: 1px;
}
.logo-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.seg-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  overflow-x: auto;
  scrollbar-width: none;
}
.seg-nav::-webkit-scrollbar { display: none; }
.seg-item {
  display: inline-flex;
  align-items: center;
  padding: 7px 20px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 999px;
  white-space: nowrap;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}
.seg-item:hover { color: var(--text-primary); border-color: var(--line); }
.seg-item.active {
  background: var(--text-primary);
  color: #fff;
  border-color: var(--text-primary);
}
.header-cta { font-size: 0.88rem; padding: 9px 20px; flex-shrink: 0; }

/* ========== Category Hero / Banner ========== */
.cat-hero {
  position: relative;
  padding: 96px 0 80px;
  background: linear-gradient(135deg, rgba(30,27,24,0.82), rgba(30,27,24,0.45)), url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
  color: #F6F2EB;
  overflow: hidden;
}
.cat-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: rgba(246, 242, 235, 0.75);
  margin-bottom: 24px;
}
.cat-hero .breadcrumb a { color: rgba(246, 242, 235, 0.85); transition: color 0.2s; }
.cat-hero .breadcrumb a:hover { color: #fff; }
.cat-hero .breadcrumb svg { width: 12px; height: 12px; }
.cat-hero h1 {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.cat-hero h1 span { color: var(--aux); }
.cat-hero .hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(176, 141, 87, 0.18);
  border: 1px solid rgba(176, 141, 87, 0.4);
  color: #d9c09a;
  font-size: 0.78rem;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
  letter-spacing: 0.06em;
}
.cat-hero .hero-lead {
  max-width: 640px;
  font-size: 1rem;
  line-height: 1.9;
  color: rgba(246, 242, 235, 0.85);
}

/* ========== Section Shared ========== */
.section { padding: 96px 0; }
.section-alt { background: #EFEAE0; }
.section-head { margin-bottom: 56px; max-width: 720px; }
.section-head .sec-cat {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  border: 1px solid rgba(138, 30, 47, 0.25);
  padding: 3px 12px;
  border-radius: 999px;
  background: rgba(138, 30, 47, 0.04);
}
.section-head h2 { color: var(--text-primary); }
.section-head p { margin-top: 14px; color: var(--text-secondary); font-size: 0.95rem; }

/* ========== Intro Block ========== */
.intro-block {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}
.intro-copy .lead-num {
  font-family: var(--font-serif);
  font-size: 3.2rem;
  color: var(--aux);
  line-height: 1;
  display: inline-block;
  margin-bottom: 12px;
}
.intro-copy p { margin-bottom: 16px; color: var(--text-secondary); }
.intro-copy p strong { color: var(--text-primary); font-weight: 600; }
.intro-panel {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 36px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.intro-panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--aux));
}
.intro-panel h3 { margin-bottom: 20px; }
.intro-panel .status-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(30, 27, 24, 0.07);
  font-size: 0.92rem;
  color: var(--text-secondary);
}
.intro-panel .status-list li:last-child { border-bottom: none; }
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--status-ok);
  margin-top: 9px;
  flex-shrink: 0;
}
.status-dot.pending { background: var(--aux); }

/* ========== Access Cards 2x2 ========== */
.access-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.access-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.access-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.access-card .card-img {
  position: relative;
  aspect-ratio: 6 / 4;
  overflow: hidden;
}
.access-card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.access-card:hover .card-img img { transform: scale(1.03); }
.card-num {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(30, 27, 24, 0.72);
  color: #F6F2EB;
  font-family: var(--font-serif);
  font-size: 0.82rem;
  padding: 3px 12px;
  border-radius: 999px;
  letter-spacing: 0.08em;
  backdrop-filter: blur(4px);
}
.access-card .card-body {
  padding: 24px 28px 28px;
  flex: 1;
}
.access-card .card-body h3 { margin-bottom: 8px; font-size: 1.12rem; }
.access-card .card-body p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.75; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--accent);
  transition: gap 0.25s ease;
}
.card-link svg { width: 14px; height: 14px; transition: transform 0.3s ease; }
.access-card:hover .card-link { gap: 10px; }

/* ========== Steps / Process ========== */
.steps-section { background: var(--bg-dark); color: #F6F2EB; }
.steps-section .section-head h2 { color: #F6F2EB; }
.steps-section .section-head p { color: rgba(246, 242, 235, 0.65); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 16.6%;
  right: 16.6%;
  height: 1px;
  background: rgba(246, 242, 235, 0.2);
}
.step-item {
  text-align: center;
  padding: 0 20px;
}
.step-dot {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 0.9rem;
  font-weight: 700;
  border: 2px solid rgba(246, 242, 235, 0.35);
  background: #2A2622;
  color: #F6F2EB;
  position: relative;
  z-index: 1;
}
.step-dot.done { background: var(--status-ok); border-color: var(--status-ok); }
.step-dot.current { background: var(--aux); border-color: var(--aux); box-shadow: 0 0 0 6px rgba(176, 141, 87, 0.18); animation: pulse-ring 2s infinite; }
@keyframes pulse-ring {
  0%, 100% { box-shadow: 0 0 0 4px rgba(176, 141, 87, 0.15); }
  50% { box-shadow: 0 0 0 8px rgba(176, 141, 87, 0.25); }
}
.step-item h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step-item .step-status {
  display: inline-block;
  font-size: 0.74rem;
  color: var(--aux);
  border: 1px solid rgba(176, 141, 87, 0.4);
  padding: 1px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.step-item .step-status.done { color: #a5b78d; border-color: rgba(107, 122, 79, 0.5); }
.step-item p { color: rgba(246, 242, 235, 0.65); font-size: 0.88rem; }

/* ========== Notice / Checklist ========== */
.notice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.notice-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 26px 30px;
  display: flex;
  gap: 18px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.notice-item:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.notice-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(176, 141, 87, 0.12);
  color: var(--aux);
  flex-shrink: 0;
}
.notice-icon svg { width: 20px; height: 20px; }
.notice-item h3 { font-size: 1rem; margin-bottom: 4px; }
.notice-item p { font-size: 0.88rem; color: var(--text-secondary); }

/* ========== FAQ ========== */
.faq-wrap { max-width: 860px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 0;
}
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item details { padding: 0; }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 4px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  list-style: none;
  transition: color 0.2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-item summary .faq-icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.faq-item summary .faq-icon::before,
.faq-item summary .faq-icon::after {
  content: '';
  position: absolute;
  background: var(--text-secondary);
  transition: transform 0.25s ease, background 0.25s;
}
.faq-item summary .faq-icon::before { top: 9px; left: 0; width: 20px; height: 2px; }
.faq-item summary .faq-icon::after { top: 0; left: 9px; width: 2px; height: 20px; }
.faq-item details[open] summary .faq-icon::after { transform: rotate(90deg); background: var(--accent); }
.faq-item details[open] summary .faq-icon::before { background: var(--accent); }
.faq-item .faq-answer {
  padding: 4px 0 24px 4px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.85;
  max-width: 760px;
}

/* ========== CTA ========== */
.cta-section { background: var(--bg-dark); padding: 104px 0; text-align: center; position: relative; overflow: hidden; }
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(138, 30, 47, 0.25), transparent 70%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.cta-inner h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 16px; }
.cta-inner p { color: rgba(246, 242, 235, 0.65); margin-bottom: 32px; font-size: 0.95rem; }
.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.cta-safe {
  font-size: 0.78rem;
  color: rgba(246, 242, 235, 0.4);
  letter-spacing: 0.03em;
}

/* ========== Back to Home Link ========== */
.back-home-section { padding: 56px 0; text-align: center; }
.back-home-section a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--accent);
  transition: gap 0.25s ease;
}
.back-home-section a:hover { gap: 12px; }
.back-home-section svg { width: 16px; height: 16px; }

/* ========== Footer ========== */
.site-footer {
  background: #141210;
  color: rgba(246, 242, 235, 0.72);
  padding: 72px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: #F6F2EB;
  margin-bottom: 14px;
}
.footer-brand p {
  font-size: 0.86rem;
  color: rgba(246, 242, 235, 0.55);
  line-height: 1.8;
  max-width: 320px;
}
.footer-col h4 {
  font-size: 0.9rem;
  color: #F6F2EB;
  font-family: var(--font-serif);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 0.86rem;
  color: rgba(246, 242, 235, 0.6);
  transition: color 0.2s ease, padding-left 0.2s ease;
  display: inline-block;
}
.footer-col ul li a:hover { color: var(--aux); padding-left: 4px; }
.footer-col .contact-item {
  font-size: 0.86rem;
  color: rgba(246, 242, 235, 0.6);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(246, 242, 235, 0.4); }
.footer-bottom .domain { color: rgba(176, 141, 87, 0.7); }

/* ========== Scroll Animation Helper ========== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.7s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

/* ========== Responsive ========== */
@media (max-width: 992px) {
  .section { padding: 72px 0; }
  .intro-block { grid-template-columns: 1fr; gap: 40px; }
  .access-grid { gap: 20px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .header-cta .cta-text { display: none; }
  .header-cta { padding: 9px 16px; }
}

@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .header-inner { gap: 12px; }
  .logo-name { font-size: 0.95rem; }
  .seg-nav { position: absolute; left: 16px; right: 16px; top: 72px; background: rgba(246,242,235,0.96); border-radius: 12px; box-shadow: var(--shadow); padding: 8px; opacity: 1; border: 1px solid var(--line); }
  .seg-item { font-size: 0.82rem; padding: 6px 14px; }
  .cat-hero { padding: 64px 0 56px; }
  .steps-grid { grid-template-columns: 1fr; gap: 32px; }
  .steps-grid::before { display: none; }
  .notice-grid { grid-template-columns: 1fr; }
  .access-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .section { padding: 56px 0; }
  .cta-section { padding: 72px 0; }
}

@media (max-width: 576px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand p { max-width: 100%; }
  .cat-hero h1 { font-size: 1.6rem; }
  .intro-panel { padding: 24px; }
  .cta-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 320px; }
  .header-cta { width: auto; }
}

/* ========== Reduced Motion ========== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* roulang page: article */
/* ===== 设计变量 ===== */
:root {
    --bg-primary: #F6F2EB;
    --bg-dark: #1E1B18;
    --bg-card: #FFFFFF;
    --text-primary: #1E1B18;
    --text-secondary: #5C5348;
    --accent: #8A1E2F;
    --accent-hover: #6C1422;
    --aux: #B08D57;
    --status-ok: #6B7A4F;
    --line: rgba(30, 27, 24, 0.12);
    --shadow: 0 8px 24px rgba(30, 20, 10, 0.06);
    --shadow-hover: 0 12px 32px rgba(30, 20, 10, 0.1);
    --radius: 12px;
    --radius-btn: 4px;
    --container: 1200px;
    --font-serif: "Noto Serif SC", "Songti SC", "SimSun", serif;
    --font-sans: "Noto Sans SC", system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-primary);
    background: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
ul, ol { list-style: none; }

::selection { background: rgba(138, 30, 47, 0.18); }

/* ===== Container ===== */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ===== 按钮 ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-btn);
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(138, 30, 47, 0.2); }
.btn-primary:focus-visible { outline: 3px solid rgba(138, 30, 47, 0.35); outline-offset: 2px; }
.btn-light { background: #fff; color: var(--text-primary); }
.btn-light:hover { background: var(--accent); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(138, 30, 47, 0.25); }
.btn-outline { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.7); }
.btn-outline:hover { background: #fff; color: var(--text-primary); border-color: #fff; transform: translateY(-2px); }

/* ===== Header / Nav ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(246, 242, 235, 0.9);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s ease, box-shadow .3s ease;
}
.site-header.scrolled {
    border-bottom-color: var(--line);
    box-shadow: 0 2px 12px rgba(30, 20, 10, 0.04);
}
.header-inner { display: flex; align-items: center; gap: 32px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-badge {
    background: var(--accent);
    color: #fff;
    font-family: var(--font-serif);
    font-size: 14px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}
.logo-name { font-family: var(--font-serif); font-size: 18px; font-weight: 700; color: var(--text-primary); white-space: nowrap; letter-spacing: 0.3px; }
.logo:hover .logo-name { color: var(--accent); }
.seg-nav { display: flex; gap: 6px; margin-left: auto; }
.seg-item {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid transparent;
    transition: all .2s ease;
    white-space: nowrap;
}
.seg-item:hover { border-color: var(--line); color: var(--text-primary); }
.seg-item.active { background: var(--text-primary); color: #fff; }
.seg-item.active:hover { background: var(--text-primary); color: #fff; }
.header-cta { margin-left: 8px; padding: 11px 22px; font-size: 14px; }

/* ===== 文章头部区 ===== */
.article-header {
    padding: 72px 0 48px;
    background: linear-gradient(180deg, rgba(138, 30, 47, 0.05), transparent);
    border-bottom: 1px solid var(--line);
}
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}
.breadcrumb a { transition: color .2s ease; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: rgba(30, 27, 24, 0.35); }
.breadcrumb .current { color: var(--text-secondary); max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.article-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    line-height: 1.35;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; font-size: 14px; color: var(--text-secondary); }
.meta-item { display: inline-flex; align-items: center; }
.meta-item .dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--aux);
    display: inline-block;
    margin-right: 8px;
    flex-shrink: 0;
}
.chip {
    display: inline-block;
    background: rgba(176, 141, 87, 0.16);
    color: #8A6B3A;
    font-size: 13px;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 999px;
    line-height: 1.5;
}

/* ===== 正文区 ===== */
.article-body-wrap { padding: 48px 0 80px; }
.article-body {
    max-width: 72ch;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: clamp(28px, 4vw, 56px);
    box-shadow: var(--shadow);
}
.article-body > *:first-child { margin-top: 0; }
.article-body h2 {
    font-family: var(--font-serif);
    font-size: 1.55rem;
    font-weight: 700;
    margin: 2em 0 0.8em;
    padding-top: 0.6em;
    border-top: 1px solid var(--line);
    line-height: 1.45;
    color: var(--text-primary);
}
.article-body h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 1.6em 0 0.6em;
    line-height: 1.5;
    color: var(--text-primary);
}
.article-body h4 {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 1.4em 0 0.5em;
    color: var(--text-primary);
}
.article-body p {
    margin-bottom: 1.5em;
    font-size: 16px;
    line-height: 1.95;
    color: #2A2520;
}
.article-body a { color: var(--accent); border-bottom: 1px solid rgba(138, 30, 47, 0.3); transition: border-color .2s ease; }
.article-body a:hover { border-bottom-color: var(--accent); }
.article-body ul {
    list-style: disc;
    margin: 0 0 1.5em;
    padding-left: 1.5em;
}
.article-body ol {
    list-style: decimal;
    margin: 0 0 1.5em;
    padding-left: 1.5em;
}
.article-body li { margin-bottom: 0.5em; line-height: 1.8; }
.article-body li::marker { color: var(--aux); }
.article-body blockquote {
    margin: 1.6em 0;
    padding: 18px 24px;
    border-left: 3px solid var(--aux);
    background: rgba(176, 141, 87, 0.08);
    border-radius: 0 8px 8px 0;
    color: var(--text-secondary);
}
.article-body blockquote p { margin-bottom: 0; color: var(--text-secondary); font-size: 15px; }
.article-body img {
    border-radius: 8px;
    margin: 1.6em 0;
    width: 100%;
    height: auto;
    object-fit: cover;
}
.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.6em 0;
    font-size: 15px;
    line-height: 1.6;
}
.article-body th,
.article-body td {
    border: 1px solid var(--line);
    padding: 10px 14px;
    text-align: left;
}
.article-body th {
    background: rgba(30, 27, 24, 0.04);
    font-weight: 600;
    font-family: var(--font-serif);
}
.article-body tr:nth-child(even) td { background: rgba(246, 242, 235, 0.4); }
.article-body pre {
    background: var(--bg-dark);
    color: #F6F2EB;
    padding: 20px 24px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.6em 0;
    font-size: 14px;
    line-height: 1.7;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
.article-body code {
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    font-size: 0.88em;
    background: rgba(30, 27, 24, 0.06);
    padding: 2px 6px;
    border-radius: 4px;
}
.article-body pre code { background: transparent; padding: 0; color: inherit; font-size: 1em; }
.article-body hr {
    border: none;
    border-top: 1px solid var(--line);
    margin: 2em 0;
}

/* ===== 内容未找到 ===== */
.article-not-found {
    text-align: center;
    padding: 72px 24px;
}
.article-not-found .nf-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(176, 141, 87, 0.1);
    color: var(--aux);
    font-size: 28px;
    margin-bottom: 20px;
}
.article-not-found p { color: var(--text-secondary); margin-bottom: 24px; font-size: 16px; }

/* ===== 文章底部导航 ===== */
.article-foot {
    border-top: 1px solid var(--line);
    margin-top: 48px;
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.foot-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    transition: color .2s ease, gap .25s ease;
}
.foot-link:hover { color: var(--accent); gap: 10px; }

/* ===== 相关推荐 ===== */
.related-section { padding: 80px 0; background: #fff; border-top: 1px solid var(--line); }
.section-title { font-family: var(--font-serif); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; margin-bottom: 8px; letter-spacing: 0.5px; }
.section-sub { color: var(--text-secondary); margin-bottom: 40px; font-size: 15px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.related-card {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    display: flex;
    flex-direction: column;
}
.related-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent);
}
.related-card .cover { height: 180px; overflow: hidden; background: var(--bg-primary); }
.related-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(0.22, 1, 0.36, 1); }
.related-card:hover .cover img { transform: scale(1.03); }
.related-card-body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.related-card .tag {
    display: inline-block;
    background: rgba(176, 141, 87, 0.12);
    color: #8A6B3A;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 12px;
    border-radius: 999px;
    margin-bottom: 12px;
    align-self: flex-start;
}
.related-card h3 {
    font-family: var(--font-serif);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.55;
    color: var(--text-primary);
}
.related-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color .25s ease, gap .25s ease;
}
.card-link .arrow { transition: transform .25s ease; }
.card-link:hover { color: var(--accent); gap: 10px; }
.card-link:hover .arrow { transform: translateX(2px); }

/* ===== CTA 大区 ===== */
.cta-section { background: var(--bg-dark); padding: 96px 0; text-align: center; position: relative; overflow: hidden; }
.cta-section::before {
    content: "";
    position: absolute;
    right: -160px;
    top: -160px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: rgba(138, 30, 47, 0.12);
    pointer-events: none;
}
.cta-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: 1px;
    position: relative;
}
.cta-desc { color: rgba(255, 255, 255, 0.7); max-width: 560px; margin: 0 auto 36px; font-size: 16px; line-height: 1.8; position: relative; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; }
.cta-note { margin-top: 28px; font-size: 12px; color: rgba(255, 255, 255, 0.4); position: relative; letter-spacing: 0.3px; }

/* ===== Footer ===== */
.site-footer { background: var(--bg-dark); border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 72px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand h3 { font-family: var(--font-serif); color: #fff; font-size: 20px; margin-bottom: 12px; letter-spacing: 0.5px; }
.footer-brand p { color: rgba(255, 255, 255, 0.55); font-size: 14px; line-height: 1.85; max-width: 320px; }
.footer-col h4 { color: rgba(255, 255, 255, 0.9); font-size: 15px; margin-bottom: 16px; font-weight: 600; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255, 255, 255, 0.55); font-size: 14px; transition: color .2s ease; }
.footer-col a:hover { color: var(--aux); }
.contact-item { color: rgba(255, 255, 255, 0.55); font-size: 14px; display: inline-flex; align-items: center; gap: 8px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); padding-top: 24px; text-align: center; }
.footer-bottom p { color: rgba(255, 255, 255, 0.4); font-size: 13px; }
.footer-bottom .domain { color: rgba(255, 255, 255, 0.6); }

/* ===== 动画 ===== */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ===== 响应式 ===== */
@media (max-width: 992px) {
    .related-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .site-header { height: auto; }
    .header-inner { flex-wrap: wrap; height: auto; padding-top: 12px; padding-bottom: 12px; row-gap: 10px; }
    .seg-nav { order: 3; width: 100%; margin-left: 0; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 2px; scrollbar-width: none; }
    .seg-nav::-webkit-scrollbar { display: none; }
    .seg-item { flex-shrink: 0; }
    .header-cta { margin-left: auto; }
    .article-header { padding: 56px 0 40px; }
}

@media (max-width: 768px) {
    .header-inner { gap: 12px; }
    .logo-name { font-size: 15px; }
    .logo-badge { font-size: 13px; padding: 3px 8px; }
    .header-cta { padding: 10px 16px; font-size: 13px; }
    .article-title { font-size: 1.65rem; }
    .article-body { padding: 28px 22px; }
    .article-body-wrap { padding: 32px 0 56px; }
    .related-section { padding: 56px 0; }
    .cta-section { padding: 72px 0; }
    .container { padding: 0 20px; }
}

@media (max-width: 576px) {
    .header-cta { display: none; }
    .header-inner { gap: 8px; }
    .logo-name { font-size: 14px; }
    .logo-badge { font-size: 12px; padding: 3px 7px; }
    .article-header { padding: 48px 0 32px; }
    .article-title { font-size: 1.45rem; margin-bottom: 16px; }
    .article-meta { gap: 10px 14px; font-size: 13px; }
    .article-body { padding: 24px 18px; border-radius: 8px; }
    .article-body p { font-size: 15px; line-height: 1.9; }
    .article-body h2 { font-size: 1.35rem; }
    .article-body h3 { font-size: 1.15rem; }
    .article-body blockquote { padding: 14px 16px; }
    .related-grid { grid-template-columns: 1fr; }
    .related-card .cover { height: 200px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .site-footer { padding: 56px 0 20px; }
    .cta-actions { flex-direction: column; align-items: center; }
    .cta-actions .btn { width: 100%; max-width: 280px; }
    .cta-section { padding: 64px 0; }
    .cta-title { font-size: 1.5rem; }
    .breadcrumb { font-size: 13px; margin-bottom: 18px; }
    .article-foot { flex-direction: column; gap: 12px; }
}

/* ===== 减少动效 ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
