.legal-page {
    width: 100%;
    background-color: #111111;
    color: #F1E9E0;
}

.legal-page .hero-section {
    position: relative;
    width: 100%;
    height: 36.46vw;
    overflow: hidden;
}

.legal-page .hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.legal-page .hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.legal-page .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(17, 17, 17, 0.55) 0%, #111111 100%);
}

.legal-page .hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    width: 100%;
}

.legal-page .hero-subtitle {
    font-family: 'Kapakana';
    font-size: 2.86vw;
    color: #F1E9E0;
    font-weight: 400;
    margin: 0 0 1.56vw;
}

.legal-page .hero-title {
    font-family: 'CormorantGaramond', serif;
    font-size: 4.17vw;
    font-weight: 400;
    letter-spacing: 0.125vw;
    text-transform: uppercase;
    color: #F1E9E0;
    line-height: 1.2;
    margin: 0;
}

.legal-content-section {
    margin-top: -10vw;
    padding: 5.21vw 15vw 8.33vw;
}

.legal-content {
    text-align: left;
}

.legal-content h1 {
    font-family: 'CormorantGaramond', serif;
    font-size: 2.6vw;
    font-weight: 600;
    color: #F1E9E0;
    margin: 0 0 2.08vw;
    line-height: 1.2;
}

.legal-content h2 {
    font-family: 'CormorantGaramond', serif;
    font-size: 1.88vw;
    font-weight: 600;
    color: #A37F66;
    margin: 2.6vw 0 1.3vw;
    line-height: 1.3;
}

.legal-content h3 {
    font-family: 'CormorantGaramond', serif;
    font-size: 1.46vw;
    font-weight: 600;
    color: #F1E9E0;
    margin: 2.08vw 0 1.04vw;
    line-height: 1.3;
}

.legal-content h4 {
    font-family: 'CormorantGaramond', serif;
    font-size: 1.25vw;
    font-weight: 600;
    color: #F1E9E0;
    margin: 1.56vw 0 0.78vw;
    line-height: 1.3;
}

.legal-content p {
    font-family: 'CormorantGaramond', serif;
    font-size: 1.04vw;
    font-weight: 300;
    line-height: 1.8;
    color: #F1E9E0;
    margin: 0 0 1.3vw;
}

.legal-content p strong {
    font-weight: 600;
    color: #A37F66;
}

.legal-content a {
    color: #A37F66;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.legal-content a:hover {
    color: #F1E9E0;
}

.legal-content ul,
.legal-content ol {
    font-family: 'CormorantGaramond', serif;
    font-size: 1.04vw;
    font-weight: 300;
    line-height: 1.8;
    color: #F1E9E0;
    margin: 0 0 1.56vw;
    padding-left: 1.56vw;
}

.legal-content ul {
    list-style-type: disc;
}

.legal-content ol {
    list-style-type: decimal;
}

.legal-content li {
    margin-bottom: 0.52vw;
}

.legal-content li::marker {
    color: #A37F66;
}

.legal-content ul ul,
.legal-content ol ol,
.legal-content ul ol,
.legal-content ol ul {
    margin-top: 0.52vw;
    margin-bottom: 0.52vw;
}

.legal-content hr {
    border: none;
    height: 1px;
    background-color: #A37F66;
    margin: 2.6vw 0;
}

@media only screen and (max-width: 767px) {
    .legal-page .hero-section {
        height: 100vw;
    }

    .legal-page .hero-content {
        top: 45%;
        padding: 0 7%;
    }

    .legal-page .hero-subtitle {
        font-size: 6vw;
        margin-bottom: 3vw;
    }

    .legal-page .hero-title {
        font-size: 8vw;
        letter-spacing: 0.3vw;
    }

    .legal-content-section {
        padding: 10vw 7% 15vw;
    }

    .legal-content h1 {
        font-size: 7vw;
        margin-bottom: 6vw;
    }

    .legal-content h2 {
        font-size: 5.5vw;
        margin: 8vw 0 4vw;
    }

    .legal-content h3 {
        font-size: 5vw;
        margin: 6vw 0 3vw;
    }

    .legal-content h4 {
        font-size: 4.5vw;
        margin: 5vw 0 2.5vw;
    }

    .legal-content p {
        font-size: 4vw;
        line-height: 1.7;
        margin-bottom: 5vw;
    }

    .legal-content ul,
    .legal-content ol {
        font-size: 4vw;
        padding-left: 6vw;
        margin-bottom: 5vw;
    }

    .legal-content li {
        margin-bottom: 2vw;
    }
}
