/* Contact-only states; the existing form typography and colors are inherited. */
.form-steps {
    display: flex;
    gap: 12px;
    padding: 0;
    list-style: none;
    font-size: 14px;
    color: var(--color-text-muted);
}
.form-steps li { flex: 1; text-align: center; border-bottom: 2px solid #ddd; padding-bottom: 8px; }
.form-steps [aria-current="step"] { color: var(--color-primary); border-color: currentColor; font-weight: bold; }
.form-errors { margin: 24px 0; padding: 16px; background: #fff4f4; border: 1px solid #b42318; color: #9b1c13; font-size: 14px; }
.form-errors ul { padding-left: 1.5em; }
.form-confirm dd { white-space: pre-wrap; overflow-wrap: anywhere; }
.form-confirm .form__item { border-bottom: 1px solid #ddd; }
.form-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin: 32px 0; }
.form-actions button { margin: 0; padding: 12px 24px; }
.form-actions .form-back { color: var(--color-primary); background: #fff; }
.formbox .form__text + .form__text { margin-top: 20px; }
.formbox a { text-decoration: underline; text-underline-offset: 3px; }
.formbox button { cursor: pointer; }
.form-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 600px) {
    .formbox { margin: 0 16px 40px; padding: 24px 16px; }
    .form-submit button { max-width: 100%; padding-inline: 24px; }
    .form-actions { flex-direction: column; }
}
