/* Download Gate modal — scoped, does not touch theme CSS */
.gate-modal { position: fixed; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center; }
.gate-modal.is-open { display: flex; }
.gate-modal-overlay { position: absolute; inset: 0; background: rgba(23, 21, 18, 0.6); }
.gate-modal-panel { position: relative; z-index: 1; width: 100%; max-width: 30rem; margin: 1rem; max-height: 90vh; overflow-y: auto; background: #fff; border-radius: 0.5rem; padding: 1.75rem; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25); }
.gate-modal-close { position: absolute; top: 0.75rem; right: 0.75rem; width: 2rem; height: 2rem; border: 0; background: transparent; font-size: 1.1rem; cursor: pointer; color: #666; }
.gate-modal-close:hover { color: #171512; }
.gate-modal-eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.75rem; color: #C9A24B; margin: 0 0 0.25rem; }
.gate-modal-title { margin: 0 0 0.5rem; font-size: 1.5rem; color: #171512; }
.gate-modal-sub { margin: 0 0 1.25rem; font-size: 0.9rem; color: #5A5A5A; }
.gate-modal-message { margin-top: 1rem; font-weight: 600; color: #171512; }
.gate-modal-success .gate-form-wrap { display: none; }
.gate-field input { width: 100%; padding: 0.6rem 0.75rem; border: 1px solid #E5E5E3; border-radius: 0.375rem; font-size: 0.95rem; }
.gate-field input:focus { outline: none; border-color: #C9A24B; }
.gate-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.gate-form-wrap input[type="submit"] { width: 100%; padding: 0.7rem 1rem; background: #C9A24B; color: #fff; font-weight: 600; border: 0; border-radius: 0.25rem; cursor: pointer; }
.gate-form-wrap input[type="submit"]:hover { background: #A9822F; }
@media (max-width: 480px) { .gate-modal-panel { margin: 0.5rem; padding: 1.25rem; } }
