.support-main,
.support-form,
.support-form * {
    box-sizing: border-box;
}

.support-main {
    width: min(calc(100% - 40px), 760px);
    margin: 38px auto 64px;
}

.support-main .main-header {
    width: 100%;
    margin-bottom: 25px;
}

.support-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--primary);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.support-eyebrow span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 20%, transparent);
}

.support-main .main-title {
    margin: 0 0 8px;
    color: var(--fg2);
    font-size: clamp(2rem, 4vw, 2.55rem);
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1.12;
}

.support-main .main-desc {
    max-width: 590px;
    margin: 0;
    color: #596c73;
    font-size: 1rem;
    line-height: 1.65;
}

.support-form {
    position: relative;
    display: grid;
    gap: 20px;
    width: 100%;
    padding: clamp(22px, 4vw, 34px);
    overflow: hidden;
    border: 1px solid #e2e9e3;
    border-radius: 16px;
    background: linear-gradient(145deg, #fff 0%, #fcfdfb 100%);
    box-shadow: 0 16px 45px rgba(9, 41, 56, .08), 0 2px 7px rgba(9, 41, 56, .035);
}

.support-form::before {
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), color-mix(in srgb, var(--primary) 35%, white) 70%, transparent);
    content: "";
}

.support-form__heading {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e8eee9;
}

.support-form__icon {
    display: grid;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--primary) 35%, white);
    border-radius: 13px;
    background: color-mix(in srgb, var(--primary) 15%, white);
    color: var(--primary);
    font-size: 1.35rem;
    font-weight: 700;
}

.support-form__heading h2 {
    margin: 0 0 4px;
    color: var(--fg2);
    font-size: 1.13rem;
    font-weight: 700;
    letter-spacing: -.01em;
}

.support-form__heading p {
    color: #75848a;
    font-size: .86rem;
    line-height: 1.45;
}

.support-field {
    display: grid;
    gap: 8px;
    color: var(--fg2);
    font-size: .91rem;
    font-weight: 650;
}

.support-field > span:first-child {
    color: #a52828;
}

.support-field input,
.support-field select,
.support-field textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #d5dfd8;
    border-radius: 9px;
    background-color: #fff;
    color: var(--fg2);
    font: inherit;
    font-size: .94rem;
    font-weight: 400;
    transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}

.support-field select {
    appearance: none;
    padding-right: 42px;
    background-image: url("/icons/dropdown.svg");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 21px;
    cursor: pointer;
}

.support-field textarea {
    min-height: 142px;
    resize: vertical;
    line-height: 1.5;
}

.support-field textarea::placeholder {
    color: #9aa6aa;
}

.support-field input:hover,
.support-field select:hover,
.support-field textarea:hover {
    border-color: #a8b9ad;
}

.support-field input:focus,
.support-field select:focus,
.support-field textarea:focus {
    outline: none;
    border-color: #6f9e4d;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 27%, transparent);
}

.support-field input[readonly] {
    border-color: #e2e8e3;
    background: #f5f7f4;
    color: #63747a;
}

.support-field select:disabled {
    border-color: #e2e8e3;
    background-color: #f5f7f4;
    color: #929da0;
    cursor: not-allowed;
}

.support-hint {
    color: #839095;
    font-size: .8rem;
    font-weight: 400;
}

.support-turnstile {
    min-height: 65px;
    padding-top: 2px;
}

.support-status {
    min-height: 1.4em;
    color: var(--fg2);
    font-size: .9rem;
    line-height: 1.45;
}

.support-status.error {
    color: #a52828;
}

.support-status.success {
    color: #236b35;
}

.support-submit {
    justify-self: start;
    min-height: 48px;
    padding: 12px 23px;
    border: 1px solid #91cb6c;
    border-radius: 9px;
    background: var(--primary);
    color: var(--fg2);
    font: inherit;
    font-size: .94rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(104, 155, 72, .16);
    transition: background-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.support-submit:hover:not(:disabled) {
    transform: translateY(-1px);
    background: #b3ea92;
    box-shadow: 0 6px 14px rgba(104, 155, 72, .22);
}

.support-submit:focus-visible {
    outline: 3px solid rgba(9, 41, 56, .25);
    outline-offset: 3px;
}

.support-submit:disabled {
    cursor: wait;
    opacity: .68;
}

@media (max-width: 600px) {
    .support-main {
        width: min(calc(100% - 28px), 760px);
        margin-top: 88px;
        margin-bottom: 42px;
    }

    .support-main .main-header {
        margin-bottom: 20px;
    }

    .support-main .main-title {
        font-size: 2rem;
    }

    .support-main .main-desc {
        font-size: .94rem;
    }

    .support-form {
        gap: 18px;
        padding: 22px 18px;
        border-radius: 13px;
    }

    .support-form__heading {
        align-items: flex-start;
        gap: 11px;
        padding-bottom: 17px;
    }

    .support-form__icon {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
        border-radius: 11px;
    }

    .support-form__heading p {
        font-size: .82rem;
    }

    .support-submit {
        width: 100%;
        justify-self: stretch;
    }
}

@media (prefers-reduced-motion: reduce) {
    .support-field input,
    .support-field select,
    .support-field textarea,
    .support-submit {
        transition: none;
    }
}
