/* === 设计系统 - 跟主页保持一致 === */
:root {
    --color-bg: #FAFAF9;
    --color-bg-card: #FFFFFF;
    --color-bg-elev: #F5F5F4;
    --color-text: #0A0A0A;
    --color-text-muted: #525252;
    --color-text-soft: #737373;
    --color-border: #E7E5E4;
    --color-border-strong: #D6D3D1;
    --color-accent: #2563EB;
    --color-accent-hover: #1D4ED8;
    --color-accent-soft: #EFF6FF;
    --color-success: #16A34A;
    --font-display: "Bricolage Grotesque", "PingFang SC", "HarmonyOS Sans SC", "Source Han Sans CN", -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: "Plus Jakarta Sans", "PingFang SC", "HarmonyOS Sans SC", "Source Han Sans CN", -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: "Geist Mono", "JetBrains Mono", ui-monospace, "SF Mono", monospace;
    --shadow-sm: 0 1px 2px rgba(10, 10, 10, 0.04);
    --shadow-md: 0 4px 12px rgba(10, 10, 10, 0.06);
    --shadow-lg: 0 12px 32px rgba(10, 10, 10, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-family: var(--font-body); }
body { color: var(--color-text); background: var(--color-bg); line-height: 1.65; font-size: 16px; }
h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -0.02em; color: var(--color-text); }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { border: none; cursor: pointer; font-family: inherit; }

/* === Nav 跟主页保持一致 === */
.nav-main { position: sticky; top: 0; z-index: 50; background: rgba(250, 250, 249, 0.85); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--color-border); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0.875rem 1.5rem; display: flex; align-items: center; gap: 1.5rem; }
.nav-logo { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--color-text); text-decoration: none; letter-spacing: -0.01em; flex-shrink: 0; }
.nav-logo svg { width: 22px; height: 22px; color: var(--color-accent); }
.nav-links { flex: 1; display: flex; align-items: center; gap: 1.75rem; margin-left: 2rem; font-size: 0.9rem; color: var(--color-text-muted); overflow-x: auto; scrollbar-width: none; }
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a { color: inherit; text-decoration: none; white-space: nowrap; transition: color 0.15s; font-weight: 500; }
.nav-links a:hover { color: var(--color-text); }
.nav-links a.active { color: var(--color-accent); }
.nav-actions { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.nav-icon-btn { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--color-border); border-radius: 0.5rem; color: var(--color-text-muted); cursor: pointer; transition: all 0.15s; font-size: 0.9rem; }
.nav-icon-btn:hover { background: var(--color-bg-elev); color: var(--color-text); }

/* === 按钮 === */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1.5rem; border-radius: 0.625rem; font-weight: 600; font-size: 0.95rem; transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap; }
.btn-primary-new { background: var(--color-text); color: var(--color-bg); box-shadow: var(--shadow-sm); }
.btn-primary-new:hover { background: var(--color-accent); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-secondary-new { background: transparent; color: var(--color-text); border-color: var(--color-border-strong); }
.btn-secondary-new:hover { background: var(--color-bg-elev); border-color: var(--color-text); }

@media (max-width: 768px) {
    .nav-inner { padding: 0.75rem 1rem; gap: 0.75rem; }
    .nav-links { margin-left: 0.5rem; gap: 1.25rem; font-size: 0.85rem; }
    .nav-link-extra { display: none; }
    .nav-logo span { display: none; }
    .nav-actions .btn { padding: 0.5rem 0.875rem; font-size: 0.85rem; }
}

/* === 文章 / 政策页排版 === */
.page-shell { max-width: 760px; margin: 0 auto; padding: 4rem 1.5rem 5rem; }
.page-eyebrow { display: inline-block; font-size: 0.85rem; font-weight: 600; color: var(--color-accent); letter-spacing: 0.02em; margin-bottom: 1rem; text-transform: uppercase; }
.page-title { font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 1rem; }
.page-lede { font-size: 1.15rem; color: var(--color-text-muted); line-height: 1.6; margin-bottom: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--color-border); }
.page-meta { font-family: var(--font-mono); font-size: 0.85rem; color: var(--color-text-soft); margin-bottom: 2rem; }

