/* FormSafely lead capture (template downloads + demo video). Reuses the homepage modal pattern. 2026-10-23 */
.fs-modal-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.45);display:none;align-items:center;justify-content:center;z-index:80;padding:16px}
.fs-modal-backdrop.is-open{display:flex}
.fs-modal{background:#fff;border-radius:16px;border:1px solid var(--line,#dce3eb);max-width:480px;width:100%;box-shadow:var(--shadow,0 14px 42px rgba(27,42,69,.08));overflow:auto;max-height:calc(100vh - 32px);color:var(--ink,#172033);text-align:left}
.fs-modal header{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid var(--line,#dce3eb);position:static;min-height:0;height:auto;backdrop-filter:none;background:#fff}
.fs-modal h3{margin:0;font-size:1.1rem;color:var(--ink,#172033)}
.fs-modal .close{border:0;background:transparent;font-size:1.4rem;cursor:pointer;line-height:1;color:var(--muted,#657083)}
.fs-modal .intro{margin:12px 16px 0;font-size:14px;color:var(--muted,#657083);line-height:1.5}
.fs-modal form .row{display:grid;gap:10px;margin:12px 16px}
.fs-modal form .row label{display:grid;gap:4px;font-size:.9rem;color:var(--ink,#172033);font-weight:600}
.fs-modal form .row input,.fs-modal form .row select{padding:10px 12px;border:1px solid var(--line,#dce3eb);border-radius:10px;font:inherit;font-weight:400;width:100%;box-sizing:border-box;background:#fff;color:var(--ink,#172033)}
.fs-modal form .row label.check{display:flex;gap:8px;align-items:flex-start;font-weight:400;font-size:.85rem;color:var(--muted,#657083);line-height:1.4}
.fs-modal form .row label.check input{width:auto;margin-top:2px}
.fs-modal .note{font-weight:400;color:var(--muted,#657083)}
.fs-modal .hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.fs-modal .err{color:#c62828;font-size:.85rem;margin:0 16px;min-height:0}
.fs-modal footer{display:flex;gap:10px;justify-content:flex-end;padding:12px 16px;border-top:1px solid var(--line,#dce3eb);margin:0;background:#fff;position:static}
.fs-modal footer .btn{min-height:40px}
.fs-modal .done{padding:20px 16px}
.fs-modal .done p{margin:0 0 14px;color:var(--muted,#657083);line-height:1.5}
.fs-modal .done .actions{margin-top:0}
.fs-dl-card{display:flex;gap:20px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.fs-dl-card h3{margin:0 0 6px}
.fs-dl-card p{margin:0;color:var(--muted,#657083)}
.fs-dl-card .actions{margin-top:0}
@media (max-width:560px){.fs-modal-backdrop{align-items:flex-end;padding:8px}.fs-dl-card .actions,.fs-dl-card .actions .btn{width:100%}}
.fs-modal.fs-video-modal{max-width:880px}
.fs-video-wrap{background:#0f172a;line-height:0}
.fs-video-wrap video{display:block;width:100%;height:auto;aspect-ratio:16/9;background:#0f172a}
.fs-video-modal .intro{margin:12px 16px}
.fs-demo-player{margin:8px 0 0;border-radius:16px;overflow:hidden;background:#0f172a;border:1px solid var(--line,#dce3eb);line-height:0}
.fs-demo-player video{display:block;width:100%;height:auto;aspect-ratio:16/9;background:#0f172a}
