/* Lead Gen Tool */
.lead-gen-tool {
    background: #f0fffd;
    border: 1px solid #cde5e1;
    border-radius: 16px;
    padding: 20px 24px 12px;
    margin: 20px auto;
    max-width: 660px;
    container-type: inline-size;
    text-align: center;
    color: #263349;
    font-family: 'Causten', sans-serif;
}
.lead-gen-tool [hidden] { display: none !important; }
.lead-gen-tool .lg-container { max-width: none; margin: auto; }
.lead-gen-tool .lg-storefront { width: 44px; height: 37px; margin: 0 8px 8px 0; vertical-align: middle; }
.lead-gen-tool .lg-eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .14em; display: inline-block; vertical-align: middle; text-transform: uppercase; margin: 0 0 8px; color: #009FA5; }
.lead-gen-tool .lg-question { font-size: clamp(1.1rem, 3.7cqi, 1.65rem); font-weight: 700; color: #263349; margin: 0 0 10px; line-height: 1.15; }
.lead-gen-tool .lg-description { font-size: 1rem; line-height: 1.4; margin: 0 auto 8px; color: #4c5664; }
.lead-gen-tool .lg-btn { padding: 8px 16px; font: inherit; font-size: .9rem; line-height: 1.35; font-weight: 700; border: 0; border-radius: 8px; cursor: pointer; background: #263349; color: #fff; white-space: normal; max-width: 100%; }
.lead-gen-tool .lg-btn:hover { background: #384b69; }
.lead-gen-tool .lg-btn:disabled { opacity: .65; cursor: wait; }
.lead-gen-tool .lg-btn:focus-visible, .lead-gen-tool .lg-link:focus-visible, .lead-gen-tool .lg-input:focus-visible { outline: 3px solid #94611b; outline-offset: 3px; }
.lead-gen-tool .lg-recommend { margin: 12px 0 0; font-size: .95rem; color: #4c5664; }
.lead-gen-tool .lg-link { background: none; border: 0; padding: 3px 0; font: inherit; color: #263349; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.lead-gen-tool .lg-link:hover { color: #80531b; }
.lead-gen-tool .lg-back { margin-top: 18px; }
.lead-gen-tool .lg-form { display: flex; flex-direction: column; gap: 12px; max-width: 370px; margin: auto; text-align: left; }
.lead-gen-tool .lg-form label { font-weight: 600; margin: 0; }
.lead-gen-tool .lg-input { box-sizing: border-box; width: 100%; min-width: 0; padding: 12px 15px; border: 1px solid #b8b1a6; border-radius: 8px; font: inherit; background: #fff; color: #263349; }
.lead-gen-tool .lg-error { color: #a12424; margin-top: 16px; }
@media (max-width: 480px) {
    .lead-gen-tool { padding: 18px 16px 12px; }
    .lead-gen-tool .lg-btn { width: auto; }
}

.lead-gen-tool .lg-heading { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 8px; }
.lead-gen-tool .lg-heading .lg-storefront { display: block; flex-shrink: 0; margin: 0; }
.lead-gen-tool .lg-heading .lg-eyebrow { display: block; margin: 0; line-height: 1.2; }

/* Isolate the card from the site-wide paragraph padding. */
.lead-gen-tool p { padding: 0; }
.lead-gen-tool .lg-btn { width: auto; align-self: center; }

@media (min-width: 768px) {
    .lead-gen-tool { width: 90%; max-width: 580px; box-sizing: border-box; }
}

/* Optional mint sidebar card. */
.lead-gen-tool.lead-gen--sidebar { width: 100%; max-width: 580px; box-sizing: border-box; }
/* Illustrated article banner. */
.lead-gen-tool.lead-gen--article { position: relative; isolation: isolate; overflow: hidden; box-sizing: border-box; width: 100%; max-width: none; padding: 16px 28px 12px; background: #083c5c; border: 1px solid #167c95; border-radius: 14px; text-align: left; color: #fff; display: grid; grid-template-columns: clamp(70px, 12cqi, 100px) minmax(0, 1fr); column-gap: 18px; align-items: start; }
.lead-gen--article::before { content: ""; position: absolute; z-index: -1; width: 210px; height: 140px; left: 0; bottom: 0; background: url("/images/spotlight-corner-waves.svg") left bottom / 100% 100% no-repeat; }
.lead-gen--article .lg-container { position: relative; z-index: 1; width: 68%; min-width: 0; margin: 0; }
.lead-gen--article .lg-heading { display: block; margin: 0 0 9px; }
.lead-gen--article .lg-brand { position: relative; z-index: 1; display: block; width: 100%; height: auto; margin: 0; }
.lead-gen--article .lg-heading .lg-eyebrow { display: flex; align-items: center; gap: 10px; color: #ffc766; font-size: .68rem; letter-spacing: .16em; line-height: 1.4; }
.lead-gen--article .lg-eyebrow::before { content: ""; width: 24px; height: 2px; flex-shrink: 0; background: currentColor; }
.lead-gen--article .lg-question { color: #fff; font-size: clamp(1.35rem, 3.6cqi, 2rem); line-height: 1.08; letter-spacing: -.025em; margin: 0 0 9px; }
.lead-gen--article .lg-description { color: #e0edf2; font-size: 1rem; line-height: 1.4; margin: 0 0 12px; max-width: 340px; }
.lead-gen--article .lg-btn { background: #ffc766; color: #083c5c; padding: 11px 19px; font-size: .9rem; border-radius: 8px; }
.lead-gen--article .lg-btn:hover { background: #ffdb98; }
.lead-gen--article .lg-btn:focus-visible, .lead-gen--article .lg-link:focus-visible, .lead-gen--article .lg-input:focus-visible { outline-color: #ffc766; }
.lead-gen--article .lg-recommend { color: #c7dce5; font-size: .78rem; line-height: 1.4; margin: 10px 0 0; }
.lead-gen--article .lg-link { color: #e0edf2; }
.lead-gen--article .lg-link:hover { color: #ffc766; }
.lead-gen--article .lg-art { position: absolute; z-index: 0; right: -3%; bottom: -6px; width: 38%; height: auto; pointer-events: none; }
.lead-gen--article .lg-form { margin: 0; }
.lead-gen--article .lg-form .lg-btn { align-self: flex-start; }
.lead-gen--article .lg-error { color: #ffcfbb; }
@container (max-width: 640px) {
    .lead-gen--article .lg-container { width: 100%; }
    .lead-gen--article .lg-question { font-size: clamp(1.25rem, 5cqi, 1.65rem); }
    .lead-gen--article .lg-art { position: relative; display: block; grid-column: 2; width: 100%; max-width: 310px; margin: 12px 0 -12px; right: auto; bottom: auto; }
    .lead-gen--article .lg-description { max-width: none; }
}
@media (max-width: 600px) {
    .lead-gen-tool.lead-gen--article { grid-template-columns: 56px minmax(0, 1fr); column-gap: 12px; padding: 16px 16px 12px; }
    .lead-gen--article .lg-heading .lg-eyebrow { font-size: .61rem; letter-spacing: .1em; gap: 7px; }
    .lead-gen--article .lg-eyebrow::before { width: 16px; }
}

/* The introduction can use the open space beyond the headline column. */
.lead-gen--article [data-lg-step="1"] .lg-description { font-size: .9rem; font-weight: 600; max-width: none; }
@container (min-width: 561px) {
    .lead-gen--article [data-lg-step="1"] .lg-description { width: max-content; white-space: nowrap; }
}

/* Phone layout: full-width copy above a shared logo/storefront row. */
@media (max-width: 600px) {
    .lead-gen-tool.lead-gen--article { grid-template-columns: 80px minmax(0, 1fr); column-gap: 12px; padding: 20px 18px 12px; }
    .lead-gen--article .lg-container { grid-column: 1 / -1; grid-row: 1; width: 100%; }
    .lead-gen--article .lg-brand { grid-column: 1; grid-row: 2; align-self: end; margin: 18px 0 10px; width: 80px; }
    .lead-gen--article .lg-art { position: relative; grid-column: 2; grid-row: 2; align-self: end; justify-self: end; width: 100%; max-width: 240px; height: auto; margin: 12px -10px -12px 0; right: auto; bottom: auto; }
    .lead-gen--article .lg-heading .lg-eyebrow { font-size: .73rem; letter-spacing: .12em; gap: 9px; }
    .lead-gen--article .lg-question { font-size: clamp(1.6rem, 7.2cqi, 1.9rem); line-height: 1.12; margin-bottom: 10px; }
    .lead-gen--article .lg-description,
    .lead-gen--article [data-lg-step="1"] .lg-description { font-size: 1rem; line-height: 1.4; width: auto; max-width: none; white-space: normal; margin-bottom: 13px; }
    .lead-gen--article .lg-btn { font-size: 1rem; padding: 10px 18px; }
    .lead-gen--article .lg-recommend { font-size: .9rem; line-height: 1.45; margin-top: 12px; }
}

/* Larger type with a compact button and a fuller illustration. */
.lead-gen--article .lg-heading .lg-eyebrow { font-size: .78rem; }
.lead-gen--article .lg-question { font-size: clamp(1.5rem, 4cqi, 2.2rem); }
.lead-gen--article .lg-recommend { font-size: .9rem; font-weight: 600; }
.lead-gen--article .lg-btn { font-size: 1.05rem; padding: 9px 6px; }
@container (min-width: 641px) {
    .lead-gen--article .lg-art { width: 42%; bottom: -12px; }
}
@media (max-width: 600px) {
    .lead-gen--article::before { width: 145px; height: 70px; }
    .lead-gen--article .lg-heading .lg-eyebrow { font-size: .8rem; letter-spacing: .1em; }
    .lead-gen--article .lg-question { font-size: clamp(1.75rem, 8cqi, 2.05rem); }
    .lead-gen--article .lg-recommend { font-size: 1rem; font-weight: 600; line-height: 1.4; }
    .lead-gen--article .lg-recommend .lg-link { display: block; text-align: left; padding: 0; }
    .lead-gen--article .lg-btn { font-size: 1.1rem; padding: 8px 9px; }
    .lead-gen--article .lg-art { width: 110%; max-width: 264px; margin: -48px -10px -12px 0; }
    .lead-gen--article .lg-brand { margin: 8px 0 58px; }
}

/* Stretch only the corner artwork vertically, anchored to the bottom edge. */
.lead-gen--article::before { transform: scaleY(1.18); transform-origin: left bottom; }
