.withdrawal-shell {
    width: min(100% - 32px, 720px);
    margin: 0 auto;
    padding: 72px 0 96px;
}

.withdrawal-intro {
    margin-bottom: 34px;
}

.withdrawal-eyebrow {
    margin: 0 0 12px;
    color: var(--color-slate-azure);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.withdrawal-intro h1,
.withdrawal-success h2 {
    margin: 0 0 22px;
    color: var(--color-graphite);
    font-family: var(--font-primary);
    font-size: clamp(2rem, 6vw, 3.4rem);
    font-weight: 300;
    letter-spacing: -0.035em;
}

.withdrawal-intro > p:not(.withdrawal-eyebrow),
.withdrawal-success > p {
    max-width: 62ch;
    color: var(--color-graphite);
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.75;
    opacity: 0.78;
}

.withdrawal-test {
    display: flex;
    gap: 10px;
    margin-top: 22px;
    padding: 14px 16px;
    border: 1px solid #e0c879;
    background: #fff8dc;
    color: #5f4b06;
    font-size: 0.78rem;
    line-height: 1.55;
}

.withdrawal-test[hidden],
.withdrawal-form[hidden],
.withdrawal-success[hidden] {
    display: none !important;
}

.withdrawal-form,
.withdrawal-success {
    padding: clamp(24px, 5vw, 46px);
    border: 1px solid rgba(40, 67, 71, 0.16);
    background: #fbfaf7;
}

.withdrawal-field {
    margin-bottom: 22px;
}

.withdrawal-field label {
    display: block;
    margin-bottom: 8px;
    color: var(--color-graphite);
    font-size: 0.78rem;
    font-weight: 650;
    letter-spacing: 0.02em;
}

.withdrawal-field input,
.withdrawal-field textarea {
    width: 100%;
    border: 1px solid rgba(40, 67, 71, 0.25);
    border-radius: 0;
    background: #fff;
    color: var(--color-graphite);
    font: inherit;
    font-size: 0.95rem;
    line-height: 1.5;
    padding: 13px 14px;
}

.withdrawal-field textarea {
    min-height: 116px;
    resize: vertical;
}

.withdrawal-field input:focus,
.withdrawal-field textarea:focus {
    border-color: var(--color-slate-azure);
    outline: 2px solid rgba(40, 67, 71, 0.14);
    outline-offset: 2px;
}

.withdrawal-help,
.withdrawal-privacy {
    margin: 8px 0 0;
    color: var(--color-graphite);
    font-size: 0.72rem;
    line-height: 1.55;
    opacity: 0.68;
}

.withdrawal-declaration {
    margin: 8px 0 18px;
    padding: 14px 16px;
    border-left: 3px solid var(--color-slate-azure);
    background: rgba(40, 67, 71, 0.055);
}

.withdrawal-declaration p {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.6;
}

.withdrawal-submit {
    width: 100%;
    min-height: 52px;
    border: 1px solid var(--color-slate-azure);
    border-radius: 0;
    background: var(--color-slate-azure);
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 650;
    letter-spacing: 0.045em;
    transition: background 160ms ease, color 160ms ease;
}

.withdrawal-submit:hover {
    background: #fff;
    color: var(--color-slate-azure);
}

.withdrawal-submit:disabled {
    cursor: wait;
    opacity: 0.6;
}

.withdrawal-status {
    min-height: 1.4em;
    margin: 14px 0 0;
    color: #8a2c24;
    font-size: 0.78rem;
    line-height: 1.55;
}

.withdrawal-status.is-success {
    color: #276440;
}

.withdrawal-honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
}

.withdrawal-success {
    border-color: rgba(39, 100, 64, 0.32);
}

.withdrawal-success dl {
    display: grid;
    gap: 10px;
    margin: 24px 0;
}

.withdrawal-success dl div {
    display: grid;
    grid-template-columns: minmax(130px, 0.35fr) 1fr;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(40, 67, 71, 0.12);
}

.withdrawal-success dt {
    color: var(--color-graphite);
    font-size: 0.73rem;
    font-weight: 650;
}

.withdrawal-success dd {
    margin: 0;
    overflow-wrap: anywhere;
    color: var(--color-slate-azure);
    font-size: 0.78rem;
}

.legal-withdrawal-link {
    font-weight: 700 !important;
    text-decoration: underline !important;
    text-underline-offset: 0.22em;
}

@media (max-width: 640px) {
    .withdrawal-shell {
        width: min(100% - 24px, 720px);
        padding: 34px 0 64px;
    }

    .withdrawal-form,
    .withdrawal-success {
        padding: 22px 16px;
    }

    .withdrawal-success dl div {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .withdrawal-test {
        flex-direction: column;
    }
}
