:root {
  --lead-ink: #20201c;
  --lead-paper: #fffdf8;
  --lead-orange: #e45e2b;
}

.lead-question-button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: var(--lead-ink);
  color: #fff;
  cursor: pointer;
  font: 700 0.84rem/1 system-ui, sans-serif;
  letter-spacing: .02em;
  padding: .82rem 1.08rem;
  transition: transform .18s ease, background .18s ease;
}

.lead-question-button:hover { background: var(--lead-orange); transform: translateY(-1px); }
.lead-question-button:focus-visible, .lead-modal a:focus-visible, .lead-modal input:focus-visible { outline: 3px solid #f4a57d; outline-offset: 3px; }

.lead-overlay { align-items: center; background: rgba(25, 24, 21, .64); display: flex; inset: 0; justify-content: center; padding: 20px; position: fixed; z-index: 9999; }
.lead-overlay[hidden] { display: none; }
.lead-modal { background: var(--lead-paper); border: 1px solid rgba(32, 32, 28, .22); box-shadow: 0 26px 80px rgba(0,0,0,.32); box-sizing: border-box; color: var(--lead-ink); max-height: calc(100dvh - 40px); overflow: auto; padding: clamp(24px, 4vw, 42px); position: relative; width: min(100%, 540px); }
.lead-modal h2 { font: 800 clamp(1.55rem, 4vw, 2.3rem)/1.04 Georgia, serif; letter-spacing: -.035em; margin: 0 40px 10px 0; }
.lead-modal__intro { color: #57564e; font: 400 1rem/1.5 system-ui, sans-serif; margin: 0 0 24px; }
.lead-close { align-items: center; appearance: none; background: transparent; border: 1px solid #c9c6ba; border-radius: 50%; color: var(--lead-ink); cursor: pointer; display: flex; font: 1.35rem/1 system-ui, sans-serif; height: 36px; justify-content: center; position: absolute; right: 18px; top: 18px; width: 36px; }
.lead-field { display: block; font: 700 .88rem/1.25 system-ui, sans-serif; margin: 0 0 16px; }
.lead-field input { background: #fff; border: 1px solid #aaa79c; border-radius: 3px; box-sizing: border-box; color: var(--lead-ink); display: block; font: 400 1rem/1.2 system-ui, sans-serif; margin-top: 7px; padding: 13px 12px; width: 100%; }
.lead-consents { border: 0; margin: 22px 0 18px; padding: 0; }
.lead-check { align-items: flex-start; cursor: pointer; display: flex; font: 400 .88rem/1.45 system-ui, sans-serif; gap: 10px; margin: 10px 0; }
.lead-check input { accent-color: var(--lead-orange); height: 18px; margin: 1px 0 0; min-width: 18px; }
.lead-check a { color: #9e3d18; text-underline-offset: 3px; }
.lead-submit { appearance: none; background: var(--lead-orange); border: 0; border-radius: 3px; color: #fff; cursor: pointer; font: 700 1rem/1 system-ui, sans-serif; padding: 15px 18px; width: 100%; }
.lead-submit:disabled { cursor: not-allowed; opacity: .45; }
.lead-status { font: 600 .9rem/1.4 system-ui, sans-serif; margin: 14px 0 0; min-height: 1.4em; }
.lead-status[data-state="error"] { color: #a8211c; }
.lead-status[data-state="success"] { color: #356e31; }

@media (max-width: 520px) { .lead-question-button { padding: .7rem .86rem; } .lead-overlay { padding: 12px; } .lead-modal { max-height: calc(100dvh - 24px); padding: 27px 22px; } }
