* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    background: #f9fafb;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.legal-document {
    margin-top: 60px;
    min-height: calc(100vh - 300px);
}

.document-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    padding: 48px;
}

.document-header {
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 20px;
}

    .document-header h1 {
        font-size: 28px;
        color: #1e293b;
        margin-bottom: 8px;
    }

.document-date {
    color: #6c757d;
    font-size: 14px;
}

.document-content h2 {
    font-size: 20px;
    color: #1e293b;
    margin-top: 28px;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.document-content h3 {
    font-size: 18px;
    color: #334155;
    margin-top: 20px;
    margin-bottom: 12px;
}

.document-content p {
    line-height: 1.6;
    color: #475569;
    margin-bottom: 16px;
    font-size: 15px;
}

.document-content ul {
    margin: 12px 0 20px 24px;
    color: #475569;
    line-height: 1.6;
    font-size: 15px;
}

.document-content li {
    margin-bottom: 8px;
}

.info-box {
    background: #e6f7ff;
    border-left: 4px solid #00b3ff;
    padding: 16px 20px;
    margin: 24px 0;
    border-radius: 12px;
}

    .info-box p {
        margin-bottom: 8px;
        color: #005c8a;
    }

    .info-box strong {
        color: #003d5c;
    }

.document-actions {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    gap: 16px;
    justify-content: center;
}

.btn-back {
    padding: 12px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    background: #00b3ff;
    color: white;
    display: inline-block;
    transition: background 0.2s;
}

    .btn-back:hover {
        background: #0099cc;
    }

.footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 48px 0 24px;
    margin-top: 60px;
}

.footer__top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer__logo img {
    height: 44px;
    width: auto;
}

.footer__tagline {
    margin-top: 12px;
    font-size: 14px;
    color: #64748b;
}

.footer__title {
    color: white;
    font-size: 16px;
    margin-bottom: 16px;
}

.footer__list {
    list-style: none;
}

    .footer__list li {
        margin-bottom: 10px;
    }

    .footer__list a {
        color: #94a3b8;
        text-decoration: none;
        font-size: 14px;
        transition: color 0.2s;
    }

        .footer__list a:hover {
            color: #00b3ff;
        }

.footer__socials {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.footer__social {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

    .footer__social:hover {
        color: #00b3ff;
    }

.footer__bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid #1e293b;
    font-size: 13px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .legal-document {
        padding: 40px 0;
    }

    .document-container {
        padding: 24px;
        border-radius: 20px;
    }

    .document-header h1 {
        font-size: 22px;
    }

    .document-content h2 {
        font-size: 18px;
    }

    .document-content p, .document-content ul {
        font-size: 14px;
    }

    .btn-back {
        padding: 10px 24px;
        font-size: 14px;
    }

    .footer {
        padding: 40px 0 20px;
    }

    .footer__top {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer__col {
        text-align: left;
    }

    .footer__socials {
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .document-container {
        padding: 20px;
    }

    .document-header h1 {
        font-size: 20px;
    }

    .document-content h2 {
        font-size: 17px;
    }

    .btn-back {
        padding: 8px 20px;
        font-size: 13px;
    }
}
