.legal {
    border-top: 1px solid var(--footer-line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    padding: 22px 0 30px;
    color: var(--footer-muted);
    font-size: 12.5px;
}

.legal .links {
    display: flex;
    gap: 26px;
}

.legal a {
    color: var(--footer-muted);
    transition: color 0.2s ease;
}

.legal a:hover {
    color: var(--footer-gold-soft);
}

.legal-page {
    background: var(--ivory);
}

.legal-content {
    min-height: 100vh;
    padding-bottom: clamp(64px, 8vw, 104px);
}

.legal-hero {
    display: grid;
    gap: 0.9rem;
    padding-top: clamp(120px, 14vw, 180px);
    padding-bottom: clamp(24px, 3.5vw, 44px);
    border-bottom: 1px solid var(--line);
    background: transparent;
    color: var(--ink);
    text-align: center;
}

.legal-hero::after {
    display: none;
}

.legal-hero>* {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}

.legal-hero .eyebrow {
    margin-bottom: 0;
    color: var(--gold);
}

.legal-title {
    max-width: 900px;
    margin: 0 auto 18px;
    font-family: var(--font-heading);
    font-size: clamp(46px, 6vw, 86px);
    line-height: 0.94;
    letter-spacing: 0;
    color: var(--ink);
}

.legal-title em {
    color: var(--gold);
}

.legal-hero>p:last-child {
    max-width: 720px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.7;
}

.legal-container {
    width: min(100% - 40px, 980px);
    margin: clamp(48px, 7vw, 50px) auto 0;
}

.legal-text,
.legal-section {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 14px 44px rgba(20, 17, 10, 0.05);
}

.legal-text {
    margin-bottom: 22px;
    padding: clamp(24px, 4vw, 42px);
    border-left: 4px solid var(--gold);
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--black);
}

.legal-text p:last-child,
.legal-section p:last-child,
.legal-section ul:last-child,
.legal-section ol:last-child {
    margin-bottom: 0;
}

.legal-section {
    margin-bottom: 22px;
    padding: clamp(24px, 4vw, 42px);
}

.legal-section h2 {
    margin: 0 0 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-heading);
    font-size: clamp(1.55rem, 3vw, 2.1rem);
    line-height: 1.2;
    color: var(--gold);
}

.legal-section h3 {
    margin: 30px 0 14px;
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    line-height: 1.4;
    color: var(--black);
}

.legal-section p,
.legal-section li {
    font-size: 1rem;
    line-height: 1.78;
    color: rgba(17, 16, 13, 0.84);
}

.legal-section p {
    margin-bottom: 18px;
}

.legal-section ul,
.legal-section ol {
    margin: 18px 0 22px;
    padding-left: 26px;
}

.legal-section li {
    margin-bottom: 10px;
    padding-left: 5px;
}

.legal-section li::marker {
    color: var(--gold);
    font-weight: 700;
}

.legal-section a {
    color: #9b7000;
    text-decoration: underline;
    text-decoration-color: rgba(155, 112, 0, 0.34);
    text-underline-offset: 3px;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.legal-section a:hover,
.legal-section a:focus-visible {
    color: var(--black);
    text-decoration-color: var(--gold);
}

@media (max-width: 760px) {
    .legal {
        justify-content: center;
    }

    .legal {
        font-size: 8px;
        gap: 5px;
    }

    .legal-hero {
        padding-top: clamp(112px, 30vw, 140px);
        padding-bottom: 34px;
    }

    .legal-container {
        width: min(100% - 28px, 980px);
        margin-top: 34px;
    }

    .legal-text,
    .legal-section {
        border-radius: 14px;
    }

    .legal-section h2 {
        margin-bottom: 18px;
    }

    .legal .links {
        justify-content: center;
    }

    .legal {
        align-items: flex-start;
        justify-content: center;
        text-align: left;
        line-height: 1.55;
    }

    .legal .links {
        width: 100%;
        flex-wrap: wrap;
        gap: 14px 22px;
    }
}