#gf-lead-capture {
    --gf-lead-green: #4f7661;
    --gf-lead-green-dark: #3d5e4d;
    --gf-lead-ink: #363126;
    --gf-lead-muted: #62675e;
    --gf-lead-surface: #fffefa;
    --gf-lead-line: #d8dfd6;
    --gf-lead-tint: #edf2e9;
    --gf-lead-error: #a4382e;
    font: 1rem/1.4375 HSESans, Arial, sans-serif;
    color: var(--gf-lead-ink);
}

#gf-lead-capture [hidden] { display: none !important; }
#gf-lead-capture *, #gf-lead-capture *::before { box-sizing: border-box; }
#gf-lead-capture button, #gf-lead-capture input { font: inherit; }
#gf-lead-capture button { cursor: pointer; }
#gf-lead-capture :is(button, input, a):focus-visible {
    outline: 2px solid var(--gf-lead-green-dark);
    outline-offset: 3px;
}
#gf-lead-capture :is(.gf-lead-dialog, #gf-lead-title):focus {
    outline: none;
}

.gf-lead-dialog {
    position: fixed;
    z-index: 2147483002;
    left: var(--gf-lead-center-x, 50%);
    top: var(--gf-lead-center-y, 50%);
    transform: translate(-50%, -50%);
    width: min(440px, calc(var(--gf-lead-viewport-width, 100vw) - 32px));
    max-height: calc(100vh - 32px);
    max-height: calc(var(--gf-lead-viewport-height, 100dvh) - 32px);
    overflow: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    border: 1px solid var(--gf-lead-line);
    border-radius: 24px;
    background: var(--gf-lead-surface);
    box-shadow: 0 16px 60px rgba(34, 48, 37, .16);
    animation: gf-lead-enter 180ms ease-out;
}
.gf-lead-dialog[data-suspended="true"] { visibility: hidden; }

.gf-lead-backdrop {
    position: fixed;
    z-index: 2147483001;
    inset: 0;
    background: rgba(37, 46, 38, .32);
    touch-action: none;
}

.gf-lead-content { padding: 28px; overflow-wrap: anywhere; }
.gf-lead-close {
    position: absolute;
    top: 10px;
    right: 12px;
    display: grid;
    place-items: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--gf-lead-muted);
}
#gf-lead-capture .gf-lead-close { font-size: 1.8rem; line-height: 1; }
#gf-lead-capture .gf-lead-close:hover { background: var(--gf-lead-tint); }

.gf-lead-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-right: 32px;
    color: var(--gf-lead-green-dark);
    font-size: .6875rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    font-weight: 600;
}
.gf-lead-logo {
    display: block;
    flex: 0 0 auto;
    width: 110px;
    height: auto;
}

#gf-lead-title {
    margin: 0 0 12px;
    color: var(--gf-lead-ink);
    font-size: 1.625rem;
    line-height: 1.154;
    letter-spacing: -.025em;
    font-weight: 600;
    text-align: left;
}
.gf-lead-description { margin: 0 0 24px; color: #54594f; }
.gf-lead-field-label {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0 8px;
    align-items: center;
    margin: 0 0 8px;
    font-size: .875rem;
    font-weight: 600;
}
#gf-lead-capture :is(a, .gf-lead-edit) {
    color: var(--gf-lead-green-dark);
    text-decoration: underline;
    text-underline-offset: .15em;
    overflow-wrap: anywhere;
}
.gf-lead-edit {
    min-height: 44px;
    padding: 0;
    border: 0;
    background: none;
}
#gf-lead-capture .gf-lead-edit { font-size: .8125rem; }
#gf-lead-phone {
    display: block;
    width: 100%;
    min-height: 54px;
    min-width: 0;
    border: 1px solid #b8c5b8;
    border-radius: 11px;
    background: #fff;
    color: var(--gf-lead-ink);
    padding: 10px 15px;
    font-size: 1.125rem;
    line-height: 1.3;
    box-shadow: 0 1px 2px #2230250d;
}
#gf-lead-phone[readonly] { background: var(--gf-lead-tint); border-color: #d6dfd0; }
#gf-lead-phone[aria-invalid="true"] { border-color: var(--gf-lead-error); }
.gf-lead-phone-hint, .gf-lead-sla {
    margin: 8px 0 0;
    font-size: .8125rem;
    line-height: 1.385;
    color: var(--gf-lead-muted);
}
.gf-lead-sla { max-width: 28ch; }

