:root {
    color-scheme: light;
    font-family: Arial, Helvetica, sans-serif;
    color: #263238;
    background: #f5f5f5;
    font-synthesis: none;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 18px;
    background: #f5f5f5;
    font-size: 16px;
    line-height: 1.65;
}

a {
    color: #4a9700;
}

.page-shell {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
}

.brand {
    padding: 12px 0 18px;
    text-align: center;
}

.brand img {
    display: inline-block;
    width: 192px;
    max-width: 70%;
    height: auto;
}

.card {
    padding: 34px 40px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .1);
}

h1 {
    margin: 0 0 16px;
    color: #424b50;
    font-size: 36px;
    line-height: 1.2;
    text-align: center;
}

h2 {
    margin: 16px 0 8px;
    color: #263238;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.3;
}

p {
    margin: 12px 0;
}

hr {
    height: 1px;
    margin: 20px 0;
    border: 0;
    background: #d3d3d3;
}

.form-group {
    margin: 18px 0;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

input[type="text"],
input[type="email"],
textarea {
    display: block;
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #c9cdd0;
    border-radius: 4px;
    background: #fff;
    color: #263238;
    font: inherit;
}

input:focus,
textarea:focus {
    border-color: #68b923;
    outline: 2px solid rgba(104, 185, 35, .2);
}

textarea {
    min-height: 100px;
    resize: vertical;
}

.button {
    display: block;
    min-width: 260px;
    margin: 28px auto 10px;
    padding: 13px 22px;
    border: 0;
    border-radius: 6px;
    background: #66b821;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: .04em;
    text-align: center;
}

.button:hover,
.button:focus {
    background: #4b970d;
}

.centered-form {
    text-align: center;
}

.captcha-group {
    display: flex;
    justify-content: center;
    margin: 24px 0;
}

.confirmation-page {
    max-width: 520px;
    margin: 0 auto;
    padding: 8px 0 20px;
    text-align: center;
}

.confirmation-page-cancellation {
    max-width: 620px;
    padding: 24px 12px 30px;
}

.confirmation-icon {
    display: flex;
    width: 76px;
    height: 76px;
    align-items: center;
    justify-content: center;
    margin: 8px auto 18px;
    border: 3px solid #d5ebc7;
    border-radius: 50%;
    background: #eff8e9;
    color: #4b970d;
    font-size: 42px;
    font-weight: 700;
}

.confirmation-eyebrow {
    margin: 0 0 8px;
    color: #4b970d;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.confirmation-page-cancellation h1 {
    margin: 0 auto 20px;
    color: #315d1c;
    font-size: 32px;
}

.confirmation-page-cancellation .confirmation-thanks {
    max-width: 450px;
    margin: 0 auto 24px;
    font-size: 18px;
    font-weight: 400;
}

.confirmation-page-cancellation .notice {
    text-align: left;
}

.confirmation-page-cancellation .button {
    margin-top: 30px;
}

.confirmation-page h1 {
    margin: 12px 0 48px;
    font-size: 27px;
}

.confirmation-thanks,
.confirmation-contact {
    font-weight: 700;
}

.confirmation-contact {
    margin-top: 32px;
}

.confirmation-phone {
    margin: 4px 0 16px;
    font-size: 23px;
}

.confirmation-phone a {
    color: inherit;
    text-decoration: none;
}

.button-link {
    text-decoration: none;
}

.confirmation-or {
    margin: 26px 0 0;
    font-size: 21px;
    font-weight: 700;
}

.privacy-note,
.help-text {
    color: #69747a;
    font-size: 13px;
}

.field-error {
    display: block;
    margin-top: 4px;
    color: #a32626;
    font-size: 14px;
}

.notice {
    margin: 18px 0;
    padding: 12px 14px;
    border-radius: 4px;
}

.notice-error {
    border: 1px solid #e6b7b7;
    background: #fff1f1;
    color: #8c1d1d;
}

.notice-success {
    border: 1px solid #b7d9a1;
    background: #f1faeb;
    color: #315d1c;
}

.notice-warning {
    border: 1px solid #ead8a8;
    background: #fff9e8;
    color: #695315;
}

.details {
    display: grid;
    grid-template-columns: minmax(190px, 1fr) 2fr;
    margin: 18px 0;
    font-size: 14px;
    line-height: 1.35;
}

.details dt,
.details dd {
    margin: 0;
    padding: 2px 0;
    overflow-wrap: anywhere;
}

.details dt {
    font-weight: 600;
}

footer {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 18px 0 8px;
    color: #69747a;
    font-size: 13px;
}

.honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (max-width: 600px) {
    body {
        padding: 10px;
    }

    .card {
        padding: 24px 20px;
    }

    h1 {
        font-size: 30px;
    }

    h2 {
        font-size: 21px;
    }

    .button {
        width: 100%;
        min-width: 0;
    }

    .details {
        grid-template-columns: minmax(135px, .9fr) 1.1fr;
        font-size: 13px;
    }
}