.prose { color: var(--color-text); font-size: 1.0625rem; line-height: 1.75; }
.prose > * + * { margin-top: 1.25rem; }
.prose h2 { font-size: 1.75rem; font-weight: 700; line-height: 1.25; margin-top: 3rem; margin-bottom: 0.75rem; letter-spacing: -0.025em; }
.prose h3 { font-size: 1.3rem; font-weight: 700; line-height: 1.3; margin-top: 2rem; margin-bottom: 0.5rem; letter-spacing: -0.015em; }
.prose h4 { font-size: 1.1rem; font-weight: 700; margin-top: 1.5rem; margin-bottom: 0.5rem; }
.prose p { color: var(--color-text-muted); }
.prose strong { color: var(--color-text); font-weight: 600; }
.prose a { color: var(--color-accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose ul, .prose ol { margin-left: 1.5rem; padding-left: 0.5rem; color: var(--color-text-muted); }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-top: 0.4rem; }
.prose li::marker { color: var(--color-text-soft); }
.prose blockquote { border-left: 3px solid var(--color-accent); padding-left: 1.25rem; margin-left: 0; color: var(--color-text); font-style: italic; }
.prose code { font-family: var(--font-mono); background: var(--color-bg-elev); padding: 0.125rem 0.4rem; border-radius: 0.25rem; font-size: 0.9em; }
.prose hr { border: 0; border-top: 1px solid var(--color-border); margin: 2.5rem 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.95em; }
.prose th, .prose td { border: 1px solid var(--color-border); padding: 0.625rem 0.875rem; text-align: left; }
.prose th { background: var(--color-bg-elev); font-weight: 600; }

/* === 卡片 === */
.card { background: var(--color-bg-card); border: 1px solid var(--color-border); border-radius: 1rem; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.card:hover { border-color: var(--color-border-strong); box-shadow: var(--shadow-md); transform: translateY(-2px); }

/* === Footer 跟主页保持一致 === */
.footer-main { background: #0A0A0A; color: #A1A1AA; padding: 4rem 1.5rem 0; margin-top: 4rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 3rem; padding-bottom: 3rem; }
@media (min-width: 768px) { .footer-inner { grid-template-columns: 1.4fr 2.6fr; gap: 4rem; } }
.footer-brand .footer-logo { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: #FFFFFF; text-decoration: none; margin-bottom: 0.75rem; }
.footer-logo svg { width: 22px; height: 22px; color: var(--color-accent); }
.footer-tagline { font-size: 0.9rem; color: #71717A; line-height: 1.6; }
.footer-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
@media (min-width: 600px) { .footer-cols { grid-template-columns: repeat(4, 1fr); } }
.footer-col { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col h4 { color: #FFFFFF; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.25rem; letter-spacing: 0.02em; }
.footer-col a { color: #A1A1AA; text-decoration: none; font-size: 0.875rem; transition: color 0.15s; }
.footer-col a:hover { color: #FFFFFF; }
.footer-contact-static { font-size: 0.85rem; color: #71717A; }
.footer-wechat { font-family: var(--font-mono); font-size: 0.8rem; color: #FFFFFF; background: #1F1F23; padding: 0.25rem 0.5rem; border-radius: 0.375rem; word-break: break-all; }
.footer-bottom { border-top: 1px solid #1F1F23; padding: 1.5rem 0; }
.footer-bottom-inner { max-width: 1200px; margin: 0 auto; font-size: 0.8rem; color: #52525B; text-align: center; }

/* === Hero（landing 风的子页都用） === */
.simple-hero { padding: 6rem 1.5rem 4rem; text-align: center; background: var(--color-bg); border-bottom: 1px solid var(--color-border); }
.simple-hero-inner { max-width: 720px; margin: 0 auto; }

/* === 入场 === */
@keyframes rise-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.rise { animation: rise-in 0.6s cubic-bezier(0.4, 0, 0.2, 1) backwards; }

/* === Blog 卡片 === */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.25rem; max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.blog-card { display: flex; flex-direction: column; padding: 1.75rem; height: 100%; }
.blog-card-tag { font-family: var(--font-mono); font-size: 0.75rem; color: var(--color-accent); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.75rem; }
.blog-card h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.3; margin-bottom: 0.5rem; letter-spacing: -0.015em; }
.blog-card p { color: var(--color-text-muted); font-size: 0.92rem; line-height: 1.6; flex: 1; margin-bottom: 1rem; }
.blog-card-link { color: var(--color-accent); font-size: 0.9rem; font-weight: 600; display: inline-flex; align-items: center; gap: 0.25rem; }
.blog-card:hover .blog-card-link svg { transform: translateX(3px); }
.blog-card-link svg { width: 12px; height: 12px; transition: transform 0.2s; }
