:root {
    --ps-red: #e3655b;
    --ps-slate: #495d63;
    --ps-cream: #efd6ac;
    --ps-blue: #96adc8;
    --ps-navy: #030027;
    --ps-white: #ffffff;
    --ps-border: rgba(73, 93, 99, 0.28);
}

.ps-contact-shell {
    width: 100%;
    max-width: 860px;
    margin: -0.5rem auto 0;
}

.ps-contact-form {
    background: transparent;
    border: 1px solid var(--ps-border);
    border-radius: 20px;
    box-shadow: none;
    padding: clamp(1.25rem, 3vw, 2.25rem);
    color: var(--ps-navy);
}

.ps-contact-header {
    margin-bottom: 0.95rem;
}

.ps-contact-question {
    margin: 0;
    color: var(--ps-navy);
    font-size: 1.6rem;
    line-height: 1.35;
    font-weight: 500;
}

.ps-purpose-fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

.ps-purpose-grid {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.ps-purpose-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.45rem 0.25rem;
    border: 0;
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
    transition: background-color 140ms ease, color 140ms ease;
}

.ps-purpose-card:hover,
.ps-purpose-card:focus-within {
    background: rgba(227, 101, 91, 0.06);
}

.ps-purpose-card input {
    flex: 0 0 auto;
    width: 1.125rem;
    height: 1.125rem;
    margin: 0.28rem 0 0;
    accent-color: var(--ps-red);
}

.ps-purpose-card span {
    line-height: 1.35;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--ps-navy);
}

.ps-purpose-card:has(input:checked) {
    background: rgba(227, 101, 91, 0.08);
}

.ps-purpose-card:has(input:checked) span {
    color: var(--ps-navy);
    font-weight: 400;
}

.ps-contact-details {
    margin-top: 1.35rem;
    padding-top: 1.35rem;
    border-top: 1px solid rgba(73, 93, 99, 0.2);
}

.ps-conditional-panel {
    margin-bottom: 1.15rem;
    padding: 0.25rem 0 0.25rem 0.95rem;
    background: transparent;
    border-left: 3px solid var(--ps-red);
    border-radius: 0;
}


.ps-conditional-panel p {
    margin: 0;
    color: var(--ps-slate);
    font-size: 1.6rem;
    line-height: 1.35;
    font-weight: 500;
}

.ps-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem 1rem;
}

.ps-field {
    margin: 0;
}

.ps-field-full {
    grid-column: 1 / -1;
}

.ps-contact-form .ps-field > label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.35;
    color: var(--ps-navy);
}


.ps-label-row {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.4rem;
    margin-bottom: 0.4rem;
}

.ps-contact-form .ps-field > .ps-label-row > label {
    display: block;
    margin-bottom: 0;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.35;
    color: var(--ps-navy);
}

.ps-tooltip-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    transform: translateY(-0.12rem);
}

.ps-tooltip-trigger {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.55rem;
    height: 1.55rem;
    border: 1px solid rgba(73, 93, 99, 0.45);
    border-radius: 999px;
    background: rgba(150, 173, 200, 0.22);
    color: var(--ps-navy);
    font: inherit;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    vertical-align: middle;
    cursor: pointer;
}

.ps-tooltip-trigger:hover,
.ps-tooltip-trigger:focus {
    border-color: var(--ps-red);
    box-shadow: 0 0 0 3px rgba(227, 101, 91, 0.13);
    outline: none;
}

.ps-tooltip-panel {
    position: absolute;
    left: 0;
    top: calc(100% + 0.5rem);
    z-index: 20;
    width: min(22rem, 78vw);
    padding: 0.85rem 0.95rem;
    border: 1px solid rgba(73, 93, 99, 0.25);
    border-radius: 12px;
    background: #fffaf0;
    color: var(--ps-navy);
    box-shadow: 0 12px 28px rgba(3, 0, 39, 0.16);
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.35;
}

.ps-field input,
.ps-field select,
.ps-field textarea {
    width: 100%;
    border: 1px solid rgba(73, 93, 99, 0.28);
    border-radius: 12px;
    background: rgba(150, 173, 200, 0.14);
    color: var(--ps-navy);
    font: inherit;
    font-size: 1.3rem;
    line-height: 1.35;
    padding: 0.75rem 0.85rem;
    outline: none;
    transition: border-color 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

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

.ps-field input:focus,
.ps-field select:focus,
.ps-field textarea:focus {
    border-color: var(--ps-red);
    background: rgba(150, 173, 200, 0.20);
    box-shadow: 0 0 0 3px rgba(227, 101, 91, 0.13);
}


.ps-radio-field {
    border: 0;
    padding: 0;
}

.ps-radio-field legend {
    display: block;
    margin: 0 0 0.4rem;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.35;
    color: var(--ps-navy);
}

.ps-inline-radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.ps-inline-radio-group label {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.65rem;
    color: var(--ps-navy);
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.35;
    cursor: pointer;
}

.ps-inline-radio-group input {
    flex: 0 0 auto;
    width: 1.125rem;
    height: 1.125rem;
    margin: 0.28rem 0 0;
    accent-color: var(--ps-red);
}

.ps-password-notice p {
    margin: 0;
    padding: 0.85rem 0.95rem;
    border-left: 3px solid var(--ps-red);
    background: rgba(227, 101, 91, 0.07);
    color: var(--ps-navy);
    font-size: 1.35rem;
    font-weight: 400;
    line-height: 1.4;
}

.ps-contact-actions {
    display: flex;
    align-items: center;
    gap: 0.95rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.ps-submit-button {
    appearance: none;
    border: 0;
    border-radius: 999px;
    background: var(--ps-red);
    color: var(--ps-white);
    padding: 0.78rem 1.2rem;
    font-weight: 800;
    cursor: pointer;
    transition: transform 150ms ease, opacity 150ms ease;
}

.ps-submit-button:hover,
.ps-submit-button:focus {
    transform: translateY(-1px);
    opacity: 0.94;
}

.ps-submit-button[disabled] {
    cursor: wait;
    opacity: 0.65;
}

.ps-form-note {
    margin: 0;
    color: var(--ps-slate);
    font-size: 1.5rem;
    line-height: 1.35;
    font-weight: 400;
}

.ps-form-response {
    margin-top: 1rem;
    font-weight: 700;
}

.ps-form-response.is-success {
    color: #1f6f43;
}

.ps-form-response.is-error {
    color: #b42318;
}

.ps-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

@media (max-width: 720px) {
    .ps-field-grid {
        grid-template-columns: 1fr;
    }

    .ps-contact-form {
        border-radius: 16px;
        padding: 1.1rem;
    }

}


.ps-inline-radio-fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

.ps-inline-radio-fieldset legend {
    margin: 0 0 0.65rem;
    color: var(--ps-navy);
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.35;
}

.ps-inline-radio-fieldset label {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin: 0 0 0.55rem;
    color: var(--ps-navy);
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.35;
    cursor: pointer;
}

.ps-inline-radio-fieldset input[type="radio"] {
    flex: 0 0 auto;
    width: 1.125rem;
    height: 1.125rem;
    margin: 0.28rem 0 0;
    accent-color: var(--ps-red);
}

.ps-business-topic-prompts {
    grid-column: 1 / -1;
    margin-top: -0.15rem;
}