.gf-lead-consents { display: grid; gap: 4px; margin: 14px 0 17px; }
.gf-lead-check {
    position: relative;
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    min-height: 44px;
    font-size: .8125rem;
    line-height: 1.385;
}
.gf-lead-check p { margin: 0; }
.gf-lead-check label { cursor: pointer; }
.gf-lead-check label::before {
    position: absolute;
    left: -9px;
    top: 0;
    width: 44px;
    height: 100%;
    content: "";
}
.gf-lead-check a { position: relative; }
#gf-lead-capture .gf-lead-check input {
    width: 18px;
    height: 18px;
    margin: 0;
    appearance: auto;
    accent-color: var(--gf-lead-green);
}
.gf-lead-privacy { justify-self: start; font-size: .8125rem; line-height: 1.385; padding: 8px 0; }
.gf-lead-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.gf-lead-actions > button { flex: 1 1 6rem; }
.gf-lead-primary, .gf-lead-secondary, .gf-lead-continue, .gf-lead-launch {
    min-height: 54px;
    border: 1px solid var(--gf-lead-green);
    border-radius: 11px;
    padding: 12px 16px;
}
#gf-lead-capture :is(.gf-lead-primary, .gf-lead-secondary, .gf-lead-launch) {
    font-weight: 600;
    line-height: 1.3;
}
.gf-lead-primary { background: var(--gf-lead-green); color: #fff; }
.gf-lead-primary:hover { background: var(--gf-lead-green-dark); }
.gf-lead-primary:disabled { opacity: .8; cursor: wait; }
.gf-lead-secondary { background: transparent; color: var(--gf-lead-green-dark); }
.gf-lead-secondary:hover { background: var(--gf-lead-tint); }
#gf-lead-capture .gf-lead-continue {
    display: block;
    min-height: 44px;
    margin-top: 6px;
    width: 100%;
    border: 0;
    background: none;
    color: var(--gf-lead-muted);
    font-size: .8125rem;
}
#gf-lead-capture .gf-lead-continue:hover { text-decoration: underline; }
#gf-lead-capture .gf-lead-dialog[data-state="success"] .gf-lead-continue {
    min-height: 54px;
    background: var(--gf-lead-green);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
}
.gf-lead-pending { margin: 0 0 14px; }
.gf-lead-retry { width: 100%; }
.gf-lead-error, .gf-lead-inline-help {
    margin: 0 0 14px;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: .875rem;
}
.gf-lead-error { color: var(--gf-lead-error); background: #faf0eb; }
.gf-lead-inline-help { color: var(--gf-lead-green-dark); background: var(--gf-lead-tint); }
.gf-lead-success-icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin: 0 0 19px;
    border-radius: 50%;
    color: var(--gf-lead-green-dark);
    background: var(--gf-lead-tint);
    font-size: 1.875rem;
}

.gf-lead-launch-wrap { display: flex; justify-content: center; }
#gf-lead-capture .gf-lead-launch {
    position: fixed;
    z-index: 100001;
    left: var(--gf-lead-center-x, 50%);
    bottom: calc(max(16px, env(safe-area-inset-bottom)) + var(--gf-lead-viewport-bottom, 0px) + var(--gf-lead-launch-lift, 0px));
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    border-radius: 24px;
    padding: 10px 16px;
    max-width: calc(var(--gf-lead-viewport-width, 100vw) - 32px);
    background: var(--gf-lead-surface);
    color: var(--gf-lead-green-dark);
    box-shadow: 0 5px 16px rgba(34, 48, 37, .14);
    font-size: .875rem;
}
#gf-lead-capture .gf-lead-launch[data-inline="true"] {
    position: static;
    transform: none;
    margin: 12px 16px max(16px, env(safe-area-inset-bottom));
}

@keyframes gf-lead-enter {
    from { opacity: 0; transform: translate(-50%, calc(-50% + 8px)); }
    to { opacity: 1; transform: translate(-50%, -50%); }
}

@media (max-width: 767px) {
    .gf-lead-content { padding: 20px 20px max(20px, env(safe-area-inset-bottom)); }
    .gf-lead-brand { margin-bottom: 16px; }
    .gf-lead-logo { width: 98px; }
    #gf-lead-title { font-size: 1.5rem; line-height: 1.1667; }
    .gf-lead-description { margin-bottom: 20px; }
}

@media (max-width: 380px) and (max-height: 640px) {
    .gf-lead-content { padding: 16px 18px max(16px, env(safe-area-inset-bottom)); }
    .gf-lead-brand { margin-bottom: 12px; }
    .gf-lead-description { margin-bottom: 14px; }
    .gf-lead-consents { margin: 10px 0 11px; }
    .gf-lead-privacy { padding: 6px 0; }
}

@media (prefers-reduced-motion: reduce) {
    .gf-lead-dialog { animation: none; }
}
