/* =========================================================
   THE FRENCH ESCAPE — LEGAL / TERMS PAGE
   Designed to sit on top of /assets/css/style.css
   ========================================================= */

.legal-page {
    background: var(--paper, #fbfaf7);
    color: var(--ink, #172033);
}

.legal-shell {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

/* HERO */
.legal-hero {
    padding: clamp(72px, 9vw, 132px) 0 clamp(56px, 7vw, 92px);
    background:
        radial-gradient(circle at 85% 20%, rgba(184, 148, 95, .12), transparent 34%),
        var(--cream, #f5f1e8);
    border-bottom: 1px solid rgba(0, 18, 67, .12);
}

.legal-kicker,
.legal-eyebrow,
.legal-section-number,
.legal-toc-title {
    margin: 0 0 14px;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: .76rem;
    line-height: 1.4;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gold, #b8945f);
}

.legal-hero h1 {
    max-width: 900px;
    margin: 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: .95;
    font-weight: 500;
    letter-spacing: -.03em;
    color: var(--navy, #001243);
}

.legal-intro {
    max-width: 760px;
    margin: 28px 0 0;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: clamp(1rem, 1.7vw, 1.16rem);
    line-height: 1.85;
    color: rgba(23, 32, 51, .78);
}

/* MAIN LAYOUT */
.legal-main {
    padding: clamp(58px, 8vw, 104px) 0 110px;
}

.legal-layout {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 760px);
    gap: clamp(48px, 7vw, 96px);
    justify-content: center;
    align-items: start;
}

.legal-aside {
    position: relative;
}

.legal-toc {
    position: sticky;
    top: 112px;
    max-height: calc(100vh - 144px);
    overflow: auto;
    padding-right: 18px;
    scrollbar-width: thin;
}

.legal-toc nav {
    display: grid;
    gap: 2px;
}

.legal-toc a {
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 18, 67, .08);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: .78rem;
    line-height: 1.45;
    text-decoration: none;
    color: rgba(23, 32, 51, .66);
    transition: color .2s ease, transform .2s ease;
}

.legal-toc a:hover,
.legal-toc a:focus-visible {
    color: var(--navy, #001243);
    transform: translateX(4px);
}

/* CONTENT */
.legal-content {
    min-width: 0;
}

.legal-identity {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 36px;
    padding: 34px;
    margin-bottom: 26px;
    background: var(--navy, #001243);
    color: #fff;
}

.legal-identity h2 {
    margin: 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
    font-weight: 500;
    color: #fff;
}

.legal-identity .legal-eyebrow {
    color: var(--gold-light, #d8c09b);
}

.legal-identity-details {
    font-family: "Montserrat", Arial, sans-serif;
    font-size: .86rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, .82);
}

.legal-identity-details p {
    margin: 0 0 14px;
}

.legal-identity-details p:last-child {
    margin-bottom: 0;
}

.legal-highlight {
    margin: 0 0 68px;
    padding: 22px 24px;
    border-left: 3px solid var(--gold, #b8945f);
    background: var(--cream, #f5f1e8);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: .95rem;
    line-height: 1.8;
    color: rgba(23, 32, 51, .82);
}

.legal-highlight strong {
    color: var(--navy, #001243);
}

.legal-section {
    scroll-margin-top: 130px;
    padding: 0 0 52px;
    margin: 0 0 52px;
    border-bottom: 1px solid rgba(0, 18, 67, .10);
}

.legal-section:last-of-type {
    margin-bottom: 0;
}

.legal-section h2,
.legal-operator h2 {
    margin: 0 0 24px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(2rem, 4.2vw, 3.15rem);
    line-height: 1.02;
    font-weight: 500;
    letter-spacing: -.02em;
    color: var(--navy, #001243);
}

.legal-section p,
.legal-section li,
.legal-operator p,
.legal-address {
    font-family: "Montserrat", Arial, sans-serif;
    font-size: .94rem;
    line-height: 1.85;
    color: rgba(23, 32, 51, .78);
}

.legal-section p {
    margin: 0 0 18px;
}

.legal-section p:last-child {
    margin-bottom: 0;
}

.legal-section ul {
    margin: 4px 0 24px;
    padding: 0;
    list-style: none;
}

.legal-section li {
    position: relative;
    padding: 5px 0 5px 24px;
}

.legal-section li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 1.02em;
    width: 7px;
    height: 7px;
    border: 1px solid var(--gold, #b8945f);
    transform: rotate(45deg);
}

.legal-address {
    margin: 22px 0 0;
    padding: 22px 24px;
    background: var(--cream, #f5f1e8);
    font-style: normal;
}

.legal-address a {
    color: var(--navy, #001243);
    text-underline-offset: 3px;
}

.legal-operator {
    margin-top: 64px;
    padding: clamp(30px, 5vw, 48px);
    background: var(--cream, #f5f1e8);
    border-top: 3px solid var(--gold, #b8945f);
}

.legal-operator p {
    margin: 0 0 16px;
}

.legal-back {
    padding-top: 36px;
}

.legal-back-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: .84rem;
    font-weight: 600;
    letter-spacing: .05em;
    text-decoration: none;
    color: var(--navy, #001243);
}

.legal-back-link span {
    font-size: 1.15rem;
    transition: transform .2s ease;
}

.legal-back-link:hover span {
    transform: translateX(-4px);
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .legal-shell {
        width: min(100% - 34px, 760px);
    }

    .legal-layout {
        display: block;
    }

    .legal-aside {
        display: none;
    }

    .legal-identity {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .legal-highlight {
        margin-bottom: 54px;
    }
}

@media (max-width: 560px) {
    .legal-shell {
        width: min(100% - 28px, 760px);
    }

    .legal-hero {
        padding-top: 58px;
    }

    .legal-hero h1 {
        font-size: clamp(2.7rem, 14vw, 4.2rem);
    }

    .legal-identity {
        padding: 26px 22px;
    }

    .legal-section {
        padding-bottom: 42px;
        margin-bottom: 42px;
    }

    .legal-section h2,
    .legal-operator h2 {
        font-size: 2.35rem;
    }
}
