﻿.legal-page {
    padding: 28px 16px 72px;
}

.legal-container {
    max-width: 1120px;
    margin: 0 auto;
}

.legal-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: #66758a;
    font-size: 14px;
}

    .legal-breadcrumb a {
        color: #123a8d;
        font-weight: 700;
        text-decoration: none;
    }

.legal-page-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.legal-eyebrow {
    margin: 0 0 8px;
    color: #123a8d;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.legal-page-head h1 {
    margin: 0 0 10px;
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.15;
    color: #17212f;
}

.legal-lead {
    max-width: 760px;
    margin: 0;
    color: #66758a;
    line-height: 1.8;
}

.legal-highlight-card,
.legal-card,
.legal-note-card {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 24px 64px rgba(18, 58, 141, 0.12);
    backdrop-filter: blur(12px);
    border-radius: 28px;
    margin-bottom: 22px;
}

.legal-highlight-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 24px 26px;
    background: linear-gradient(180deg, #fffdf6, #fff7de);
    border-color: #f3df9a;
}

.legal-highlight-icon {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(135deg, #ff9f1a, #ffd166);
    color: #fff;
    font-size: 30px;
    font-weight: 900;
    box-shadow: 0 16px 28px rgba(255, 159, 26, 0.24);
}

.legal-highlight-card h2,
.legal-note-card h2 {
    margin: 0 0 8px;
    color: #17212f;
    font-size: 26px;
}

.legal-highlight-card p,
.legal-note-card p {
    margin: 0;
    color: #5f4a00;
    line-height: 1.9;
    font-weight: 700;
}

.legal-card {
    padding: 0;
}

    .legal-card::before {
        content: "";
        position: absolute;
        width: 280px;
        height: 280px;
        top: -100px;
        right: -100px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(31, 111, 255, 0.14), rgba(31, 111, 255, 0));
        pointer-events: none;
    }

.legal-card-head {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
    padding: 24px 26px;
    border-bottom: 1px solid #e5edf6;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(246, 250, 255, 0.82));
}

    .legal-card-head h2 {
        margin: 0 0 4px;
        color: #17212f;
        font-size: 28px;
    }

    .legal-card-head p {
        margin: 0;
        color: #66758a;
    }

.legal-status-chip {
    padding: 12px 16px;
    border-radius: 999px;
    background: rgba(17, 163, 106, 0.10);
    color: #0c7d50;
    font-weight: 800;
    white-space: nowrap;
}

.legal-section-list {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 0;
}

    .legal-section-list section {
        padding: 24px 26px;
        border-bottom: 1px solid #e7edf6;
    }

        .legal-section-list section:last-child {
            border-bottom: 0;
        }

    .legal-section-list h3 {
        margin: 0 0 10px;
        color: #17212f;
        font-size: 22px;
    }

    .legal-section-list p,
    .legal-section-list li {
        color: #30465f;
        line-height: 1.9;
    }

    .legal-section-list p {
        margin: 0;
    }

    .legal-section-list ul {
        margin: 0;
        padding-left: 1.4rem;
    }

.legal-emphasis-section {
    background: #fffaf0;
}

    .legal-emphasis-section h3 {
        color: #946400;
    }

.legal-note-card {
    padding: 24px 26px;
    background: #f8fbff;
    border-color: #dde9fb;
}

    .legal-note-card p {
        color: #30465f;
        font-weight: 400;
    }

@media (max-width: 720px) {
    .legal-page {
        padding: 22px 12px 56px;
    }

    .legal-highlight-card,
    .legal-card-head,
    .legal-page-head {
        flex-direction: column;
    }

    .legal-highlight-card,
    .legal-section-list section,
    .legal-note-card,
    .legal-card-head {
        padding: 20px;
    }
}
