/* Shared verify-to-unlock modal for public lead magnets (ROI, gated resources).
   Phase 1 = contact info; Phase 2 = the same 6-box email OTP UI as signup. */
.lg-ov { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(15,23,42,0.5); backdrop-filter: blur(4px); font-family: inherit; }
.lg-ov.open { display: flex; }
.lg-modal { position: relative; background: #fff; border-radius: 18px; max-width: 460px; width: 100%; padding: 30px 30px 24px; box-shadow: 0 30px 70px -20px rgba(15,23,42,0.45); animation: lgIn .26s cubic-bezier(0.16,1,0.3,1); }
@keyframes lgIn { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.lg-x { position: absolute; top: 18px; right: 20px; background: none; border: none; font-size: 22px; color: #94a3b8; cursor: pointer; line-height: 1; }
.lg-x:hover { color: #64748b; }

/* icons */
.lg-ic, .lg-check { width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #e8efff; color: var(--brand-blue, #2c7ef4); font-size: 20px; margin-bottom: 16px; }
.lg-ic { background: linear-gradient(135deg, #2c7ef4, #1d4ed8); color: #fff; }

.lg-modal h3 { margin: 0 0 6px; font-size: 1.35rem; font-weight: 800; color: #0f172a; }
.lg-sub1, .lg-sub2 { margin: 0 0 22px; color: #64748b; font-size: 0.95rem; word-break: break-word; line-height: 1.5; }
.lg-sub2 strong { color: var(--brand-blue, #2c7ef4); }

/* phase 1 fields */
.lg-field { margin-bottom: 12px; text-align: left; }
.lg-field label { display: block; font-size: 0.8rem; font-weight: 700; color: #334155; margin-bottom: 5px; }
.lg-field .opt { font-weight: 400; color: #98a2b3; }
.lg-field input { width: 100%; box-sizing: border-box; padding: 12px 14px; border: 1px solid #d0d5dd; border-radius: 11px; font-size: 15px; font-family: inherit; }
.lg-field input:focus { outline: none; border-color: var(--brand-blue, #2c7ef4); box-shadow: 0 0 0 4px rgba(44,126,244,0.12); }
.lg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lg-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lg-consent { display: flex; gap: 10px; align-items: flex-start; text-align: left; margin: 4px 0 14px; cursor: pointer; }
.lg-consent input { width: 18px; height: 18px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--brand-blue, #2c7ef4); cursor: pointer; }
.lg-consent span { font-size: 12px; color: #64748b; line-height: 1.45; }
.lg-go { width: 100%; margin-top: 6px; background: var(--brand-blue, #2c7ef4); color: #fff; border: none; border-radius: 11px; padding: 14px; font-size: 16px; font-weight: 800; font-family: inherit; cursor: pointer; }
.lg-go:disabled { opacity: .7; cursor: default; }
.lg-fine { font-size: 11px; color: #94a3b8; text-align: center; margin: 14px 0 0; line-height: 1.5; }

/* phase 2 — 6-box OTP (matches signup) */
.lg-boxes { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.lg-d { width: 100%; flex: 1; min-width: 0; height: 62px; border: 1.5px solid #d0d5dd; border-radius: 12px; text-align: center; font-size: 1.6rem; font-weight: 700; color: #0f172a; outline: none; padding: 0; font-family: inherit; }
.lg-d:focus { border-color: var(--brand-blue, #2c7ef4); box-shadow: 0 0 0 3px rgba(44,126,244,0.15); }
.lg-dash { width: 14px; height: 2px; background: #cbd5e1; border-radius: 2px; flex: 0 0 auto; }
.lg-dev { display: none; text-align: center; font-size: 12px; color: #94a3b8; margin-bottom: 10px; }
.lg-resendrow { text-align: center; margin: 2px 0 20px; }
.lg-resend { background: none; border: none; color: #94a3b8; font-size: 0.88rem; font-weight: 600; cursor: pointer; font-family: inherit; }
.lg-resend:not(:disabled) { color: var(--brand-blue, #2c7ef4); text-decoration: underline; }
.lg-resend:disabled { cursor: default; }
.lg-actions { display: flex; justify-content: flex-end; gap: 10px; }
.lg-cancel { background: #fff; border: 1px solid #d0d5dd; color: #344054; border-radius: 10px; padding: 11px 22px; font-weight: 700; font-size: 0.95rem; cursor: pointer; font-family: inherit; }
.lg-verify { background: var(--brand-blue, #2c7ef4); color: #fff; border: none; border-radius: 10px; padding: 11px 24px; font-weight: 700; font-size: 0.95rem; cursor: pointer; font-family: inherit; }
.lg-verify:hover { filter: brightness(1.05); }
.lg-verify:disabled { opacity: .7; cursor: default; }

.lg-err { display: none; color: #dc2626; font-size: 0.85rem; font-weight: 600; margin-bottom: 10px; text-align: center; }

@media (max-width: 460px) { .lg-row { grid-template-columns: 1fr; } }
