.legal-page {
    padding: 64px 0 88px;
    background: var(--blue-50, #f4f9fd);
}

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

.legal-hero {
    margin-bottom: 28px;
}

.legal-hero .section-kicker {
    margin-bottom: 12px;
}

.legal-hero h1 {
    margin: 0 0 14px;
    color: var(--blue-950, #062b59);
    font-size: clamp(2.1rem, 5vw, 3.6rem);
    line-height: 1.05;
}

.legal-intro,
.legal-updated {
    color: var(--text-soft, #526b83);
}

.legal-updated {
    margin-top: 10px;
    font-size: 0.92rem;
}

.legal-card {
    padding: clamp(24px, 5vw, 52px);
    border: 1px solid var(--border, #d7e4ef);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(4, 42, 83, 0.08);
}

.legal-card section + section {
    margin-top: 34px;
    padding-top: 30px;
    border-top: 1px solid var(--border, #d7e4ef);
}

.legal-card h2 {
    margin: 0 0 12px;
    color: var(--blue-950, #062b59);
    font-size: 1.35rem;
}

.legal-card h3 {
    margin: 22px 0 8px;
    color: var(--blue-900, #0a3769);
    font-size: 1.05rem;
}

.legal-card p,
.legal-card li,
.legal-card address {
    color: var(--text-main, #163b5f);
    line-height: 1.7;
}

.legal-card address {
    font-style: normal;
}

.legal-card ul,
.legal-card ol {
    margin: 10px 0 0;
    padding-left: 1.35rem;
}

.legal-card a,
.legal-contact-link {
    color: var(--blue-700, #0967b4);
    font-weight: 700;
    overflow-wrap: anywhere;
}

.legal-note {
    padding: 18px 20px;
    border-left: 4px solid var(--orange-500, #ff7a00);
    border-radius: 10px;
    background: var(--orange-100, #fff1e3);
}

.legal-contact-box {
    display: grid;
    gap: 14px;
    margin-top: 24px;
    padding: 24px;
    border: 1px solid var(--border, #d7e4ef);
    border-radius: 18px;
    background: var(--blue-50, #f4f9fd);
}

.legal-contact-box .button {
    justify-self: start;
}

.revocation-function {
    margin: calc(clamp(24px, 5vw, 52px) * -1);
    margin-bottom: 34px;
    padding: clamp(24px, 5vw, 52px);
    border-radius: 24px 24px 18px 18px;
    background: #f3f9fe;
}

.revocation-badge {
    display: inline-flex;
    margin: 0 0 10px;
    padding: 7px 11px;
    border-radius: 999px;
    background: #fff0e1;
    color: #b95000 !important;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.revocation-form {
    display: grid;
    gap: 18px;
    margin-top: 26px;
}

.revocation-field {
    display: grid;
    gap: 7px;
}

.revocation-field label,
.revocation-confirmation {
    color: #062b59;
    font-weight: 750;
}

.revocation-field input {
    width: 100%;
    min-height: 50px;
    padding: 11px 13px;
    border: 1px solid #b9ccdc;
    border-radius: 10px;
    background: #fff;
    color: #163b5f;
    font: inherit;
}

.revocation-field input:focus {
    border-color: #0877c7;
    outline: 3px solid rgba(8, 119, 199, .16);
}

.revocation-field small {
    color: #526b83;
    line-height: 1.45;
}

.revocation-confirmation {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 10px;
    align-items: start;
    line-height: 1.55;
}

.revocation-confirmation input {
    width: 19px;
    height: 19px;
    margin-top: 2px;
    accent-color: #f36f00;
}

.revocation-submit {
    justify-self: start;
    border: 0;
}

.revocation-submit:disabled {
    cursor: wait;
    opacity: .7;
}

.revocation-status {
    display: grid;
    gap: 6px;
    padding: 18px 20px;
    border-radius: 12px;
    line-height: 1.5;
}

.revocation-status--success {
    border: 1px solid #8bcba8;
    background: #edf9f2;
    color: #135b34;
}

.revocation-status--error {
    border: 1px solid #e4a3a3;
    background: #fff1f1;
    color: #842525;
}

.revocation-alternative {
    margin-top: 22px;
    font-size: .92rem;
}

.revocation-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

@media (max-width: 680px) {
    .legal-page {
        padding: 42px 0 64px;
    }

    .legal-shell {
        width: min(100% - 24px, 980px);
    }

    .legal-card {
        border-radius: 18px;
    }

    .revocation-function {
        border-radius: 18px 18px 14px 14px;
    }
}
