/* terms.css —— 由 terms.html 抽取（保持静态站原样式） */
/* 复用 privacy.html 的样式，仅内容不同 */
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif; line-height: 1.7; color: #1a1a2e; background: #f8fafc; }
        .container { max-width: 96%; margin: 0 auto; padding: 0 24px; }
        a { color: #2563eb; text-decoration: none; }
        a:hover { color: #1d4ed8; }
        img { max-width: 100%; height: auto; display: block; }

        .site-header { background: #0b1120; padding: 16px 0; position: sticky; top: 0; z-index: 100; border-bottom: 1px solid #1e293b; }
        .site-header .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
        .logo img { height: 38px; width: auto; }
        .site-nav ul { display: flex; list-style: none; gap: 28px; }
        .site-nav ul li a { color: #94a3b8; font-size: 14px; font-weight: 500; transition: color .2s; }
        .site-nav ul li a:hover { color: #fff; }
        .site-nav ul li a.active { color: #60a5fa; border-bottom: 2px solid #60a5fa; padding-bottom: 4px; }
        .header-actions { display: flex; align-items: center; gap: 12px; }
        .btn-download { background: #2563eb; color: #fff; padding: 8px 22px; border-radius: 6px; font-size: 14px; font-weight: 600; transition: background .2s; }
        .btn-download:hover { background: #1d4ed8; color: #fff; }
        .btn-download i { margin-right: 6px; }
        .mobile-toggle { display: none; background: none; border: none; color: #94a3b8; font-size: 24px; cursor: pointer; }
        .mobile-panel { display: none; flex-basis: 100%; padding-top: 16px; border-top: 1px solid #1e293b; }
        .mobile-panel.open { display: block; }
        .mobile-panel ul { list-style: none; }
        .mobile-panel ul li a { display: block; padding: 10px 0; color: #94a3b8; border-bottom: 1px solid #1e293b; }
        .mobile-panel ul li a:hover { color: #fff; }
        .mobile-panel .btn-download { display: inline-block; margin-top: 12px; }

        .page-header { background: #0b1120; padding: 60px 0 40px; border-bottom: 1px solid #1e293b; }
        .page-header h1 { color: #fff; font-size: 36px; font-weight: 800; }
        .page-header p { color: #94a3b8; font-size: 17px; max-width: 640px; margin-top: 10px; }
        .page-header .breadcrumb { color: #64748b; font-size: 14px; margin-top: 12px; }
        .page-header .breadcrumb a { color: #94a3b8; }
        .page-header .breadcrumb a:hover { color: #60a5fa; }
        .page-header .breadcrumb .sep { margin: 0 8px; color: #475569; }

        .section { padding: 60px 0; }
        .section-alt { background: #fff; }
        .section h2 { font-size: 28px; font-weight: 700; color: #0b1120; margin-bottom: 12px; }
        .section .subtitle { color: #64748b; font-size: 16px; margin-bottom: 32px; }

        .policy-content { max-width: 820px; margin: 0 auto; }
        .policy-content .block { margin-bottom: 32px; }
        .policy-content .block h3 { font-size: 20px; font-weight: 600; color: #0b1120; margin-bottom: 8px; }
        .policy-content .block p { color: #475569; font-size: 15px; margin-bottom: 8px; }
        .policy-content .block ul { padding-left: 20px; color: #475569; font-size: 15px; }
        .policy-content .block ul li { padding: 4px 0; }
        .policy-content .highlight-box { background: #f0f7ff; border-left: 4px solid #2563eb; padding: 16px 20px; border-radius: 6px; margin: 16px 0; }
        .policy-content .highlight-box strong { color: #2563eb; }

        .footer { background: #0b1120; padding: 40px 0 24px; border-top: 1px solid #1e293b; margin-top: 40px; }
        .footer .container { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
        .footer .footer-heading { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 12px; }
        .footer p { color: #94a3b8; font-size: 14px; }
        .footer ul { list-style: none; }
        .footer ul li { padding: 4px 0; }
        .footer ul li a { color: #94a3b8; font-size: 14px; }
        .footer ul li a:hover { color: #fff; }
        .footer-bottom { grid-column: 1 / -1; border-top: 1px solid #1e293b; padding-top: 20px; text-align: center; color: #94a3b8; font-size: 13px; }

        .scroll-top { position: fixed; bottom: 30px; right: 30px; background: #2563eb; color: #fff; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; cursor: pointer; transition: background .2s; z-index: 99; border: none; }
        .scroll-top:hover { background: #1d4ed8; }

        @media (max-width: 768px) {
            .site-nav { display: none; }
            .mobile-toggle { display: block; }
            .page-header h1 { font-size: 26px; }
            .footer .container { grid-template-columns: 1fr; gap: 24px; }
            .container { max-width: 100%; padding: 0 16px; }
        }
        @media (max-width: 480px) {
            .page-header h1 { font-size: 22px; }
            .section h2 { font-size: 22px; }
        }
        /* ===== 标准化修复：跳转链接 / 屏幕阅读器文本 / 页脚可读性 ===== */
        .skip-link { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
        .skip-link:focus { position: fixed; left: 16px; top: 12px; width: auto; height: auto; margin: 0; padding: 10px 18px; overflow: visible; clip: auto; z-index: 1000; background: #2563eb; color: #fff; border-radius: 6px; }
        .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
        .footer-bottom a { color: #60a5fa; text-decoration: underline; }
        .tags .tag-item { background: #f1f5f9; color: #475569; padding: 4px 16px; border-radius: 16px; font-size: 13px; }

        /* ===== 标准化修复覆盖层：WCAG 对比度 / 链接区分 / 焦点可见 / 触控目标 / 图标占位 ===== */
        .footer p { color: #94a3b8; }
        .footer-bottom { color: #94a3b8; }
        .footer-bottom a { color: #60a5fa; text-decoration: underline; }
        .page-header .breadcrumb, .article-header .breadcrumb, .hero-download .breadcrumb { color: #94a3b8; }
        .page-header .breadcrumb a, .article-header .breadcrumb a, .hero-download .breadcrumb a { color: #60a5fa; text-decoration: underline; }
        .article-body a, .article-body p a, .article-body li a, .info-box a, .policy-content a, .block a,
        .note-box a, .contact-card .detail a, .download-card .desc a { text-decoration: underline; }
        a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 3px solid #2563eb; outline-offset: 2px; box-shadow: 0 0 0 5px #fff; }
        .mobile-toggle { min-width: 44px; min-height: 44px; }
        .fas, .far, .fab { display: inline-block; width: 1.1em; text-align: center; }
