.contact-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 74vh;
    padding: 16px 0 24px;
}

.contact-shell {
    width: min(760px, calc(100% - 14px));
}

.contact-window,
.contact-window * {
    font-family: 'PixeloidSans', 'PixelOperator', sans-serif;
}

.contact-window {
    min-height: 0;
    max-width: 760px;
    margin: 0 auto;
    color: #090909;
}

.contact-title-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.contact-body {
    color: #080808;
    padding: 14px 14px 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-head {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-heading {
    margin: 0;
    font-size: 18px;
    line-height: 1.2;
    color: #040404;
}

.contact-copy {
    margin: 0;
    color: #171717;
    font-size: 13px;
    line-height: 1.4;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: opacity 0.15s ease;
}

.contact-form.is-submitting {
    opacity: 0.62;
}

.contact-form.is-submitting * {
    cursor: not-allowed !important;
}

.contact-fieldset {
    border: 2px groove #a2a2a2;
    background: linear-gradient(180deg, #ececec, #dddddd);
    padding: 12px 10px 10px;
    margin: 0;
}

.contact-fieldset legend {
    color: #111;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding: 0 4px;
}

.contact-form .form-group {
    display: grid;
    grid-template-columns: 96px 1fr;
    align-items: center;
    gap: 8px;
}

.contact-form-row {
    margin-bottom: 10px;
}

.contact-form-column-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-form-column-row label,
.contact-form .form-group label,
.contact-captcha-controls label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    color: #0a0a0a;
}

.contact-message-input {
    resize: vertical;
    min-height: 144px;
}

.contact-captcha-wrap {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: center;
}

.contact-captcha-canvas {
    width: 210px;
    height: 70px;
    border: 2px inset #8e8e8e;
    background: #fff;
    image-rendering: auto;
}

.contact-captcha-controls {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-status {
    min-height: 20px;
    border: 2px inset #8d8d8d;
    padding: 8px 9px;
    font-size: 13px;
    line-height: 1.32;
    background: #ececec;
    color: #101010;
}

.contact-status.is-error {
    background: #ffdede;
    color: #5d0000;
    font-weight: bold;
}

.contact-status.is-success {
    background: #e7ffd9;
    color: #004813;
    font-weight: bold;
}

.contact-loading-indicator {
    border: 2px inset #8d8d8d;
    background: #d7dde8;
    color: #10294f;
    font-weight: bold;
    padding: 6px 9px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.2px;
}

.contact-actions {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 2px;
}

.contact-submit {
    min-width: 154px;
    text-transform: uppercase;
}

@media (max-width: 700px) {
    .contact-page {
        min-height: calc(100vh - 8px);
        padding: 0;
    }

    .contact-shell {
        width: 100%;
    }

    .contact-window {
        width: 100%;
        max-width: none;
        min-height: calc(100vh - 8px);
        margin: 0;
    }

    .contact-body {
        min-height: calc(100vh - 74px);
    }

    .contact-form .form-group {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .contact-captcha-wrap {
        grid-template-columns: 1fr;
    }

    .contact-captcha-canvas {
        width: 100%;
        max-width: 280px;
        justify-self: center;
    }

    .contact-actions {
        flex-direction: column;
        align-items: center;
    }

    .contact-actions .button-98 {
        width: 100%;
        max-width: 260px;
    }
}
