.legal-header {
    background: #05377e;
    padding: 18px 0;
}

.legal-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.legal-header__logo img {
    max-height: 56px;
    width: auto;
    height: auto;
}

.legal-header__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    padding: 9px 12px;
    font-size: 15px;
    line-height: 1;
    font-weight: 600;
}

.legal-header__back:hover {
    color: #05377e;
    background: #ffffff;
}

.legal-page-area {
    padding: 56px 0;
    background: #f4f8ff;
}

.legal-card {
    background: #ffffff;
    border: 1px solid #d7e4f8;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 10px 24px rgba(5, 55, 126, 0.08);
}

.legal-eyebrow {
    margin: 0 0 8px;
    color: #05377e;
    letter-spacing: 0.08em;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.legal-title {
    margin: 0 0 8px;
    color: #111827;
    font-size: 38px;
    line-height: 1.15;
    font-weight: 800;
}

.legal-meta {
    margin: 0 0 26px;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.5;
}

.legal-card h2 {
    margin: 28px 0 10px;
    color: #0f172a;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 700;
}

.legal-card p {
    margin: 0 0 14px;
    color: #1f2937;
    font-size: 16px;
    line-height: 1.75;
}

.legal-card ul {
    margin: 0 0 14px;
    padding-left: 20px;
}

.legal-card li {
    margin-bottom: 8px;
    color: #1f2937;
    font-size: 16px;
    line-height: 1.65;
}

.legal-note {
    margin-top: 16px;
    border-left: 4px solid #05377e;
    background: #edf4ff;
    border-radius: 8px;
    padding: 14px 14px 14px 16px;
}

.legal-note p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
}

.legal-table-wrap {
    overflow-x: auto;
    margin-bottom: 14px;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
}

.legal-table th,
.legal-table td {
    border: 1px solid #d7e4f8;
    padding: 10px;
    text-align: left;
    vertical-align: top;
    font-size: 14px;
    line-height: 1.45;
    color: #1f2937;
}

.legal-table th {
    background: #edf4ff;
    color: #0f172a;
    font-weight: 700;
}

.legal-footer {
    background: #0c1224;
    padding: 20px 0;
}

.legal-footer__inner {
    display: flex;
    gap: 10px 16px;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.legal-footer__copy {
    margin: 0;
    color: #e5e7eb;
    font-size: 14px;
    line-height: 1.5;
}

.legal-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
}

.legal-footer__links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.4;
}

.legal-footer__links a:hover {
    text-decoration: underline;
}

@media (max-width: 767px) {
    .legal-page-area {
        padding: 30px 0;
    }

    .legal-card {
        padding: 18px;
    }

    .legal-title {
        font-size: 30px;
    }

    .legal-card h2 {
        font-size: 22px;
    }
}
