/* ===== Legal Pages Styles ===== */
.legal-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg-primary);
}

.legal-header {
    background: #000000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.legal-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.legal-header .logo {
    display: flex;
    align-items: center;
}

.legal-header .logo img {
    height: 44px;
    width: auto;
}

.legal-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #cfcfd2;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.legal-back-link:hover {
    color: #ffffff;
}

.legal-back-link i {
    font-size: 0.85rem;
}

.legal-content {
    flex: 1;
    padding: 60px 0 80px;
    background: var(--bg-secondary);
}

.legal-content .container {
    max-width: 860px;
}

.legal-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    color: #14161a;
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.legal-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 48px;
}

.legal-body {
    background: #ffffff;
    border: 1px solid #e5e5e8;
    border-radius: 16px;
    padding: 40px clamp(20px, 4vw, 56px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.legal-body h2 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: #14161a;
    margin: 36px 0 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e5e8;
}

.legal-body h2:first-child {
    margin-top: 0;
}

.legal-body h3 {
    font-size: 1.15rem;
    color: var(--text-primary);
    margin: 24px 0 10px;
    font-weight: 600;
}

.legal-body p {
    line-height: 1.9;
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-size: 1rem;
}

.legal-body ul,
.legal-body ol {
    padding-inline-start: 24px;
    margin-bottom: 18px;
    color: var(--text-secondary);
    line-height: 1.9;
}

.legal-body li {
    margin-bottom: 8px;
}

.legal-body strong {
    color: var(--text-primary);
    font-weight: 600;
}

.legal-body a {
    color: #14161a;
    text-decoration: none;
    border-bottom: 1px dotted #8b8e93;
    transition: color 0.2s;
}

.legal-body a:hover {
    color: #000000;
    border-bottom-color: #000000;
}

.legal-contact-box {
    margin-top: 36px;
    padding: 24px;
    background: #f7f7f8;
    border: 1px solid #e5e5e8;
    border-radius: 12px;
}

.legal-contact-box h3 {
    margin-top: 0;
    color: #14161a;
}

.legal-contact-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.legal-contact-box li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.legal-contact-box i {
    color: #14161a;
    width: 20px;
}

@media (max-width: 600px) {
    .legal-content {
        padding: 32px 0 60px;
    }
    .legal-body {
        padding: 28px 20px;
        border-radius: 12px;
    }
    .legal-body h2 {
        font-size: 1.35rem;
    }
}
