.lead-dialog{box-sizing:border-box;width:min(680px,calc(100% - 32px));max-height:calc(100dvh - 32px);margin:auto;padding:52px 56px 36px;border:0;background:#fff;color:#17201d;font-family:var(--body,'Golos Text',sans-serif);overflow-y:auto;box-shadow:0 24px 80px #0004}
.lead-dialog::backdrop{background:#17201dbd}
.lead-dialog h2{margin:0 0 20px;font-family:var(--display,'Roboto Condensed',sans-serif);font-weight:500;font-size:58px!important;line-height:1.02!important;letter-spacing:-.025em;text-wrap:balance}
.lead-dialog h2 span{color:#4a7935}.lead-dialog p{margin:0;font-size:16px;line-height:1.55}
.lead-close{position:absolute;right:16px;top:16px;display:grid;place-items:center;width:44px;height:44px;border:0;background:transparent;color:inherit;cursor:pointer}.lead-close svg{width:24px;height:24px}
.lead-dialog form{margin-top:30px}.lead-field{display:flex;flex-direction:column;gap:9px;font-size:14px;line-height:1.4}.lead-field input{box-sizing:border-box;width:100%;min-width:0;min-height:50px;border:1px solid #9da998;background:#fff;padding:12px 14px;border-radius:0;font:inherit;font-size:16px;color:#17201d;caret-color:#4a7935}.lead-field input::placeholder{color:#626c60}
.lead-contact-fields{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:22px}.lead-dialog .lead-hint{font-size:13px;color:#52604e;margin-top:10px}
.lead-consent{display:flex;gap:12px;align-items:flex-start;margin:26px 0 22px;font-size:12px;line-height:1.6}.lead-consent input{appearance:auto;flex:none;width:18px;height:18px;margin:2px 0 0;accent-color:#4a7935}.lead-consent a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.lead-submit{display:flex;align-items:center;justify-content:space-between;gap:24px;width:100%;min-height:56px;padding:15px 20px;border:0;background:#71ad56;color:#17201d;font:inherit;font-size:16px;cursor:pointer}.lead-submit svg{width:22px;height:22px;flex:none}.lead-submit:hover{background:#82bb69}.lead-submit:disabled{opacity:.65;cursor:wait}
.lead-dialog .lead-status{padding:14px 0 18px;font-size:14px;color:#8b2424}.lead-dialog :focus-visible{outline:2px solid #17201d;outline-offset:4px}.lead-success p{margin:24px 0 32px}.lead-dialog [hidden]{display:none!important}
@media(min-width:1001px) and (max-width:1240px){.nav,.header-contact{display:none!important}.menu{display:block!important}}
@media(max-width:600px){.lead-dialog{width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0;padding:64px 24px 32px}.lead-dialog h2{font-size:48px!important}.lead-contact-fields{grid-template-columns:1fr;gap:22px}.lead-dialog form{margin-top:28px}.lead-consent{margin-top:22px}}

.lead-consent-page{background:#fff;min-height:100vh;padding:48px 24px}.lead-consent-page main{max-width:760px;margin:auto}.lead-consent-page h1{font-size:42px;line-height:1.12;margin-bottom:28px}.lead-consent-page p{font-size:16px;line-height:1.65;margin:18px 0}.lead-consent-page a{text-decoration:underline;text-underline-offset:3px}

/* Ordinary dialog layer lets the provider display its challenge above the form. */
.lead-backdrop{position:fixed;inset:0;z-index:10000;background:#17201dbd}.lead-backdrop[hidden]{display:none}.lead-dialog{position:fixed;inset:50% 0 auto;transform:translateY(-50%);z-index:10001}.lead-dialog:not([open]){display:none}@media(max-width:600px){.lead-dialog{inset:0;transform:none}}

/* Legal documents follow the existing reading column and type scale. */
.document-requests{margin-top:44px;padding-top:8px;border-top:1px solid var(--rule)}
.consent-nav{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:48px;font-size:14px}.consent-nav img{width:96px;height:auto}.lead-consent-page h1{font-size:clamp(34px,5vw,48px);text-wrap:balance}.lead-consent-page a:hover{color:#416d2e}.lead-consent-page p{overflow-wrap:anywhere}.lead-consent-page ::selection{background:#edf2e9;color:#17201d}@media(max-width:600px){.lead-consent-page{padding:28px 24px 48px}.consent-nav{margin-bottom:36px;align-items:flex-start}.consent-nav>a:last-child{max-width:18ch;text-align:right}}
