.tg-lead-section {
    margin-block-start: 24px;
    scroll-margin-block-start: 16px;
}

.tg-lead-section h2 {
    margin-block-start: 0;
}

.tg-lead-form {
    display: grid;
    max-inline-size: 36rem;
    gap: 16px;
}

.tg-lead-form p {
    margin: 0;
}

.tg-lead-field {
    display: grid;
    gap: 6px;
}

.tg-lead-field input,
.tg-lead-field select {
    box-sizing: border-box;
    inline-size: 100%;
    min-block-size: 44px;
    background: #131313;
    color: #fff;
    border: 1px solid #8a8a8a;
    border-radius: 8px;
    padding: 8px 12px;
    font: inherit;
    color-scheme: dark;
}

.tg-lead-field small {
    color: #c6c6c6;
}

.tg-lead-field select {
    appearance: none;
    padding-inline-end: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

.tg-lead-field select:dir(rtl) {
    background-position: left 14px center;
}

@media (forced-colors: active) {
    .tg-lead-field select {
        appearance: auto;
        background-image: none;
    }
}

.tg-lead-form button {
    justify-self: start;
    min-block-size: 44px;
    padding: 8px 16px;
    background: #6fff8b;
    color: #111;
    border: 0;
    border-radius: 8px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.tg-lead-form :focus-visible {
    outline: 2px solid #a3ffb4;
    outline-offset: 3px;
}

.tg-lead-check {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    overflow: hidden;
    clip-path: inset(50%);
}

.tg-lead-status {
    color: #a3ffb4;
    font-weight: 700;
}
