.suf-form-wrapper {
    --suf-primary: #160742;
    --suf-primary-soft: #f5f2fa;
    --suf-accent: #ff8500;
    --suf-accent-dark: #e86e00;
    --suf-accent-soft: #fff7ee;
    --suf-text: #302d35;
    --suf-muted: #68636f;
    --suf-border: #e7e3eb;
    --suf-danger: #b42318;
    width: 100%;
    max-width: 740px;
    margin: 0 auto 52px;
    color: var(--suf-text);
    font-family: inherit;
}

.suf-form-wrapper *,
.suf-form-wrapper *::before,
.suf-form-wrapper *::after {
    box-sizing: border-box;
}

.suf-form {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 0;
    background: #fff;
    border: 1px solid var(--suf-border);
    border-radius: 15px;
    box-shadow: 0 18px 42px rgba(22, 7, 66, 0.08);
}

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

.suf-form-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 19px 28px;
    background: linear-gradient(90deg, #faf8fc 0%, #f5f2fa 100%);
    border-bottom: 1px solid var(--suf-border);
}

.suf-form-title-group {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.suf-eyebrow {
    color: var(--suf-accent);
    font-size: 10px;
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.suf-form-title-group > strong {
    margin-top: 3px;
    color: var(--suf-primary);
    font-size: 13px;
    line-height: 1.3;
    font-weight: 700;
}

.suf-stepper {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.suf-step-indicator {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    margin: 0;
    padding: 5px 11px 5px 6px;
    color: #817a8a;
    background: rgba(255,255,255,.72);
    border: 1px solid #e8e2ef;
    border-radius: 999px;
    transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}

.suf-step-indicator > span {
    display: inline-flex;
    width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
    color: #817a8a;
    background: #fff;
    border: 1px solid #ddd6e6;
    border-radius: 50%;
    font-size: 10px;
    line-height: 1;
    font-weight: 800;
}

.suf-step-indicator strong {
    color: inherit;
    font-size: 10px;
    line-height: 1.2;
    font-weight: 750;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.suf-step-indicator.is-active {
    color: #fff;
    background: var(--suf-primary);
    border-color: var(--suf-primary);
}

.suf-step-indicator.is-active > span {
    color: var(--suf-primary);
    background: #fff;
    border-color: #fff;
}

.suf-step-indicator.is-complete {
    color: var(--suf-accent-dark);
    background: var(--suf-accent-soft);
    border-color: #ffd7ad;
}

.suf-step-indicator.is-complete > span {
    color: #fff;
    background: var(--suf-accent);
    border-color: var(--suf-accent);
}

.suf-form-body {
    padding: 34px 34px 38px;
}

.suf-step {
    animation: sufFadeIn .22s ease both;
}

.suf-step[hidden] {
    display: none !important;
}

@keyframes sufFadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

.suf-section-heading {
    margin: 0 0 25px;
}

.suf-section-heading h2,
.suf-confirmation h2 {
    margin: 0 0 6px;
    color: var(--suf-primary);
    font-size: 24px;
    line-height: 1.2;
    font-weight: 750;
    letter-spacing: -0.025em;
}

.suf-section-heading p,
.suf-extra-heading p,
.suf-confirmation p {
    margin: 0;
    color: var(--suf-muted);
    font-size: 13px;
    line-height: 1.6;
}

.suf-upload-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.suf-limit-pill,
.suf-extra-heading > span {
    display: inline-flex;
    flex: 0 0 auto;
    min-height: 27px;
    align-items: center;
    padding: 5px 10px;
    color: var(--suf-primary);
    background: var(--suf-primary-soft);
    border: 1px solid #e6def0;
    border-radius: 999px;
    font-size: 9px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.suf-fields-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.suf-field {
    min-width: 0;
    margin: 0 0 19px;
    padding: 0;
    border: 0;
}

.suf-field > label,
.suf-field > legend {
    display: block;
    width: 100%;
    margin: 0 0 8px;
    color: var(--suf-primary);
    font-size: 12px;
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: .01em;
}

.suf-field > label span,
.suf-field > legend span {
    margin-right: 3px;
    color: var(--suf-accent);
}

.suf-field input[type="text"],
.suf-field input[type="email"],
.suf-textarea {
    display: block;
    width: 100%;
    min-height: 50px;
    margin: 0;
    padding: 12px 14px;
    color: var(--suf-text);
    background: #fff;
    border: 1px solid #dcd6e2;
    border-radius: 8px;
    box-shadow: inset 0 1px 0 rgba(22,7,66,.015);
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
    appearance: none;
}

.suf-field input::placeholder,
.suf-textarea::placeholder {
    color: #aaa4b0;
    opacity: 1;
}

.suf-field input:hover,
.suf-textarea:hover {
    border-color: #c9bfd4;
}

.suf-field input:focus,
.suf-textarea:focus {
    background: #fff;
    border-color: var(--suf-primary);
    box-shadow: 0 0 0 3px rgba(22,7,66,.08);
    outline: none;
}

.suf-field input.has-error,
.suf-platform-field.has-error .suf-platform-card,
.suf-textarea.has-error {
    border-color: #d92d20 !important;
    box-shadow: 0 0 0 3px rgba(217,45,32,.08) !important;
}

.suf-platform-field {
    margin-top: 2px;
}

.suf-platform-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.suf-platform-btn {
    display: block;
    min-width: 0;
    margin: 0;
    cursor: pointer;
}

.suf-platform-btn > input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.suf-platform-card {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 14px;
    color: var(--suf-primary);
    background: #fff;
    border: 1px solid #dcd6e2;
    border-radius: 999px;
    transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.suf-platform-card:hover {
    border-color: #bcb0ca;
    background: #fcfbfd;
}

.suf-platform-btn > input:focus-visible + .suf-platform-card {
    box-shadow: 0 0 0 3px rgba(22,7,66,.1);
}

.suf-platform-btn > input:checked + .suf-platform-card {
    color: var(--suf-primary);
    background: var(--suf-accent-soft);
    border-color: var(--suf-accent);
    box-shadow: 0 0 0 2px rgba(255,133,0,.11);
}

.suf-platform-copy {
    display: block;
    min-width: 0;
}

.suf-platform-copy strong {
    display: block;
    color: inherit;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 750;
}

.suf-choice-dot {
    display: none;
}

.suf-btn-primary {
    display: inline-flex;
    min-width: 205px;
    min-height: 47px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin: 7px auto 0;
    padding: 11px 24px;
    color: #fff !important;
    background: var(--suf-accent);
    border: 1px solid var(--suf-accent);
    border-radius: 8px;
    box-shadow: 0 8px 18px rgba(255,133,0,.18);
    font-family: inherit;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .035em;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.suf-btn-primary svg {
    width: 17px;
    height: 17px;
}

.suf-btn-primary:hover,
.suf-btn-primary:focus {
    color: #fff !important;
    background: var(--suf-accent-dark);
    border-color: var(--suf-accent-dark);
    box-shadow: 0 10px 22px rgba(232,110,0,.22);
    outline: none;
    transform: translateY(-1px);
}

.suf-btn-primary:disabled {
    opacity: .7;
    cursor: wait;
    transform: none;
}

.suf-next-step,
.suf-submit-btn {
    display: flex;
}

.suf-back-step {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 22px;
    padding: 0;
    color: var(--suf-accent-dark);
    background: transparent;
    border: 0;
    font-family: inherit;
    font-size: 11px;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
}

.suf-back-step:hover,
.suf-back-step:focus {
    color: var(--suf-primary);
    outline: none;
}

.suf-upload-zone {
    margin: 0;
}

.suf-drop-target {
    position: relative;
    display: flex;
    min-height: 185px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 28px 24px;
    color: var(--suf-primary);
    background: #faf8fc;
    border: 2px dashed #cfc5da;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}

.suf-drop-target:hover,
.suf-drop-target:focus,
.suf-drop-target.is-dragging {
    background: var(--suf-accent-soft);
    border-color: var(--suf-accent);
    outline: none;
}

.suf-drop-target.is-dragging {
    transform: scale(1.006);
}

.suf-drop-icon {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    color: #fff;
    background: var(--suf-accent);
    border-radius: 50%;
    box-shadow: 0 8px 18px rgba(255,133,0,.18);
}

.suf-drop-icon svg {
    width: 23px;
    height: 23px;
}

.suf-drop-text {
    margin: 0;
}

.suf-drop-text strong,
.suf-drop-text span {
    display: block;
}

.suf-drop-text strong {
    color: var(--suf-primary);
    font-size: 15px;
    line-height: 1.35;
    font-weight: 750;
}

.suf-drop-text span {
    margin-top: 3px;
    color: var(--suf-muted);
    font-size: 12px;
    line-height: 1.45;
}

.suf-drop-hint {
    margin: 11px 0 0;
    color: #91899a;
    font-size: 10px;
    line-height: 1.45;
    letter-spacing: .02em;
}

.suf-file-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.suf-file-list {
    display: grid;
    gap: 8px;
    margin: 0;
}

.suf-file-list.has-files {
    margin-top: 13px;
}

.suf-file-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 60px;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid var(--suf-border);
    border-radius: 9px;
}

.suf-file-type {
    display: inline-flex;
    min-width: 44px;
    height: 34px;
    align-items: center;
    justify-content: center;
    padding: 0 7px;
    color: var(--suf-accent-dark);
    background: var(--suf-accent-soft);
    border: 1px solid #ffd7ad;
    border-radius: 7px;
    font-size: 9px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .045em;
}

.suf-file-details {
    min-width: 0;
}

.suf-file-details strong,
.suf-file-details small {
    display: block;
}

.suf-file-details strong {
    overflow: hidden;
    color: var(--suf-primary);
    font-size: 12px;
    line-height: 1.35;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.suf-file-details small {
    margin-top: 3px;
    color: var(--suf-muted);
    font-size: 10px;
    line-height: 1.3;
}

.suf-remove-file {
    display: inline-flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: #817a8a;
    background: #f7f5f9;
    border: 0;
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.suf-remove-file:hover,
.suf-remove-file:focus {
    color: #fff;
    background: var(--suf-danger);
    outline: none;
}

.suf-extra-info {
    margin-top: 26px;
    padding-top: 24px;
    border-top: 1px solid var(--suf-border);
}

.suf-extra-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 12px;
}

.suf-extra-heading h3 {
    margin: 0 0 4px;
    color: var(--suf-primary);
    font-size: 16px;
    line-height: 1.3;
    font-weight: 750;
}

.suf-textarea {
    min-height: 118px;
    resize: vertical;
}

.suf-inline-error {
    display: block;
    margin-top: 6px;
    color: var(--suf-danger);
    font-size: 11px;
    line-height: 1.45;
}

.suf-inline-error:empty,
.suf-inline-error[hidden] {
    display: none;
}

.suf-form-message {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
}

.suf-form-error {
    color: #9f261d;
    background: #fff3f2;
    border: 1px solid #efc7c3;
}

.suf-form-message[hidden] {
    display: none !important;
}

.suf-progress {
    margin: 20px 0 0;
}

.suf-progress[hidden] {
    display: none !important;
}

.suf-progress-track {
    height: 7px;
    overflow: hidden;
    background: #eee9f2;
    border-radius: 999px;
}

.suf-progress-track span {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--suf-primary), var(--suf-accent));
    border-radius: inherit;
    transition: width .18s ease;
}

.suf-progress p {
    margin: 7px 0 0;
    color: var(--suf-muted);
    font-size: 11px;
    line-height: 1.4;
    text-align: center;
}

.suf-confirmation {
    max-width: 540px;
    margin: 0 auto;
    padding: 28px 8px 24px;
    text-align: center;
}

.suf-success-icon {
    display: inline-flex;
    width: 68px;
    height: 68px;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: #fff;
    background: var(--suf-primary);
    border-radius: 50%;
    box-shadow: 0 10px 24px rgba(22,7,66,.16);
}

.suf-success-icon svg {
    width: 31px;
    height: 31px;
}

.suf-confirmation .suf-btn-primary {
    margin-top: 22px;
}

@media (max-width: 680px) {
    .suf-form-wrapper {
        margin-bottom: 34px;
    }

    .suf-form {
        border-radius: 12px;
        box-shadow: 0 12px 28px rgba(22,7,66,.07);
    }

    .suf-form-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 13px;
        padding: 17px 19px;
    }

    .suf-stepper {
        width: 100%;
    }

    .suf-step-indicator {
        flex: 1 1 0;
        justify-content: center;
        padding-right: 8px;
    }

    .suf-form-body {
        padding: 27px 20px 30px;
    }

    .suf-fields-grid,
    .suf-platform-group {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .suf-platform-group {
        gap: 9px;
    }

    .suf-upload-heading,
    .suf-extra-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .suf-section-heading h2,
    .suf-confirmation h2 {
        font-size: 22px;
    }

    .suf-btn-primary {
        width: 100%;
        min-width: 0;
    }

    .suf-drop-target {
        min-height: 172px;
        padding: 24px 16px;
    }
}

@media (max-width: 420px) {
    .suf-step-indicator strong {
        font-size: 9px;
    }

    .suf-file-item {
        grid-template-columns: auto minmax(0,1fr) auto;
        gap: 9px;
        padding: 9px;
    }

    .suf-file-type {
        min-width: 39px;
    }
}

/* 3.0.1 interaction and completion refinements */
.suf-complete-title {
    display: none;
}

.suf-section-heading h2[tabindex="-1"],
.suf-confirmation h2[tabindex="-1"] {
    outline: none !important;
}

.suf-back-step,
.suf-back-step:hover,
.suf-back-step:focus,
.suf-back-step:active {
    color: var(--suf-accent-dark) !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    transform: none !important;
}

.suf-back-step:hover {
    color: var(--suf-primary) !important;
}

.suf-back-step:focus-visible {
    color: var(--suf-primary) !important;
    outline: 2px solid rgba(255, 133, 0, 0.45) !important;
    outline-offset: 5px !important;
    border-radius: 3px;
}

.suf-form[data-current-step="3"] .suf-step-title,
.suf-form[data-current-step="3"] .suf-stepper {
    display: none;
}

.suf-form[data-current-step="3"] .suf-complete-title {
    display: block;
}

.suf-form[data-current-step="3"] .suf-form-header {
    justify-content: flex-start;
}

.suf-form[data-current-step="3"] .suf-form-body {
    padding-top: 30px;
    padding-bottom: 32px;
}

.suf-confirmation {
    max-width: none;
    margin: 0;
    padding: 0;
    text-align: left;
}

.suf-confirmation-hero {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    overflow: hidden;
    padding: 25px 26px;
    background: linear-gradient(135deg, #faf8fc 0%, #f4eff9 100%);
    border: 1px solid #e5ddee;
    border-radius: 13px;
}

.suf-confirmation-hero::after {
    position: absolute;
    top: 0;
    right: 0;
    width: 92px;
    height: 92px;
    background: radial-gradient(circle at top right, rgba(255, 133, 0, 0.17), rgba(255, 133, 0, 0) 70%);
    content: "";
    pointer-events: none;
}

.suf-confirmation-copy {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.suf-confirmation .suf-success-icon {
    position: relative;
    z-index: 1;
    flex: 0 0 62px;
    width: 62px;
    height: 62px;
    margin: 0;
    color: #fff;
    background: var(--suf-primary);
    box-shadow: 0 10px 24px rgba(22, 7, 66, 0.17);
}

.suf-confirmation .suf-success-icon::after {
    position: absolute;
    right: -3px;
    bottom: -3px;
    width: 19px;
    height: 19px;
    background: var(--suf-accent);
    border: 3px solid #f7f3fa;
    border-radius: 50%;
    content: "";
}

.suf-confirmation .suf-success-icon svg {
    width: 29px;
    height: 29px;
}

.suf-confirmation-copy .suf-eyebrow {
    display: block;
    margin-bottom: 5px;
}

.suf-confirmation-copy h2 {
    margin: 0 0 5px;
    font-size: 25px;
}

.suf-confirmation-copy p {
    max-width: 480px;
    font-size: 13px;
    line-height: 1.55;
}

.suf-confirmation-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.suf-confirmation-detail {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    min-width: 0;
    padding: 15px 16px;
    background: #fff;
    border: 1px solid var(--suf-border);
    border-radius: 11px;
}

.suf-confirmation-detail-icon {
    display: inline-flex;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    color: var(--suf-accent-dark);
    background: var(--suf-accent-soft);
    border-radius: 8px;
}

.suf-confirmation-detail-icon svg {
    width: 16px;
    height: 16px;
}

.suf-confirmation-detail > span:last-child {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 2px;
}

.suf-confirmation-detail strong {
    color: var(--suf-primary);
    font-size: 12px;
    line-height: 1.35;
    font-weight: 750;
}

.suf-confirmation-detail small {
    color: var(--suf-muted);
    font-size: 11px;
    line-height: 1.45;
}

.suf-confirmation-close {
    margin: 16px 0 0 !important;
    color: #8a8490 !important;
    font-size: 11px !important;
    line-height: 1.4 !important;
    text-align: center;
}

@media (max-width: 680px) {
    .suf-form[data-current-step="3"] .suf-form-header {
        align-items: flex-start;
    }

    .suf-confirmation-hero {
        align-items: flex-start;
        padding: 21px 19px;
    }

    .suf-confirmation .suf-success-icon {
        flex-basis: 52px;
        width: 52px;
        height: 52px;
    }

    .suf-confirmation .suf-success-icon svg {
        width: 25px;
        height: 25px;
    }

    .suf-confirmation-copy h2 {
        font-size: 21px;
    }

    .suf-confirmation-details {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 430px) {
    .suf-confirmation-hero {
        flex-direction: column;
        gap: 15px;
    }
}


/* 3.0.2: the page hero already explains the upload flow. */
.suf-step[data-step="1"] > .suf-fields-grid:first-child {
    margin-top: 0;
}

.suf-step[data-step="2"] .suf-back-step {
    margin-bottom: 18px;
}

@media (min-width: 681px) {
    .suf-form-body {
        padding-top: 30px;
    }
}
