/* Local demo interactions, styled to match the academy homepage. */
.mock-lead-form { gap: 17px; }
.mock-lead-form .mock-form-eyebrow { color: #876519; font: 700 0.85rem/1 'Barlow Condensed', sans-serif; letter-spacing: 0.12em; text-transform: uppercase; }
.mock-lead-form h2 { margin: 0; font-size: clamp(2.4rem, 6vw, 3.2rem); font-weight: 400; text-transform: uppercase; }
.mock-lead-form .mock-form-intro { margin-bottom: 3px; font-size: 0.95rem; line-height: 1.5; }
.mock-lead-form .form-field { gap: 6px; font-size: 0.87rem; }
.mock-lead-form input { min-height: 48px; font-size: 16px; font-weight: 400; transition: border-color 180ms, box-shadow 180ms; }
.mock-lead-form input:focus { border-color: #b58b36; outline: 0; box-shadow: 0 0 0 3px #d2ad5725; }
.mock-lead-form .button { width: 100%; margin-top: 4px; }
.mock-lead-form .mock-form-note { text-align: center; color: #666; font-size: 0.75rem; line-height: 1.5; }
.mock-lead-form .lead-form-status[data-status="success"] { background: #f7f1e2; border: 1px solid #d2ad57; color: #342a14; font-size: 0.9rem; line-height: 1.5; }
.lead-modal-panel:has(.mock-lead-form) { width: min(500px, 100%); }
.lead-modal-close { border-radius: 0; font-size: 18px; transition: background 180ms; }
.lead-modal-close:hover { background: #f1e5c9; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.mock-chat { position: fixed; z-index: 70; right: 24px; bottom: max(24px, env(safe-area-inset-bottom)); font-family: Arial, Helvetica, sans-serif; }
.mock-chat-launcher { display: flex; align-items: center; gap: 11px; min-height: 56px; margin-left: auto; padding: 15px 23px; border: 1px solid #ddbc75; border-radius: 0; background: #d2ad57; color: #090909; box-shadow: 0 6px 26px #0003; cursor: pointer; font: 700 1.05rem/1 'Barlow Condensed', sans-serif; text-transform: uppercase; letter-spacing: 0.06em; transition: transform 200ms, background 200ms; }
.mock-chat-launcher:hover { transform: translateY(-3px); background: #e4c578; }
.mock-chat-launcher svg { flex-shrink: 0; }
.mock-chat-panel { display: flex; flex-direction: column; width: 360px; height: 520px; max-height: calc(100dvh - 116px); margin-bottom: 14px; overflow: hidden; border: 1px solid #d2ad57; background: #fff; box-shadow: 0 18px 70px #0005; color: #111; animation: chat-appear 220ms ease-out; }
.mock-chat-panel[hidden] { display: none; }
.mock-chat-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-shrink: 0; padding: 20px; background: #0b0b0b; color: #fff; border-bottom: 3px solid #d2ad57; }
.mock-chat-header h2 { margin: 0; font: 400 1.35rem/1.2 Anton, Impact, sans-serif; text-transform: uppercase; }
.mock-chat-header p { margin: 6px 0 0; color: #d2ad57; font-size: 0.75rem; }
.mock-chat-close { width: 36px; height: 36px; flex-shrink: 0; padding: 0; border: 1px solid #ffffff50; background: transparent; color: #fff; cursor: pointer; font-size: 25px; transition: background 180ms; }
.mock-chat-close:hover { background: #ffffff20; }
.mock-chat-messages { flex: 1; min-height: 90px; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 12px; padding: 20px 16px; background: #f7f6f2; }
.chat-message { max-width: 92%; margin: 0; padding: 12px 14px; font-size: 0.875rem; line-height: 1.5; overflow-wrap: anywhere; flex-shrink: 0; }
.chat-reply { align-self: flex-start; background: #fff; border: 1px solid #e7e2d8; }
.chat-sent { align-self: flex-end; background: #e9d6a9; color: #211a0e; }
.mock-chat-topics { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 16px 8px; }
.mock-chat-topics button { min-height: 34px; padding: 7px 11px; background: #fff; border: 1px solid #c9b78c; color: #4b3912; font: 700 0.73rem Arial, sans-serif; cursor: pointer; transition: background 180ms; }
.mock-chat-topics button:hover { background: #f5ecd9; }
.mock-chat-trial { display: flex; align-items: center; justify-content: space-between; min-height: 42px; margin: 4px 16px 12px; padding: 10px 13px; border: 0; background: #101010; color: #d2ad57; font: 700 0.95rem/1.2 'Barlow Condensed', sans-serif; text-transform: uppercase; letter-spacing: 0.035em; cursor: pointer; transition: background 180ms; }
.mock-chat-trial:hover { background: #333; }
.mock-chat-form { display: flex; gap: 8px; padding: 0 16px; }
.mock-chat-form input { width: 100%; min-width: 0; height: 44px; padding: 10px 12px; border: 1px solid #c9c5bb; background: #fff; color: #111; border-radius: 0; font: 16px Arial, sans-serif; }
.mock-chat-form button { flex: 0 0 44px; height: 44px; border: 0; background: #d2ad57; color: #111; font-size: 24px; cursor: pointer; }
.mock-chat-form button:hover { background: #e4c578; }
.mock-chat-note { margin: 10px 10px 12px; text-align: center; color: #686868; font-size: 0.65rem; line-height: 1.4; }
body.modal-open .mock-chat { visibility: hidden; }
@keyframes chat-appear { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 600px) {
  .mock-chat { right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); }
  .mock-chat-panel { width: min(360px, calc(100vw - 32px)); max-height: calc(100dvh - 104px); margin-bottom: 12px; }
  .mock-chat-launcher { min-height: 50px; padding: 12px 17px; }
  .mock-chat-header { padding: 16px; }
  .mock-chat-topics { padding-top: 8px; }
  .mock-lead-form { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .mock-chat *, .mock-lead-form * { animation: none !important; transition: none !important; }
  .mock-chat-launcher:hover { transform: none; }
}
