body.legal-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 8% 0, rgba(59, 130, 246, 0.18), transparent 32%),
        radial-gradient(circle at 92% 10%, rgba(20, 184, 166, 0.12), transparent 24%),
        linear-gradient(180deg, #f4f8ff 0, #ffffff 320px);
}

.legal-shell {
    padding: 24px 0 56px;
}

.legal-shell__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    transition: transform 180ms ease, color 180ms ease;
}

.legal-shell__back:hover,
.legal-shell__back:focus-visible {
    color: var(--accent);
}

.legal-card {
    max-width: 100%;
    padding: 26px;
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.14), transparent 30%),
        linear-gradient(180deg, #ffffff, #f8fbff);
    border: 1px solid rgba(219, 234, 254, 0.95);
    box-shadow: var(--shadow-soft);
}

.legal-card__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.legal-card__eyebrow::before {
    content: "";
    width: 28px;
    height: 1px;
    background: currentColor;
}

.legal-card__text {
    display: grid;
    gap: 16px;
    color: var(--text-secondary);
}

.legal-card__text p {
    margin: 0;
}

.legal-card__footer {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(229, 231, 235, 0.95);
}

.legal-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.legal-shell__back:hover,
.legal-shell__back:focus-visible,
.legal-shell__back:active,
.legal-card__cta:hover,
.legal-card__cta:focus-visible,
.legal-card__cta:active {
    transform: translateY(-2px);
}

.legal-card__cta:hover,
.legal-card__cta:focus-visible {
    box-shadow: 0 20px 34px rgba(37, 99, 235, 0.38);
    filter: brightness(1.04);
}

.legal-card__cta.btn--ghost:hover,
.legal-card__cta.btn--ghost:focus-visible {
    box-shadow: 0 8px 16px rgba(17, 24, 39, 0.08);
    filter: none;
}

@media (min-width: 740px) {
    .legal-shell {
        padding-top: 36px;
    }

    .legal-card {
        padding: 34px;
    }
}