/* WealthSight 自定义样式 - Hugo Saasify 主题 */

/* 中文字体优化 */
body {
    font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', system-ui, sans-serif;
}

/* 标题字体优化 */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
}

/* 代码块中文字体 */
code, pre {
    font-family: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', 'Consolas', monospace;
}

/* 品牌色 */
:root {
    --color-primary: #2563eb;
    --color-primary-dark: #1d4ed8;
    --color-secondary: #7c3aed;
}

/* 渐变文字效果 */
.gradient-text {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 合作页长标题：用语义断句控制换行，避免浏览器自然折行落点不佳 */
.institutional-section-heading {
    max-width: 22em;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) and (max-width: 1180px) {
    .institutional-section-heading,
    .institutional-copy-heading {
        font-size: 2rem;
        line-height: 1.28;
    }
}

/* 法律与隐私页面正文 */
.legal-content .container {
    max-width: 48rem;
    color: #334155;
    line-height: 1.9;
}

.legal-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    line-height: 1.35;
    font-weight: 700;
    color: #020617;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p {
    margin: 1rem 0;
}

.legal-content ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
    list-style: disc;
}

.legal-content li {
    margin: 0.35rem 0;
}

.legal-content pre {
    margin: 1rem 0;
    padding: 1rem;
    overflow-x: auto;
    border-radius: 0.75rem;
    background: #0f172a;
    color: #e2e8f0;
}

.legal-content code {
    font-size: 0.9em;
}
