/* === Стили группы: legal === */
/* Страницы: legal/consent.html, legal/cookies.html, legal/offer.html, legal/privacy.html, legal/refund.html, legal/terms.html */

/* --- legal/consent.html --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
        body {
            font-family: 'Inter', system-ui, -apple-system, sans-serif;
            background: #f5f5f5;
            color: #1a1a2e;
            line-height: 1.7;
            -webkit-font-smoothing: antialiased;
        }
        .top-bar { background: #fff; border-bottom: 1px solid #e2e8f0; padding: 16px 0; position: sticky; top: 0; z-index: 100; backdrop-filter: blur(12px); }
        .top-bar-inner { max-width: 900px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 16px; }
        .top-bar a { color: #007bff; text-decoration: none; font-size: 15px; font-weight: 500; }
        .top-bar a:hover { color: #0056b3; }
        .top-bar .sep { color: #cbd5e0; }
        .top-bar .current { color: #718096; font-weight: 400; }
        .container { max-width: 900px; margin: 40px auto 80px; background: #fff; border-radius: 20px; padding: 60px 72px; box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 20px rgba(0,0,0,0.04); }
        @media (max-width: 768px) {
            .container { margin: 20px 12px 60px; padding: 32px 24px; border-radius: 16px; }
            .top-bar-inner { padding: 0 16px; }
        }
        h1 { font-size: 32px; font-weight: 700; color: #0f172a; margin-bottom: 8px; letter-spacing: -0.5px; }
        .last-updated { font-size: 14px; color: #94a3b8; margin-bottom: 40px; }
        h2 { font-size: 22px; font-weight: 700; color: #1e293b; margin: 40px 0 16px; padding-top: 24px; border-top: 1px solid #f1f5f9; }
        h2:first-of-type { border-top: none; padding-top: 0; }
        p { margin-bottom: 14px; color: #475569; font-size: 15.5px; }
        ul, ol { margin: 8px 0 18px 24px; color: #475569; font-size: 15.5px; }
        li { margin-bottom: 8px; }
        a { color: #007bff; text-decoration: none; }
        a:hover { text-decoration: underline; }
        .highlight-box { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 24px; margin: 24px 0; }

/* --- legal/cookies.html --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
        body {
            font-family: 'Inter', system-ui, -apple-system, sans-serif;
            background: #f5f5f5;
            color: #1a1a2e;
            line-height: 1.7;
            -webkit-font-smoothing: antialiased;
        }
        .top-bar { background: #fff; border-bottom: 1px solid #e2e8f0; padding: 16px 0; position: sticky; top: 0; z-index: 100; backdrop-filter: blur(12px); }
        .top-bar-inner { max-width: 900px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 16px; }
        .top-bar a { color: #007bff; text-decoration: none; font-size: 15px; font-weight: 500; }
        .top-bar a:hover { color: #0056b3; }
        .top-bar .sep { color: #cbd5e0; }
        .top-bar .current { color: #718096; font-weight: 400; }
        .container { max-width: 900px; margin: 40px auto 80px; background: #fff; border-radius: 20px; padding: 60px 72px; box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 20px rgba(0,0,0,0.04); }
        @media (max-width: 768px) {
            .container { margin: 20px 12px 60px; padding: 32px 24px; border-radius: 16px; }
            .top-bar-inner { padding: 0 16px; }
        }
        h1 { font-size: 32px; font-weight: 700; color: #0f172a; margin-bottom: 8px; letter-spacing: -0.5px; }
        .last-updated { font-size: 14px; color: #94a3b8; margin-bottom: 40px; }
        h2 { font-size: 22px; font-weight: 700; color: #1e293b; margin: 40px 0 16px; padding-top: 24px; border-top: 1px solid #f1f5f9; }
        h2:first-of-type { border-top: none; padding-top: 0; }
        p { margin-bottom: 14px; color: #475569; font-size: 15.5px; }
        ul, ol { margin: 8px 0 18px 24px; color: #475569; font-size: 15.5px; }
        li { margin-bottom: 8px; }
        a { color: #007bff; text-decoration: none; }
        a:hover { text-decoration: underline; }
        .cookie-table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 15px; }
        .cookie-table th { background: #f8fafc; text-align: left; padding: 12px 16px; font-weight: 600; color: #334155; border-bottom: 2px solid #e2e8f0; }
        .cookie-table td { padding: 12px 16px; border-bottom: 1px solid #f1f5f9; color: #475569; }
        .warning-box { background: #fff8e1; border: 1px solid #ffc107; border-radius: 12px; padding: 20px; margin: 24px 0; }
        .warning-box p { color: #795548; margin: 0; }

/* --- legal/offer.html --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
        body {
            font-family: 'Inter', system-ui, -apple-system, sans-serif;
            background: #f5f5f5;
            color: #1a1a2e;
            line-height: 1.7;
            -webkit-font-smoothing: antialiased;
        }
        .top-bar {
            background: #fff;
            border-bottom: 1px solid #e2e8f0;
            padding: 16px 0;
            position: sticky;
            top: 0;
            z-index: 100;
            backdrop-filter: blur(12px);
        }
        .top-bar-inner {
            max-width: 900px;
            margin: 0 auto;
            padding: 0 24px;
            display: flex;
            align-items: center;
            gap: 16px;
        }
        .top-bar a { color: #007bff; text-decoration: none; font-size: 15px; font-weight: 500; }
        .top-bar a:hover { color: #0056b3; }
        .top-bar .sep { color: #cbd5e0; }
        .top-bar .current { color: #718096; font-weight: 400; }
        .container {
            max-width: 900px;
            margin: 40px auto 80px;
            background: #fff;
            border-radius: 20px;
            padding: 60px 72px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 20px rgba(0,0,0,0.04);
        }
        @media (max-width: 768px) {
            .container { margin: 20px 12px 60px; padding: 32px 24px; border-radius: 16px; }
            .top-bar-inner { padding: 0 16px; }
        }
        h1 { font-size: 32px; font-weight: 700; color: #0f172a; margin-bottom: 8px; letter-spacing: -0.5px; }
        .last-updated { font-size: 14px; color: #94a3b8; margin-bottom: 40px; }
        h2 { font-size: 22px; font-weight: 700; color: #1e293b; margin: 40px 0 16px; padding-top: 24px; border-top: 1px solid #f1f5f9; }
        h2:first-of-type { border-top: none; padding-top: 0; }
        h3 { font-size: 17px; font-weight: 600; color: #334155; margin: 24px 0 10px; }
        p { margin-bottom: 14px; color: #475569; font-size: 15.5px; }
        ul, ol { margin: 8px 0 18px 24px; color: #475569; font-size: 15.5px; }
        li { margin-bottom: 8px; }
        a { color: #007bff; text-decoration: none; }
        a:hover { text-decoration: underline; }

/* --- legal/privacy.html --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
        body {
            font-family: 'Inter', system-ui, -apple-system, sans-serif;
            background: #f5f5f5;
            color: #1a1a2e;
            line-height: 1.7;
            -webkit-font-smoothing: antialiased;
        }
        .top-bar {
            background: #fff;
            border-bottom: 1px solid #e2e8f0;
            padding: 16px 0;
            position: sticky;
            top: 0;
            z-index: 100;
            backdrop-filter: blur(12px);
        }
        .top-bar-inner {
            max-width: 900px;
            margin: 0 auto;
            padding: 0 24px;
            display: flex;
            align-items: center;
            gap: 16px;
        }
        .top-bar a { color: #007bff; text-decoration: none; font-size: 15px; font-weight: 500; }
        .top-bar a:hover { color: #0056b3; }
        .top-bar .sep { color: #cbd5e0; }
        .top-bar .current { color: #718096; font-weight: 400; }
        .container {
            max-width: 900px;
            margin: 40px auto 80px;
            background: #fff;
            border-radius: 20px;
            padding: 60px 72px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 20px rgba(0,0,0,0.04);
        }
        @media (max-width: 768px) {
            .container { margin: 20px 12px 60px; padding: 32px 24px; border-radius: 16px; }
            .top-bar-inner { padding: 0 16px; }
        }
        h1 { font-size: 32px; font-weight: 700; color: #0f172a; margin-bottom: 8px; letter-spacing: -0.5px; }
        .last-updated { font-size: 14px; color: #94a3b8; margin-bottom: 40px; }
        h2 { font-size: 22px; font-weight: 700; color: #1e293b; margin: 40px 0 16px; padding-top: 24px; border-top: 1px solid #f1f5f9; }
        h2:first-of-type { border-top: none; padding-top: 0; }
        h3 { font-size: 17px; font-weight: 600; color: #334155; margin: 24px 0 10px; }
        p { margin-bottom: 14px; color: #475569; font-size: 15.5px; }
        ul, ol { margin: 8px 0 18px 24px; color: #475569; font-size: 15.5px; }
        li { margin-bottom: 8px; }
        a { color: #007bff; text-decoration: none; }
        a:hover { text-decoration: underline; }

/* --- legal/refund.html --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
        body {
            font-family: 'Inter', system-ui, -apple-system, sans-serif;
            background: #f5f5f5;
            color: #1a1a2e;
            line-height: 1.7;
            -webkit-font-smoothing: antialiased;
        }
        .top-bar { background: #fff; border-bottom: 1px solid #e2e8f0; padding: 16px 0; position: sticky; top: 0; z-index: 100; backdrop-filter: blur(12px); }
        .top-bar-inner { max-width: 900px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 16px; }
        .top-bar a { color: #007bff; text-decoration: none; font-size: 15px; font-weight: 500; }
        .top-bar a:hover { color: #0056b3; }
        .top-bar .sep { color: #cbd5e0; }
        .top-bar .current { color: #718096; font-weight: 400; }
        .container { max-width: 900px; margin: 40px auto 80px; background: #fff; border-radius: 20px; padding: 60px 72px; box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 20px rgba(0,0,0,0.04); }
        @media (max-width: 768px) {
            .container { margin: 20px 12px 60px; padding: 32px 24px; border-radius: 16px; }
            .top-bar-inner { padding: 0 16px; }
        }
        h1 { font-size: 32px; font-weight: 700; color: #0f172a; margin-bottom: 8px; letter-spacing: -0.5px; }
        .last-updated { font-size: 14px; color: #94a3b8; margin-bottom: 40px; }
        h2 { font-size: 22px; font-weight: 700; color: #1e293b; margin: 40px 0 16px; padding-top: 24px; border-top: 1px solid #f1f5f9; }
        h2:first-of-type { border-top: none; padding-top: 0; }
        h3 { font-size: 17px; font-weight: 600; color: #334155; margin: 24px 0 10px; }
        p { margin-bottom: 14px; color: #475569; font-size: 15.5px; }
        ul, ol { margin: 8px 0 18px 24px; color: #475569; font-size: 15.5px; }
        li { margin-bottom: 8px; }
        a { color: #007bff; text-decoration: none; }
        a:hover { text-decoration: underline; }
        .highlight-box { background: #f0f7ff; border: 1px solid #b6d4fe; border-radius: 12px; padding: 20px 24px; margin: 24px 0; }

/* --- legal/terms.html --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
        body {
            font-family: 'Inter', system-ui, -apple-system, sans-serif;
            background: #f5f5f5;
            color: #1a1a2e;
            line-height: 1.7;
            -webkit-font-smoothing: antialiased;
        }
        .top-bar {
            background: #fff;
            border-bottom: 1px solid #e2e8f0;
            padding: 16px 0;
            position: sticky;
            top: 0;
            z-index: 100;
            backdrop-filter: blur(12px);
        }
        .top-bar-inner {
            max-width: 900px;
            margin: 0 auto;
            padding: 0 24px;
            display: flex;
            align-items: center;
            gap: 16px;
        }
        .top-bar a { color: #007bff; text-decoration: none; font-size: 15px; font-weight: 500; }
        .top-bar a:hover { color: #0056b3; }
        .top-bar .sep { color: #cbd5e0; }
        .top-bar .current { color: #718096; font-weight: 400; }
        .container {
            max-width: 900px;
            margin: 40px auto 80px;
            background: #fff;
            border-radius: 20px;
            padding: 60px 72px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 20px rgba(0,0,0,0.04);
        }
        @media (max-width: 768px) {
            .container { margin: 20px 12px 60px; padding: 32px 24px; border-radius: 16px; }
            .top-bar-inner { padding: 0 16px; }
        }
        h1 { font-size: 32px; font-weight: 700; color: #0f172a; margin-bottom: 8px; letter-spacing: -0.5px; }
        .last-updated { font-size: 14px; color: #94a3b8; margin-bottom: 40px; }
        h2 { font-size: 22px; font-weight: 700; color: #1e293b; margin: 40px 0 16px; padding-top: 24px; border-top: 1px solid #f1f5f9; }
        h2:first-of-type { border-top: none; padding-top: 0; }
        h3 { font-size: 17px; font-weight: 600; color: #334155; margin: 24px 0 10px; }
        p { margin-bottom: 14px; color: #475569; font-size: 15.5px; }
        ul, ol { margin: 8px 0 18px 24px; color: #475569; font-size: 15.5px; }
        li { margin-bottom: 8px; }
        a { color: #007bff; text-decoration: none; }
        a:hover { text-decoration: underline; }


/* --- Дополнительные стили legal --- */
.mb-0 { margin-bottom: 0; }
.legal-footer-note { margin-top: 32px; padding-top: 24px; border-top: 1px solid #f1f5f9; font-size: 14px; color: #94a3b8; }
