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

.contact-name-fields input{
    min-width:0;
}

.contact-form[hidden],
.contact-success[hidden]{
    display:none;
}

.contact-success{
    max-width:800px;
    margin:auto;
    padding:34px;
    border:1px solid #b9c6b3;
    border-radius:14px;
    background:#eef7e8;
    color:#285814;
}

.contact-success h3{
    margin:0 0 18px;
    font-size:28px;
    line-height:1.4;
}

.contact-success p{
    margin:12px 0;
    font-size:18px;
}

.contact-success .contact-success-note{
    color:#555;
    font-size:16px;
}

.contact-form .contact-submit:disabled{
    cursor:not-allowed;
    opacity:0.65;
}

.form-status[data-result="failure"]{
    background:#fff1ee;
    color:#8b3326;
}

.form-status[data-result="unknown"]{
    background:#fff6d6;
    color:#5f4b18;
}

@media(max-width:600px){
    .contact-success{
        padding:24px;
    }
    .contact-success h3{
        font-size:24px;
    }
}

.contact-section > .form-status{
    max-width:800px;
    margin:18px auto;
}
