.mock-lead-panel { width: min(480px, 100%); padding: 38px; max-height: calc(100dvh - 40px); }
.mock-lead-panel .lead-capture-placeholder { margin: 0; min-height: 0; display: block; padding: 0; border: 0; }
.mock-lead-panel .section-eyebrow { color: #d90821; margin-bottom: 12px; font-size: .65rem; letter-spacing: .18em; }
.mock-lead-panel h2 { max-width: 310px; font-weight: 400; font-size: 2.5rem; margin-bottom: 16px; }
.mock-lead-panel .mock-lead-intro { font-size: .92rem; line-height: 1.5; margin-bottom: 24px; }
.mock-lead-panel .lead-modal-close { border-radius: 0; font-size: 1rem; }
.mock-lead-form { gap: 17px; }
.mock-lead-form .form-field { font-size: .8rem; gap: 7px; }
.mock-lead-form input { font-size: 16px; font-weight: 400; padding: 13px 14px; }
.mock-lead-form input::placeholder { color: #777; }
.mock-lead-form .button { margin: 5px 0 0; width: 100%; text-transform: none; }
.mock-lead-form .mock-note { color: #777; font-size: .73rem; line-height: 1.5; }
.mock-lead-form .lead-form-status[data-status="success"] { background: #f3f2ef; border-color: #ccc; color: #222; font-size: .88rem; line-height: 1.5; padding: 14px; }
.lead-modal-backdrop { background: #000b; backdrop-filter: blur(4px); }
.mock-chat { position: fixed; right: max(24px, env(safe-area-inset-right)); bottom: max(24px, env(safe-area-inset-bottom)); z-index: 70; }
.mock-chat button, .mock-chat input { font: inherit; }
.mock-chat-toggle { display: flex; align-items: center; gap: 12px; margin-left: auto; border: 0; min-height: 56px; padding: 15px 21px; background: #ed0924; color: #fff; font-weight: 700 !important; cursor: pointer; box-shadow: 0 5px 26px #0004; transition: background .2s ease, transform .2s ease; }
.mock-chat-panel { width: min(360px, calc(100vw - 32px)); max-height: calc(100dvh - 116px); display: flex; flex-direction: column; margin-bottom: 14px; background: #fff; color: #111; box-shadow: 0 14px 70px #0005; border: 1px solid #303033; overflow: hidden; }
.mock-chat-panel[hidden] { display: none; }
.mock-chat-header { flex-shrink: 0; display: flex; align-items: center; gap: 12px; padding: 18px; background: #101113; color: #fff; border-top: 3px solid #ed0924; }
.mock-chat-header h2 { font: 400 1.45rem/1.2 var(--font-display); margin: 0; }
.mock-chat-header p { margin: 3px 0 0; color: #bcbcc0; font-size: .7rem; }
.mock-chat-close { margin-left: auto; align-self: flex-start; width: 36px; height: 36px; border: 1px solid #ffffff40; background: transparent; color: #fff; font-size: 1.5rem !important; cursor: pointer; }
.mock-chat-messages { display: flex; flex-direction: column; gap: 12px; padding: 20px 16px; min-height: 100px; max-height: 260px; overflow-y: auto; overscroll-behavior: contain; }
.mock-chat-message { align-self: flex-start; max-width: 92%; margin: 0; padding: 12px 14px; font-size: .85rem; line-height: 1.55; background: #f0efed; color: #29292d; overflow-wrap: anywhere; flex-shrink: 0; }
.mock-chat-message.is-visitor { align-self: flex-end; background: #111214; color: #fff; }
.mock-chat-topics { display: flex; flex-wrap: wrap; gap: 7px; padding: 0 16px 14px; flex-shrink: 0; }
.mock-chat-topics button { padding: 8px 10px; border: 1px solid #d6d4d0; background: #fff; color: #333; font-size: .72rem; cursor: pointer; transition: border-color .2s, color .2s; }
.mock-chat-trial { display: flex; align-items: center; justify-content: space-between; margin: 0 16px 16px; padding: 11px 13px; color: #d90821; background: #fff; border: 1px solid #ed0924; font-size: .8rem !important; font-weight: 700 !important; cursor: pointer; flex-shrink: 0; }
.mock-chat-form { display: flex; flex-shrink: 0; gap: 8px; margin: 0; padding: 12px 16px; border-top: 1px solid #ddd; }
.mock-chat-form input { width: 100%; min-width: 0; padding: 10px 0; border: 0; color: #111; background: #fff; font-size: 16px; }
.mock-chat-form button { width: 42px; min-height: 42px; flex-shrink: 0; display: grid; place-items: center; color: #fff; background: #ed0924; border: 0; cursor: pointer; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
body.modal-open .mock-chat { visibility: hidden; }
@media (hover: hover) and (pointer: fine) {
  .mock-chat-toggle:hover { background: #c9001d; transform: translateY(-3px); }
  .mock-chat-topics button:hover, .mock-chat-trial:hover { color: #111; border-color: #111; }
  .mock-chat-form button:hover { background: #c9001d; }
  .mock-chat-close:hover { border-color: #ed0924; }
}
@media (max-width: 600px) {
  .mock-chat { right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); }
  .mock-chat-toggle { min-height: 50px; padding: 12px 16px; font-size: .85rem !important; }
  .mock-chat-panel { width: min(360px, calc(100vw - 48px)); max-height: calc(100dvh - 96px); margin-bottom: 12px; }
  .mock-chat-header { padding: 14px; }
  .mock-chat-messages { padding: 14px; }
  .lead-modal { padding: 16px; }
  .mock-lead-panel { padding: 32px 24px; max-height: calc(100dvh - 32px); }
  .mock-lead-panel h2 { padding-right: 14px; font-size: 2.15rem; }
}
@media (prefers-reduced-motion: reduce) {
  .mock-chat *, .mock-lead-panel * { transition: none !important; }
  .mock-chat-toggle:hover { transform: none; }
}
