/* ============================================================
   LEAD CAPTURE GATE — shared across gated guide pages
   Brand tokens matched manually (navy #0D1B3E / #0A1628, gold #C9A84C)
   so it looks correct regardless of each guide's own CSS variable names.
   ============================================================ */

.vg-gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(6, 12, 26, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.vg-gate-overlay[hidden] { display: none !important; }

.vg-gate-card {
  width: 100%;
  max-width: 440px;
  background: #ffffff;
  border-radius: 14px;
  padding: 36px 32px 30px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
  border-top: 4px solid #C9A84C;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  text-align: center;
}

.vg-gate-card .vg-gate-eyebrow {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #C9A84C;
  margin-bottom: 10px;
  display: block;
}

.vg-gate-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  color: #0D1B3E;
  margin: 0 0 10px;
  line-height: 1.25;
}

.vg-gate-card p.vg-gate-sub {
  font-size: 14px;
  color: #5A6B82;
  margin: 0 0 22px;
  line-height: 1.5;
}

.vg-gate-form { display: flex; flex-direction: column; gap: 12px; }

.vg-gate-form input[type="text"],
.vg-gate-form input[type="email"] {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid #DDE3EC;
  border-radius: 8px;
  font-size: 14.5px;
  font-family: inherit;
  color: #0D1B3E;
  background: #FAFBFC;
  outline: none;
  transition: border-color 0.2s ease;
}

.vg-gate-form input[type="text"]:focus,
.vg-gate-form input[type="email"]:focus {
  border-color: #C9A84C;
  background: #fff;
}

.vg-gate-form button[type="submit"] {
  margin-top: 6px;
  padding: 14px 18px;
  border: none;
  border-radius: 8px;
  background: #C9A84C;
  color: #0D1B3E;
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.vg-gate-form button[type="submit"]:hover { background: #b5933a; }
.vg-gate-form button[type="submit"]:disabled { opacity: 0.6; cursor: not-allowed; }

.vg-gate-error {
  font-size: 12.5px;
  color: #D9534F;
  margin-top: 2px;
  display: none;
}
.vg-gate-error.is-visible { display: block; }

.vg-gate-note {
  font-size: 11.5px;
  color: #9AA6B7;
  margin-top: 16px;
  line-height: 1.5;
}

/* honeypot field — hidden from real visitors, catches simple bots */
.vg-gate-form .vg-hp { position: absolute; left: -9999px; top: -9999px; }

/* Lock page scroll while gate is open */
body.vg-locked { overflow: hidden; height: 100%; }
