.header-form .apx-lead {
    --apx-accent: rgb(247, 158, 27);
    --apx-accent-hover: rgb(255, 176, 60);
    --apx-bg: #ffffff;
    --apx-text: #111827;
    --apx-muted: #6b7280;
    --apx-border: #6b7280;
    --apx-radius: 12px;
    --apx-max: 80%;

    box-sizing: border-box;
    width: 100%;
    max-width: var(--apx-max);
    margin: 1rem auto 0;
    padding: 0;
    font-family: "Encode Sans Expanded", sans-serif;
}

.header-form .apx-lead * {
    box-sizing: border-box;
}

.header-form .apx-lead .apx-lead-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
}

.header-form .apx-lead .apx-lead-row {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.header-form .apx-lead .apx-lead-row > * {
    flex: 1 1 auto;
    min-width: 0;
}

.header-form .apx-lead input:not([type="hidden"]) {
    width: 100%;
    min-height: 3rem;
    padding: .5rem 1rem;
    margin: 0;
    font-size: 1rem;
    line-height: 1.5rem;
    color: var(--apx-text);
    background: var(--apx-bg);
    border: 1px solid var(--apx-border);
    border-radius: var(--apx-radius);
    outline: none;
    box-shadow: none;
    transition: border-color .15s ease;
    -webkit-appearance: none;
    appearance: none;
}

.header-form .apx-lead input::placeholder {
    color: var(--apx-muted);
    opacity: 1;
}

.header-form .apx-lead input:focus {
    border-color: var(--apx-accent);
}

.header-form .apx-lead .iti {
    width: 100%;
}

.header-form .apx-lead .iti__selected-dial-code {
    color: var(--apx-text);
}

.header-form .apx-lead .iti input {
    padding-left: 92px;
}

.header-form .apx-lead .submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 3rem;
    margin: 0;
    padding: 0 1rem;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 900;
    line-height: 1.2;
    color: #ffffff;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    background: var(--apx-accent);
    border: none;
    border-radius: var(--apx-radius);
    cursor: pointer;
    transition: filter .15s ease, background .15s ease;
}

.header-form .apx-lead .submit:hover {
    background: var(--apx-accent-hover);
    filter: brightness(1.05);
}

.header-form .apx-lead .submit:disabled {
    opacity: .6;
    cursor: default;
}

@media (max-width: 480px) {
    .header-form .apx-lead {
        max-width: 100%;
    }
}
