<!doctype html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta name="description" content="OFFDUTY. Fine jewelry. Classic, stylish, everyday." />
    <link rel="icon" href="/favicon.svg" type="image/svg+xml" />
    <link rel="alternate icon" href="/favicon.ico" />
    <link rel="apple-touch-icon" href="/favicon.png" />
    <title>OFFDUTY Jewelry</title>
    <script type="module" crossorigin src="/assets/index-h8titXk3.js"></script>
    <link rel="stylesheet" crossorigin href="/assets/index-CPvgdv6P.css">
  </head>
  <body>
    <div id="root"></div>
  <script>(function(){
  var KEY='offduty-coming-soon-v1',DAYS=30,now=Date.now();
  try{var saved=JSON.parse(localStorage.getItem(KEY)||'null');if(saved&&now-saved.at<DAYS*864e5)return;}catch(e){}
  var he=location.pathname==='/he'||location.pathname.indexOf('/he/')===0;
  var root=document.createElement('div');root.className='od-popup';root.setAttribute('role','dialog');root.setAttribute('aria-modal','true');root.setAttribute('aria-label',he?'הרשמה לעדכוני OFFDUTY':'OFFDUTY launch updates');
  root.innerHTML='<section class="od-popup-card" dir="'+(he?'rtl':'ltr')+'"><button class="od-popup-close" type="button" aria-label="'+(he?'סגירה':'Close')+'">×</button><p class="od-popup-kicker">OFFDUTY / FIRST EDIT</p><h2 class="od-popup-title">'+(he?'בקרוב.':'COMING SOON.')+'</h2><p class="od-popup-copy"><span>'+(he?'הטאצ׳ים האחרונים כמעט כאן.':'The finishing touches are almost here.')+'</span><span>'+(he?'היי הראשונה לקנות ב־OFFDUTY.':'Be first to shop OffDuty.')+'</span></p><form class="od-popup-form" novalidate><input type="email" name="email" autocomplete="email" inputmode="email" required aria-label="'+(he?'האימייל שלך':'Your email')+'" placeholder="'+(he?'האימייל שלך':'YOUR EMAIL')+'"><button type="submit">'+(he?'תעדכנו אותי':'LET ME KNOW')+'</button></form><p class="od-popup-status" aria-live="polite"></p></section>';
  function remember(kind){try{localStorage.setItem(KEY,JSON.stringify({at:Date.now(),kind:kind}));}catch(e){}}
  function close(kind){remember(kind);root.remove();}
  root.querySelector('.od-popup-close').addEventListener('click',function(){close('dismissed')});
  root.addEventListener('click',function(e){if(e.target===root)close('dismissed')});
  document.addEventListener('keydown',function esc(e){if(e.key==='Escape'&&document.body.contains(root)){close('dismissed');document.removeEventListener('keydown',esc)}});
  root.querySelector('form').addEventListener('submit',async function(e){e.preventDefault();var f=e.currentTarget,input=f.email,status=root.querySelector('.od-popup-status'),email=input.value.trim();if(!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(email)){status.className='od-popup-status is-error';status.textContent=he?'הזיני אימייל תקין.':'Enter a valid email.';return;}var btn=f.querySelector('button');btn.disabled=true;status.textContent=he?'נרשמת...':'Joining...';try{var r=await fetch('https://formsubmit.co/ajax/hello@offduty-jewelry.com',{method:'POST',headers:{'Content-Type':'application/json','Accept':'application/json'},body:JSON.stringify({email:email,lang:he?'he':'en',source:'entry-popup',_subject:'OFFDUTY coming soon signup',_template:'table',_captcha:'false',_honey:''})});if(!r.ok)throw 0;remember('signed-up');status.className='od-popup-status';status.textContent=he?'את בפנים. נתראה בקרוב.':'You’re in. See you soon.';setTimeout(function(){root.remove()},1300);}catch(x){btn.disabled=false;status.className='od-popup-status is-error';status.textContent=he?'משהו השתבש. נסי שוב.':'Something went wrong. Try again.';}});
  setTimeout(function(){document.body.appendChild(root);var i=root.querySelector('input');if(innerWidth>700)i.focus();},450);
})();</script></body>
</html>
