/* Small additions use the site's existing type, colors and rounded controls. */
.nah-flow-heading { text-transform: none; }

/* The footer's email must fit its narrow flex column at tablet widths. */
footer .e-paragraph-base:has(a[href^="mailto:"]) {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.nah-flow-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 20px;
    margin-block-start: 20px;
    max-width: 100%;
}

.nah-flow-hero-actions > .nah-flow-cta { margin-block-start: 0; }

.nah-flow-quick-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 2px;
    box-sizing: border-box;
    color: #fff;
    font-size: 16px;
    line-height: 1.5;
    text-decoration: underline;
    text-underline-offset: 4px;
    border-radius: 4px;
}

.nah-flow-quick-link:hover,
.nah-flow-quick-link:focus { color: #fff; }

.nah-flow-quick-link:focus-visible {
    outline: 3px solid #ed8918;
    outline-offset: 3px;
}

.nah-flow-quick-link:active,
.nah-flow-cta:active { opacity: .86; }

body.page-id-119 form.e-form-base .nah-flow-success {
    padding: 20px;
    border-radius: 8px;
    font-size: 16px;
    line-height: 1.5;
    text-align: left;
    overflow-wrap: anywhere;
}

.nah-flow-contact-receipt > p { margin: 8px 0 16px; }
.nah-flow-contact-receipt dl { margin: 0; }
.nah-flow-contact-receipt dl > div {
    display: grid;
    grid-template-columns: minmax(64px, .3fr) minmax(0, 1fr);
    gap: 8px 12px;
    padding-block: 6px;
}
.nah-flow-contact-receipt dt { font-weight: 600; }
.nah-flow-contact-receipt dd { margin: 0; min-width: 0; }

/* Four stable stages stay readable at 320px without a horizontal scroller. */
.nah-qe .nah-qe__stages {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 12px 0 24px;
}

.nah-qe .nah-qe__stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 0;
    margin: 0;
    color: #667278;
    font-size: 13px;
    line-height: 1.3;
    text-align: center;
    overflow-wrap: anywhere;
}

.nah-qe .nah-qe__stage-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border: 1px solid #bfc8ca;
    border-radius: 50%;
    color: #293f49;
    background: #fff;
    font-size: 14px;
    font-weight: 600;
    box-sizing: border-box;
}

.nah-qe .nah-qe__stage.is-current,
.nah-qe .nah-qe__stage[aria-current="step"] {
    color: #293f49;
    font-weight: 600;
}

.nah-qe .nah-qe__stage.is-current .nah-qe__stage-number,
.nah-qe .nah-qe__stage[aria-current="step"] .nah-qe__stage-number {
    border-color: #293f49;
    background: #293f49;
    color: #fff;
}

.nah-qe .nah-qe__stage.is-complete .nah-qe__stage-number {
    background: #edf1f1;
    border-color: #829698;
}

.nah-qe .nah-qe__receipt {
    margin-top: 24px;
    text-align: left;
    overflow-wrap: anywhere;
}
.nah-qe .nah-qe__receipt-note {
    margin-block: 16px;
    font-size: 15px;
    line-height: 1.5;
}

.nah-quick-form[aria-busy="true"] button[type="submit"],
body.page-id-119 form.e-form-base button[type="submit"]:disabled { cursor: progress; }

@media (prefers-reduced-motion: no-preference) {
    .nah-flow-cta,
    .nah-flow-quick-link,
    .nah-quick-form button[type="submit"],
    body.page-id-119 form.e-form-base button[type="submit"] {
        transition: background-color 180ms ease, color 180ms ease, opacity 180ms ease, box-shadow 180ms ease;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nah-qe,
    .nah-qe *,
    .nah-qe *::before,
    .nah-qe *::after {
        animation: none !important;
        transition: none !important;
    }
    .nah-flow-cta,
    .nah-flow-quick-link,
    .nah-quick-form button[type="submit"],
    body.page-id-119 form.e-form-base button[type="submit"] { transition: none; }
}

/* Let the long Contact action wrap inside the smallest phone form column. */
body.page-id-119 form.e-form-base button[type="submit"] {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
    width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    height: auto;
    min-height: 44px;
    padding-inline: 20px;
    line-height: 1.4;
}
