/* === 法律页面：浅色工业文档体系 === */
body[data-page="privacy.html"],
body[data-page="terms.html"] {
    color: #1a2330;
    background: #eef1f4;
    line-height: 1.8;
}

/* 法律页没有深色 Hero，导航必须始终保持稳定的深色承托。 */
body[data-page="privacy.html"] #mainNav,
body[data-page="terms.html"] #mainNav {
    background: rgba(10, 14, 23, 0.98);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08), 0 12px 32px rgba(10, 14, 23, 0.12);
    backdrop-filter: blur(12px);
}

body[data-page="privacy.html"] #mainNav.scrolled,
body[data-page="terms.html"] #mainNav.scrolled {
    background: rgba(10, 14, 23, 0.96);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08), 0 14px 36px rgba(10, 14, 23, 0.16);
}

.content-section {
    position: relative;
    min-height: 80vh;
    padding: 146px 0 104px;
    overflow: hidden;
    background:
        linear-gradient(rgba(20, 38, 56, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(20, 38, 56, 0.035) 1px, transparent 1px),
        #eef1f4;
    background-size: 48px 48px;
}

.content-section::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 6px;
    background: linear-gradient(90deg, #ffb700 0 23%, #59d8d1 23% 31%, transparent 31%);
}

.content-section > .container {
    position: relative;
    max-width: 1240px;
    margin: 0 auto;
    padding: 64px 72px 76px;
    background: #fff;
    border: 1px solid #dce2e8;
    border-radius: 2px;
    box-shadow: 0 24px 64px rgba(28, 43, 58, 0.08);
}

.content-section > .container::before,
.content-section > .container::after {
    position: absolute;
    top: 28px;
    color: #8a96a3;
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.content-section > .container::before {
    content: 'SMARTGIANT / LEGAL ARCHIVE';
    left: 72px;
}

.content-section > .container::after {
    content: 'CN  /  EN';
    right: 72px;
}

.page-header,
.content-section .page-header {
    margin-bottom: 52px;
    padding: 42px 0 34px;
    text-align: left;
    border-bottom: 1px solid #dce2e8;
}

.content-section h1 {
    margin: 0;
    color: #111923;
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.content-section h1 span {
    display: inline-block;
    margin-left: 14px;
    color: #7a8794;
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.43em;
    font-weight: 600;
    letter-spacing: 0.08em;
    vertical-align: 0.22em;
}

.subtitle {
    margin-top: 18px;
    color: #65717e;
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.055em;
}

.bilingual-row {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 72px;
    margin-bottom: 0;
    padding: 8px 0 40px;
}

.bilingual-row + .bilingual-row {
    padding-top: 38px;
    border-top: 1px solid #e2e7ec;
}

.bilingual-row::after {
    content: '';
    position: absolute;
    inset: 8px auto 40px 50%;
    width: 1px;
    background: #e2e7ec;
    transform: translateX(-50%);
}

.zh-col,
.en-col {
    min-width: 0;
    color: #4f5b68;
    text-align: left;
}

.en-col {
    color: #65717e;
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
}

.zh-col h2,
.en-col h2 {
    margin: 0 0 20px;
    color: #17212c;
    font-size: 20px;
    font-weight: 750;
    line-height: 1.35;
}

.zh-col h2 {
    position: relative;
    padding-left: 16px;
}

.zh-col h2::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: #ffb700;
}

.en-col h2 {
    font-size: 17px;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

.zh-col h3,
.en-col h3 {
    margin: 26px 0 10px;
    color: #243140;
    font-size: 15px;
    font-weight: 700;
}

.en-col h3 { font-size: 14px; }

.zh-col p,
.zh-col li,
.en-col p,
.en-col li {
    margin-bottom: 14px;
}

.en-col p,
.en-col li {
    font-size: 14px;
    line-height: 1.85;
}

.content-section ul {
    margin-bottom: 16px;
    padding-left: 20px;
}

.content-section li { padding-left: 4px; }

.content-section li::marker { color: #d49400; }

.content-section strong {
    color: #1b2733;
    font-weight: 700;
}

@media (max-width: 900px) {
    .content-section {
        padding: 122px 0 72px;
        background-size: 40px 40px;
    }

    .content-section > .container {
        width: calc(100% - 32px);
        padding: 56px 36px 60px;
    }

    .content-section > .container::before { left: 36px; }
    .content-section > .container::after { right: 36px; }

    .bilingual-row { gap: 48px; }
}

@media (max-width: 768px) {
    .content-section {
        padding: 106px 0 48px;
        background: #f3f5f7;
    }

    .content-section::before { height: 4px; }

    .content-section > .container {
        width: 100%;
        padding: 48px 24px 52px;
        border-right: 0;
        border-left: 0;
        box-shadow: none;
    }

    .content-section > .container::before {
        top: 22px;
        left: 24px;
        font-size: 9px;
    }

    .content-section > .container::after { display: none; }

    .page-header,
    .content-section .page-header {
        margin-bottom: 34px;
        padding: 32px 0 26px;
    }

    .content-section h1 { font-size: 32px; }

    .content-section h1 span {
        display: block;
        margin: 9px 0 0;
        font-size: 15px;
        letter-spacing: 0.07em;
    }

    .subtitle {
        margin-top: 14px;
        font-size: 11px;
        line-height: 1.6;
    }

    .bilingual-row {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 0 34px;
    }

    .bilingual-row + .bilingual-row { padding-top: 30px; }
    .bilingual-row::after { display: none; }

    .en-col {
        margin-top: 2px;
        padding-top: 24px;
        border-top: 1px dashed #d5dce3;
    }

    .zh-col h2,
    .en-col h2 { margin-bottom: 16px; }

    .en-col h2 { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
    body[data-page="privacy.html"] #mainNav,
    body[data-page="terms.html"] #mainNav { transition: none; }
}
