.legal-page {
    background: var(--site-bg);
    color: var(--color-text-primary);
    padding: 118px 0 78px;
}

.legal-shell {
    width: min(980px, calc(100% - 32px));
    margin: 0 auto;
}

.legal-hero {
    padding: 0 0 28px;
    border-bottom: 1px solid rgba(173, 127, 62, 0.18);
}

.legal-hero__eyebrow {
    margin: 0 0 10px;
    color: #ad7f3e;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.legal-hero h1 {
    margin: 0;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.02;
    font-weight: 800;
    color: #1d2129;
}

.legal-hero__intro {
    margin: 18px 0 0;
    max-width: 760px;
    font-size: clamp(15px, 1.2vw, 18px);
    line-height: 1.65;
    color: #464b53;
}

.legal-hero__meta {
    margin: 14px 0 0;
    color: #736757;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.legal-sections {
    display: grid;
    gap: 18px;
    margin-top: 28px;
}

.legal-card,
.legal-contact {
    background: var(--site-surface);
    border: 1px solid rgba(205, 191, 173, 0.72);
    border-radius: 22px;
    padding: 26px 24px;
    box-shadow: 0 18px 50px rgba(54, 44, 31, 0.05);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.legal-card h2,
.legal-contact h2 {
    margin: 0 0 14px;
    font-size: clamp(22px, 2vw, 30px);
    line-height: 1.1;
    font-weight: 700;
    color: #222833;
}

.legal-card p,
.legal-contact p {
    margin: 0 0 12px;
    font-size: 15px;
    line-height: 1.7;
    color: #474d57;
}

.legal-card p:last-child,
.legal-contact p:last-child {
    margin-bottom: 0;
}

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

.legal-card li {
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.65;
}

.legal-card li:last-child {
    margin-bottom: 0;
}

.legal-card strong {
    color: #1f2430;
}

.legal-contact {
    margin-top: 18px;
}

.legal-contact__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.legal-contact__actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid #d6a24c;
    color: #1f2430;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.legal-contact__actions a:first-child {
    background: #d6a24c;
    color: #fffaf2;
}

.legal-contact__actions a:hover {
    transform: translateY(-1px);
}

@media (max-width: 640px) {
    .legal-page {
        padding: 96px 0 54px;
    }

    .legal-shell {
        width: calc(100% - 16px);
    }

    .legal-card,
    .legal-contact {
        padding: 22px 16px;
        border-radius: 18px;
    }

    .legal-card p,
    .legal-card li,
    .legal-contact p {
        font-size: 14px;
    }

    .legal-contact__actions a {
        width: 100%;
    }
}
