* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    overflow-x: clip;
}

img {
    max-width: 100%;
}

body {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    color: #222;
    background: #fff;
    line-height: 1.7;
    font-size: 16px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.legal-content {
    flex: 1 0 auto;
    word-break: break-word;
    padding: 32px 0 48px;
}

.legal-content .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.legal-content h1 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 24px;
    color: #000;
}

.legal-content p {
    margin-bottom: 16px;
}

.legal-content a {
    color: #7C3AED;
    word-break: break-all;
}

.footer {
    background: #1a1a1a;
    color: #fff;
    padding: 36px 0 28px;
    margin-top: auto;
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer .row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

.footer .col-md-3 img {
    display: block;
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
}

.footer b {
    display: block;
    margin-bottom: 8px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.footer p {
    font-size: 14px;
    line-height: 1.6;
    color: #ccc;
}

.footer a {
    color: #ccc;
    text-decoration: none;
}

.footer a:hover {
    color: #fff;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 8px;
}

.footer ul a {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14px;
}

.copyright {
    padding-top: 16px;
    border-top: 1px solid #333;
    font-size: 12px;
    color: #999;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

@media (max-width: 768px) {
    .footer .row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .footer p,
    .footer ul a,
    .copyright {
        word-break: break-all;
    }

    .legal-content .container,
    .footer .container {
        padding: 0 16px;
    }
}

@media (max-width: 480px) {
    .legal-content {
        padding: 24px 0 36px;
    }

    .footer {
        padding: 28px 0 20px;
    }
}
