/* ---------- Investor intro gate (fullscreen, standalone, on-brand) ---------- */
html,body{height:100%;}
.gate-body{
  margin:0;overflow:hidden;
  background:#05070c;
  color:var(--white);
  display:flex;align-items:center;justify-content:center;
}
.gate{
  position:fixed;inset:0;z-index:10;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:24px;padding:28px 20px 32px;
  cursor:pointer;
  /* none, not manipulation: a light drag on a touch/pen pointer could
     otherwise get reinterpreted as a pan gesture by the browser and never
     reach pointerup, making the tap-to-advance feel unresponsive to a
     gentle swipe. Interactive children below opt back into manipulation. */
  touch-action:none;
  -webkit-tap-highlight-color:transparent;
}
.gate__logo{
  height:34px;width:auto;position:absolute;top:24px;left:50%;transform:translateX(-50%);
  opacity:.92;filter:brightness(0) invert(1);
  z-index:2;
}
.gate__back{
  z-index:2;
  display:flex;align-items:center;justify-content:center;gap:7px;
  width:100%;min-height:44px;
  margin-top:2px;
  font-size:13px;font-weight:600;letter-spacing:.03em;
  color:rgba(255,255,255,.82);
  text-decoration:none;
  border:1px solid rgba(255,255,255,.24);
  border-radius:999px;
  background:rgba(255,255,255,.05);
  transition:color .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
  text-shadow:0 1px 6px rgba(0,0,0,.4);
}
.gate__back-arrow{font-size:15px;line-height:1;transform:translateY(-.5px);}
.gate__back:hover{color:var(--white);background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.4);}
.gate__back:focus-visible{outline:2px solid rgba(255,205,120,.7);outline-offset:2px;}
.gate__stage{
  position:fixed;inset:0;
  z-index:0;
  width:100vw;height:100vh;height:100dvh;
  overflow:hidden;
  background:#05070c;
}
.gate__stage::after{
  content:'';position:absolute;inset:0;
  background:radial-gradient(120% 100% at 50% 0%,rgba(18,33,63,.55) 0%,rgba(6,10,20,.55) 55%,rgba(5,7,12,.75) 100%);
  pointer-events:none;
}
.gate__video{
  width:100%;height:100%;
  object-fit:cover;
  background:transparent;
  display:block;
  touch-action:manipulation;
}
/* Source reel is a portrait 9:16 recording. On desktop the wide viewport made
   `cover` crop the top/bottom of the frame (content got cut off); `contain`
   shows the whole frame, letterboxed by the existing .gate__stage/::after
   dark background so nothing new is introduced. Left untouched on phones,
   where the viewport is already close to the source's own aspect ratio and
   the crop is minimal. */
@media (min-width:901px){
  .gate__video{object-fit:contain;}
}
.gate__hint{
  margin:0;font-size:13px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;
  color:rgba(255,255,255,.62);
  display:flex;align-items:center;gap:8px;
  animation:gatePulse 1.8s var(--ease) infinite;
  position:relative;z-index:2;
  text-shadow:0 1px 8px rgba(0,0,0,.5);
}
.gate__hint::before{content:'';width:6px;height:6px;border-radius:50%;background:var(--lime);}
@keyframes gatePulse{0%,100%{opacity:.5;}50%{opacity:1;}}
.gate__hint[hidden]{display:none;}

.gate__pass{
  position:relative;z-index:2;
  width:min(92vw, 360px);
  display:flex;flex-direction:column;gap:14px;
  cursor:default;
  /* opt back into normal touch handling (typing, tapping, text selection):
     the ancestor .gate sets touch-action:none for the tap-to-advance stage. */
  touch-action:manipulation;
  animation:gateFadeUp .5s var(--ease) both;
  padding:28px 24px 26px;
  border-radius:24px;
  background:rgba(11,14,20,.48);
  backdrop-filter:blur(20px) saturate(160%);
  -webkit-backdrop-filter:blur(20px) saturate(160%);
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 24px 60px -24px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.06);
}
.gate__pass::before{
  content:'';position:absolute;top:0;left:20px;right:20px;height:2px;border-radius:2px;
  background:linear-gradient(90deg,rgba(255,205,120,.9),var(--lime));
  opacity:.85;
}
/* Author-origin display:flex above beats the UA [hidden]{display:none} rule
   at equal specificity, so the hidden attribute needs an explicit override
   here or the form stays visually shown while JS still thinks it's hidden. */
.gate__pass[hidden]{display:none;}
@keyframes gateFadeUp{from{opacity:0;transform:translateY(14px);}to{opacity:1;transform:translateY(0);}}
.gate__pass-label{
  font-size:12px;font-weight:600;letter-spacing:.07em;text-transform:uppercase;
  color:rgba(255,255,255,.68);
}
.gate__pass-row{display:flex;gap:10px;}
.gate__pass-input{
  flex:1;min-width:0;
  padding:14px 18px;border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.07);
  color:var(--white);
  font-family:'Inter',system-ui,-apple-system,sans-serif;
  font-size:15px;
  outline:none;
  transition:border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.gate__pass-input::placeholder{color:rgba(255,255,255,.38);}
.gate__pass-input:focus{
  border-color:rgba(255,205,120,.65);
  background:rgba(255,255,255,.1);
  box-shadow:0 0 0 4px rgba(255,205,120,.14);
}
.gate__pass-btn{padding:14px 24px;white-space:nowrap;}
.gate__pass-btn.btn-primary{
  background:var(--ink);color:var(--white);
  border:1px solid rgba(255,255,255,.1);
  transition:background .3s var(--ease), box-shadow .3s var(--ease), color .3s var(--ease), transform .2s var(--ease);
}
.gate__pass-btn.btn-primary:hover{
  background:linear-gradient(135deg,#e09e40,#ffcd78);
  color:var(--ink);
  box-shadow:0 14px 32px -14px rgba(224,158,64,.55);
}
.gate__pass-btn.btn-primary:active{transform:scale(.98);}
.gate__pass-error{
  margin:0;font-size:13px;font-weight:500;color:#ff8a80;
  display:flex;align-items:center;gap:7px;
}
.gate__pass-error[hidden]{display:none;}
.gate__pass-error::before{content:'';width:5px;height:5px;border-radius:50%;background:#ff8a80;flex:none;}

@media (max-width:430px){
  .gate{gap:18px;padding:22px 16px 24px;}
  .gate__logo{height:28px;top:18px;}
  .gate__back{font-size:12.5px;}
  .gate__pass{padding:22px 18px 20px;border-radius:20px;}
  .gate__pass::before{left:16px;right:16px;}
  .gate__pass-row{flex-direction:column;}
  .gate__pass-btn{width:100%;}
}
