.three-dpa-enquiry {
    --dpa-blue: #123d8d;
    --dpa-blue-dark: #0b2c6b;
    --dpa-gold: #d4a72c;
    --dpa-ink: #15213a;
    --dpa-muted: #5d687d;
    --dpa-line: #dce3ef;
    --dpa-soft: #f5f8fd;
    width: min(1180px, calc(100% - 32px));
    margin: 40px auto 72px;
    color: var(--dpa-ink);
}

.three-dpa-enquiry__hero {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: end;
    margin-bottom: 28px;
    padding: clamp(28px, 5vw, 54px);
    overflow: hidden;
    border: 1px solid rgba(18, 61, 141, .13);
    border-radius: 28px;
    background:
        radial-gradient(circle at 92% 10%, rgba(212, 167, 44, .24), transparent 34%),
        linear-gradient(135deg, #f8faff 0%, #eef4ff 100%);
    box-shadow: 0 24px 70px rgba(22, 47, 94, .10);
}

.three-dpa-enquiry__intro {
    max-width: 780px;
}

.three-dpa-enquiry__eyebrow,
.three-dpa-enquiry__impact-kicker {
    margin: 0 0 8px;
    color: #8c6400;
    font-size: .78rem;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.three-dpa-enquiry h1 {
    margin: 0 0 14px;
    font-size: clamp(2.15rem, 5vw, 4rem);
    line-height: 1.02;
    letter-spacing: -.035em;
}

.three-dpa-enquiry__intro > p:last-child {
    max-width: 720px;
    margin: 0;
    color: var(--dpa-muted);
    font-size: clamp(1rem, 1.8vw, 1.16rem);
    line-height: 1.7;
}

.three-dpa-enquiry__assurance {
    display: grid;
    gap: 12px;
}

.three-dpa-enquiry__assurance span {
    display: flex;
    gap: 12px;
    align-items: center;
    min-height: 52px;
    padding: 10px 14px;
    border: 1px solid rgba(18, 61, 141, .12);
    border-radius: 16px;
    background: rgba(255, 255, 255, .76);
    color: #2f3d58;
    font-weight: 700;
}

.three-dpa-enquiry__assurance strong {
    display: grid;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    place-items: center;
    border-radius: 50%;
    background: var(--dpa-blue);
    color: #fff;
    font-size: .84rem;
}

.three-dpa-enquiry__impact {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(310px, .75fr);
    gap: 28px;
    align-items: center;
    margin: 0 0 24px;
    padding: 24px clamp(22px, 4vw, 36px);
    border: 1px solid rgba(212, 167, 44, .38);
    border-radius: 20px;
    background: linear-gradient(135deg, #fffdf7 0%, #fff8df 100%);
    box-shadow: 0 14px 36px rgba(106, 79, 12, .08);
}

.three-dpa-enquiry__impact h2 {
    margin: 0 0 8px;
    font-size: clamp(1.4rem, 3vw, 2rem);
}

.three-dpa-enquiry__impact p:last-child {
    margin: 0;
    color: var(--dpa-muted);
}

.three-dpa-enquiry__impact dl {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
}

.three-dpa-enquiry__impact dl div {
    min-width: 0;
    padding: 12px;
    border: 1px solid rgba(212, 167, 44, .28);
    border-radius: 13px;
    background: rgba(255, 255, 255, .8);
}

.three-dpa-enquiry__impact dt {
    margin-bottom: 4px;
    color: #76622a;
    font-size: .75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.three-dpa-enquiry__impact dd {
    margin: 0;
    font-weight: 850;
}

.three-dpa-enquiry__account-note {
    margin: 0 0 20px;
    padding: 14px 18px;
    border: 1px solid #cfe0ff;
    border-radius: 14px;
    background: #f3f7ff;
    color: #294a82;
    font-weight: 650;
}

.three-dpa-enquiry__form {
    padding: clamp(22px, 4vw, 46px);
    border: 1px solid rgba(18, 61, 141, .14);
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 26px 70px rgba(18, 43, 90, .11);
}

.three-dpa-enquiry__progress {
    margin-bottom: clamp(28px, 5vw, 46px);
}

.three-dpa-enquiry__progress ol {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.three-dpa-enquiry__progress li {
    display: flex;
    gap: 10px;
    align-items: center;
    color: #7a8496;
    font-size: .9rem;
}

.three-dpa-enquiry__progress li span {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    border: 1px solid #cbd4e1;
    border-radius: 50%;
    background: #fff;
    font-weight: 850;
}

.three-dpa-enquiry__progress li.is-current,
.three-dpa-enquiry__progress li.is-complete {
    color: var(--dpa-ink);
}

.three-dpa-enquiry__progress li.is-current span {
    border-color: var(--dpa-blue);
    background: var(--dpa-blue);
    color: #fff;
    box-shadow: 0 0 0 5px rgba(18, 61, 141, .10);
}

.three-dpa-enquiry__progress li.is-complete span {
    border-color: #1f7a45;
    background: #eaf8ef;
    color: #176438;
}

.three-dpa-enquiry__progress-bar {
    height: 5px;
    margin-top: 18px;
    overflow: hidden;
    border-radius: 999px;
    background: #e7ebf2;
}

.three-dpa-enquiry__progress-bar span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--dpa-blue), var(--dpa-gold));
    transition: width .28s ease;
}

.three-dpa-enquiry__step + .three-dpa-enquiry__step {
    margin-top: 44px;
    padding-top: 38px;
    border-top: 1px solid var(--dpa-line);
}

.three-dpa-enquiry__form.is-enhanced .three-dpa-enquiry__step {
    display: none;
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.three-dpa-enquiry__form.is-enhanced .three-dpa-enquiry__step.is-current {
    display: block;
    animation: three-dpa-step-in .25s ease both;
}

@keyframes three-dpa-step-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.three-dpa-enquiry__step-heading {
    margin-bottom: 24px;
}

.three-dpa-enquiry__step-heading p {
    margin: 0 0 6px;
    color: var(--dpa-blue);
    font-size: .8rem;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.three-dpa-enquiry__step-heading h2 {
    margin: 0 0 6px;
    font-size: clamp(1.55rem, 3vw, 2.25rem);
    letter-spacing: -.02em;
}

.three-dpa-enquiry__step-heading span {
    color: var(--dpa-muted);
}

.three-dpa-enquiry__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 20px;
}

.three-dpa-enquiry__field,
.three-dpa-enquiry__field--full {
    display: grid;
    gap: 7px;
    margin-bottom: 20px;
}

.three-dpa-enquiry__choice-field {
    min-width: 0;
}

.three-dpa-enquiry__field label,
.three-dpa-enquiry__field--full label {
    color: #283650;
    font-size: .93rem;
    font-weight: 800;
}

.three-dpa-enquiry input,
.three-dpa-enquiry textarea,
.three-dpa-enquiry select {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #b8c3d3;
    border-radius: 12px;
    background: #fff;
    color: var(--dpa-ink);
    font: inherit;
    padding: 13px 14px;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.three-dpa-enquiry textarea {
    min-height: 180px;
    resize: vertical;
    line-height: 1.6;
}

.three-dpa-enquiry input:hover,
.three-dpa-enquiry textarea:hover,
.three-dpa-enquiry select:hover {
    border-color: #8191aa;
}

.three-dpa-enquiry input:focus,
.three-dpa-enquiry textarea:focus,
.three-dpa-enquiry select:focus {
    outline: none;
    border-color: var(--dpa-blue);
    box-shadow: 0 0 0 4px rgba(18, 61, 141, .13);
}

.three-dpa-enquiry [data-prefilled="true"] {
    border-color: #c89a1c;
    background: #fffdf5;
    box-shadow: inset 4px 0 0 rgba(212, 167, 44, .72);
}

.three-dpa-enquiry .has-error input,
.three-dpa-enquiry .has-error textarea,
.three-dpa-enquiry .has-error select,
.three-dpa-enquiry input[aria-invalid="true"],
.three-dpa-enquiry textarea[aria-invalid="true"] {
    border-color: #b42318;
    box-shadow: 0 0 0 3px rgba(180, 35, 24, .10);
}

.three-dpa-enquiry__quick-choices {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: -9px 0 20px;
}

.three-dpa-enquiry__quick-choices button {
    min-height: 36px;
    padding: 7px 11px;
    border: 1px solid #ccd5e3;
    border-radius: 999px;
    background: #f8faff;
    color: #41506a;
    font: inherit;
    font-size: .82rem;
    font-weight: 750;
    cursor: pointer;
    transition: .18s ease;
}

.three-dpa-enquiry__quick-choices button:hover,
.three-dpa-enquiry__quick-choices button:focus,
.three-dpa-enquiry__quick-choices button.is-selected {
    border-color: var(--dpa-blue);
    background: #eef4ff;
    color: var(--dpa-blue-dark);
    outline: none;
}

.three-dpa-enquiry__review {
    margin-bottom: 24px;
    padding: 20px;
    border: 1px solid #d5e0f2;
    border-radius: 18px;
    background: var(--dpa-soft);
}

.three-dpa-enquiry__review h3 {
    margin: 0 0 15px;
    font-size: 1.05rem;
}

.three-dpa-enquiry__review dl {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
}

.three-dpa-enquiry__review dl div {
    min-width: 0;
    padding: 12px;
    border-radius: 12px;
    background: #fff;
}

.three-dpa-enquiry__review dt {
    margin-bottom: 4px;
    color: var(--dpa-muted);
    font-size: .76rem;
    font-weight: 800;
    text-transform: uppercase;
}

.three-dpa-enquiry__review dd {
    margin: 0;
    overflow-wrap: anywhere;
    font-weight: 750;
}

.three-dpa-enquiry__message-meta {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
}

.three-dpa-enquiry__field-error {
    color: #9f1c12;
    font-size: .9rem;
    font-weight: 700;
}

.three-dpa-enquiry__hint,
.three-dpa-enquiry__response,
.three-dpa-enquiry__counter {
    margin: 0;
    color: var(--dpa-muted);
    font-size: .9rem;
}

.three-dpa-enquiry__counter.is-ready {
    color: #176438;
    font-weight: 750;
}

.three-dpa-enquiry__notice {
    margin: 0 0 22px;
    padding: 16px 18px;
    border-radius: 14px;
}

.three-dpa-enquiry__notice--error {
    border: 1px solid #f0b6b0;
    background: #fff4f2;
    color: #7f1d1d;
}

.three-dpa-enquiry__notice ul {
    margin: 8px 0 0 20px;
}

.three-dpa-enquiry__consent {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin: 8px 0 20px;
    padding: 16px;
    border: 1px solid #dde3ed;
    border-radius: 14px;
    background: #fafbfe;
}

.three-dpa-enquiry__consent input {
    width: 21px;
    height: 21px;
    flex: 0 0 auto;
    margin-top: 1px;
    accent-color: var(--dpa-blue);
}

.three-dpa-enquiry__form [hidden] {
    display: none !important;
}

.three-dpa-enquiry__actions {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--dpa-line);
}

.three-dpa-enquiry__actions > div {
    margin-left: auto;
    text-align: right;
}

.three-dpa-enquiry__submit,
.three-dpa-enquiry__next,
.three-dpa-enquiry__back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 12px 23px;
    border-radius: 999px;
    font: inherit;
    font-weight: 850;
    text-decoration: none;
    cursor: pointer;
    transition: transform .16s ease, background .16s ease, box-shadow .16s ease;
}

.three-dpa-enquiry__submit,
.three-dpa-enquiry__next {
    border: 1px solid var(--dpa-blue);
    background: var(--dpa-blue);
    color: #fff !important;
    box-shadow: 0 10px 24px rgba(18, 61, 141, .18);
}

.three-dpa-enquiry__back {
    border: 1px solid #c8d1df;
    background: #fff;
    color: #34445e;
}

.three-dpa-enquiry__submit:hover,
.three-dpa-enquiry__submit:focus,
.three-dpa-enquiry__next:hover,
.three-dpa-enquiry__next:focus {
    background: var(--dpa-blue-dark);
    transform: translateY(-1px);
}

.three-dpa-enquiry__back:hover,
.three-dpa-enquiry__back:focus {
    border-color: var(--dpa-blue);
    color: var(--dpa-blue);
}

.three-dpa-enquiry__response {
    margin-top: 8px;
}

.three-dpa-enquiry__submit[disabled] {
    opacity: .68;
    cursor: wait;
    transform: none;
}

.three-dpa-enquiry__next[disabled],
.three-dpa-enquiry__next.is-final-disabled {
    border-color: #c8d1df;
    background: #e5e9f0;
    color: #68758a !important;
    box-shadow: none;
    cursor: not-allowed;
    opacity: 1;
    transform: none;
}

.three-dpa-enquiry__next[disabled]:hover,
.three-dpa-enquiry__next[disabled]:focus,
.three-dpa-enquiry__next.is-final-disabled:hover,
.three-dpa-enquiry__next.is-final-disabled:focus {
    border-color: #c8d1df;
    background: #e5e9f0;
    color: #68758a !important;
    box-shadow: none;
    transform: none;
}

.three-dpa-enquiry__hp {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.three-dpa-enquiry--confirmation {
    max-width: 780px;
    padding: clamp(30px, 6vw, 64px);
    border: 1px solid rgba(18, 61, 141, .14);
    border-radius: 28px;
    background:
        radial-gradient(circle at 50% 0, rgba(212, 167, 44, .14), transparent 36%),
        #fff;
    text-align: center;
    box-shadow: 0 26px 70px rgba(18, 43, 90, .11);
}

.three-dpa-enquiry--confirmation h1 {
    font-size: clamp(2rem, 5vw, 3.3rem);
}

.three-dpa-enquiry__confirmation-mark {
    display: grid;
    width: 76px;
    height: 76px;
    place-items: center;
    margin: 0 auto 20px;
    border: 1px solid #b9e0c5;
    border-radius: 50%;
    background: #edf8ef;
    color: #1e7b37;
    font-size: 2.1rem;
    font-weight: 900;
    box-shadow: 0 10px 26px rgba(30, 123, 55, .12);
}

.three-dpa-enquiry__reference {
    display: inline-grid;
    gap: 6px;
    min-width: min(100%, 390px);
    margin: 18px auto 10px;
    padding: 18px 22px;
    border: 1px solid #cad9f2;
    border-radius: 18px;
    background: #f3f7ff;
}

.three-dpa-enquiry__reference span {
    color: var(--dpa-muted);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.three-dpa-enquiry__reference strong {
    color: var(--dpa-blue-dark);
    font-size: clamp(1.25rem, 4vw, 1.75rem);
    letter-spacing: .04em;
}

.three-dpa-enquiry__reference button {
    justify-self: center;
    padding: 5px 10px;
    border: 0;
    background: transparent;
    color: var(--dpa-blue);
    font: inherit;
    font-size: .86rem;
    font-weight: 800;
    cursor: pointer;
    text-decoration: underline;
}

.three-dpa-enquiry__reference-note {
    color: var(--dpa-muted);
}

@media (max-width: 900px) {
    .three-dpa-enquiry__hero,
    .three-dpa-enquiry__impact {
        grid-template-columns: 1fr;
    }

    .three-dpa-enquiry__impact dl {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .three-dpa-enquiry__review dl {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .three-dpa-enquiry {
        width: min(100% - 20px, 1180px);
        margin-top: 22px;
    }

    .three-dpa-enquiry__hero,
    .three-dpa-enquiry__form,
    .three-dpa-enquiry--confirmation {
        border-radius: 18px;
    }

    .three-dpa-enquiry__grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .three-dpa-enquiry__progress li strong {
        display: none;
    }

    .three-dpa-enquiry__progress li {
        justify-content: center;
    }

    .three-dpa-enquiry__impact dl,
    .three-dpa-enquiry__review dl {
        grid-template-columns: 1fr;
    }

    .three-dpa-enquiry__actions {
        align-items: stretch;
    }

    .three-dpa-enquiry__actions > div {
        width: 100%;
    }

    .three-dpa-enquiry__submit,
    .three-dpa-enquiry__next,
    .three-dpa-enquiry__back {
        width: 100%;
    }

    .three-dpa-enquiry__actions .three-dpa-enquiry__back {
        width: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .three-dpa-enquiry *,
    .three-dpa-enquiry *::before,
    .three-dpa-enquiry *::after {
        scroll-behavior: auto !important;
        animation: none !important;
        transition: none !important;
    }
}

/* Route-aware prefill added in v1.3.3. */
.three-dpa-enquiry__field--wide {
    grid-column: 1 / -1;
}

.three-dpa-enquiry__field-description {
    color: var(--dpa-muted);
    font-size: .84rem;
    line-height: 1.55;
}

.three-dpa-enquiry__field--route-prefill {
    margin-bottom: 24px;
    padding: 16px;
    border: 1px solid rgba(212, 167, 44, .32);
    border-radius: 16px;
    background: linear-gradient(135deg, #fffdf7 0%, #fff9e8 100%);
}

.three-dpa-enquiry__field--route-prefill input {
    border-color: rgba(18, 61, 141, .22);
    background: #fff;
    font-weight: 800;
}

.three-dpa-enquiry__field--route-prefill input[readonly] {
    cursor: default;
    color: var(--dpa-blue-dark);
}

.three-dpa-enquiry__review dl {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 900px) {
    .three-dpa-enquiry__review dl {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .three-dpa-enquiry__field--route-prefill {
        padding: 14px;
    }

    .three-dpa-enquiry__review dl {
        grid-template-columns: 1fr;
    }
}

.three-dpa-enquiry__security {
    margin: 12px 0 2px;
    max-width: 100%;
}

.three-dpa-enquiry__security > [data-three-dpa-turnstile] {
    max-width: 100%;
    overflow: hidden;
}

.three-dpa-enquiry__security-message {
    margin: 10px 0 0;
    padding: 10px 12px;
    border: 1px solid #d7dfeb;
    border-radius: 10px;
    background: #f7f9fc;
    color: #40506a;
    font-size: .9rem;
    font-weight: 650;
}
