dialog.lead-consent {
  box-sizing: border-box;
  position: fixed;
  inset: 0;
  width: min(418px, calc(100% - 24px));
  max-width: none;
  max-height: calc(100% - 24px);
  margin: auto;
  padding: 24px 19px 12px;
  overflow: auto;
  overscroll-behavior: contain;
  border: 0;
  border-radius: 20px;
  background: #fff;
  color: #2b2b2b;
  font: 400 16px/1.4 system-ui, sans-serif;
  text-align: left;
  -webkit-font-smoothing: antialiased;
}

.lead-consent::backdrop { background: rgb(15 18 23 / 65%); }
.lead-consent h2 {
  margin: 0;
  color: inherit;
  font: 600 23px/28px system-ui, sans-serif;
  letter-spacing: .1px;
}
.lead-consent h2:focus { outline: none; }
.lead-consent p {
  margin: 9px 0 0;
  color: #505050;
  font: inherit;
  line-height: 22px;
  letter-spacing: .18px;
}
.lead-consent p a { color: #2b2b2b; text-decoration: underline; text-underline-offset: 2px; }
.lead-consent button {
  display: block;
  width: 100%;
  margin: 0;
  padding: 8px;
  font: inherit;
  text-align: center;
  cursor: pointer;
}
.lead-consent .lead-consent__accept {
  min-height: 52px;
  margin-top: 20px;
  border: 1px solid #efb526;
  border-radius: 10px;
  background: #ffd76b;
  color: #30291f;
  font-size: 17.5px;
  font-weight: 600;
}
.lead-consent__accept:hover { filter: brightness(.97); }
.lead-consent .lead-consent__back {
  min-height: 44px;
  margin-top: 6px;
  border: 0;
  background: transparent;
  color: #505050;
}
.lead-consent :is(a, button):focus-visible { outline: 2px solid #315daf; outline-offset: 2px; }
